@solana-mobile/mobile-wallet-adapter-protocol-web3js 0.9.4 → 0.9.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
2
2
|
import { Transaction as LegacyTransaction } from "@solana/web3.js";
|
|
3
|
-
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
3
|
+
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
4
4
|
interface Web3SignAndSendTransactionsAPI {
|
|
5
5
|
signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
|
|
6
6
|
minContextSlot?: number;
|
|
@@ -18,7 +18,7 @@ interface Web3SignMessagesAPI {
|
|
|
18
18
|
payloads: Uint8Array[];
|
|
19
19
|
}): Promise<Uint8Array[]>;
|
|
20
20
|
}
|
|
21
|
-
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
21
|
+
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
22
22
|
}
|
|
23
23
|
declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
|
|
24
24
|
export { Web3MobileWallet, transact };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
2
2
|
import { Transaction as LegacyTransaction } from "@solana/web3.js";
|
|
3
|
-
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
3
|
+
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
4
4
|
interface Web3SignAndSendTransactionsAPI {
|
|
5
5
|
signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
|
|
6
6
|
minContextSlot?: number;
|
|
@@ -18,7 +18,7 @@ interface Web3SignMessagesAPI {
|
|
|
18
18
|
payloads: Uint8Array[];
|
|
19
19
|
}): Promise<Uint8Array[]>;
|
|
20
20
|
}
|
|
21
|
-
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
21
|
+
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
22
22
|
}
|
|
23
23
|
declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
|
|
24
24
|
export { Web3MobileWallet, transact };
|
package/lib/types/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
2
2
|
import { Transaction as LegacyTransaction } from "@solana/web3.js";
|
|
3
|
-
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
3
|
+
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
4
4
|
interface Web3SignAndSendTransactionsAPI {
|
|
5
5
|
signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
|
|
6
6
|
minContextSlot?: number;
|
|
@@ -18,7 +18,7 @@ interface Web3SignMessagesAPI {
|
|
|
18
18
|
payloads: Uint8Array[];
|
|
19
19
|
}): Promise<Uint8Array[]>;
|
|
20
20
|
}
|
|
21
|
-
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
21
|
+
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
22
22
|
}
|
|
23
23
|
declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
|
|
24
24
|
export { Web3MobileWallet, transact };
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
2
2
|
import { Transaction as LegacyTransaction } from "@solana/web3.js";
|
|
3
|
-
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
3
|
+
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
4
4
|
interface Web3SignAndSendTransactionsAPI {
|
|
5
5
|
signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
|
|
6
6
|
minContextSlot?: number;
|
|
@@ -18,7 +18,7 @@ interface Web3SignMessagesAPI {
|
|
|
18
18
|
payloads: Uint8Array[];
|
|
19
19
|
}): Promise<Uint8Array[]>;
|
|
20
20
|
}
|
|
21
|
-
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
21
|
+
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
22
22
|
}
|
|
23
23
|
declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
|
|
24
24
|
export { Web3MobileWallet, transact };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
2
2
|
import { Transaction as LegacyTransaction } from "@solana/web3.js";
|
|
3
|
-
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
3
|
+
import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
|
|
4
4
|
interface Web3SignAndSendTransactionsAPI {
|
|
5
5
|
signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
|
|
6
6
|
minContextSlot?: number;
|
|
@@ -18,7 +18,7 @@ interface Web3SignMessagesAPI {
|
|
|
18
18
|
payloads: Uint8Array[];
|
|
19
19
|
}): Promise<Uint8Array[]>;
|
|
20
20
|
}
|
|
21
|
-
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
21
|
+
interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
|
|
22
22
|
}
|
|
23
23
|
declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
|
|
24
24
|
export { Web3MobileWallet, transact };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana-mobile/mobile-wallet-adapter-protocol-web3js",
|
|
3
3
|
"description": "A convenience wrapper that enables you to call Solana Mobile Stack protocol methods using objects from @solana/web3.js",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.6",
|
|
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",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@solana/web3.js": "^1.58.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@solana-mobile/mobile-wallet-adapter-protocol": "^0.9.
|
|
43
|
+
"@solana-mobile/mobile-wallet-adapter-protocol": "^0.9.6",
|
|
44
44
|
"bs58": "^5.0.0",
|
|
45
45
|
"js-base64": "^3.7.2"
|
|
46
46
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"agadoo": "^2.0.0",
|
|
49
49
|
"cross-env": "^7.0.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a5baca70e3ab481bf85dbd29aac13b769e317045"
|
|
52
52
|
}
|