@solana-mobile/wallet-standard-mobile 0.4.4 → 0.5.0-beta2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/wallet.ts","../../src/getIsSupported.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/loadingSpinner.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/embedded-modal/localConnectionModal.ts","../../src/embedded-modal/loopbackBlockedModal.ts","../../src/embedded-modal/loopbackPermissionModal.ts","../../src/getIsSupported.ts","../../src/wallet.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/wallet.ts","../../src/getIsSupported.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/loadingSpinner.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/embedded-modal/localConnectionModal.ts","../../src/embedded-modal/loopbackBlockedModal.ts","../../src/embedded-modal/loopbackPermissionModal.ts","../../src/getIsSupported.ts","../../src/wallet.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/wallet.ts","../../src/getIsSupported.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts","../../src/__forks__/react-native/createDefaultAuthorizationCache.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/embedded-modal/loadingSpinner.ts","../../src/embedded-modal/modal.ts","../../src/embedded-modal/remoteConnectionModal.ts","../../src/icon.ts","../../src/base64Utils.ts","../../src/embedded-modal/localConnectionModal.ts","../../src/embedded-modal/loopbackBlockedModal.ts","../../src/embedded-modal/loopbackPermissionModal.ts","../../src/getIsSupported.ts","../../src/wallet.ts","../../src/initialize.ts","../../src/embedded-modal/errorModal.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/createDefaultAuthorizationCache.ts","../../src/createDefaultChainSelector.ts","../../src/__forks__/react-native/createDefaultAuthorizationCache.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,68 +1,72 @@
1
1
  {
2
- "name": "@solana-mobile/wallet-standard-mobile",
3
- "description": "A wallet-standard wallet for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
4
- "version": "0.4.4",
5
- "author": "Marco Martinez <marco.martinez@solana.com>",
6
- "repository": "https://github.com/solana-mobile/mobile-wallet-adapter",
7
- "license": "Apache-2.0",
8
- "exports": {
9
- "edge-light": {
10
- "import": "./lib/esm/index.js",
11
- "require": "./lib/cjs/index.js"
12
- },
13
- "workerd": {
14
- "import": "./lib/esm/index.js",
15
- "require": "./lib/cjs/index.js"
16
- },
17
- "browser": {
18
- "import": "./lib/esm/index.browser.js",
19
- "require": "./lib/cjs/index.browser.js"
20
- },
21
- "node": {
22
- "import": "./lib/esm/index.js",
23
- "require": "./lib/cjs/index.js"
24
- },
25
- "react-native": "./lib/cjs/index.native.js",
26
- "types": "./lib/types/index.d.ts"
2
+ "name": "@solana-mobile/wallet-standard-mobile",
3
+ "description": "A wallet-standard wallet for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
4
+ "version": "0.5.0-beta2",
5
+ "author": "Marco Martinez <marco.martinez@solana.com>",
6
+ "repository": "https://github.com/solana-mobile/mobile-wallet-adapter",
7
+ "license": "Apache-2.0",
8
+ "exports": {
9
+ "edge-light": {
10
+ "import": "./lib/esm/index.js",
11
+ "require": "./lib/cjs/index.js"
27
12
  },
28
- "browser": {
29
- "./lib/cjs/index.js": "./lib/cjs/index.browser.js",
30
- "./lib/esm/index.js": "./lib/esm/index.browser.js"
31
- },
32
- "main": "lib/cjs/index.js",
33
- "module": "lib/esm/index.js",
34
- "react-native": "lib/cjs/index.native.js",
35
- "types": "lib/types/index.d.ts",
36
- "type": "module",
37
- "files": [
38
- "lib",
39
- "LICENSE"
40
- ],
41
- "sideEffects": false,
42
- "publishConfig": {
43
- "access": "public"
13
+ "workerd": {
14
+ "import": "./lib/esm/index.js",
15
+ "require": "./lib/cjs/index.js"
44
16
  },
45
- "scripts": {
46
- "clean": "shx rm -rf lib/*",
47
- "build": "yarn clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts",
48
- "build:watch": "yarn clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts --watch",
49
- "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json",
50
- "prepublishOnly": "agadoo"
17
+ "browser": {
18
+ "import": "./lib/esm/index.browser.js",
19
+ "require": "./lib/cjs/index.browser.js"
51
20
  },
52
- "dependencies": {
53
- "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.5",
54
- "@solana/wallet-standard-chains": "^1.1.0",
55
- "@solana/wallet-standard-features": "^1.2.0",
56
- "@wallet-standard/base": "^1.0.1",
57
- "@wallet-standard/features": "^1.0.3",
58
- "bs58": "^5.0.0",
59
- "js-base64": "^3.7.5",
60
- "qrcode": "^1.5.4"
21
+ "node": {
22
+ "import": "./lib/esm/index.js",
23
+ "require": "./lib/cjs/index.js"
61
24
  },
62
- "devDependencies": {
63
- "@types/qrcode": "^1.5.5",
64
- "agadoo": "^3.0.0",
65
- "cross-env": "^7.0.3",
66
- "shx": "^0.3.4"
67
- }
68
- }
25
+ "react-native": "./lib/cjs/index.native.js",
26
+ "types": "./lib/types/index.d.ts"
27
+ },
28
+ "browser": {
29
+ "./lib/cjs/index.js": "./lib/cjs/index.browser.js",
30
+ "./lib/esm/index.js": "./lib/esm/index.browser.js"
31
+ },
32
+ "main": "lib/cjs/index.js",
33
+ "module": "lib/esm/index.js",
34
+ "react-native": "lib/cjs/index.native.js",
35
+ "types": "lib/types/index.d.ts",
36
+ "type": "module",
37
+ "files": [
38
+ "lib",
39
+ "LICENSE"
40
+ ],
41
+ "sideEffects": false,
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "dependencies": {
46
+ "@solana/wallet-standard-chains": "^1.1.0",
47
+ "@solana/wallet-standard-features": "^1.2.0",
48
+ "@wallet-standard/base": "^1.0.1",
49
+ "@wallet-standard/features": "^1.0.3",
50
+ "@wallet-standard/wallet": "^1.1.0",
51
+ "bs58": "^6.0.0",
52
+ "js-base64": "^3.7.5",
53
+ "qrcode": "^1.5.4",
54
+ "tslib": "^2.8.1",
55
+ "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.5"
56
+ },
57
+ "optionalDependencies": {
58
+ "@react-native-async-storage/async-storage": "^1.17.7"
59
+ },
60
+ "devDependencies": {
61
+ "@types/qrcode": "^1.5.5",
62
+ "agadoo": "^3.0.0",
63
+ "cross-env": "^10.1.0",
64
+ "shx": "^0.4.0"
65
+ },
66
+ "scripts": {
67
+ "clean": "shx rm -rf lib/*",
68
+ "build": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts",
69
+ "build:watch": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts --watch",
70
+ "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json"
71
+ }
72
+ }