Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LinkdropHQ/claim-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.22
Choose a base ref
...
head repository: LinkdropHQ/claim-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Apr 26, 2024

  1. added fix for countries whitelist

    spacehaz committed Apr 26, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    eb0eea6 View commit details
  2. Merge pull request #279 from LinkdropHQ/dev_available-countries

    added fix for countries whitelist
    spacehaz authored Apr 26, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1643487 View commit details

Commits on Apr 30, 2024

  1. added fix for text

    spacehaz committed Apr 30, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    37f7ed6 View commit details
  2. Merge pull request #280 from LinkdropHQ/dev_available-countries

    added fix for text
    spacehaz authored Apr 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0210edc View commit details
  3. added fix for package.json and changelog

    spacehaz committed Apr 30, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    91203ef View commit details
  4. Merge pull request #281 from LinkdropHQ/dev_available-countries

    added fix for package.json and changelog
    spacehaz authored Apr 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ac525e0 View commit details
  5. Merge pull request #282 from LinkdropHQ/dev

    RELEASE 2.2.23
    spacehaz authored Apr 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6185a86 View commit details
  6. added fix for error text

    spacehaz committed Apr 30, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    575ce6d View commit details
  7. Merge pull request #283 from LinkdropHQ/dev_available-countries

    added fix for error text
    spacehaz authored Apr 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    06602a2 View commit details
  8. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8fb0fd4 View commit details

Commits on May 20, 2024

  1. added datadog

    spacehaz committed May 20, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    9afb2d6 View commit details
  2. Merge pull request #285 from LinkdropHQ/dev_datadog

    added datadog
    spacehaz authored May 20, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9cb9d14 View commit details
  3. added datadog fix

    spacehaz committed May 20, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    48e92b4 View commit details
  4. Merge pull request #286 from LinkdropHQ/dev_datadog

    added datadog fix
    spacehaz authored May 20, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    94d9030 View commit details

Commits on May 21, 2024

  1. added autoclaim

    spacehaz committed May 21, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    1fe1bde View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    48d3243 View commit details

Commits on May 22, 2024

  1. added datadog conditions

    spacehaz committed May 22, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    3d3acaf View commit details
  2. Merge pull request #288 from LinkdropHQ/dev_dispenser-whitelist-fix

    added datadog conditions
    spacehaz authored May 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    50eddf9 View commit details

Commits on May 29, 2024

  1. added 1inch wallet

    spacehaz committed May 29, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    5693f0e View commit details

Commits on May 30, 2024

  1. Merge pull request #289 from LinkdropHQ/dev_1inch

    added 1inch wallet
    spacehaz authored May 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b41abe6 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    2e69316 View commit details

Commits on Jun 3, 2024

  1. added new env variables

    spacehaz committed Jun 3, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    0f56231 View commit details
  2. Merge pull request #290 from LinkdropHQ/dev_datadog-updates

    added new env variables
    spacehaz authored Jun 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7ad2207 View commit details
  3. added new libs

    spacehaz committed Jun 3, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    90f7e99 View commit details
  4. added new libs

    spacehaz committed Jun 3, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    b5d5fb1 View commit details
  5. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    69ed116 View commit details
  6. added updates, consol.log removed

    spacehaz committed Jun 3, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    5e8c015 View commit details
  7. Merge pull request #292 from LinkdropHQ/dev_wallet-connect_update

    Dev wallet connect update
    spacehaz authored Jun 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0a2c34d View commit details

Commits on Jun 6, 2024

  1. added updates for claim

    spacehaz committed Jun 6, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    d46a18d View commit details
  2. added updates for injected

    spacehaz committed Jun 6, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    80726b3 View commit details
  3. Merge pull request #293 from LinkdropHQ/dev_injected-fix

    Dev injected fix
    spacehaz authored Jun 6, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    be7394e View commit details

Commits on Jun 7, 2024

  1. removed console.log

    spacehaz committed Jun 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    66ded19 View commit details
  2. added api key

    spacehaz committed Jun 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    d183915 View commit details
  3. added new release

    spacehaz committed Jun 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    3a1a53c View commit details
  4. added new sdk version

    spacehaz committed Jun 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    6d4a72b View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d22a6c5 View commit details

