@solana-mobile/wallet-adapter-mobile 0.9.8 → 0.9.9

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.
@@ -123,7 +123,13 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
123
123
  }
124
124
  });
125
125
  }
126
+ /** @deprecated Use `autoConnect()` instead. */
126
127
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED() {
128
+ return __awaiter(this, void 0, void 0, function* () {
129
+ return yield this.autoConnect();
130
+ });
131
+ }
132
+ autoConnect() {
127
133
  return __awaiter(this, void 0, void 0, function* () {
128
134
  if (this.connecting || this.connected) {
129
135
  return;
package/lib/cjs/index.js CHANGED
@@ -123,7 +123,13 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
123
123
  }
124
124
  });
125
125
  }
126
+ /** @deprecated Use `autoConnect()` instead. */
126
127
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED() {
128
+ return __awaiter(this, void 0, void 0, function* () {
129
+ return yield this.autoConnect();
130
+ });
131
+ }
132
+ autoConnect() {
127
133
  return __awaiter(this, void 0, void 0, function* () {
128
134
  if (this.connecting || this.connected) {
129
135
  return;
@@ -120,7 +120,13 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
120
120
  }
121
121
  });
122
122
  }
123
+ /** @deprecated Use `autoConnect()` instead. */
123
124
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED() {
125
+ return __awaiter(this, void 0, void 0, function* () {
126
+ return yield this.autoConnect();
127
+ });
128
+ }
129
+ autoConnect() {
124
130
  return __awaiter(this, void 0, void 0, function* () {
125
131
  if (this.connecting || this.connected) {
126
132
  return;
@@ -119,7 +119,13 @@ class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
119
119
  }
120
120
  });
121
121
  }
122
+ /** @deprecated Use `autoConnect()` instead. */
122
123
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED() {
124
+ return __awaiter(this, void 0, void 0, function* () {
125
+ return yield this.autoConnect();
126
+ });
127
+ }
128
+ autoConnect() {
123
129
  return __awaiter(this, void 0, void 0, function* () {
124
130
  if (this.connecting || this.connected) {
125
131
  return;
package/lib/esm/index.js CHANGED
@@ -119,7 +119,13 @@ class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
119
119
  }
120
120
  });
121
121
  }
122
+ /** @deprecated Use `autoConnect()` instead. */
122
123
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED() {
124
+ return __awaiter(this, void 0, void 0, function* () {
125
+ return yield this.autoConnect();
126
+ });
127
+ }
128
+ autoConnect() {
123
129
  return __awaiter(this, void 0, void 0, function* () {
124
130
  if (this.connecting || this.connected) {
125
131
  return;
@@ -45,7 +45,9 @@ declare class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
45
45
  get readyState(): WalletReadyState;
46
46
  private declareWalletAsInstalled;
47
47
  private runWithGuard;
48
+ /** @deprecated Use `autoConnect()` instead. */
48
49
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED(): Promise<void>;
50
+ autoConnect(): Promise<void>;
49
51
  connect(): Promise<void>;
50
52
  private handleAuthorizationResult;
51
53
  private performReauthorization;
@@ -45,7 +45,9 @@ declare class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
45
45
  get readyState(): WalletReadyState;
46
46
  private declareWalletAsInstalled;
47
47
  private runWithGuard;
48
+ /** @deprecated Use `autoConnect()` instead. */
48
49
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED(): Promise<void>;
50
+ autoConnect(): Promise<void>;
49
51
  connect(): Promise<void>;
50
52
  private handleAuthorizationResult;
51
53
  private performReauthorization;
@@ -45,7 +45,9 @@ declare class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
45
45
  get readyState(): WalletReadyState;
46
46
  private declareWalletAsInstalled;
47
47
  private runWithGuard;
48
+ /** @deprecated Use `autoConnect()` instead. */
48
49
  autoConnect_DO_NOT_USE_OR_YOU_WILL_BE_FIRED(): Promise<void>;
50
+ autoConnect(): Promise<void>;
49
51
  connect(): Promise<void>;
50
52
  private handleAuthorizationResult;
51
53
  private performReauthorization;
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": "0.9.8",
4
+ "version": "0.9.9",
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",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@react-native-async-storage/async-storage": "^1.17.7",
44
- "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^0.9.8",
44
+ "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^0.9.9",
45
45
  "@solana/wallet-adapter-base": "^0.9.17",
46
46
  "js-base64": "^3.7.2"
47
47
  },
@@ -51,5 +51,5 @@
51
51
  "cross-env": "^7.0.3",
52
52
  "shx": "^0.3.4"
53
53
  },
54
- "gitHead": "040622228152826e029bc613f7c6b4b14eefb138"
54
+ "gitHead": "d03adeaa47d752aaac815300572d1157e2362758"
55
55
  }