@solana-mobile/wallet-adapter-mobile 2.1.2 → 2.1.4
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/lib/cjs/index.browser.js +829 -8
- package/lib/cjs/index.js +829 -8
- package/lib/cjs/index.native.js +824 -7
- package/lib/esm/index.browser.js +826 -11
- package/lib/esm/index.js +826 -11
- package/lib/types/index.browser.d.ts +67 -1
- package/lib/types/index.browser.d.ts.map +1 -1
- package/lib/types/index.d.ts +67 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.native.d.ts +67 -1
- package/lib/types/index.native.d.ts.map +1 -1
- package/package.json +10 -7
|
@@ -33,6 +33,7 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
33
33
|
private _publicKey;
|
|
34
34
|
private _readyState;
|
|
35
35
|
private _selectedAddress;
|
|
36
|
+
private _hostAuthority;
|
|
36
37
|
/**
|
|
37
38
|
* @deprecated @param cluster config paramter is deprecated, use @param chain instead
|
|
38
39
|
*/
|
|
@@ -50,6 +51,14 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
50
51
|
chain: Chain;
|
|
51
52
|
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
52
53
|
});
|
|
54
|
+
constructor(config: {
|
|
55
|
+
addressSelector: AddressSelector;
|
|
56
|
+
appIdentity: AppIdentity;
|
|
57
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
58
|
+
chain: Chain;
|
|
59
|
+
remoteHostAuthority: string;
|
|
60
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
61
|
+
});
|
|
53
62
|
get publicKey(): PublicKey | null;
|
|
54
63
|
get connected(): boolean;
|
|
55
64
|
get connecting(): boolean;
|
|
@@ -73,8 +82,65 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
73
82
|
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
74
83
|
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
75
84
|
}
|
|
85
|
+
declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<"MWA (Remote)">;
|
|
86
|
+
/**
|
|
87
|
+
* This burner wallet adapter is unsafe to use and is only included to provide an easy way for applications to test
|
|
88
|
+
* Wallet Adapter without using a third-party wallet.
|
|
89
|
+
*/
|
|
90
|
+
declare class SolanaMobileWalletAdapterRemote extends BaseSignInMessageSignerWalletAdapter {
|
|
91
|
+
readonly supportedTransactionVersions: Set<TransactionVersion>;
|
|
92
|
+
name: WalletName<"MWA (Remote)">;
|
|
93
|
+
url: string;
|
|
94
|
+
icon: string;
|
|
95
|
+
private _addressSelector;
|
|
96
|
+
private _appIdentity;
|
|
97
|
+
private _authorizationResult;
|
|
98
|
+
private _authorizationResultCache;
|
|
99
|
+
private _connecting;
|
|
100
|
+
/**
|
|
101
|
+
* Every time the connection is recycled in some way (eg. `disconnect()` is called)
|
|
102
|
+
* increment this and use it to make sure that `transact` calls from the previous
|
|
103
|
+
* 'generation' don't continue to do work and throw exceptions.
|
|
104
|
+
*/
|
|
105
|
+
private _connectionGeneration;
|
|
106
|
+
private _chain;
|
|
107
|
+
private _onWalletNotFound;
|
|
108
|
+
private _publicKey;
|
|
109
|
+
private _readyState;
|
|
110
|
+
private _selectedAddress;
|
|
111
|
+
private _hostAuthority;
|
|
112
|
+
private _wallet;
|
|
113
|
+
constructor(config: {
|
|
114
|
+
addressSelector: AddressSelector;
|
|
115
|
+
appIdentity: AppIdentity;
|
|
116
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
117
|
+
chain: Chain;
|
|
118
|
+
remoteHostAuthority: string;
|
|
119
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapterRemote) => Promise<void>;
|
|
120
|
+
});
|
|
121
|
+
get publicKey(): PublicKey | null;
|
|
122
|
+
get connected(): boolean;
|
|
123
|
+
get connecting(): boolean;
|
|
124
|
+
get readyState(): WalletReadyState;
|
|
125
|
+
private declareWalletAsInstalled;
|
|
126
|
+
private runWithGuard;
|
|
127
|
+
autoConnect(): Promise<void>;
|
|
128
|
+
connect(): Promise<void>;
|
|
129
|
+
performAuthorization(signInPayload?: SignInPayload): Promise<AuthorizationResult>;
|
|
130
|
+
private handleAuthorizationResult;
|
|
131
|
+
private performReauthorization;
|
|
132
|
+
disconnect(): Promise<void>;
|
|
133
|
+
private transact;
|
|
134
|
+
private assertIsAuthorized;
|
|
135
|
+
private performSignTransactions;
|
|
136
|
+
sendTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T, connection: Connection, options?: SendOptions): Promise<TransactionSignature>;
|
|
137
|
+
signTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T): Promise<T>;
|
|
138
|
+
signAllTransactions<T extends LegacyTransaction | VersionedTransaction>(transactions: T[]): Promise<T[]>;
|
|
139
|
+
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
140
|
+
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
141
|
+
}
|
|
76
142
|
declare function createDefaultAddressSelector(): AddressSelector;
|
|
77
143
|
declare function createDefaultAuthorizationResultCache(): AuthorizationResultCache;
|
|
78
144
|
declare function createDefaultWalletNotFoundHandler(): (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
79
|
-
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
145
|
+
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, SolanaMobileWalletAdapterRemoteWalletName, SolanaMobileWalletAdapterRemote, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
80
146
|
//# sourceMappingURL=index.browser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/embedded-modal/bluetooth-html.ts","../../src/embedded-modal/qrcode-html.ts","../../src/embedded-modal/styles.ts","../../src/embedded-modal/modal.ts","../../src/adapterRemote.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts"],"names":[],"mappings":""}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
33
33
|
private _publicKey;
|
|
34
34
|
private _readyState;
|
|
35
35
|
private _selectedAddress;
|
|
36
|
+
private _hostAuthority;
|
|
36
37
|
/**
|
|
37
38
|
* @deprecated @param cluster config paramter is deprecated, use @param chain instead
|
|
38
39
|
*/
|
|
@@ -50,6 +51,14 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
50
51
|
chain: Chain;
|
|
51
52
|
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
52
53
|
});
|
|
54
|
+
constructor(config: {
|
|
55
|
+
addressSelector: AddressSelector;
|
|
56
|
+
appIdentity: AppIdentity;
|
|
57
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
58
|
+
chain: Chain;
|
|
59
|
+
remoteHostAuthority: string;
|
|
60
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
61
|
+
});
|
|
53
62
|
get publicKey(): PublicKey | null;
|
|
54
63
|
get connected(): boolean;
|
|
55
64
|
get connecting(): boolean;
|
|
@@ -73,8 +82,65 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
73
82
|
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
74
83
|
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
75
84
|
}
|
|
85
|
+
declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<"MWA (Remote)">;
|
|
86
|
+
/**
|
|
87
|
+
* This burner wallet adapter is unsafe to use and is only included to provide an easy way for applications to test
|
|
88
|
+
* Wallet Adapter without using a third-party wallet.
|
|
89
|
+
*/
|
|
90
|
+
declare class SolanaMobileWalletAdapterRemote extends BaseSignInMessageSignerWalletAdapter {
|
|
91
|
+
readonly supportedTransactionVersions: Set<TransactionVersion>;
|
|
92
|
+
name: WalletName<"MWA (Remote)">;
|
|
93
|
+
url: string;
|
|
94
|
+
icon: string;
|
|
95
|
+
private _addressSelector;
|
|
96
|
+
private _appIdentity;
|
|
97
|
+
private _authorizationResult;
|
|
98
|
+
private _authorizationResultCache;
|
|
99
|
+
private _connecting;
|
|
100
|
+
/**
|
|
101
|
+
* Every time the connection is recycled in some way (eg. `disconnect()` is called)
|
|
102
|
+
* increment this and use it to make sure that `transact` calls from the previous
|
|
103
|
+
* 'generation' don't continue to do work and throw exceptions.
|
|
104
|
+
*/
|
|
105
|
+
private _connectionGeneration;
|
|
106
|
+
private _chain;
|
|
107
|
+
private _onWalletNotFound;
|
|
108
|
+
private _publicKey;
|
|
109
|
+
private _readyState;
|
|
110
|
+
private _selectedAddress;
|
|
111
|
+
private _hostAuthority;
|
|
112
|
+
private _wallet;
|
|
113
|
+
constructor(config: {
|
|
114
|
+
addressSelector: AddressSelector;
|
|
115
|
+
appIdentity: AppIdentity;
|
|
116
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
117
|
+
chain: Chain;
|
|
118
|
+
remoteHostAuthority: string;
|
|
119
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapterRemote) => Promise<void>;
|
|
120
|
+
});
|
|
121
|
+
get publicKey(): PublicKey | null;
|
|
122
|
+
get connected(): boolean;
|
|
123
|
+
get connecting(): boolean;
|
|
124
|
+
get readyState(): WalletReadyState;
|
|
125
|
+
private declareWalletAsInstalled;
|
|
126
|
+
private runWithGuard;
|
|
127
|
+
autoConnect(): Promise<void>;
|
|
128
|
+
connect(): Promise<void>;
|
|
129
|
+
performAuthorization(signInPayload?: SignInPayload): Promise<AuthorizationResult>;
|
|
130
|
+
private handleAuthorizationResult;
|
|
131
|
+
private performReauthorization;
|
|
132
|
+
disconnect(): Promise<void>;
|
|
133
|
+
private transact;
|
|
134
|
+
private assertIsAuthorized;
|
|
135
|
+
private performSignTransactions;
|
|
136
|
+
sendTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T, connection: Connection, options?: SendOptions): Promise<TransactionSignature>;
|
|
137
|
+
signTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T): Promise<T>;
|
|
138
|
+
signAllTransactions<T extends LegacyTransaction | VersionedTransaction>(transactions: T[]): Promise<T[]>;
|
|
139
|
+
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
140
|
+
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
141
|
+
}
|
|
76
142
|
declare function createDefaultAddressSelector(): AddressSelector;
|
|
77
143
|
declare function createDefaultAuthorizationResultCache(): AuthorizationResultCache;
|
|
78
144
|
declare function createDefaultWalletNotFoundHandler(): (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
79
|
-
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
145
|
+
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, SolanaMobileWalletAdapterRemoteWalletName, SolanaMobileWalletAdapterRemote, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
80
146
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/embedded-modal/bluetooth-html.ts","../../src/embedded-modal/qrcode-html.ts","../../src/embedded-modal/styles.ts","../../src/embedded-modal/modal.ts","../../src/adapterRemote.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts"],"names":[],"mappings":""}
|
|
@@ -33,6 +33,7 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
33
33
|
private _publicKey;
|
|
34
34
|
private _readyState;
|
|
35
35
|
private _selectedAddress;
|
|
36
|
+
private _hostAuthority;
|
|
36
37
|
/**
|
|
37
38
|
* @deprecated @param cluster config paramter is deprecated, use @param chain instead
|
|
38
39
|
*/
|
|
@@ -50,6 +51,14 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
50
51
|
chain: Chain;
|
|
51
52
|
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
52
53
|
});
|
|
54
|
+
constructor(config: {
|
|
55
|
+
addressSelector: AddressSelector;
|
|
56
|
+
appIdentity: AppIdentity;
|
|
57
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
58
|
+
chain: Chain;
|
|
59
|
+
remoteHostAuthority: string;
|
|
60
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
61
|
+
});
|
|
53
62
|
get publicKey(): PublicKey | null;
|
|
54
63
|
get connected(): boolean;
|
|
55
64
|
get connecting(): boolean;
|
|
@@ -73,8 +82,65 @@ declare class SolanaMobileWalletAdapter extends BaseSignInMessageSignerWalletAda
|
|
|
73
82
|
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
74
83
|
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
75
84
|
}
|
|
85
|
+
declare const SolanaMobileWalletAdapterRemoteWalletName: WalletName<"MWA (Remote)">;
|
|
86
|
+
/**
|
|
87
|
+
* This burner wallet adapter is unsafe to use and is only included to provide an easy way for applications to test
|
|
88
|
+
* Wallet Adapter without using a third-party wallet.
|
|
89
|
+
*/
|
|
90
|
+
declare class SolanaMobileWalletAdapterRemote extends BaseSignInMessageSignerWalletAdapter {
|
|
91
|
+
readonly supportedTransactionVersions: Set<TransactionVersion>;
|
|
92
|
+
name: WalletName<"MWA (Remote)">;
|
|
93
|
+
url: string;
|
|
94
|
+
icon: string;
|
|
95
|
+
private _addressSelector;
|
|
96
|
+
private _appIdentity;
|
|
97
|
+
private _authorizationResult;
|
|
98
|
+
private _authorizationResultCache;
|
|
99
|
+
private _connecting;
|
|
100
|
+
/**
|
|
101
|
+
* Every time the connection is recycled in some way (eg. `disconnect()` is called)
|
|
102
|
+
* increment this and use it to make sure that `transact` calls from the previous
|
|
103
|
+
* 'generation' don't continue to do work and throw exceptions.
|
|
104
|
+
*/
|
|
105
|
+
private _connectionGeneration;
|
|
106
|
+
private _chain;
|
|
107
|
+
private _onWalletNotFound;
|
|
108
|
+
private _publicKey;
|
|
109
|
+
private _readyState;
|
|
110
|
+
private _selectedAddress;
|
|
111
|
+
private _hostAuthority;
|
|
112
|
+
private _wallet;
|
|
113
|
+
constructor(config: {
|
|
114
|
+
addressSelector: AddressSelector;
|
|
115
|
+
appIdentity: AppIdentity;
|
|
116
|
+
authorizationResultCache: AuthorizationResultCache;
|
|
117
|
+
chain: Chain;
|
|
118
|
+
remoteHostAuthority: string;
|
|
119
|
+
onWalletNotFound: (mobileWalletAdapter: SolanaMobileWalletAdapterRemote) => Promise<void>;
|
|
120
|
+
});
|
|
121
|
+
get publicKey(): PublicKey | null;
|
|
122
|
+
get connected(): boolean;
|
|
123
|
+
get connecting(): boolean;
|
|
124
|
+
get readyState(): WalletReadyState;
|
|
125
|
+
private declareWalletAsInstalled;
|
|
126
|
+
private runWithGuard;
|
|
127
|
+
autoConnect(): Promise<void>;
|
|
128
|
+
connect(): Promise<void>;
|
|
129
|
+
performAuthorization(signInPayload?: SignInPayload): Promise<AuthorizationResult>;
|
|
130
|
+
private handleAuthorizationResult;
|
|
131
|
+
private performReauthorization;
|
|
132
|
+
disconnect(): Promise<void>;
|
|
133
|
+
private transact;
|
|
134
|
+
private assertIsAuthorized;
|
|
135
|
+
private performSignTransactions;
|
|
136
|
+
sendTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T, connection: Connection, options?: SendOptions): Promise<TransactionSignature>;
|
|
137
|
+
signTransaction<T extends LegacyTransaction | VersionedTransaction>(transaction: T): Promise<T>;
|
|
138
|
+
signAllTransactions<T extends LegacyTransaction | VersionedTransaction>(transactions: T[]): Promise<T[]>;
|
|
139
|
+
signMessage(message: Uint8Array): Promise<Uint8Array>;
|
|
140
|
+
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>;
|
|
141
|
+
}
|
|
76
142
|
declare function createDefaultAddressSelector(): AddressSelector;
|
|
77
143
|
declare function createDefaultAuthorizationResultCache(): AuthorizationResultCache;
|
|
78
144
|
declare function createDefaultWalletNotFoundHandler(): (mobileWalletAdapter: SolanaMobileWalletAdapter) => Promise<void>;
|
|
79
|
-
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
145
|
+
export { AuthorizationResultCache, AddressSelector, SolanaMobileWalletAdapterWalletName, SolanaMobileWalletAdapter, SolanaMobileWalletAdapterRemoteWalletName, SolanaMobileWalletAdapterRemote, createDefaultAddressSelector, createDefaultAuthorizationResultCache, createDefaultWalletNotFoundHandler };
|
|
80
146
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/__forks__/react-native/createDefaultAuthorizationResultCache.ts","../../src/__forks__/react-native/getIsSupported.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/getIsSupported.ts","../../src/adapter.ts","../../src/embedded-modal/bluetooth-html.ts","../../src/embedded-modal/qrcode-html.ts","../../src/embedded-modal/styles.ts","../../src/embedded-modal/modal.ts","../../src/adapterRemote.ts","../../src/createDefaultAddressSelector.ts","../../src/createDefaultAuthorizationResultCache.ts","../../src/createDefaultWalletNotFoundHandler.ts","../../src/__forks__/react-native/createDefaultAuthorizationResultCache.ts","../../src/__forks__/react-native/getIsSupported.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana-mobile/wallet-adapter-mobile",
|
|
3
3
|
"description": "An adapter for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"author": "Steven Luscher <steven.luscher@solanamobile.com>",
|
|
6
6
|
"repository": "https://github.com/solana-mobile/mobile-wallet-adapter",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"./package.json": "./package.json",
|
|
20
20
|
".": {
|
|
21
21
|
"import": "./lib/esm/index.js",
|
|
22
|
-
"require": "./lib/cjs/index.js"
|
|
22
|
+
"require": "./lib/cjs/index.js",
|
|
23
|
+
"types": "./lib/types/index.d.ts"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"files": [
|
|
@@ -40,18 +41,20 @@
|
|
|
40
41
|
"@solana/web3.js": "^1.58.0"
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.1.
|
|
44
|
+
"@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.1.4",
|
|
44
45
|
"@solana/wallet-adapter-base": "^0.9.23",
|
|
45
46
|
"@solana/wallet-standard-features": "^1.2.0",
|
|
46
|
-
"js-base64": "^3.7.5"
|
|
47
|
+
"js-base64": "^3.7.5",
|
|
48
|
+
"qrcode": "^1.5.4"
|
|
47
49
|
},
|
|
48
50
|
"optionalDependencies": {
|
|
49
51
|
"@react-native-async-storage/async-storage": "^1.17.7"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
|
-
"@solana/web3.js": "^1.
|
|
53
|
-
"
|
|
54
|
+
"@solana/web3.js": "^1.91.7",
|
|
55
|
+
"@types/qrcode": "^1.5.5",
|
|
56
|
+
"agadoo": "^3.0.0",
|
|
54
57
|
"cross-env": "^7.0.3",
|
|
55
58
|
"shx": "^0.3.4"
|
|
56
59
|
}
|
|
57
|
-
}
|
|
60
|
+
}
|