@bosonprotocol/react-kit 0.29.1-alpha.0 → 0.29.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +1 -1
  2. package/dist/cjs/components/wallet/wallet-connection.d.ts.map +1 -1
  3. package/dist/cjs/components/wallet/wallet-connection.js +22 -0
  4. package/dist/cjs/components/wallet/wallet-connection.js.map +1 -1
  5. package/dist/cjs/lib/chains/getNativeLogoURI.d.ts +1 -1
  6. package/dist/cjs/lib/chains/getNativeLogoURI.d.ts.map +1 -1
  7. package/dist/cjs/lib/chains/getNativeLogoURI.js +1 -0
  8. package/dist/cjs/lib/chains/getNativeLogoURI.js.map +1 -1
  9. package/dist/cjs/lib/config/config.d.ts +1 -0
  10. package/dist/cjs/lib/config/config.d.ts.map +1 -1
  11. package/dist/cjs/lib/const/chainInfo.d.ts.map +1 -1
  12. package/dist/cjs/lib/const/chainInfo.js +15 -0
  13. package/dist/cjs/lib/const/chainInfo.js.map +1 -1
  14. package/dist/cjs/lib/const/chains.d.ts +2 -1
  15. package/dist/cjs/lib/const/chains.d.ts.map +1 -1
  16. package/dist/cjs/lib/const/chains.js +3 -1
  17. package/dist/cjs/lib/const/chains.js.map +1 -1
  18. package/dist/cjs/lib/const/networks.d.ts +2 -0
  19. package/dist/cjs/lib/const/networks.d.ts.map +1 -1
  20. package/dist/cjs/lib/const/networks.js +8 -0
  21. package/dist/cjs/lib/const/networks.js.map +1 -1
  22. package/dist/cjs/lib/const/tokens.d.ts +3 -1
  23. package/dist/cjs/lib/const/tokens.d.ts.map +1 -1
  24. package/dist/cjs/lib/const/tokens.js +4 -2
  25. package/dist/cjs/lib/const/tokens.js.map +1 -1
  26. package/dist/cjs/lib/opensea/getOpenSeaUrl.js +4 -4
  27. package/dist/cjs/lib/opensea/getOpenSeaUrl.js.map +1 -1
  28. package/dist/esm/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +1 -1
  29. package/dist/esm/components/wallet/wallet-connection.d.ts.map +1 -1
  30. package/dist/esm/components/wallet/wallet-connection.js +22 -0
  31. package/dist/esm/components/wallet/wallet-connection.js.map +1 -1
  32. package/dist/esm/lib/chains/getNativeLogoURI.d.ts +1 -1
  33. package/dist/esm/lib/chains/getNativeLogoURI.d.ts.map +1 -1
  34. package/dist/esm/lib/chains/getNativeLogoURI.js +1 -0
  35. package/dist/esm/lib/chains/getNativeLogoURI.js.map +1 -1
  36. package/dist/esm/lib/config/config.d.ts +1 -0
  37. package/dist/esm/lib/config/config.d.ts.map +1 -1
  38. package/dist/esm/lib/const/chainInfo.d.ts.map +1 -1
  39. package/dist/esm/lib/const/chainInfo.js +15 -0
  40. package/dist/esm/lib/const/chainInfo.js.map +1 -1
  41. package/dist/esm/lib/const/chains.d.ts +2 -1
  42. package/dist/esm/lib/const/chains.d.ts.map +1 -1
  43. package/dist/esm/lib/const/chains.js +3 -1
  44. package/dist/esm/lib/const/chains.js.map +1 -1
  45. package/dist/esm/lib/const/networks.d.ts +2 -0
  46. package/dist/esm/lib/const/networks.d.ts.map +1 -1
  47. package/dist/esm/lib/const/networks.js +8 -0
  48. package/dist/esm/lib/const/networks.js.map +1 -1
  49. package/dist/esm/lib/const/tokens.d.ts +3 -1
  50. package/dist/esm/lib/const/tokens.d.ts.map +1 -1
  51. package/dist/esm/lib/const/tokens.js +4 -1
  52. package/dist/esm/lib/const/tokens.js.map +1 -1
  53. package/dist/esm/lib/opensea/getOpenSeaUrl.js +4 -4
  54. package/dist/esm/lib/opensea/getOpenSeaUrl.js.map +1 -1
  55. package/package.json +5 -5
  56. package/src/components/modal/components/Commit/CommitSuccess/CommitSuccess.tsx +1 -1
  57. package/src/components/wallet/wallet-connection.ts +23 -1
  58. package/src/lib/chains/getNativeLogoURI.ts +4 -1
  59. package/src/lib/const/chainInfo.ts +15 -0
  60. package/src/lib/const/chains.ts +3 -1
  61. package/src/lib/const/networks.ts +8 -0
  62. package/src/lib/const/tokens.ts +15 -2
  63. package/src/lib/opensea/getOpenSeaUrl.ts +6 -6
  64. package/src/stories/cta/dispute/AddFeesDisputeResolverButton.stories.tsx +2 -2
  65. package/src/stories/cta/dispute/AddSellerToDisputeResolverButton.stories.tsx +2 -2
  66. package/src/stories/cta/dispute/CreateDisputeResolverButton.stories.tsx +2 -2
  67. package/src/stories/cta/dispute/DecideDisputeButton.stories.tsx +2 -2
  68. package/src/stories/cta/dispute/EscalateDisputeButton.stories.tsx +2 -2
  69. package/src/stories/cta/dispute/ExpireDisputeButton.stories.tsx +2 -2
  70. package/src/stories/cta/dispute/ExpireEscalationDisputeButton.stories.tsx +2 -2
  71. package/src/stories/cta/dispute/ExtendDisputeTimeoutButton.stories.tsx +2 -2
  72. package/src/stories/cta/dispute/RaiseDisputeButton.stories.tsx +2 -2
  73. package/src/stories/cta/dispute/RefuseDisputeButton.stories.tsx +2 -2
  74. package/src/stories/cta/dispute/RemoveFeesDisputeResolverButton.stories.tsx +2 -2
  75. package/src/stories/cta/dispute/RemoveSellerFromDisputeResolverButton.stories.tsx +2 -2
  76. package/src/stories/cta/dispute/ResolveDisputeButton.stories.tsx +2 -2
  77. package/src/stories/cta/dispute/RetractDisputeButton.stories.tsx +2 -2
  78. package/src/stories/cta/dispute/UpdateDisputeResolverButton.stories.tsx +2 -2
  79. package/src/stories/cta/exchange/BatchCompleteButton.stories.tsx +2 -2
  80. package/src/stories/cta/exchange/CancelButton.stories.tsx +2 -2
  81. package/src/stories/cta/exchange/CompleteButton.stories.tsx +2 -2
  82. package/src/stories/cta/exchange/ExpireButton.stories.tsx +2 -2
  83. package/src/stories/cta/exchange/RedeemButton.stories.tsx +3 -3
  84. package/src/stories/cta/exchange/RevokeButton.stories.tsx +2 -2
  85. package/src/stories/cta/funds/DepositFundsButton.stories.tsx +3 -3
  86. package/src/stories/cta/funds/WithdrawAllFunds.stories.tsx +3 -3
  87. package/src/stories/cta/funds/WithdrawFundsButton.stories.tsx +3 -3
  88. package/src/stories/cta/offer/BatchVoidButton.stories.tsx +2 -2
  89. package/src/stories/cta/offer/CommitButton.stories.tsx +3 -3
  90. package/src/stories/cta/offer/CreateOfferButton.stories.tsx +2 -2
  91. package/src/stories/cta/offer/VoidButton.stories.tsx +2 -2
  92. package/src/stories/cta/seller/CreateSellerButton.stories.tsx +2 -2
  93. package/src/stories/cta/seller/UpdateSellerButton.stories.tsx +2 -2
  94. package/src/stories/helpers/CtaButtonWrapper.tsx +1 -1
