@solana-mobile/mobile-wallet-adapter-protocol 0.0.1-alpha.4 → 0.0.1-alpha.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.
package/README.md CHANGED
@@ -20,7 +20,7 @@ The callback you provide will be called once a session has been established with
20
20
 
21
21
  ```typescript
22
22
  const signedPayloads = await transact(async (wallet) => {
23
- const {signed_payloads} = await wallet('sign_message', {
23
+ const {signed_payloads} = await wallet.signMessage({
24
24
  auth_token,
25
25
  payloads: [/* ... */],
26
26
  });
@@ -38,11 +38,11 @@ You can catch exceptions at any level. See `errors.ts` for a list of exceptions
38
38
  try {
39
39
  await transact(async (wallet) => {
40
40
  try {
41
- await wallet('sign_transaction', /* ... */);
41
+ await wallet.signTransaction(/* ... */);
42
42
  } catch (e) {
43
43
  if (e instanceof SolanaMobileWalletAdapterProtocolReauthorizeError) {
44
44
  console.error('The auth token has gone stale');
45
- await wallet('reauthorize', {auth_token});
45
+ await wallet.reauthorize({auth_token});
46
46
  // Retry...
47
47
  }
48
48
  throw e;
@@ -79,18 +79,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
79
79
  PERFORMANCE OF THIS SOFTWARE.
80
80
  ***************************************************************************** */
81
81
 
82
- function __rest(s, e) {
83
- var t = {};
84
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
85
- t[p] = s[p];
86
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
87
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
88
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
89
- t[p[i]] = s[p[i]];
90
- }
91
- return t;
92
- }
93
-
94
82
  function __awaiter(thisArg, _arguments, P, generator) {
95
83
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
96
84
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -428,21 +416,39 @@ function transact(callback, config) {
428
416
  case 'hello_req_sent': {
429
417
  const sharedSecret = yield parseHelloRsp(responseBuffer, state.associationPublicKey, state.ecdhPrivateKey);
430
418
  state = { __type: 'connected', sharedSecret };
431
- const walletAPI = (_a) => __awaiter(this, void 0, void 0, function* () {
432
- var { method } = _a, params = __rest(_a, ["method"]);
433
- const id = nextJsonRpcMessageId++;
434
- socket.send(yield encryptJsonRpcMessage({
435
- id,
436
- jsonrpc: '2.0',
437
- method,
438
- params,
439
- }, sharedSecret));
440
- return new Promise((resolve, reject) => {
441
- jsonRpcResponsePromises[id] = { resolve, reject };
442
- });
419
+ const wallet = new Proxy({}, {
420
+ get(target, p) {
421
+ if (target[p] == null) {
422
+ const method = p
423
+ .toString()
424
+ .replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
425
+ .toLowerCase();
426
+ target[p] = function (params) {
427
+ return __awaiter(this, void 0, void 0, function* () {
428
+ const id = nextJsonRpcMessageId++;
429
+ socket.send(yield encryptJsonRpcMessage({
430
+ id,
431
+ jsonrpc: '2.0',
432
+ method,
433
+ params,
434
+ }, sharedSecret));
435
+ return new Promise((resolve, reject) => {
436
+ jsonRpcResponsePromises[id] = { resolve, reject };
437
+ });
438
+ });
439
+ };
440
+ }
441
+ return target[p];
442
+ },
443
+ defineProperty() {
444
+ return false;
445
+ },
446
+ deleteProperty() {
447
+ return false;
448
+ },
443
449
  });
444
450
  try {
445
- resolve(yield callback(walletAPI));
451
+ resolve(yield callback(wallet));
446
452
  }
447
453
  catch (e) {
448
454
  reject(e);
package/lib/cjs/index.js CHANGED
@@ -79,18 +79,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
79
79
  PERFORMANCE OF THIS SOFTWARE.
80
80
  ***************************************************************************** */
81
81
 
82
- function __rest(s, e) {
83
- var t = {};
84
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
85
- t[p] = s[p];
86
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
87
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
88
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
89
- t[p[i]] = s[p[i]];
90
- }
91
- return t;
92
- }
93
-
94
82
  function __awaiter(thisArg, _arguments, P, generator) {
95
83
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
96
84
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -428,21 +416,39 @@ function transact(callback, config) {
428
416
  case 'hello_req_sent': {
429
417
  const sharedSecret = yield parseHelloRsp(responseBuffer, state.associationPublicKey, state.ecdhPrivateKey);
430
418
  state = { __type: 'connected', sharedSecret };
431
- const walletAPI = (_a) => __awaiter(this, void 0, void 0, function* () {
432
- var { method } = _a, params = __rest(_a, ["method"]);
433
- const id = nextJsonRpcMessageId++;
434
- socket.send(yield encryptJsonRpcMessage({
435
- id,
436
- jsonrpc: '2.0',
437
- method,
438
- params,
439
- }, sharedSecret));
440
- return new Promise((resolve, reject) => {
441
- jsonRpcResponsePromises[id] = { resolve, reject };
442
- });
419
+ const wallet = new Proxy({}, {
420
+ get(target, p) {
421
+ if (target[p] == null) {
422
+ const method = p
423
+ .toString()
424
+ .replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
425
+ .toLowerCase();
426
+ target[p] = function (params) {
427
+ return __awaiter(this, void 0, void 0, function* () {
428
+ const id = nextJsonRpcMessageId++;
429
+ socket.send(yield encryptJsonRpcMessage({
430
+ id,
431
+ jsonrpc: '2.0',
432
+ method,
433
+ params,
434
+ }, sharedSecret));
435
+ return new Promise((resolve, reject) => {
436
+ jsonRpcResponsePromises[id] = { resolve, reject };
437
+ });
438
+ });
439
+ };
440
+ }
441
+ return target[p];
442
+ },
443
+ defineProperty() {
444
+ return false;
445
+ },
446
+ deleteProperty() {
447
+ return false;
448
+ },
443
449
  });
444
450
  try {
445
- resolve(yield callback(walletAPI));
451
+ resolve(yield callback(wallet));
446
452
  }
447
453
  catch (e) {
448
454
  reject(e);
@@ -81,18 +81,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
81
81
  PERFORMANCE OF THIS SOFTWARE.
82
82
  ***************************************************************************** */
83
83
 
84
- function __rest(s, e) {
85
- var t = {};
86
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
87
- t[p] = s[p];
88
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
89
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
90
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
91
- t[p[i]] = s[p[i]];
92
- }
93
- return t;
94
- }
95
-
96
84
  function __awaiter(thisArg, _arguments, P, generator) {
97
85
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
98
86
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -122,19 +110,38 @@ function transact(callback, config) {
122
110
  return __awaiter(this, void 0, void 0, function* () {
123
111
  try {
124
112
  yield SolanaMobileWalletAdapter.startSession(config);
125
- return yield callback((_a) => __awaiter(this, void 0, void 0, function* () {
126
- var { method } = _a, params = __rest(_a, ["method"]);
127
- try {
128
- return yield SolanaMobileWalletAdapter.invoke(method, params);
129
- }
130
- catch (e) {
131
- if (e instanceof Error && e.code === 'JSON_RPC_ERROR') {
132
- const details = e.userInfo;
133
- throw new SolanaMobileWalletAdapterProtocolJsonRpcError(0 /* jsonRpcMessageId */, details.jsonRpcErrorCode, e.message);
113
+ const wallet = new Proxy({}, {
114
+ get(target, p) {
115
+ if (target[p] == null) {
116
+ const method = p
117
+ .toString()
118
+ .replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
119
+ .toLowerCase();
120
+ target[p] = function (params) {
121
+ return __awaiter(this, void 0, void 0, function* () {
122
+ try {
123
+ return yield SolanaMobileWalletAdapter.invoke(method, params);
124
+ }
125
+ catch (e) {
126
+ if (e instanceof Error && e.code === 'JSON_RPC_ERROR') {
127
+ const details = e.userInfo;
128
+ throw new SolanaMobileWalletAdapterProtocolJsonRpcError(0 /* jsonRpcMessageId */, details.jsonRpcErrorCode, e.message);
129
+ }
130
+ throw e;
131
+ }
132
+ });
133
+ };
134
134
  }
135
- throw e;
136
- }
137
- }));
135
+ return target[p];
136
+ },
137
+ defineProperty() {
138
+ return false;
139
+ },
140
+ deleteProperty() {
141
+ return false;
142
+ },
143
+ });
144
+ return yield callback(wallet);
138
145
  }
139
146
  finally {
140
147
  yield SolanaMobileWalletAdapter.endSession();
@@ -75,18 +75,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75
75
  PERFORMANCE OF THIS SOFTWARE.
76
76
  ***************************************************************************** */
77
77
 
78
- function __rest(s, e) {
79
- var t = {};
80
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
-
90
78
  function __awaiter(thisArg, _arguments, P, generator) {
91
79
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92
80
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -424,21 +412,39 @@ function transact(callback, config) {
424
412
  case 'hello_req_sent': {
425
413
  const sharedSecret = yield parseHelloRsp(responseBuffer, state.associationPublicKey, state.ecdhPrivateKey);
426
414
  state = { __type: 'connected', sharedSecret };
427
- const walletAPI = (_a) => __awaiter(this, void 0, void 0, function* () {
428
- var { method } = _a, params = __rest(_a, ["method"]);
429
- const id = nextJsonRpcMessageId++;
430
- socket.send(yield encryptJsonRpcMessage({
431
- id,
432
- jsonrpc: '2.0',
433
- method,
434
- params,
435
- }, sharedSecret));
436
- return new Promise((resolve, reject) => {
437
- jsonRpcResponsePromises[id] = { resolve, reject };
438
- });
415
+ const wallet = new Proxy({}, {
416
+ get(target, p) {
417
+ if (target[p] == null) {
418
+ const method = p
419
+ .toString()
420
+ .replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
421
+ .toLowerCase();
422
+ target[p] = function (params) {
423
+ return __awaiter(this, void 0, void 0, function* () {
424
+ const id = nextJsonRpcMessageId++;
425
+ socket.send(yield encryptJsonRpcMessage({
426
+ id,
427
+ jsonrpc: '2.0',
428
+ method,
429
+ params,
430
+ }, sharedSecret));
431
+ return new Promise((resolve, reject) => {
432
+ jsonRpcResponsePromises[id] = { resolve, reject };
433
+ });
434
+ });
435
+ };
436
+ }
437
+ return target[p];
438
+ },
439
+ defineProperty() {
440
+ return false;
441
+ },
442
+ deleteProperty() {
443
+ return false;
444
+ },
439
445
  });
440
446
  try {
441
- resolve(yield callback(walletAPI));
447
+ resolve(yield callback(wallet));
442
448
  }
443
449
  catch (e) {
444
450
  reject(e);
package/lib/esm/index.mjs CHANGED
@@ -75,18 +75,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75
75
  PERFORMANCE OF THIS SOFTWARE.
76
76
  ***************************************************************************** */
77
77
 
78
- function __rest(s, e) {
79
- var t = {};
80
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
-
90
78
  function __awaiter(thisArg, _arguments, P, generator) {
91
79
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92
80
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -424,21 +412,39 @@ function transact(callback, config) {
424
412
  case 'hello_req_sent': {
425
413
  const sharedSecret = yield parseHelloRsp(responseBuffer, state.associationPublicKey, state.ecdhPrivateKey);
426
414
  state = { __type: 'connected', sharedSecret };
427
- const walletAPI = (_a) => __awaiter(this, void 0, void 0, function* () {
428
- var { method } = _a, params = __rest(_a, ["method"]);
429
- const id = nextJsonRpcMessageId++;
430
- socket.send(yield encryptJsonRpcMessage({
431
- id,
432
- jsonrpc: '2.0',
433
- method,
434
- params,
435
- }, sharedSecret));
436
- return new Promise((resolve, reject) => {
437
- jsonRpcResponsePromises[id] = { resolve, reject };
438
- });
415
+ const wallet = new Proxy({}, {
416
+ get(target, p) {
417
+ if (target[p] == null) {
418
+ const method = p
419
+ .toString()
420
+ .replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
421
+ .toLowerCase();
422
+ target[p] = function (params) {
423
+ return __awaiter(this, void 0, void 0, function* () {
424
+ const id = nextJsonRpcMessageId++;
425
+ socket.send(yield encryptJsonRpcMessage({
426
+ id,
427
+ jsonrpc: '2.0',
428
+ method,
429
+ params,
430
+ }, sharedSecret));
431
+ return new Promise((resolve, reject) => {
432
+ jsonRpcResponsePromises[id] = { resolve, reject };
433
+ });
434
+ });
435
+ };
436
+ }
437
+ return target[p];
438
+ },
439
+ defineProperty() {
440
+ return false;
441
+ },
442
+ deleteProperty() {
443
+ return false;
444
+ },
439
445
  });
440
446
  try {
441
- resolve(yield callback(walletAPI));
447
+ resolve(yield callback(wallet));
442
448
  }
443
449
  catch (e) {
444
450
  reject(e);
@@ -87,50 +87,57 @@ type Base64EncodedTransaction = string;
87
87
  type WalletAssociationConfig = Readonly<{
88
88
  baseUri?: string;
89
89
  }>;
90
- type AuthorizeAPI = (apiCall: {
91
- method: "authorize";
92
- identity: AppIdentity;
93
- }) => Promise<AuthorizationResult>;
94
- type CloneAuthorizationAPI = (apiCall: {
95
- method: "clone_authorization";
96
- auth_token: AuthToken;
97
- }) => Promise<Readonly<{
98
- auth_token: AuthToken;
99
- }>>;
100
- type DeauthorizeAPI = (apiCall: {
101
- method: "deauthorize";
102
- auth_token: AuthToken;
103
- }) => Promise<Readonly<Record<string, never>>>;
104
- type ReauthorizeAPI = (apiCall: {
105
- method: "reauthorize";
106
- auth_token: AuthToken;
107
- }) => Promise<Readonly<{
108
- auth_token: AuthToken;
109
- }>>;
110
- type SignMessageAPI = (apiCall: {
111
- method: "sign_message";
112
- auth_token: AuthToken;
113
- payloads: Base64EncodedMessage[];
114
- }) => Promise<Readonly<{
115
- signed_payloads: Base64EncodedSignedMessage[];
116
- }>>;
117
- type SignTransactionAPI = (apiCall: {
118
- method: "sign_transaction";
119
- auth_token: AuthToken;
120
- payloads: Base64EncodedTransaction[];
121
- }) => Promise<Readonly<{
122
- signed_payloads: Base64EncodedSignedTransaction[];
123
- }>>;
124
- type SignAndSendTransactionAPI = (apiCall: {
125
- method: "sign_and_send_transaction";
126
- auth_token: AuthToken;
127
- commitment: "confirmed" | "finalized" | "processed";
128
- payloads: Base64EncodedTransaction[];
129
- }) => Promise<Readonly<{
130
- signatures: Base58EncodedSignature[];
131
- }>>;
132
- interface MobileWalletAPI extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
133
- }
134
- declare function transact<TReturn>(callback: (walletAPI: MobileWalletAPI) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
135
- export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWalletAPI };
90
+ interface AuthorizeAPI {
91
+ authorize(params: {
92
+ identity: AppIdentity;
93
+ }): Promise<AuthorizationResult>;
94
+ }
95
+ interface CloneAuthorizationAPI {
96
+ cloneAuthorization(params: {
97
+ auth_token: AuthToken;
98
+ }): Promise<Readonly<{
99
+ auth_token: AuthToken;
100
+ }>>;
101
+ }
102
+ interface DeauthorizeAPI {
103
+ deauthorize(params: {
104
+ auth_token: AuthToken;
105
+ }): Promise<Readonly<Record<string, never>>>;
106
+ }
107
+ interface ReauthorizeAPI {
108
+ reauthorize(params: {
109
+ auth_token: AuthToken;
110
+ }): Promise<Readonly<{
111
+ auth_token: AuthToken;
112
+ }>>;
113
+ }
114
+ interface SignMessageAPI {
115
+ signMessage(params: {
116
+ auth_token: AuthToken;
117
+ payloads: Base64EncodedMessage[];
118
+ }): Promise<Readonly<{
119
+ signed_payloads: Base64EncodedSignedMessage[];
120
+ }>>;
121
+ }
122
+ interface SignTransactionAPI {
123
+ signTransaction(params: {
124
+ auth_token: AuthToken;
125
+ payloads: Base64EncodedTransaction[];
126
+ }): Promise<Readonly<{
127
+ signed_payloads: Base64EncodedSignedTransaction[];
128
+ }>>;
129
+ }
130
+ interface SignAndSendTransactionAPI {
131
+ signAndSendTransaction(params: {
132
+ auth_token: AuthToken;
133
+ commitment: "confirmed" | "finalized" | "processed";
134
+ payloads: Base64EncodedTransaction[];
135
+ }): Promise<Readonly<{
136
+ signatures: Base58EncodedSignature[];
137
+ }>>;
138
+ }
139
+ interface MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
140
+ }
141
+ declare function transact<TReturn>(callback: (wallet: MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
142
+ export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWallet };
136
143
  //# sourceMappingURL=index.browser.d.mts.map
@@ -87,50 +87,57 @@ type Base64EncodedTransaction = string;
87
87
  type WalletAssociationConfig = Readonly<{
88
88
  baseUri?: string;
89
89
  }>;
90
- type AuthorizeAPI = (apiCall: {
91
- method: "authorize";
92
- identity: AppIdentity;
93
- }) => Promise<AuthorizationResult>;
94
- type CloneAuthorizationAPI = (apiCall: {
95
- method: "clone_authorization";
96
- auth_token: AuthToken;
97
- }) => Promise<Readonly<{
98
- auth_token: AuthToken;
99
- }>>;
100
- type DeauthorizeAPI = (apiCall: {
101
- method: "deauthorize";
102
- auth_token: AuthToken;
103
- }) => Promise<Readonly<Record<string, never>>>;
104
- type ReauthorizeAPI = (apiCall: {
105
- method: "reauthorize";
106
- auth_token: AuthToken;
107
- }) => Promise<Readonly<{
108
- auth_token: AuthToken;
109
- }>>;
110
- type SignMessageAPI = (apiCall: {
111
- method: "sign_message";
112
- auth_token: AuthToken;
113
- payloads: Base64EncodedMessage[];
114
- }) => Promise<Readonly<{
115
- signed_payloads: Base64EncodedSignedMessage[];
116
- }>>;
117
- type SignTransactionAPI = (apiCall: {
118
- method: "sign_transaction";
119
- auth_token: AuthToken;
120
- payloads: Base64EncodedTransaction[];
121
- }) => Promise<Readonly<{
122
- signed_payloads: Base64EncodedSignedTransaction[];
123
- }>>;
124
- type SignAndSendTransactionAPI = (apiCall: {
125
- method: "sign_and_send_transaction";
126
- auth_token: AuthToken;
127
- commitment: "confirmed" | "finalized" | "processed";
128
- payloads: Base64EncodedTransaction[];
129
- }) => Promise<Readonly<{
130
- signatures: Base58EncodedSignature[];
131
- }>>;
132
- interface MobileWalletAPI extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
133
- }
134
- declare function transact<TReturn>(callback: (walletAPI: MobileWalletAPI) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
135
- export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWalletAPI };
90
+ interface AuthorizeAPI {
91
+ authorize(params: {
92
+ identity: AppIdentity;
93
+ }): Promise<AuthorizationResult>;
94
+ }
95
+ interface CloneAuthorizationAPI {
96
+ cloneAuthorization(params: {
97
+ auth_token: AuthToken;
98
+ }): Promise<Readonly<{
99
+ auth_token: AuthToken;
100
+ }>>;
101
+ }
102
+ interface DeauthorizeAPI {
103
+ deauthorize(params: {
104
+ auth_token: AuthToken;
105
+ }): Promise<Readonly<Record<string, never>>>;
106
+ }
107
+ interface ReauthorizeAPI {
108
+ reauthorize(params: {
109
+ auth_token: AuthToken;
110
+ }): Promise<Readonly<{
111
+ auth_token: AuthToken;
112
+ }>>;
113
+ }
114
+ interface SignMessageAPI {
115
+ signMessage(params: {
116
+ auth_token: AuthToken;
117
+ payloads: Base64EncodedMessage[];
118
+ }): Promise<Readonly<{
119
+ signed_payloads: Base64EncodedSignedMessage[];
120
+ }>>;
121
+ }
122
+ interface SignTransactionAPI {
123
+ signTransaction(params: {
124
+ auth_token: AuthToken;
125
+ payloads: Base64EncodedTransaction[];
126
+ }): Promise<Readonly<{
127
+ signed_payloads: Base64EncodedSignedTransaction[];
128
+ }>>;
129
+ }
130
+ interface SignAndSendTransactionAPI {
131
+ signAndSendTransaction(params: {
132
+ auth_token: AuthToken;
133
+ commitment: "confirmed" | "finalized" | "processed";
134
+ payloads: Base64EncodedTransaction[];
135
+ }): Promise<Readonly<{
136
+ signatures: Base58EncodedSignature[];
137
+ }>>;
138
+ }
139
+ interface MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
140
+ }
141
+ declare function transact<TReturn>(callback: (wallet: MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
142
+ export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWallet };
136
143
  //# sourceMappingURL=index.browser.d.ts.map
@@ -87,50 +87,57 @@ type Base64EncodedTransaction = string;
87
87
  type WalletAssociationConfig = Readonly<{
88
88
  baseUri?: string;
89
89
  }>;
90
- type AuthorizeAPI = (apiCall: {
91
- method: "authorize";
92
- identity: AppIdentity;
93
- }) => Promise<AuthorizationResult>;
94
- type CloneAuthorizationAPI = (apiCall: {
95
- method: "clone_authorization";
96
- auth_token: AuthToken;
97
- }) => Promise<Readonly<{
98
- auth_token: AuthToken;
99
- }>>;
100
- type DeauthorizeAPI = (apiCall: {
101
- method: "deauthorize";
102
- auth_token: AuthToken;
103
- }) => Promise<Readonly<Record<string, never>>>;
104
- type ReauthorizeAPI = (apiCall: {
105
- method: "reauthorize";
106
- auth_token: AuthToken;
107
- }) => Promise<Readonly<{
108
- auth_token: AuthToken;
109
- }>>;
110
- type SignMessageAPI = (apiCall: {
111
- method: "sign_message";
112
- auth_token: AuthToken;
113
- payloads: Base64EncodedMessage[];
114
- }) => Promise<Readonly<{
115
- signed_payloads: Base64EncodedSignedMessage[];
116
- }>>;
117
- type SignTransactionAPI = (apiCall: {
118
- method: "sign_transaction";
119
- auth_token: AuthToken;
120
- payloads: Base64EncodedTransaction[];
121
- }) => Promise<Readonly<{
122
- signed_payloads: Base64EncodedSignedTransaction[];
123
- }>>;
124
- type SignAndSendTransactionAPI = (apiCall: {
125
- method: "sign_and_send_transaction";
126
- auth_token: AuthToken;
127
- commitment: "confirmed" | "finalized" | "processed";
128
- payloads: Base64EncodedTransaction[];
129
- }) => Promise<Readonly<{
130
- signatures: Base58EncodedSignature[];
131
- }>>;
132
- interface MobileWalletAPI extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
133
- }
134
- declare function transact<TReturn>(callback: (walletAPI: MobileWalletAPI) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
135
- export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWalletAPI };
90
+ interface AuthorizeAPI {
91
+ authorize(params: {
92
+ identity: AppIdentity;
93
+ }): Promise<AuthorizationResult>;
94
+ }
95
+ interface CloneAuthorizationAPI {
96
+ cloneAuthorization(params: {
97
+ auth_token: AuthToken;
98
+ }): Promise<Readonly<{
99
+ auth_token: AuthToken;
100
+ }>>;
101
+ }
102
+ interface DeauthorizeAPI {
103
+ deauthorize(params: {
104
+ auth_token: AuthToken;
105
+ }): Promise<Readonly<Record<string, never>>>;
106
+ }
107
+ interface ReauthorizeAPI {
108
+ reauthorize(params: {
109
+ auth_token: AuthToken;
110
+ }): Promise<Readonly<{
111
+ auth_token: AuthToken;
112
+ }>>;
113
+ }
114
+ interface SignMessageAPI {
115
+ signMessage(params: {
116
+ auth_token: AuthToken;
117
+ payloads: Base64EncodedMessage[];
118
+ }): Promise<Readonly<{
119
+ signed_payloads: Base64EncodedSignedMessage[];
120
+ }>>;
121
+ }
122
+ interface SignTransactionAPI {
123
+ signTransaction(params: {
124
+ auth_token: AuthToken;
125
+ payloads: Base64EncodedTransaction[];
126
+ }): Promise<Readonly<{
127
+ signed_payloads: Base64EncodedSignedTransaction[];
128
+ }>>;
129
+ }
130
+ interface SignAndSendTransactionAPI {
131
+ signAndSendTransaction(params: {
132
+ auth_token: AuthToken;
133
+ commitment: "confirmed" | "finalized" | "processed";
134
+ payloads: Base64EncodedTransaction[];
135
+ }): Promise<Readonly<{
136
+ signatures: Base58EncodedSignature[];
137
+ }>>;
138
+ }
139
+ interface MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
140
+ }
141
+ declare function transact<TReturn>(callback: (wallet: MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
142
+ export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWallet };
136
143
  //# sourceMappingURL=index.d.mts.map
@@ -87,50 +87,57 @@ type Base64EncodedTransaction = string;
87
87
  type WalletAssociationConfig = Readonly<{
88
88
  baseUri?: string;
89
89
  }>;
90
- type AuthorizeAPI = (apiCall: {
91
- method: "authorize";
92
- identity: AppIdentity;
93
- }) => Promise<AuthorizationResult>;
94
- type CloneAuthorizationAPI = (apiCall: {
95
- method: "clone_authorization";
96
- auth_token: AuthToken;
97
- }) => Promise<Readonly<{
98
- auth_token: AuthToken;
99
- }>>;
100
- type DeauthorizeAPI = (apiCall: {
101
- method: "deauthorize";
102
- auth_token: AuthToken;
103
- }) => Promise<Readonly<Record<string, never>>>;
104
- type ReauthorizeAPI = (apiCall: {
105
- method: "reauthorize";
106
- auth_token: AuthToken;
107
- }) => Promise<Readonly<{
108
- auth_token: AuthToken;
109
- }>>;
110
- type SignMessageAPI = (apiCall: {
111
- method: "sign_message";
112
- auth_token: AuthToken;
113
- payloads: Base64EncodedMessage[];
114
- }) => Promise<Readonly<{
115
- signed_payloads: Base64EncodedSignedMessage[];
116
- }>>;
117
- type SignTransactionAPI = (apiCall: {
118
- method: "sign_transaction";
119
- auth_token: AuthToken;
120
- payloads: Base64EncodedTransaction[];
121
- }) => Promise<Readonly<{
122
- signed_payloads: Base64EncodedSignedTransaction[];
123
- }>>;
124
- type SignAndSendTransactionAPI = (apiCall: {
125
- method: "sign_and_send_transaction";
126
- auth_token: AuthToken;
127
- commitment: "confirmed" | "finalized" | "processed";
128
- payloads: Base64EncodedTransaction[];
129
- }) => Promise<Readonly<{
130
- signatures: Base58EncodedSignature[];
131
- }>>;
132
- interface MobileWalletAPI extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
133
- }
134
- declare function transact<TReturn>(callback: (walletAPI: MobileWalletAPI) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
135
- export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWalletAPI };
90
+ interface AuthorizeAPI {
91
+ authorize(params: {
92
+ identity: AppIdentity;
93
+ }): Promise<AuthorizationResult>;
94
+ }
95
+ interface CloneAuthorizationAPI {
96
+ cloneAuthorization(params: {
97
+ auth_token: AuthToken;
98
+ }): Promise<Readonly<{
99
+ auth_token: AuthToken;
100
+ }>>;
101
+ }
102
+ interface DeauthorizeAPI {
103
+ deauthorize(params: {
104
+ auth_token: AuthToken;
105
+ }): Promise<Readonly<Record<string, never>>>;
106
+ }
107
+ interface ReauthorizeAPI {
108
+ reauthorize(params: {
109
+ auth_token: AuthToken;
110
+ }): Promise<Readonly<{
111
+ auth_token: AuthToken;
112
+ }>>;
113
+ }
114
+ interface SignMessageAPI {
115
+ signMessage(params: {
116
+ auth_token: AuthToken;
117
+ payloads: Base64EncodedMessage[];
118
+ }): Promise<Readonly<{
119
+ signed_payloads: Base64EncodedSignedMessage[];
120
+ }>>;
121
+ }
122
+ interface SignTransactionAPI {
123
+ signTransaction(params: {
124
+ auth_token: AuthToken;
125
+ payloads: Base64EncodedTransaction[];
126
+ }): Promise<Readonly<{
127
+ signed_payloads: Base64EncodedSignedTransaction[];
128
+ }>>;
129
+ }
130
+ interface SignAndSendTransactionAPI {
131
+ signAndSendTransaction(params: {
132
+ auth_token: AuthToken;
133
+ commitment: "confirmed" | "finalized" | "processed";
134
+ payloads: Base64EncodedTransaction[];
135
+ }): Promise<Readonly<{
136
+ signatures: Base58EncodedSignature[];
137
+ }>>;
138
+ }
139
+ interface MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
140
+ }
141
+ declare function transact<TReturn>(callback: (wallet: MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
142
+ export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWallet };
136
143
  //# sourceMappingURL=index.d.ts.map
@@ -87,50 +87,57 @@ type Base64EncodedTransaction = string;
87
87
  type WalletAssociationConfig = Readonly<{
88
88
  baseUri?: string;
89
89
  }>;
90
- type AuthorizeAPI = (apiCall: {
91
- method: "authorize";
92
- identity: AppIdentity;
93
- }) => Promise<AuthorizationResult>;
94
- type CloneAuthorizationAPI = (apiCall: {
95
- method: "clone_authorization";
96
- auth_token: AuthToken;
97
- }) => Promise<Readonly<{
98
- auth_token: AuthToken;
99
- }>>;
100
- type DeauthorizeAPI = (apiCall: {
101
- method: "deauthorize";
102
- auth_token: AuthToken;
103
- }) => Promise<Readonly<Record<string, never>>>;
104
- type ReauthorizeAPI = (apiCall: {
105
- method: "reauthorize";
106
- auth_token: AuthToken;
107
- }) => Promise<Readonly<{
108
- auth_token: AuthToken;
109
- }>>;
110
- type SignMessageAPI = (apiCall: {
111
- method: "sign_message";
112
- auth_token: AuthToken;
113
- payloads: Base64EncodedMessage[];
114
- }) => Promise<Readonly<{
115
- signed_payloads: Base64EncodedSignedMessage[];
116
- }>>;
117
- type SignTransactionAPI = (apiCall: {
118
- method: "sign_transaction";
119
- auth_token: AuthToken;
120
- payloads: Base64EncodedTransaction[];
121
- }) => Promise<Readonly<{
122
- signed_payloads: Base64EncodedSignedTransaction[];
123
- }>>;
124
- type SignAndSendTransactionAPI = (apiCall: {
125
- method: "sign_and_send_transaction";
126
- auth_token: AuthToken;
127
- commitment: "confirmed" | "finalized" | "processed";
128
- payloads: Base64EncodedTransaction[];
129
- }) => Promise<Readonly<{
130
- signatures: Base58EncodedSignature[];
131
- }>>;
132
- interface MobileWalletAPI extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
133
- }
134
- declare function transact<TReturn>(callback: (walletAPI: MobileWalletAPI) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
135
- export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWalletAPI };
90
+ interface AuthorizeAPI {
91
+ authorize(params: {
92
+ identity: AppIdentity;
93
+ }): Promise<AuthorizationResult>;
94
+ }
95
+ interface CloneAuthorizationAPI {
96
+ cloneAuthorization(params: {
97
+ auth_token: AuthToken;
98
+ }): Promise<Readonly<{
99
+ auth_token: AuthToken;
100
+ }>>;
101
+ }
102
+ interface DeauthorizeAPI {
103
+ deauthorize(params: {
104
+ auth_token: AuthToken;
105
+ }): Promise<Readonly<Record<string, never>>>;
106
+ }
107
+ interface ReauthorizeAPI {
108
+ reauthorize(params: {
109
+ auth_token: AuthToken;
110
+ }): Promise<Readonly<{
111
+ auth_token: AuthToken;
112
+ }>>;
113
+ }
114
+ interface SignMessageAPI {
115
+ signMessage(params: {
116
+ auth_token: AuthToken;
117
+ payloads: Base64EncodedMessage[];
118
+ }): Promise<Readonly<{
119
+ signed_payloads: Base64EncodedSignedMessage[];
120
+ }>>;
121
+ }
122
+ interface SignTransactionAPI {
123
+ signTransaction(params: {
124
+ auth_token: AuthToken;
125
+ payloads: Base64EncodedTransaction[];
126
+ }): Promise<Readonly<{
127
+ signed_payloads: Base64EncodedSignedTransaction[];
128
+ }>>;
129
+ }
130
+ interface SignAndSendTransactionAPI {
131
+ signAndSendTransaction(params: {
132
+ auth_token: AuthToken;
133
+ commitment: "confirmed" | "finalized" | "processed";
134
+ payloads: Base64EncodedTransaction[];
135
+ }): Promise<Readonly<{
136
+ signatures: Base58EncodedSignature[];
137
+ }>>;
138
+ }
139
+ interface MobileWallet extends AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI {
140
+ }
141
+ declare function transact<TReturn>(callback: (wallet: MobileWallet) => TReturn, config?: WalletAssociationConfig): Promise<TReturn>;
142
+ export { SolanaMobileWalletAdapterSecureContextRequiredError, SolanaMobileWalletAdapterForbiddenWalletBaseURLError, SolanaMobileWalletAdapterWalletNotInstalledError, SolanaMobileWalletAdapterProtocolSessionEstablishmentError, SolanaMobileWalletAdapterProtocolAssociationPortOutOfRangeError, SolanaMobileWalletAdapterProtocolSessionClosedError, SolanaMobileWalletAdapterProtocolReauthorizeError, SolanaMobileWalletAdapterProtocolError, SolanaMobileWalletAdapterProtocolJsonRpcError, transact, AppIdentity, AssociationKeypair, AuthorizationResult, AuthToken, WalletAssociationConfig, AuthorizeAPI, CloneAuthorizationAPI, DeauthorizeAPI, ReauthorizeAPI, SignMessageAPI, SignTransactionAPI, SignAndSendTransactionAPI, MobileWallet };
136
143
  //# sourceMappingURL=index.native.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solana-mobile/mobile-wallet-adapter-protocol",
3
3
  "description": "An implementation of the Solana Mobile Mobile Wallet Adapter protocol. Use this to open a session with a mobile wallet app, and to issue API calls to it.",
4
- "version": "0.0.1-alpha.4",
4
+ "version": "0.0.1-alpha.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",
@@ -45,5 +45,5 @@
45
45
  "@types/react-native": "^0.69.3",
46
46
  "agadoo": "^2.0.0"
47
47
  },
48
- "gitHead": "d8a5244c5535b02f3dcf8144554a474ddac43f32"
48
+ "gitHead": "3af26689f4dddaa208fc32ea9c7cf4046c767c78"
49
49
  }