Commits on Jun 10, 2024

  1. 2.1.3 sdk update

    spacehaz committed Jun 10, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    99ef822 View commit details
  2. Merge pull request #297 from LinkdropHQ/dev_sdk-2.1.3

    2.1.3 sdk update
    spacehaz authored Jun 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6f524a1 View commit details

Commits on Jun 11, 2024

  1. added coinbase as connector (not deeplink)

    spacehaz committed Jun 11, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    3bc4b8f View commit details
  2. Merge pull request #300 from LinkdropHQ/dev_smart-wallet

    added coinbase as connector (not deeplink)
    spacehaz authored Jun 11, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    aa3dd69 View commit details

Commits on Jun 12, 2024

  1. added fix for codestyle

    spacehaz committed Jun 12, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    ab0ca58 View commit details

Commits on Jun 13, 2024

  1. added fix for wedding config

    spacehaz committed Jun 13, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    b223f07 View commit details
  2. added fix for wedding config

    spacehaz committed Jun 13, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    69ffc5d View commit details
  3. Merge pull request #301 from LinkdropHQ/dev_wedding

    Dev wedding
    spacehaz authored Jun 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ddea88d View commit details
  4. Merge pull request #298 from LinkdropHQ/dev

    Dev
    spacehaz authored Jun 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f841584 View commit details

Commits on Jun 14, 2024

  1. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    ff58199 View commit details
  2. added fix for coinbase

    spacehaz committed Jun 14, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    4dca252 View commit details
  3. added fix for coinbase

    spacehaz committed Jun 14, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    6ceb54e View commit details
  4. added fix for coinbase

    spacehaz committed Jun 14, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    d395b07 View commit details
  5. Merge pull request #302 from LinkdropHQ/dev_coinbase-redirects

    Dev coinbase redirects
    spacehaz authored Jun 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5afa3a3 View commit details
