@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
@@ -43,7 +43,7 @@ export const WithStep: ComponentStory<typeof CreateOfferButton> = Template.bind(
43
43
 
44
44
  Simple.args = {
45
45
  coreSdkConfig: {
46
- configId: "testing-80001-0",
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-80001-0",
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-80001-0",
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-80001-0",
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-80001-0",
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-80001-0",
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-80001-0",
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-80001-0",
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] || "80001";
46
+ const chainId = configId?.split("-")[1] || "80002";
47
47
  return (
48
48
  <WithWeb3ReactProvider>
49
49
  <WithMetamask chainId={chainId}>{children}</WithMetamask>