@solana-mobile/wallet-adapter-mobile 2.2.4 → 2.2.6

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.
@@ -12,12 +12,12 @@ interface AuthorizationResultCache {
12
12
  interface AddressSelector {
13
13
  select(addresses: Base64EncodedAddress[]): Promise<Base64EncodedAddress>;
14
14
  }
15
- declare const SolanaMobileWalletAdapterWalletName: WalletName<string>;
16
- declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<string>;
15
+ declare const SolanaMobileWalletAdapterWalletName: WalletName;
16
+ declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName;
17
17
  declare abstract class BaseSolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAdapter {
18
18
  #private;
19
19
  readonly supportedTransactionVersions: Set<TransactionVersion>;
20
- name: WalletName<string>;
20
+ name: WalletName;
21
21
  icon: `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`;
22
22
  url: string;
23
23
  protected constructor(wallet: LocalSolanaMobileWalletAdapterWallet | RemoteSolanaMobileWalletAdapterWallet, config: {
@@ -12,12 +12,12 @@ interface AuthorizationResultCache {
12
12
  interface AddressSelector {
13
13
  select(addresses: Base64EncodedAddress[]): Promise<Base64EncodedAddress>;
14
14
  }
15
- declare const SolanaMobileWalletAdapterWalletName: WalletName<string>;
16
- declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<string>;
15
+ declare const SolanaMobileWalletAdapterWalletName: WalletName;
16
+ declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName;
17
17
  declare abstract class BaseSolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAdapter {
18
18
  #private;
19
19
  readonly supportedTransactionVersions: Set<TransactionVersion>;
20
- name: WalletName<string>;
20
+ name: WalletName;
21
21
  icon: `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`;
22
22
  url: string;
23
23
  protected constructor(wallet: LocalSolanaMobileWalletAdapterWallet | RemoteSolanaMobileWalletAdapterWallet, config: {
@@ -12,12 +12,12 @@ interface AuthorizationResultCache {
12
12
  interface AddressSelector {
13
13
  select(addresses: Base64EncodedAddress[]): Promise<Base64EncodedAddress>;
14
14
  }
15
- declare const SolanaMobileWalletAdapterWalletName: WalletName<string>;
16
- declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<string>;
15
+ declare const SolanaMobileWalletAdapterWalletName: WalletName;
16
+ declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName;
17
17
  declare abstract class BaseSolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAdapter {
18
18
  #private;
19
19
  readonly supportedTransactionVersions: Set<TransactionVersion>;
20
- name: WalletName<string>;
20
+ name: WalletName;
21
21
  icon: `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`;
22
22
  url: string;
23
23
  protected constructor(wallet: LocalSolanaMobileWalletAdapterWallet | RemoteSolanaMobileWalletAdapterWallet, config: {
package/package.json CHANGED
@@ -1,74 +1,79 @@
1
1
  {
2
- "name": "@solana-mobile/wallet-adapter-mobile",
3
- "description": "An adapter for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
4
- "version": "2.2.4",
5
- "author": "Steven Luscher <steven.luscher@solanamobile.com>",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/solana-mobile/mobile-wallet-adapter.git"
2
+ "name": "@solana-mobile/wallet-adapter-mobile",
3
+ "description": "An adapter for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
4
+ "version": "2.2.6",
5
+ "author": "Steven Luscher <steven.luscher@solanamobile.com>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/solana-mobile/mobile-wallet-adapter.git"
9
+ },
10
+ "license": "Apache-2.0",
11
+ "exports": {
12
+ "edge-light": {
13
+ "import": "./lib/esm/index.js",
14
+ "require": "./lib/cjs/index.js"
9
15
  },
10
- "license": "Apache-2.0",
11
- "exports": {
12
- "edge-light": {
13
- "import": "./lib/esm/index.js",
14
- "require": "./lib/cjs/index.js"
15
- },
16
- "workerd": {
17
- "import": "./lib/esm/index.js",
18
- "require": "./lib/cjs/index.js"
19
- },
20
- "browser": {
21
- "import": "./lib/esm/index.browser.js",
22
- "require": "./lib/cjs/index.browser.js"
23
- },
24
- "node": {
25
- "import": "./lib/esm/index.js",
26
- "require": "./lib/cjs/index.js"
27
- },
28
- "react-native": "./lib/cjs/index.native.js",
29
- "types": "./lib/types/index.d.ts"
16
+ "workerd": {
17
+ "import": "./lib/esm/index.js",
18
+ "require": "./lib/cjs/index.js"
30
19
  },
31
20
  "browser": {
32
- "./lib/cjs/index.js": "./lib/cjs/index.browser.js",
33
- "./lib/esm/index.js": "./lib/esm/index.browser.js"
21
+ "import": "./lib/esm/index.browser.js",
22
+ "require": "./lib/cjs/index.browser.js"
34
23
  },
35
- "main": "lib/cjs/index.js",
36
- "module": "lib/esm/index.js",
37
- "react-native": "lib/cjs/index.native.js",
38
- "types": "lib/types/index.d.ts",
39
- "type": "module",
40
- "files": [
41
- "lib",
42
- "LICENSE"
43
- ],
44
- "sideEffects": false,
45
- "publishConfig": {
46
- "access": "public"
24
+ "node": {
25
+ "import": "./lib/esm/index.js",
26
+ "require": "./lib/cjs/index.js"
47
27
  },
48
- "scripts": {
49
- "clean": "shx rm -rf lib/*",
50
- "build": "yarn clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts",
51
- "build:watch": "yarn clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts --watch",
52
- "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json",
53
- "prepublishOnly": "agadoo"
54
- },
55
- "peerDependencies": {
56
- "@solana/web3.js": "^1.58.0"
57
- },
58
- "dependencies": {
59
- "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.2.0",
60
- "@solana-mobile/wallet-standard-mobile": "^0.4.1",
61
- "@solana/wallet-adapter-base": "^0.9.23",
62
- "@solana/wallet-standard-features": "^1.2.0",
63
- "js-base64": "^3.7.5"
64
- },
65
- "optionalDependencies": {
66
- "@react-native-async-storage/async-storage": "^1.17.7"
67
- },
68
- "devDependencies": {
69
- "@solana/web3.js": "^1.95.3",
70
- "agadoo": "^3.0.0",
71
- "cross-env": "^7.0.3",
72
- "shx": "^0.3.4"
73
- }
74
- }
28
+ "react-native": "./lib/cjs/index.native.js",
29
+ "types": "./lib/types/index.d.ts"
30
+ },
31
+ "browser": {
32
+ "./lib/cjs/index.js": "./lib/cjs/index.browser.js",
33
+ "./lib/esm/index.js": "./lib/esm/index.browser.js"
34
+ },
35
+ "main": "lib/cjs/index.js",
36
+ "module": "lib/esm/index.js",
37
+ "react-native": "lib/cjs/index.native.js",
38
+ "types": "lib/types/index.d.ts",
39
+ "type": "module",
40
+ "files": [
41
+ "lib",
42
+ "LICENSE"
43
+ ],
44
+ "sideEffects": false,
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "peerDependencies": {
49
+ "@solana/web3.js": "^1.98.0",
50
+ "react-native": ">0.74"
51
+ },
52
+ "dependencies": {
53
+ "@solana/wallet-adapter-base": "^0.9.23",
54
+ "@solana/wallet-standard-features": "^1.2.0",
55
+ "@wallet-standard/core": "^1.1.1",
56
+ "bs58": "^6.0.0",
57
+ "js-base64": "^3.7.5",
58
+ "tslib": "^2.8.1",
59
+ "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.2.6",
60
+ "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.6",
61
+ "@solana-mobile/wallet-standard-mobile": "^0.5.0"
62
+ },
63
+ "optionalDependencies": {
64
+ "@react-native-async-storage/async-storage": "^1.17.7"
65
+ },
66
+ "devDependencies": {
67
+ "@solana/web3.js": "^1.95.3",
68
+ "@types/react-native": "^0.69.3",
69
+ "agadoo": "^3.0.0",
70
+ "cross-env": "^10.1.0",
71
+ "shx": "^0.4.0"
72
+ },
73
+ "scripts": {
74
+ "clean": "shx rm -rf lib/*",
75
+ "build": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts",
76
+ "build:watch": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts --watch",
77
+ "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json"
78
+ }
79
+ }