Showing with 10,492 additions and 10,201 deletions.
  1. BIN .DS_Store
  2. +37 −0 CHANGELOG.md
  3. +32 −8 craco.config.js
  4. +49 −38 package.json
  5. +13 −0 patches/@coinbase+wallet-sdk+4.2.1.patch
  6. BIN public/.DS_Store
  7. +2 −2 public/index.html
  8. BIN public/meta-image.png
  9. BIN src/.DS_Store
  10. +5 −1 src/components/application/app-router/index.tsx
  11. +0 −12 src/components/application/connectors/coinbase-connector.tsx
  12. +279 −0 src/components/application/connectors/coinbase-wallet-wagmi-connector.ts
  13. +0 −1 src/components/application/connectors/metamask-connect.tsx
  14. +65 −38 src/components/application/connectors/wallet-connect.tsx
  15. +11 −16 src/components/application/index.tsx
  16. +2 −0 src/components/common/index.js
  17. +1 −0 src/components/common/link/type.tsx
  18. +29 −48 src/components/common/loader/styled-components.tsx
  19. +36 −0 src/components/common/mini-popup/index.tsx
  20. +16 −0 src/components/common/mini-popup/styled-components.tsx
  21. +1 −0 src/components/common/text/types.tsx
  22. +1 −0 src/components/common/title/types.tsx
  23. +1 −1 src/components/common/token-image/index.tsx
  24. +1 −0 src/components/common/widget/index.tsx
  25. +3 −3 src/components/pages/claim-page/already-claimed/index.tsx
  26. +21 −6 src/components/pages/claim-page/change-network/index.tsx
  27. +0 −93 src/components/pages/claim-page/choose-wallet/index.tsx
  28. +0 −42 src/components/pages/claim-page/choose-wallet/styled-components.tsx
  29. +2 −7 src/components/pages/claim-page/claiming-finished/index.tsx
  30. +62 −16 src/components/pages/claim-page/claiming-process/index.tsx
  31. +23 −17 src/components/pages/claim-page/claiming-process/styled-components.tsx
  32. +1 −1 src/components/pages/claim-page/error-already-claimed/index.tsx
  33. +1 −1 src/components/pages/claim-page/error-link-not-found/index.tsx
  34. +22 −0 src/components/pages/claim-page/error-multiple-claims-forbidden/index.tsx
  35. +18 −0 src/components/pages/claim-page/error-region/index.tsx
  36. +33 −3 src/components/pages/claim-page/error-transaction/index.tsx
  37. +46 −35 src/components/pages/claim-page/index.tsx
  38. +102 −48 src/components/pages/claim-page/initial-screen/index.tsx
  39. +2 −5 src/components/pages/claim-page/initial-screen/styled-components.tsx
  40. +98 −45 src/components/pages/claim-page/set-connector/index.tsx
  41. +1 −0 src/components/pages/claim-page/set-connector/styled-components.tsx
  42. +16 −14 src/components/pages/claim-page/short-code-loading/index.tsx
  43. +0 −45 src/components/pages/claim-page/short-code-loading/styled-components.tsx
  44. +67 −64 src/components/pages/common/claiming-finished-button/index.tsx
  45. +5 −5 src/components/pages/common/claiming-finished-button/styled-components.tsx
  46. +3 −0 src/components/pages/common/claiming-finished-button/types.tsx
  47. +3 −16 ...s/pages/common/{claiming-finished-secondary-button → claiming-finished-explorer-button}/index.tsx
  48. +1 −1 ...on/{claiming-finished-secondary-button → claiming-finished-explorer-button}/styled-components.tsx
  49. +0 −5 src/components/pages/common/crossmint-connection/components/index.tsx
  50. +0 −20 src/components/pages/common/crossmint-connection/components/popup-contents/index.tsx
  51. +0 −115 src/components/pages/common/crossmint-connection/index.tsx
  52. +0 −35 src/components/pages/common/crossmint-connection/styled-components.tsx
  53. +11 −4 src/components/pages/common/eligible-to-claim/index.tsx
  54. +5 −7 src/components/pages/common/index.tsx
  55. +22 −0 src/components/pages/common/network-indicator/index.tsx
  56. +19 −0 src/components/pages/common/network-indicator/styled-components.tsx
  57. +10 −0 src/components/pages/common/network-indicator/types.tsx
  58. +80 −8 src/components/pages/common/page-header/index.tsx
  59. +102 −3 src/components/pages/common/page-header/styled-components.tsx
  60. +4 −0 src/components/pages/common/page-header/types.tsx
  61. +0 −5 src/components/pages/common/popup-wallet-list-contents/index.tsx
  62. +3 −1 src/components/pages/common/sign-message/index.tsx
  63. +1 −0 src/components/pages/common/sign-message/types.tsx
  64. +2 −2 src/components/pages/common/wallet-redirect-await/index.tsx
  65. +3 −1 src/components/pages/common/wallet-redirect-await/styled-components.tsx
  66. +318 −177 src/components/pages/common/wallets-list/index.tsx
  67. +15 −26 src/components/pages/common/wallets-list/styled-components.tsx
  68. +0 −2 src/components/pages/common/wallets-list/types.tsx
  69. +0 −178 src/components/pages/common/zerion-connection/index.tsx
  70. +0 −61 src/components/pages/common/zerion-connection/styled-components.tsx
  71. +0 −5 src/components/pages/common/zerion-connection/types.tsx
  72. +18 −7 src/components/pages/home-page/index.tsx
  73. +0 −1 src/components/pages/multi-qr/styled-components.tsx
  74. +22 −8 src/components/pages/page/index.tsx
  75. +1 −1 src/components/pages/page/styled-components.tsx
  76. +1 −1 src/components/pages/page/types.tsx
  77. +16 −11 src/components/pages/qr/index.tsx
  78. +0 −25 src/components/pages/qr/styled-components.tsx
  79. +37 −48 src/components/pages/scan/components/whitelist/index.tsx
  80. +23 −3 src/configs/application.tsx
  81. +66 −32 src/configs/chains.tsx
  82. +0 −29 src/configs/contracts.tsx
  83. +3 −3 src/configs/gas-price-limits.tsx
  84. +80 −72 src/configs/wallets.tsx
  85. +7 −2 src/data/api/get-multiqr-campaign-data.tsx
  86. +18 −4 src/data/api/get-multiqr-data.tsx
  87. +28 −0 src/data/api/get-nonce.tsx
  88. +8 −2 src/data/api/get-original-link.tsx
  89. +7 −2 src/data/api/get-qr-data.tsx
  90. +2 −0 src/data/api/index.js
  91. +36 −4 src/data/store/reducers/drop/actions.tsx
  92. +8 −7 src/data/store/reducers/drop/async-actions/check-if-claimed.tsx
  93. +11 −6 src/data/store/reducers/drop/async-actions/check-transaction-status.tsx
  94. +10 −5 src/data/store/reducers/drop/async-actions/claim-erc1155.tsx
  95. +15 −8 src/data/store/reducers/drop/async-actions/claim-erc20.tsx
  96. +17 −8 src/data/store/reducers/drop/async-actions/claim-erc721.tsx
  97. +2 −0 src/data/store/reducers/drop/async-actions/compute-scan-address.tsx
  98. +16 −4 src/data/store/reducers/drop/async-actions/get-erc1155-token-data.tsx
  99. +22 −5 src/data/store/reducers/drop/async-actions/get-erc721-token-data.tsx
  100. +27 −5 src/data/store/reducers/drop/async-actions/get-initial-data.tsx
  101. +57 −9 src/data/store/reducers/drop/async-actions/get-link-by-code.tsx
  102. +60 −3 src/data/store/reducers/drop/async-actions/get-link-by-multi-qr-whitelist-address.tsx
  103. +2 −0 src/data/store/reducers/drop/async-actions/get-link-from-input.tsx
  104. +5 −1 src/data/store/reducers/drop/async-actions/get-link-from-url.tsx
  105. +31 −8 src/data/store/reducers/drop/async-actions/get-multi-qr-campaign-data.tsx
  106. +15 −6 src/data/store/reducers/drop/async-actions/get-token-data.tsx
  107. +2 −0 src/data/store/reducers/drop/async-actions/index.tsx
  108. +8 −2 src/data/store/reducers/drop/constants.tsx
  109. +16 −4 src/data/store/reducers/drop/reducer.tsx
  110. +5 −1 src/data/store/reducers/drop/types.tsx
  111. +6 −0 src/data/store/reducers/token/actions.tsx
  112. +2 −1 src/data/store/reducers/token/constants.tsx
  113. +4 −1 src/data/store/reducers/token/reducer.tsx
  114. +5 −4 src/data/store/reducers/token/types.tsx
  115. +2 −0 src/data/store/reducers/user/async-actions/index.js
  116. +7 −18 src/data/store/reducers/user/async-actions/initialize.tsx
  117. +12 −0 src/data/store/reducers/user/async-actions/logout.tsx
  118. +57 −53 src/data/store/reducers/user/async-actions/switch-network.tsx
  119. +4 −2 src/data/store/reducers/user/async-actions/update-user-data.tsx
  120. +2 −2 src/data/store/reducers/user/types.tsx
  121. +0 −61 src/global.d.ts
  122. +2 −4 src/helpers/define-alchemy-network.tsx
  123. +17 −0 src/helpers/define-api-headers.tsx
  124. +18 −0 src/helpers/define-default-wallet-app.tsx
  125. +1 −1 src/helpers/define-explorer-url.tsx
  126. +9 −9 src/helpers/define-json-rpc-url.tsx
  127. +2 −0 src/helpers/define-native-token-symbol.tsx
  128. +23 −0 src/helpers/define-network-icon.tsx
  129. +3 −3 src/helpers/define-network-name.tsx
  130. +3 −3 src/helpers/define-real-network-name.tsx
  131. +0 −41 src/helpers/define-redirect-url.tsx
  132. +53 −45 src/helpers/get-injected-wallet-option.tsx
  133. +9 −2 src/helpers/get-wallet-deeplink.tsx
  134. +6 −2 src/helpers/get-wallet-option.tsx
  135. +27 −7 src/helpers/handle-claim-response-error.tsx
  136. +6 −2 src/helpers/index.js
  137. +3 −5 src/helpers/ipfs-redefine-url.tsx
  138. +3 −2 src/hooks/index.tsx
  139. +2 −2 src/hooks/use-ethers-signer.tsx
  140. +10 −0 src/hooks/use-query-params.tsx
  141. +4 −0 src/icons/index.js
  142. +6 −0 src/icons/logout-icon.svg
  143. +9 −0 src/icons/wallet-image-icon.svg
  144. BIN src/images/.DS_Store
  145. BIN src/images/avatar.png
  146. BIN src/images/base-network-icon.png
  147. BIN src/images/mainnet-network-icon.png
  148. BIN src/images/okx-wallet.png
  149. BIN src/images/polygon-network-icon.png
  150. BIN src/images/wallet-1inch.png
  151. BIN src/images/wedding.png
  152. BIN src/images/xlayer-network-icon.png
  153. +1 −15 src/index.css
  154. +59 −19 src/index.tsx
  155. +6 −3 src/themes/index.js
  156. +5 −1 src/types/claim-link.tsx
  157. +3 −3 src/types/drop-step.tsx
  158. +8 −1 src/types/link-params.tsx
  159. +4 −1 src/types/multiscan-campaign.tsx
  160. +0 −1 src/types/multiscan-step.tsx
  161. +6 −6 src/types/wallet-name.tsx
  162. +7,675 −8,257 yarn.lock
