@bosonprotocol/react-kit 0.29.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.
- package/dist/cjs/components/cta/offer/CommitButton.d.ts.map +1 -1
- package/dist/cjs/components/cta/offer/CommitButton.js.map +1 -1
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.d.ts.map +1 -1
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.js +3 -3
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.js.map +1 -1
- package/dist/cjs/components/datepicker/SelectTime.js.map +1 -1
- package/dist/cjs/components/form/BaseSelect.js.map +1 -1
- package/dist/cjs/components/form/Select.js.map +1 -1
- package/dist/cjs/components/modal/ModalContext.d.ts +1 -1
- package/dist/cjs/components/modal/ModalContext.d.ts.map +1 -1
- package/dist/cjs/components/modal/ModalContext.js.map +1 -1
- package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +1 -1
- package/dist/cjs/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/DigitalProductData.js.map +1 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/OfferFullDescription.d.ts +1 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/OfferFullDescription.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/Detail.style.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/Detail.style.js +5 -2
- package/dist/cjs/components/modal/components/common/detail/Detail.style.js.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/DetailSlider.js.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/DetailViewWithProvider.js.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/TokenGatedItem.js.map +1 -1
- package/dist/cjs/components/wallet/wallet-connection.d.ts.map +1 -1
- package/dist/cjs/components/wallet/wallet-connection.js +22 -0
- package/dist/cjs/components/wallet/wallet-connection.js.map +1 -1
- package/dist/cjs/components/widgets/commit/CommitModalWithOffer.js.map +1 -1
- package/dist/cjs/lib/chains/getNativeLogoURI.d.ts +1 -1
- package/dist/cjs/lib/chains/getNativeLogoURI.d.ts.map +1 -1
- package/dist/cjs/lib/chains/getNativeLogoURI.js +1 -0
- package/dist/cjs/lib/chains/getNativeLogoURI.js.map +1 -1
- package/dist/cjs/lib/config/config.d.ts +1 -0
- package/dist/cjs/lib/config/config.d.ts.map +1 -1
- package/dist/cjs/lib/const/chainInfo.d.ts.map +1 -1
- package/dist/cjs/lib/const/chainInfo.js +15 -0
- package/dist/cjs/lib/const/chainInfo.js.map +1 -1
- package/dist/cjs/lib/const/chains.d.ts +2 -1
- package/dist/cjs/lib/const/chains.d.ts.map +1 -1
- package/dist/cjs/lib/const/chains.js +3 -1
- package/dist/cjs/lib/const/chains.js.map +1 -1
- package/dist/cjs/lib/const/networks.d.ts +2 -0
- package/dist/cjs/lib/const/networks.d.ts.map +1 -1
- package/dist/cjs/lib/const/networks.js +8 -0
- package/dist/cjs/lib/const/networks.js.map +1 -1
- package/dist/cjs/lib/const/tokens.d.ts +3 -1
- package/dist/cjs/lib/const/tokens.d.ts.map +1 -1
- package/dist/cjs/lib/const/tokens.js +4 -2
- package/dist/cjs/lib/const/tokens.js.map +1 -1
- package/dist/cjs/lib/opensea/getOpenSeaUrl.js +4 -4
- package/dist/cjs/lib/opensea/getOpenSeaUrl.js.map +1 -1
- package/dist/esm/components/cta/offer/CommitButton.d.ts.map +1 -1
- package/dist/esm/components/cta/offer/CommitButton.js.map +1 -1
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.d.ts.map +1 -1
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.js +3 -3
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.js.map +1 -1
- package/dist/esm/components/datepicker/SelectTime.js.map +1 -1
- package/dist/esm/components/form/BaseSelect.js.map +1 -1
- package/dist/esm/components/form/Select.js.map +1 -1
- package/dist/esm/components/modal/ModalContext.d.ts +1 -1
- package/dist/esm/components/modal/ModalContext.d.ts.map +1 -1
- package/dist/esm/components/modal/ModalContext.js.map +1 -1
- package/dist/esm/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +1 -1
- package/dist/esm/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/DigitalProductData.js.map +1 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/OfferFullDescription.d.ts +1 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/OfferFullDescription.d.ts.map +1 -1
- package/dist/esm/components/modal/components/common/detail/Detail.style.d.ts.map +1 -1
- package/dist/esm/components/modal/components/common/detail/Detail.style.js +5 -2
- package/dist/esm/components/modal/components/common/detail/Detail.style.js.map +1 -1
- package/dist/esm/components/modal/components/common/detail/DetailSlider.js.map +1 -1
- package/dist/esm/components/modal/components/common/detail/DetailViewWithProvider.js.map +1 -1
- package/dist/esm/components/modal/components/common/detail/TokenGatedItem.js.map +1 -1
- package/dist/esm/components/wallet/wallet-connection.d.ts.map +1 -1
- package/dist/esm/components/wallet/wallet-connection.js +22 -0
- package/dist/esm/components/wallet/wallet-connection.js.map +1 -1
- package/dist/esm/components/widgets/commit/CommitModalWithOffer.js.map +1 -1
- package/dist/esm/lib/chains/getNativeLogoURI.d.ts +1 -1
- package/dist/esm/lib/chains/getNativeLogoURI.d.ts.map +1 -1
- package/dist/esm/lib/chains/getNativeLogoURI.js +1 -0
- package/dist/esm/lib/chains/getNativeLogoURI.js.map +1 -1
- package/dist/esm/lib/config/config.d.ts +1 -0
- package/dist/esm/lib/config/config.d.ts.map +1 -1
- package/dist/esm/lib/const/chainInfo.d.ts.map +1 -1
- package/dist/esm/lib/const/chainInfo.js +15 -0
- package/dist/esm/lib/const/chainInfo.js.map +1 -1
- package/dist/esm/lib/const/chains.d.ts +2 -1
- package/dist/esm/lib/const/chains.d.ts.map +1 -1
- package/dist/esm/lib/const/chains.js +3 -1
- package/dist/esm/lib/const/chains.js.map +1 -1
- package/dist/esm/lib/const/networks.d.ts +2 -0
- package/dist/esm/lib/const/networks.d.ts.map +1 -1
- package/dist/esm/lib/const/networks.js +8 -0
- package/dist/esm/lib/const/networks.js.map +1 -1
- package/dist/esm/lib/const/tokens.d.ts +3 -1
- package/dist/esm/lib/const/tokens.d.ts.map +1 -1
- package/dist/esm/lib/const/tokens.js +4 -1
- package/dist/esm/lib/const/tokens.js.map +1 -1
- package/dist/esm/lib/opensea/getOpenSeaUrl.js +4 -4
- package/dist/esm/lib/opensea/getOpenSeaUrl.js.map +1 -1
- package/package.json +6 -5
- package/src/components/cta/offer/CommitButton.tsx +2 -3
- package/src/components/currencyDisplay/CurrencyDisplay.tsx +4 -5
- package/src/components/datepicker/SelectTime.tsx +4 -4
- package/src/components/form/BaseSelect.tsx +2 -2
- package/src/components/form/Select.tsx +4 -4
- package/src/components/modal/ModalContext.tsx +4 -5
- package/src/components/modal/components/Commit/CommitSuccess/CommitSuccess.tsx +1 -1
- package/src/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.tsx +2 -3
- package/src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.tsx +2 -3
- package/src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx +2 -2
- package/src/components/modal/components/Redeem/RedeemNonModal.tsx +8 -8
- package/src/components/modal/components/common/OfferFullDescription/DigitalProductData.tsx +6 -6
- package/src/components/modal/components/common/OfferFullDescription/OfferFullDescription.tsx +1 -1
- package/src/components/modal/components/common/detail/Detail.style.tsx +5 -2
- package/src/components/modal/components/common/detail/DetailSlider.tsx +2 -2
- package/src/components/modal/components/common/detail/DetailViewWithProvider.tsx +1 -1
- package/src/components/modal/components/common/detail/TokenGatedItem.tsx +10 -10
- package/src/components/wallet/wallet-connection.ts +23 -1
- package/src/components/widgets/commit/CommitModalWithOffer.tsx +1 -1
- package/src/lib/chains/getNativeLogoURI.ts +4 -1
- package/src/lib/const/chainInfo.ts +15 -0
- package/src/lib/const/chains.ts +3 -1
- package/src/lib/const/networks.ts +8 -0
- package/src/lib/const/tokens.ts +15 -2
- package/src/lib/opensea/getOpenSeaUrl.ts +6 -6
- package/src/stories/cta/dispute/AddFeesDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/AddSellerToDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/CreateDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/DecideDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/EscalateDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/ExpireDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/ExpireEscalationDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/ExtendDisputeTimeoutButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/RaiseDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/RefuseDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/RemoveFeesDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/RemoveSellerFromDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/ResolveDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/RetractDisputeButton.stories.tsx +2 -2
- package/src/stories/cta/dispute/UpdateDisputeResolverButton.stories.tsx +2 -2
- package/src/stories/cta/exchange/BatchCompleteButton.stories.tsx +2 -2
- package/src/stories/cta/exchange/CancelButton.stories.tsx +2 -2
- package/src/stories/cta/exchange/CompleteButton.stories.tsx +2 -2
- package/src/stories/cta/exchange/ExpireButton.stories.tsx +2 -2
- package/src/stories/cta/exchange/RedeemButton.stories.tsx +3 -3
- package/src/stories/cta/exchange/RevokeButton.stories.tsx +2 -2
- package/src/stories/cta/funds/DepositFundsButton.stories.tsx +3 -3
- package/src/stories/cta/funds/WithdrawAllFunds.stories.tsx +3 -3
- package/src/stories/cta/funds/WithdrawFundsButton.stories.tsx +3 -3
- package/src/stories/cta/offer/BatchVoidButton.stories.tsx +2 -2
- package/src/stories/cta/offer/CommitButton.stories.tsx +3 -3
- package/src/stories/cta/offer/CreateOfferButton.stories.tsx +2 -2
- package/src/stories/cta/offer/VoidButton.stories.tsx +2 -2
- package/src/stories/cta/seller/CreateSellerButton.stories.tsx +2 -2
- package/src/stories/cta/seller/UpdateSellerButton.stories.tsx +2 -2
- package/src/stories/helpers/CtaButtonWrapper.tsx +1 -1
|
@@ -42,7 +42,7 @@ export const WithExtraInfo: ComponentStory<
|
|
|
42
42
|
|
|
43
43
|
Simple.args = {
|
|
44
44
|
coreSdkConfig: {
|
|
45
|
-
configId: "testing-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
111
|
+
configId: "testing-80002-0",
|
|
112
112
|
envName: "testing",
|
|
113
113
|
metaTx: {
|
|
114
114
|
relayerUrl: "https://api.biconomy.io",
|
|
@@ -43,7 +43,7 @@ export const WithStep: ComponentStory<typeof CreateOfferButton> = Template.bind(
|
|
|
43
43
|
|
|
44
44
|
Simple.args = {
|
|
45
45
|
coreSdkConfig: {
|
|
46
|
-
configId: "testing-
|
|
46
|
+
configId: "testing-80002-0",
|
|
47
47
|
envName: "testing",
|
|
48
48
|
web3Provider: undefined,
|
|
49
49
|
ipfsMetadataStorageHeaders: {
|
|
@@ -123,7 +123,7 @@ Simple.args = {
|
|
|
123
123
|
|
|
124
124
|
WithStep.args = {
|
|
125
125
|
coreSdkConfig: {
|
|
126
|
-
configId: "testing-
|
|
126
|
+
configId: "testing-80002-0",
|
|
127
127
|
envName: "testing",
|
|
128
128
|
web3Provider: undefined,
|
|
129
129
|
ipfsMetadataStorageHeaders: {
|
|
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof VoidButton> = Template.bind(
|
|
|
41
41
|
|
|
42
42
|
Simple.args = {
|
|
43
43
|
coreSdkConfig: {
|
|
44
|
-
configId: "testing-
|
|
44
|
+
configId: "testing-80002-0",
|
|
45
45
|
envName: "testing",
|
|
46
46
|
web3Provider: undefined
|
|
47
47
|
},
|
|
@@ -66,7 +66,7 @@ Simple.args = {
|
|
|
66
66
|
|
|
67
67
|
WithExtraInfo.args = {
|
|
68
68
|
coreSdkConfig: {
|
|
69
|
-
configId: "testing-
|
|
69
|
+
configId: "testing-80002-0",
|
|
70
70
|
envName: "testing"
|
|
71
71
|
},
|
|
72
72
|
offerId: "28",
|
|
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof CreateSellerButton> =
|
|
|
41
41
|
|
|
42
42
|
Simple.args = {
|
|
43
43
|
coreSdkConfig: {
|
|
44
|
-
configId: "testing-
|
|
44
|
+
configId: "testing-80002-0",
|
|
45
45
|
envName: "testing",
|
|
46
46
|
web3Provider: undefined
|
|
47
47
|
},
|
|
@@ -77,7 +77,7 @@ Simple.args = {
|
|
|
77
77
|
|
|
78
78
|
WithExtraInfo.args = {
|
|
79
79
|
coreSdkConfig: {
|
|
80
|
-
configId: "testing-
|
|
80
|
+
configId: "testing-80002-0",
|
|
81
81
|
envName: "testing",
|
|
82
82
|
web3Provider: undefined
|
|
83
83
|
},
|
|
@@ -41,7 +41,7 @@ export const WithExtraInfo: ComponentStory<typeof UpdateSellerButton> =
|
|
|
41
41
|
|
|
42
42
|
Simple.args = {
|
|
43
43
|
coreSdkConfig: {
|
|
44
|
-
configId: "testing-
|
|
44
|
+
configId: "testing-80002-0",
|
|
45
45
|
envName: "testing",
|
|
46
46
|
web3Provider: undefined
|
|
47
47
|
},
|
|
@@ -76,7 +76,7 @@ Simple.args = {
|
|
|
76
76
|
|
|
77
77
|
WithExtraInfo.args = {
|
|
78
78
|
coreSdkConfig: {
|
|
79
|
-
configId: "testing-
|
|
79
|
+
configId: "testing-80002-0",
|
|
80
80
|
envName: "testing",
|
|
81
81
|
web3Provider: undefined
|
|
82
82
|
},
|
|
@@ -43,7 +43,7 @@ export const CtaButtonWrapper = ({
|
|
|
43
43
|
children: ReactNode;
|
|
44
44
|
configId: ConfigId;
|
|
45
45
|
}) => {
|
|
46
|
-
const chainId = configId?.split("-")[1] || "
|
|
46
|
+
const chainId = configId?.split("-")[1] || "80002";
|
|
47
47
|
return (
|
|
48
48
|
<WithWeb3ReactProvider>
|
|
49
49
|
<WithMetamask chainId={chainId}>{children}</WithMetamask>
|