@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.
- package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +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/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/modal/components/Commit/CommitSuccess/CommitSuccess.js +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/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 +5 -5
- package/src/components/modal/components/Commit/CommitSuccess/CommitSuccess.tsx +1 -1
- package/src/components/wallet/wallet-connection.ts +23 -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
|
@@ -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>
|