Binary file modified .DS_Store
Binary file not shown.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Linkdrop Claim app

## 2.2.31
- wagmi update, web3modal removed

## 2.2.30
- claiming_finished_auto_redirect property support

## 2.2.29
- factory configs removed

## 2.2.28
- added X Layer network support
- added OKX Wallet

## 2.2.27
- new linkdrop-batch-sdk package
- new logic for wallet connection
- UI updates for header

## 2.2.26
- added query params to url (autoclaim and dest)
- bug fixes
- wagmi and web3Modal update
- zerion deleted as option

## 2.2.25
- added new wallets list
- bug fix for dispenser message signing

## 2.2.24
- added new version of sdk
- web3Modal update
- wagmi update
- 1inch wallet added

## 2.2.23
- added countries whitelist support

## 2.2.22
- added fix for network switch

40 changes: 32 additions & 8 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
const path = require('path')
const rewireBabelLoader = require("craco-babel-loader")
const fs = require("fs")
const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
const webpack = require('webpack')
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')

module.exports = {
webpack: {
alias: {
react: path.resolve('./node_modules/react')
plugins: [
new NodePolyfillPlugin(),
new webpack.ProvidePlugin({
process: 'process/browser',
})
],
configure: {
ignoreWarnings: [{ module: /node_modules\// }]
}
},
configure: (webpackConfig) => {
webpackConfig.resolve.extensions.push('.mjs', '.cjs')
return {
...webpackConfig,
resolve: {
...webpackConfig.resolve,
fallback: {
...webpackConfig.resolve.fallback,
assert: false,
crypto: false,
http: false,
https: false,
os: false,
stream: false,
}
}
}
},
babel: {
plugins: ["@babel/plugin-proposal-nullish-coalescing-operator", "@babel/plugin-proposal-optional-chaining"],
plugins: [
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining"
],
},
}
87 changes: 49 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,54 @@
{
"name": "app-claim",
"version": "2.2.22",
"version": "2.2.31-rc.0",
"private": true,
"dependencies": {
"@auth0/auth0-react": "^2.1.1",
"@coinbase/wallet-sdk": "^3.6.6",
"@craco/craco": "^6.4.0",
"@ledgerhq/connect-kit-loader": "1.1.8",
"@coinbase/wallet-sdk": "^4.2.1",
"@datadog/browser-logs": "^5.18.0",
"@datadog/browser-rum": "^5.18.0",
"@ledgerhq/connect-kit-loader": "^1.1.8",
"@linkdrop/contracts": "^1.2.2",
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.3.1",
"@walletconnect/auth-client": "^2.0.3",
"@reown/appkit": "^1.3.2",
"@reown/appkit-adapter-wagmi": "^1.3.2",
"@tanstack/react-query": "^5.59.20",
"@walletconnect/ethereum-provider": "^2.9.2",
"@walletconnect/sign-client": "^2.9.2",
"@walletconnect/types": "^2.13.1",
"@walletconnect/universal-provider": "^2.9.2",
"@walletconnect/utils": "2.0.0-beta.100",
"@web3modal/ethereum": "^2.2.2",
"@web3modal/react": "^2.2.2",
"alchemy-sdk": "^2.6.3",
"ansi-html": "^0.0.8",
"axios": "^0.24.0",
"browserslist": "^4.16.5",
"crypto-browserify": "^3.12.0",
"detect-browser": "^5.3.0",
"ejs": "^3.1.7",
"ethers": "^5.5.1",
"glob-parent": "^5.1.2",
"history": "^5.3.0",
"immer": "^9.0.6",
"is-android": "^1.0.1",
"is-ios": "^2.1.0",
"linkdrop-sdk": "^2.0.8",
"linkdrop-batch-sdk": "^2.1.16",
"linkdrop-ui": "^0.0.44",
"minimatch": "^3.0.5",
"node-forge": "^1.3.0",
"nth-check": "^2.0.1",
"plausible-tracker-linkdrop": "^0.3.9",
"react": "^17.0.2",
"react-dev-utils": "^12.0.1",
"react-dom": "^17.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"react-scripts": "^5.0.1",
"react-select": "^5.4.0",
"redux": "^4.1.1",
"redux-thunk": "^2.4.1",
"shell-quote": "^1.7.3",
"siwe": "^2.3.2",
"styled-components": "^5.3.1",
"typescript": "^4.1.2",
"viem": "^1.4.1",
"wagmi": "^1.3.9",
"viem": "^2.21.42",
"wagmi": "^2.12.27",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"start": "DISABLE_ESLINT_PLUGIN=true craco --openssl-legacy-provider start",
"build": "DISABLE_ESLINT_PLUGIN=true craco build",
"test": "craco test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"postinstall": "npx patch-package"
},
"eslintConfig": {
"extends": [
@@ -91,15 +77,40 @@
"ansi-html": "^0.0.8",
"shell-quote": "^1.7.3",
"ejs": "^3.1.7",
"browserslist": "^4.16.5"
"browserslist": "^4.16.5",
"@types/react": "^18.0.21",
"@coinbase/wallet-sdk": "^4.2.1",
"react-error-overlay": "6.0.9"
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
"@craco/craco": "^7.1.0",
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.3.0",
"@types/react-redux": "^7.1.20",
"@types/react-router-dom": "^5.3.1",
"@types/styled-components": "^5.1.15",
"babel-eslint": "^10.1.0",
"craco-babel-loader": "^1.0.4",
"typesafe-actions": "^5.1.0"
}
"ejs": "^3.1.7",
"node-polyfill-webpack-plugin": "^4.0.0",
"process": "^0.11.10",
"react-dev-utils": "^12.0.1",
"react-error-overlay": "6.0.9",
"shell-quote": "^1.7.3",
"typesafe-actions": "^5.1.0",
"typescript": "^5.4.2",
"webpack": "^5.91.0"
},
"browser": {
"crypto": false
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
13 changes: 13 additions & 0 deletions patches/@coinbase+wallet-sdk+4.2.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@coinbase/wallet-sdk/dist/sign/walletlink/WalletLinkSigner.js b/node_modules/@coinbase/wallet-sdk/dist/sign/walletlink/WalletLinkSigner.js
index f717750..ee2042a 100644
--- a/node_modules/@coinbase/wallet-sdk/dist/sign/walletlink/WalletLinkSigner.js
+++ b/node_modules/@coinbase/wallet-sdk/dist/sign/walletlink/WalletLinkSigner.js
@@ -1,7 +1,7 @@
// Copyright (c) 2018-2024 Coinbase, Inc. <https://www.coinbase.com/>
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
-import * as eip712 from '../../vendor-js/eth-eip712-util/index.cjs';
+import eip712 from '../../vendor-js/eth-eip712-util/index.cjs';
import { LOCAL_STORAGE_ADDRESSES_KEY } from './relay/constants.js';
import { isErrorResponse } from './relay/type/Web3Response.js';
import { WalletLinkRelay } from './relay/WalletLinkRelay.js';
Binary file added public/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
<meta property="image" content="%PUBLIC_URL%/meta-image.png" />
<meta
name="og:title"
content="You have received an NFT, click to claim it"
content="You have received a digital asset. Click to claim it"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
@@ -28,7 +28,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>You have received an NFT, click to claim it</title>
<title>You have received a digital asset. Click to claim it</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Binary file modified public/meta-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/.DS_Store
Binary file not shown.
6 changes: 5 additions & 1 deletion src/components/application/app-router/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { FC } from 'react'
import { Route, Switch, HashRouter } from 'react-router-dom'
import {
Route,
Switch,
HashRouter
} from 'react-router-dom'
import {
NotFound,
ClaimPage,
12 changes: 0 additions & 12 deletions src/components/application/connectors/coinbase-connector.tsx

This file was deleted.

Loading