@solana-mobile/mobile-wallet-adapter-protocol-web3js 0.9.6 → 0.9.7

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.
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var bs58__default = /*#__PURE__*/_interopDefaultLegacy(bs58);
12
12
 
13
- /*! *****************************************************************************
13
+ /******************************************************************************
14
14
  Copyright (c) Microsoft Corporation.
15
15
 
16
16
  Permission to use, copy, modify, and/or distribute this software for any
package/lib/cjs/index.js CHANGED
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var bs58__default = /*#__PURE__*/_interopDefaultLegacy(bs58);
12
12
 
13
- /*! *****************************************************************************
13
+ /******************************************************************************
14
14
  Copyright (c) Microsoft Corporation.
15
15
 
16
16
  Permission to use, copy, modify, and/or distribute this software for any
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
 
12
12
  var bs58__default = /*#__PURE__*/_interopDefaultLegacy(bs58);
13
13
 
14
- /*! *****************************************************************************
14
+ /******************************************************************************
15
15
  Copyright (c) Microsoft Corporation.
16
16
 
17
17
  Permission to use, copy, modify, and/or distribute this software for any
@@ -2,7 +2,7 @@ import { VersionedMessage, Transaction, VersionedTransaction } from '@solana/web
2
2
  import { transact as transact$1 } from '@solana-mobile/mobile-wallet-adapter-protocol';
3
3
  import bs58 from 'bs58';
4
4
 
5
- /*! *****************************************************************************
5
+ /******************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
7
7
 
8
8
  Permission to use, copy, modify, and/or distribute this software for any
@@ -2,7 +2,7 @@ import { VersionedMessage, Transaction, VersionedTransaction } from '@solana/web
2
2
  import { transact as transact$1 } from '@solana-mobile/mobile-wallet-adapter-protocol';
3
3
  import bs58 from 'bs58';
4
4
 
5
- /*! *****************************************************************************
5
+ /******************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
7
7
 
8
8
  Permission to use, copy, modify, and/or distribute this software for any
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.6",
4
+ "version": "0.9.7",
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",
@@ -9,16 +9,16 @@
9
9
  "sideEffects": false,
10
10
  "main": "lib/cjs/index.js",
11
11
  "react-native": "lib/cjs/index.native.js",
12
- "module": "lib/esm/index.mjs",
12
+ "module": "lib/esm/index.js",
13
13
  "types": "lib/types/index.d.ts",
14
14
  "browser": {
15
15
  "./lib/cjs/index.js": "./lib/cjs/index.browser.js",
16
- "./lib/esm/index.mjs": "./lib/esm/index.browser.mjs"
16
+ "./lib/esm/index.js": "./lib/esm/index.browser.js"
17
17
  },
18
18
  "exports": {
19
19
  "./package.json": "./package.json",
20
20
  ".": {
21
- "import": "./lib/esm/index.mjs",
21
+ "import": "./lib/esm/index.js",
22
22
  "require": "./lib/cjs/index.js"
23
23
  }
24
24
  },
@@ -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.6",
43
+ "@solana-mobile/mobile-wallet-adapter-protocol": "^0.9.7",
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": "a5baca70e3ab481bf85dbd29aac13b769e317045"
51
+ "gitHead": "91473dbc1754c0161994a22c2895c43c36f9377d"
52
52
  }
@@ -1,25 +0,0 @@
1
- import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
2
- import { Transaction as LegacyTransaction } from "@solana/web3.js";
3
- import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
4
- interface Web3SignAndSendTransactionsAPI {
5
- signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
6
- minContextSlot?: number;
7
- transactions: T[];
8
- }): Promise<TransactionSignature[]>;
9
- }
10
- interface Web3SignTransactionsAPI {
11
- signTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
12
- transactions: T[];
13
- }): Promise<T[]>;
14
- }
15
- interface Web3SignMessagesAPI {
16
- signMessages(params: {
17
- addresses: Base64EncodedAddress[];
18
- payloads: Uint8Array[];
19
- }): Promise<Uint8Array[]>;
20
- }
21
- interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
22
- }
23
- declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
24
- export { Web3MobileWallet, transact };
25
- //# sourceMappingURL=index.browser.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.browser.d.mts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/transact.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import { TransactionSignature, VersionedTransaction } from "@solana/web3.js";
2
- import { Transaction as LegacyTransaction } from "@solana/web3.js";
3
- import { AuthorizeAPI, Base64EncodedAddress, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, WalletAssociationConfig } from "@solana-mobile/mobile-wallet-adapter-protocol";
4
- interface Web3SignAndSendTransactionsAPI {
5
- signAndSendTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
6
- minContextSlot?: number;
7
- transactions: T[];
8
- }): Promise<TransactionSignature[]>;
9
- }
10
- interface Web3SignTransactionsAPI {
11
- signTransactions<T extends LegacyTransaction | VersionedTransaction>(params: {
12
- transactions: T[];
13
- }): Promise<T[]>;
14
- }
15
- interface Web3SignMessagesAPI {
16
- signMessages(params: {
17
- addresses: Base64EncodedAddress[];
18
- payloads: Uint8Array[];
19
- }): Promise<Uint8Array[]>;
20
- }
21
- interface Web3MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, GetCapabilitiesAPI, ReauthorizeAPI, Web3SignAndSendTransactionsAPI, Web3SignTransactionsAPI, Web3SignMessagesAPI {
22
- }
23
- declare function transact<TReturn>(callback: (wallet: Web3MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
24
- export { Web3MobileWallet, transact };
25
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/index.ts","../../src/base64Utils.ts","../../src/transact.ts"],"names":[],"mappings":""}