@dynamic-labs/solana 2.2.7 → 2.2.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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,28 @@
1
1
 
2
+ ### [2.2.9](https://github.com/dynamic-labs/DynamicAuth/compare/v2.2.8...v2.2.9) (2024-07-04)
3
+
4
+
5
+ ### Features
6
+
7
+ * add solana support for multi-asset ([#6239](https://github.com/dynamic-labs/DynamicAuth/issues/6239)) ([4e9a924](https://github.com/dynamic-labs/DynamicAuth/commit/4e9a92464253d60fce1542ca38664330e74cf4d6)), closes [#6222](https://github.com/dynamic-labs/DynamicAuth/issues/6222)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * relax phone number length validation ([#6226](https://github.com/dynamic-labs/DynamicAuth/issues/6226)) ([#6231](https://github.com/dynamic-labs/DynamicAuth/issues/6231)) ([2419441](https://github.com/dynamic-labs/DynamicAuth/commit/2419441f471a5edc3c0e831e24840d9d85d4a570))
13
+ * set last active account on accountChange request ([#6218](https://github.com/dynamic-labs/DynamicAuth/issues/6218)) ([#6228](https://github.com/dynamic-labs/DynamicAuth/issues/6228)) ([1842445](https://github.com/dynamic-labs/DynamicAuth/commit/184244535faeaea09f55ef0c0a62a4ace41432c7))
14
+ * stop auto-switching to connected secondary wallet if primary wallet is not connected ([#6196](https://github.com/dynamic-labs/DynamicAuth/issues/6196)) ([#6233](https://github.com/dynamic-labs/DynamicAuth/issues/6233)) ([82fd872](https://github.com/dynamic-labs/DynamicAuth/commit/82fd87251758b39c31dd334abc85dc05a7e8affa))
15
+
16
+ ### [2.2.8](https://github.com/dynamic-labs/DynamicAuth/compare/v2.2.7...v2.2.8) (2024-07-01)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * show connected network name when icon url is missing ([#6191](https://github.com/dynamic-labs/DynamicAuth/issues/6191)) ([#6193](https://github.com/dynamic-labs/DynamicAuth/issues/6193)) ([ad60062](https://github.com/dynamic-labs/DynamicAuth/commit/ad60062e930c6174d9516f49899722271a918414))
22
+ * show ledger toggle when linking wallet ([#6202](https://github.com/dynamic-labs/DynamicAuth/issues/6202)) ([#6203](https://github.com/dynamic-labs/DynamicAuth/issues/6203)) ([d689f41](https://github.com/dynamic-labs/DynamicAuth/commit/d689f4138570610ceee16bd2167d40c0d0c088c7))
23
+ * stop sending double sign request on network switch ([#6220](https://github.com/dynamic-labs/DynamicAuth/issues/6220)) ([e1dd446](https://github.com/dynamic-labs/DynamicAuth/commit/e1dd4468dc28b92ba3f8465e509d8fe762223d4c))
24
+ * update formatting of phantom bitcoin publickey ([#6211](https://github.com/dynamic-labs/DynamicAuth/issues/6211)) ([044e4bc](https://github.com/dynamic-labs/DynamicAuth/commit/044e4bce8180d7125d0437132b7deb4ae80db031))
25
+
2
26
  ### [2.2.7](https://github.com/dynamic-labs/DynamicAuth/compare/v2.2.6...v2.2.7) (2024-06-28)
3
27
 
4
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/solana",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -34,13 +34,13 @@
34
34
  "@wallet-standard/experimental-features": "0.1.1",
35
35
  "bs58": "5.0.0",
36
36
  "tweetnacl": "1.0.3",
37
- "@dynamic-labs/rpc-provider-solana": "2.2.7",
38
- "@dynamic-labs/rpc-providers": "2.2.7",
39
- "@dynamic-labs/turnkey": "2.2.7",
40
- "@dynamic-labs/types": "2.2.7",
41
- "@dynamic-labs/utils": "2.2.7",
42
- "@dynamic-labs/wallet-book": "2.2.7",
43
- "@dynamic-labs/wallet-connector-core": "2.2.7",
37
+ "@dynamic-labs/rpc-provider-solana": "2.2.9",
38
+ "@dynamic-labs/rpc-providers": "2.2.9",
39
+ "@dynamic-labs/turnkey": "2.2.9",
40
+ "@dynamic-labs/types": "2.2.9",
41
+ "@dynamic-labs/utils": "2.2.9",
42
+ "@dynamic-labs/wallet-book": "2.2.9",
43
+ "@dynamic-labs/wallet-connector-core": "2.2.9",
44
44
  "eventemitter3": "5.0.1"
45
45
  },
46
46
  "peerDependencies": {}
package/src/Solflare.cjs CHANGED
@@ -58,18 +58,6 @@ class Solflare extends InjectedWalletBase.InjectedWalletBase {
58
58
  : undefined;
59
59
  });
60
60
  }
61
- getConnectedAccounts() {
62
- return _tslib.__awaiter(this, void 0, void 0, function* () {
63
- var _a;
64
- const provider = this.getProvider();
65
- if (!provider)
66
- return [];
67
- const publicKey = (_a = provider.publicKey) === null || _a === void 0 ? void 0 : _a.toString();
68
- if (publicKey)
69
- return [publicKey];
70
- return [];
71
- });
72
- }
73
61
  }
74
62
 
75
63
  exports.Solflare = Solflare;
package/src/Solflare.d.ts CHANGED
@@ -6,5 +6,4 @@ export declare class Solflare extends InjectedWalletBase {
6
6
  constructor(opts: SolWalletConnectorOpts);
7
7
  getAddress(): Promise<string | undefined>;
8
8
  signMessage(messageToSign: string): Promise<string | undefined>;
9
- getConnectedAccounts(): Promise<string[]>;
10
9
  }
package/src/Solflare.js CHANGED
@@ -54,18 +54,6 @@ class Solflare extends InjectedWalletBase {
54
54
  : undefined;
55
55
  });
56
56
  }
57
- getConnectedAccounts() {
58
- return __awaiter(this, void 0, void 0, function* () {
59
- var _a;
60
- const provider = this.getProvider();
61
- if (!provider)
62
- return [];
63
- const publicKey = (_a = provider.publicKey) === null || _a === void 0 ? void 0 : _a.toString();
64
- if (publicKey)
65
- return [publicKey];
66
- return [];
67
- });
68
- }
69
57
  }
70
58
 
71
59
  export { Solflare };