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

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.
Files changed (2) hide show
  1. package/README.md +16 -13
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -31,19 +31,22 @@ new SolanaMobileWalletAdapter({
31
31
  Developers who use `@solana/wallet-adapter-react@">=0.15.21"` can supply this custom instance to `WalletProvider` which will use it to override the default one.
32
32
 
33
33
  ```typescript
34
- const wallets = useMemo(() => [
35
- new SolanaMobileWalletAdapter({
36
- addressSelector: createDefaultAddressSelector(),
37
- appIdentity: {
38
- name: 'My app',
39
- uri: 'https://myapp.io',
40
- icon: 'relative/path/to/icon.png',
41
- },
42
- authorizationResultCache: createDefaultAuthorizationResultCache(),
43
- cluster: WalletAdapterNetwork.Devnet,
44
- onWalletNotFound: createDefaultWalletNotFoundHandler(),
45
- });
46
- ]);
34
+ const wallets = useMemo(
35
+ () => [
36
+ new SolanaMobileWalletAdapter({
37
+ addressSelector: createDefaultAddressSelector(),
38
+ appIdentity: {
39
+ name: 'My app',
40
+ uri: 'https://myapp.io',
41
+ icon: 'relative/path/to/icon.png',
42
+ },
43
+ authorizationResultCache: createDefaultAuthorizationResultCache(),
44
+ cluster: WalletAdapterNetwork.Devnet,
45
+ onWalletNotFound: createDefaultWalletNotFoundHandler(),
46
+ }),
47
+ ],
48
+ [],
49
+ );
47
50
 
48
51
  return (
49
52
  <ConnectionProvider endpoint={clusterApiUrl(WalletAdapterNetwork.Devnet)}>
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.7",
4
+ "version": "0.9.8",
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.7",
44
+ "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^0.9.8",
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": "91473dbc1754c0161994a22c2895c43c36f9377d"
54
+ "gitHead": "040622228152826e029bc613f7c6b4b14eefb138"
55
55
  }