@@ -98,6 +98,21 @@ const CHAIN_INFO: ChainInfoMap = {
98
98
  symbol: "mMATIC",
99
99
  decimals: 18
100
100
  }
101
+ },
102
+ 80002: {
103
+ networkType: NetworkType.L1,
104
+ blockWaitMsBeforeWarning: ms(`10m`),
105
+ bridge: "https://wallet.polygon.technology/polygon/bridge/deposit",
106
+ docs: "https://polygon.io/",
107
+ explorer: "https://www.oklink.com/amoy/",
108
+ infoLink: "https://info.uniswap.org/#/polygon/",
109
+ label: "Polygon Amoy",
110
+ logoUrl: polygonMaticLogo,
111
+ nativeCurrency: {
112
+ name: "Polygon Amoy Matic",
113
+ symbol: "aMATIC",
114
+ decimals: 18
115
+ }
101
116
  }
102
117
  } as const;
103
118
 
@@ -5,6 +5,7 @@ export const CHAIN_IDS_TO_NAMES = {
5
5
  [ChainId.SEPOLIA]: "sepolia",
6
6
  [ChainId.POLYGON]: "polygon",
7
7
  [ChainId.POLYGON_MUMBAI]: "polygon_mumbai",
8
+ 80002: "polygon_amoy",
8
9
  [ChainId.CELO]: "celo",
9
10
  [ChainId.CELO_ALFAJORES]: "celo_alfajores",
10
11
  [ChainId.ARBITRUM_ONE]: "arbitrum",
@@ -25,7 +26,8 @@ export const L1_CHAIN_IDS = [
25
26
  // ChainId.GOERLI,
26
27
  ChainId.SEPOLIA,
27
28
  ChainId.POLYGON,
28
- ChainId.POLYGON_MUMBAI
29
+ ChainId.POLYGON_MUMBAI,
30
+ 80002
29
31
  // LocalChainId
30
32
  // ChainId.CELO,
31
33
  // ChainId.CELO_ALFAJORES
@@ -71,6 +71,10 @@ export const FALLBACK_URLS = {
71
71
  "https://rpc-mumbai.maticvigil.com",
72
72
  "https://matic-testnet-archive-rpc.bwarelabs.com"
73
73
  ],
74
+ 80002: [
75
+ // "Safe" URLs
76
+ "https://rpc-amoy.polygon.technology"
77
+ ],
74
78
  [ChainId.ARBITRUM_ONE]: [
75
79
  // "Safe" URLs
76
80
  "https://arb1.arbitrum.io/rpc",
@@ -175,6 +179,10 @@ export const getRpcUrls = (infuraKey: string) => ({
175
179
  `https://polygon-mumbai.infura.io/v3/${infuraKey}`,
176
180
  ...FALLBACK_URLS[ChainId.POLYGON_MUMBAI]
177
181
  ],
182
+ 80002: [ // AMOY
183
+ `https://polygon-amoy.infura.io/v3/${infuraKey}`,
184
+ ...FALLBACK_URLS[80002]
185
+ ],
178
186
  [ChainId.CELO]: FALLBACK_URLS[ChainId.CELO],
179
187
  [ChainId.CELO_ALFAJORES]: FALLBACK_URLS[ChainId.CELO_ALFAJORES],
180
188
  [ChainId.BNB]: [
@@ -411,6 +411,13 @@ export const WRAPPED_NATIVE_CURRENCY: { [chainId: number]: Token | undefined } =
411
411
  "WMATIC",
412
412
  "Wrapped MATIC"
413
413
  ),
414
+ 80002: new Token(
415
+ 80002,
416
+ "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
417
+ 18,
418
+ "WMATIC",
419
+ "Wrapped MATIC"
420
+ ),
414
421
  [ChainId.CELO]: new Token(
415
422
  ChainId.CELO,
416
423
  "0x471ece3750da237f93b8e339c536989b8978a438",
@@ -458,10 +465,16 @@ function getCeloNativeCurrency(chainId: number) {
458
465
  }
459
466
  }
460
467
 
468
+ type NewType = 80002;
469
+
461
470
  export function isMatic(
462
471
  chainId: number
463
- ): chainId is ChainId.POLYGON | ChainId.POLYGON_MUMBAI {
464
- return chainId === ChainId.POLYGON_MUMBAI || chainId === ChainId.POLYGON;
472
+ ): chainId is ChainId.POLYGON | ChainId.POLYGON_MUMBAI | NewType {
473
+ return (
474
+ chainId === ChainId.POLYGON_MUMBAI ||
475
+ chainId === ChainId.POLYGON ||
476
+ chainId === 80002
477
+ );
465
478
  }
466
479
 
467
480
  class MaticNativeCurrency extends NativeCurrency {
@@ -4,12 +4,12 @@ import { getExchangeTokenId } from "../utils/exchange";
4
4
 
5
5
  const openSeaUrlMap = new Map([
6
6
  [
7
- "testing", // Mumbai
7
+ "testing", // testnets
8
8
  new Map([
9
9
  [
10
- "testing-80001-0",
10
+ "testing-80002-0",
11
11
  (tokenId: string, contractAddress: string) =>
12
- `https://testnets.opensea.io/assets/mumbai/${contractAddress}/${tokenId}`
12
+ `https://testnets.opensea.io/assets/amoy/${contractAddress}/${tokenId}` // TO BE CONFIRMED
13
13
  ],
14
14
  [
15
15
  "testing-11155111-0",
@@ -19,12 +19,12 @@ const openSeaUrlMap = new Map([
19
19
  ])
20
20
  ],
21
21
  [
22
- "staging", // Mumbai
22
+ "staging", // testnets
23
23
  new Map([
24
24
  [
25
- "staging-80001-0",
25
+ "staging-80002-0",
26
26
  (tokenId: string, contractAddress: string) =>
27
- `https://testnets.opensea.io/assets/mumbai/${contractAddress}/${tokenId}`
27
+ `https://testnets.opensea.io/assets/amoy/${contractAddress}/${tokenId}` // TO BE CONFIRMED
28
28
  ],
29
29
  [
30
30
  "staging-11155111-0",
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing",
46
46
  web3Provider: undefined
47
47
  },
@@ -74,7 +74,7 @@ Simple.args = {
74
74
 
75
75
  WithExtraInfo.args = {
76
76
  coreSdkConfig: {
77
- configId: "testing-80001-0",
77
+ configId: "testing-80002-0",
78
78
  envName: "testing",
79
79
  web3Provider: undefined
80
80
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof AddSellerToDisputeResolver> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing",
45
45
  web3Provider: undefined
46
46
  },
@@ -66,7 +66,7 @@ Simple.args = {
66
66
 
67
67
  WithExtraInfo.args = {
68
68
  coreSdkConfig: {
69
- configId: "testing-80001-0",
69
+ configId: "testing-80002-0",
70
70
  envName: "testing",
71
71
  web3Provider: undefined
72
72
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof CreateDisputeResolverButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing",
45
45
  web3Provider: undefined
46
46
  },
@@ -75,7 +75,7 @@ Simple.args = {
75
75
 
76
76
  WithExtraInfo.args = {
77
77
  coreSdkConfig: {
78
- configId: "testing-80001-0",
78
+ configId: "testing-80002-0",
79
79
  envName: "testing",
80
80
  web3Provider: undefined
81
81
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof DecideDisputeButton> =
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  // metaTransactionsApiKey: undefined,
47
47
  // metaTransactionsApiId: "dummyApiId",
@@ -68,7 +68,7 @@ Simple.args = {
68
68
 
69
69
  WithExtraInfo.args = {
70
70
  coreSdkConfig: {
71
- configId: "testing-80001-0",
71
+ configId: "testing-80002-0",
72
72
  envName: "testing"
73
73
  // metaTransactionsApiKey: undefined,
74
74
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof EscalateDisputeButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  // metaTransactionsApiKey: undefined,
46
46
  // metaTransactionsApiId: "dummyApiId",
@@ -66,7 +66,7 @@ Simple.args = {
66
66
 
67
67
  WithExtraInfo.args = {
68
68
  coreSdkConfig: {
69
- configId: "testing-80001-0",
69
+ configId: "testing-80002-0",
70
70
  envName: "testing"
71
71
  // metaTransactionsApiKey: undefined,
72
72
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof ExpireDisputeButton> =
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  // metaTransactionsApiKey: undefined,
47
47
  // metaTransactionsApiId: "dummyApiId",
@@ -67,7 +67,7 @@ Simple.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing"
72
72
  // metaTransactionsApiKey: undefined,
73
73
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  // metaTransactionsApiKey: undefined,
47
47
  // metaTransactionsApiId: "dummyApiId"
@@ -67,7 +67,7 @@ Simple.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing"
72
72
  // metaTransactionsApiKey: undefined,
73
73
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof ExtendDisputeTimeoutButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  // metaTransactionsApiKey: undefined,
46
46
  // metaTransactionsApiId: "dummyApiId",
@@ -67,7 +67,7 @@ Simple.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing"
72
72
  // metaTransactionsApiKey: undefined,
73
73
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof RaiseDisputeButton> =
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  // metaTransactionsApiKey: undefined,
47
47
  // metaTransactionsApiId: "dummyApiId",
@@ -67,7 +67,7 @@ Simple.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing"
72
72
  // metaTransactionsApiKey: undefined,
73
73
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof RefuseDisputeButton> =
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  // metaTransactionsApiKey: undefined,
47
47
  // metaTransactionsApiId: "dummyApiId",
@@ -67,7 +67,7 @@ Simple.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing"
72
72
  // metaTransactionsApiKey: undefined,
73
73
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof RemoveFeesDisputeResolver> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing",
45
45
  web3Provider: undefined
46
46
  },
@@ -66,7 +66,7 @@ Simple.args = {
66
66
 
67
67
  WithExtraInfo.args = {
68
68
  coreSdkConfig: {
69
- configId: "testing-80001-0",
69
+ configId: "testing-80002-0",
70
70
  envName: "testing",
71
71
  web3Provider: undefined
72
72
  },
@@ -42,7 +42,7 @@ export const WithExtraInfo: ComponentStory<
42
42
 
43
43
  Simple.args = {
44
44
  coreSdkConfig: {
45
- configId: "testing-80001-0",
45
+ configId: "testing-80002-0",
46
46
  envName: "testing",
47
47
  web3Provider: undefined
48
48
  },
@@ -68,7 +68,7 @@ Simple.args = {
68
68
 
69
69
  WithExtraInfo.args = {
70
70
  coreSdkConfig: {
71
- configId: "testing-80001-0",
71
+ configId: "testing-80002-0",
72
72
  envName: "testing",
73
73
  web3Provider: undefined
74
74
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof ResolveDisputeButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  // metaTransactionsApiKey: undefined,
46
46
  // metaTransactionsApiId: "dummyApiId",
@@ -72,7 +72,7 @@ Simple.args = {
72
72
 
73
73
  WithExtraInfo.args = {
74
74
  coreSdkConfig: {
75
- configId: "testing-80001-0",
75
+ configId: "testing-80002-0",
76
76
  envName: "testing"
77
77
  // metaTransactionsApiKey: undefined,
78
78
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof RetractDisputeButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  // metaTransactionsApiKey: undefined,
46
46
  // metaTransactionsApiId: "dummyApiId",
@@ -66,7 +66,7 @@ Simple.args = {
66
66
 
67
67
  WithExtraInfo.args = {
68
68
  coreSdkConfig: {
69
- configId: "testing-80001-0",
69
+ configId: "testing-80002-0",
70
70
  envName: "testing"
71
71
  // metaTransactionsApiKey: undefined,
72
72
  },
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof UpdateDisputeResolverButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing",
45
45
  web3Provider: undefined
46
46
  },
@@ -73,7 +73,7 @@ Simple.args = {
73
73
 
74
74
  WithExtraInfo.args = {
75
75
  coreSdkConfig: {
76
- configId: "testing-80001-0",
76
+ configId: "testing-80002-0",
77
77
  envName: "testing",
78
78
  web3Provider: undefined
79
79
  },
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof BatchCompleteButton> =
41
41
 
42
42
  Simple.args = {
43
43
  coreSdkConfig: {
44
- configId: "testing-80001-0",
44
+ configId: "testing-80002-0",
45
45
  envName: "testing"
46
46
  },
47
47
  exchangeIds: ["1", "2"],
@@ -65,7 +65,7 @@ Simple.args = {
65
65
 
66
66
  WithExtraInfo.args = {
67
67
  coreSdkConfig: {
68
- configId: "testing-80001-0",
68
+ configId: "testing-80002-0",
69
69
  envName: "testing"
70
70
  },
71
71
  exchangeIds: ["1", "2"],
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof CancelButton> = Template.bind(
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  },
46
46
  exchangeId: "28",
@@ -64,7 +64,7 @@ Simple.args = {
64
64
 
65
65
  WithExtraInfo.args = {
66
66
  coreSdkConfig: {
67
- configId: "testing-80001-0",
67
+ configId: "testing-80002-0",
68
68
  envName: "testing"
69
69
  },
70
70
  exchangeId: "28",
@@ -39,7 +39,7 @@ export const WithExtraInfo: ComponentStory<typeof CompleteButton> =
39
39
 
40
40
  Simple.args = {
41
41
  coreSdkConfig: {
42
- configId: "testing-80001-0",
42
+ configId: "testing-80002-0",
43
43
  envName: "testing"
44
44
  },
45
45
  exchangeId: "28",
@@ -63,7 +63,7 @@ Simple.args = {
63
63
 
64
64
  WithExtraInfo.args = {
65
65
  coreSdkConfig: {
66
- configId: "testing-80001-0",
66
+ configId: "testing-80002-0",
67
67
  envName: "testing"
68
68
  },
69
69
  exchangeId: "28",
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof ExpireButton> = Template.bind(
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing"
45
45
  },
46
46
  exchangeId: "28",
@@ -64,7 +64,7 @@ Simple.args = {
64
64
 
65
65
  WithExtraInfo.args = {
66
66
  coreSdkConfig: {
67
- configId: "testing-80001-0",
67
+ configId: "testing-80002-0",
68
68
  envName: "testing"
69
69
  },
70
70
  exchangeId: "28",
@@ -30,7 +30,7 @@ export const WithExtraInfo: ComponentStory<typeof RedeemButton> = Template.bind(
30
30
 
31
31
  Simple.args = {
32
32
  coreSdkConfig: {
33
- configId: "testing-80001-0",
33
+ configId: "testing-80002-0",
34
34
  envName: "testing"
35
35
  },
36
36
  exchangeId: "92",
@@ -56,7 +56,7 @@ Simple.args = {
56
56
  WithBiconomy.args = {
57
57
  ...Simple.args,
58
58
  coreSdkConfig: {
59
- configId: "staging-80001-0",
59
+ configId: "staging-80002-0",
60
60
  envName: "staging",
61
61
  metaTx: {
62
62
  apiKey: "vYoPWofBr.e4f3e2f9-69e5-4076-8ce1-3b8e0916e02c"
@@ -67,7 +67,7 @@ WithBiconomy.args = {
67
67
 
68
68
  WithExtraInfo.args = {
69
69
  coreSdkConfig: {
70
- configId: "testing-80001-0",
70
+ configId: "testing-80002-0",
71
71
  envName: "testing",
72
72
  web3Provider: undefined
73
73
  },
@@ -38,7 +38,7 @@ export const WithStep: ComponentStory<typeof RevokeButton> = Template.bind({});
38
38
 
39
39
  Simple.args = {
40
40
  coreSdkConfig: {
41
- configId: "testing-80001-0",
41
+ configId: "testing-80002-0",
42
42
  envName: "testing"
43
43
  },
44
44
  exchangeId: "28",
@@ -63,7 +63,7 @@ Simple.args = {
63
63
 
64
64
  WithStep.args = {
65
65
  coreSdkConfig: {
66
- configId: "testing-80001-0",
66
+ configId: "testing-80002-0",
67
67
  envName: "testing"
68
68
  },
69
69
  exchangeId: "28",
@@ -45,7 +45,7 @@ export const WithMetaTx: ComponentStory<typeof DepositFundsButton> =
45
45
 
46
46
  Simple.args = {
47
47
  coreSdkConfig: {
48
- configId: "testing-80001-0",
48
+ configId: "testing-80002-0",
49
49
  envName: "testing"
50
50
  },
51
51
  accountId: "",
@@ -93,7 +93,7 @@ Simple.args = {
93
93
 
94
94
  WithStep.args = {
95
95
  coreSdkConfig: {
96
- configId: "testing-80001-0",
96
+ configId: "testing-80002-0",
97
97
  envName: "testing"
98
98
  },
99
99
  exchangeToken: "0x" + "0".repeat(40),
@@ -119,7 +119,7 @@ WithStep.args = {
119
119
 
120
120
  WithMetaTx.args = {
121
121
  coreSdkConfig: {
122
- configId: "testing-80001-0",
122
+ configId: "testing-80002-0",
123
123
  envName: "testing",
124
124
  metaTx: {
125
125
  relayerUrl: "https://api.biconomy.io",
@@ -45,7 +45,7 @@ export const WithMetaTx: ComponentStory<typeof WithdrawAllFundsButton> =
45
45
 
46
46
  Simple.args = {
47
47
  coreSdkConfig: {
48
- configId: "testing-80001-0",
48
+ configId: "testing-80002-0",
49
49
  envName: "testing"
50
50
  },
51
51
  accountId: "42",
@@ -78,7 +78,7 @@ Simple.args = {
78
78
 
79
79
  WithStep.args = {
80
80
  coreSdkConfig: {
81
- configId: "testing-80001-0",
81
+ configId: "testing-80002-0",
82
82
  envName: "testing"
83
83
  },
84
84
  extraInfo: "Step 1",
@@ -103,7 +103,7 @@ WithStep.args = {
103
103
 
104
104
  WithMetaTx.args = {
105
105
  coreSdkConfig: {
106
- configId: "testing-80001-0",
106
+ configId: "testing-80002-0",
107
107
  envName: "testing",
108
108
  metaTx: {
109
109
  relayerUrl: "https://api.biconomy.io",
@@ -47,7 +47,7 @@ export const WithMetaTx: ComponentStory<typeof WithdrawFundsButton> =
47
47
 
48
48
  Simple.args = {
49
49
  coreSdkConfig: {
50
- configId: "testing-80001-0",
50
+ configId: "testing-80002-0",
51
51
  envName: "testing"
52
52
  },
53
53
  accountId: "42",
@@ -86,7 +86,7 @@ Simple.args = {
86
86
 
87
87
  WithStep.args = {
88
88
  coreSdkConfig: {
89
- configId: "testing-80001-0",
89
+ configId: "testing-80002-0",
90
90
  envName: "testing"
91
91
  },
92
92
  tokensToWithdraw: [
@@ -117,7 +117,7 @@ WithStep.args = {
117
117
 
118
118
  WithMetaTx.args = {
119
119
  coreSdkConfig: {
120
- configId: "testing-80001-0",
120
+ configId: "testing-80002-0",
121
121
  envName: "testing",
122
122
  metaTx: {
123
123
  relayerUrl: "https://api.biconomy.io",
@@ -40,7 +40,7 @@ export const WithExtraInfo: ComponentStory<typeof BatchVoidButton> =
40
40
 
41
41
  Simple.args = {
42
42
  coreSdkConfig: {
43
- configId: "testing-80001-0",
43
+ configId: "testing-80002-0",
44
44
  envName: "testing",
45
45
  web3Provider: undefined
46
46
  },
@@ -66,7 +66,7 @@ Simple.args = {
66
66
 
67
67
  WithExtraInfo.args = {
68
68
  coreSdkConfig: {
69
- configId: "testing-80001-0",
69
+ configId: "testing-80002-0",
70
70
  envName: "testing",
71
71
  web3Provider: undefined
72
72
  },
@@ -44,7 +44,7 @@ export const WithMetaTx: ComponentStory<typeof CommitButton> = Template.bind(
44
44
 
45
45
  Simple.args = {
46
46
  coreSdkConfig: {
47
- configId: "testing-80001-0",
47
+ configId: "testing-80002-0",
48
48
  envName: "testing"
49
49
  },
50
50
  offerId: "28",
@@ -80,7 +80,7 @@ Simple.args = {
80
80
 
81
81
  WithStep.args = {
82
82
  coreSdkConfig: {
83
- configId: "testing-80001-0",
83
+ configId: "testing-80002-0",
84
84
  envName: "testing"
85
85
  },
86
86
  offerId: "52",
@@ -108,7 +108,7 @@ WithStep.args = {
108
108
 
109
109
  WithMetaTx.args = {
110
110
  coreSdkConfig: {
111
- configId: "testing-80001-0",
111
+ configId: "testing-80002-0",
112
112
  envName: "testing",
113
113
  metaTx: {
114
114
  relayerUrl: "https://api.biconomy.io",