@unifold/connect-react 0.1.31 → 0.1.32

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/index.js CHANGED
@@ -20220,7 +20220,10 @@ function BrowserWalletModal({
20220
20220
  },
20221
20221
  publishableKey
20222
20222
  );
20223
- const { VersionedTransaction } = await import("@solana/web3.js");
20223
+ const { VersionedTransaction } = await import(
20224
+ /* @vite-ignore */
20225
+ "@solana/web3.js"
20226
+ );
20224
20227
  const binaryString = atob(buildResponse.transaction);
20225
20228
  const bytes = new Uint8Array(binaryString.length);
20226
20229
  for (let i = 0; i < binaryString.length; i++) {
package/dist/index.mjs CHANGED
@@ -20194,7 +20194,10 @@ function BrowserWalletModal({
20194
20194
  },
20195
20195
  publishableKey
20196
20196
  );
20197
- const { VersionedTransaction } = await import("@solana/web3.js");
20197
+ const { VersionedTransaction } = await import(
20198
+ /* @vite-ignore */
20199
+ "@solana/web3.js"
20200
+ );
20198
20201
  const binaryString = atob(buildResponse.transaction);
20199
20202
  const bytes = new Uint8Array(binaryString.length);
20200
20203
  for (let i = 0; i < binaryString.length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/connect-react",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Unifold Connect React - Complete React SDK with UI components for crypto deposits",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -21,13 +21,19 @@
21
21
  ],
22
22
  "peerDependencies": {
23
23
  "react": "^18.2.0 || ^19.0.0",
24
- "react-dom": "^18.2.0 || ^19.0.0"
24
+ "react-dom": "^18.2.0 || ^19.0.0",
25
+ "@solana/web3.js": "^1.87.0"
26
+ },
27
+ "peerDependenciesMeta": {
28
+ "@solana/web3.js": {
29
+ "optional": true
30
+ }
25
31
  },
26
32
  "dependencies": {
27
33
  "@tanstack/react-query": "^5.90.11",
28
- "@unifold/core": "0.1.31",
29
- "@unifold/react-provider": "0.1.31",
30
- "@unifold/ui-react": "0.1.31"
34
+ "@unifold/core": "0.1.32",
35
+ "@unifold/react-provider": "0.1.32",
36
+ "@unifold/ui-react": "0.1.32"
31
37
  },
32
38
  "devDependencies": {
33
39
  "@types/react": "^19.0.0",