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

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.
@@ -223,6 +223,7 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
223
223
  try {
224
224
  const authorizationResult = yield wallet.reauthorize({
225
225
  auth_token: authToken,
226
+ identity: this._appIdentity,
226
227
  });
227
228
  // TODO: Evaluate whether there's any threat to not `awaiting` this expression
228
229
  Promise.all([
package/lib/cjs/index.js CHANGED
@@ -223,6 +223,7 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
223
223
  try {
224
224
  const authorizationResult = yield wallet.reauthorize({
225
225
  auth_token: authToken,
226
+ identity: this._appIdentity,
226
227
  });
227
228
  // TODO: Evaluate whether there's any threat to not `awaiting` this expression
228
229
  Promise.all([
@@ -220,6 +220,7 @@ class SolanaMobileWalletAdapter extends walletAdapterBase.BaseMessageSignerWalle
220
220
  try {
221
221
  const authorizationResult = yield wallet.reauthorize({
222
222
  auth_token: authToken,
223
+ identity: this._appIdentity,
223
224
  });
224
225
  // TODO: Evaluate whether there's any threat to not `awaiting` this expression
225
226
  Promise.all([
@@ -219,6 +219,7 @@ class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
219
219
  try {
220
220
  const authorizationResult = yield wallet.reauthorize({
221
221
  auth_token: authToken,
222
+ identity: this._appIdentity,
222
223
  });
223
224
  // TODO: Evaluate whether there's any threat to not `awaiting` this expression
224
225
  Promise.all([
package/lib/esm/index.js CHANGED
@@ -219,6 +219,7 @@ class SolanaMobileWalletAdapter extends BaseMessageSignerWalletAdapter {
219
219
  try {
220
220
  const authorizationResult = yield wallet.reauthorize({
221
221
  auth_token: authToken,
222
+ identity: this._appIdentity,
222
223
  });
223
224
  // TODO: Evaluate whether there's any threat to not `awaiting` this expression
224
225
  Promise.all([
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.9",
4
+ "version": "2.0.0",
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.9",
44
+ "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.0.0",
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": "d03adeaa47d752aaac815300572d1157e2362758"
54
+ "gitHead": "4118590f5f66fcbc9d04f839abb150f31f1d2ae5"
55
55
  }