@dynamic-labs/types 3.0.0-alpha.15 → 3.0.0-alpha.17

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,35 @@
1
1
 
2
+ ## [3.0.0-alpha.17](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.16...v3.0.0-alpha.17) (2024-07-11)
3
+
4
+
5
+ ### Features
6
+
7
+ * add new hook to select wallet option to connect ([#6301](https://github.com/dynamic-labs/DynamicAuth/issues/6301)) ([833d71d](https://github.com/dynamic-labs/DynamicAuth/commit/833d71de164c57bfa22898c3425641a83a12e135))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * refresh session keys correctly for solana embedded wallets ([#6309](https://github.com/dynamic-labs/DynamicAuth/issues/6309)) ([4b28e8a](https://github.com/dynamic-labs/DynamicAuth/commit/4b28e8ae231567754b6cfd07a7d41e86f1c73daa))
13
+
14
+ ## [3.0.0-alpha.16](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.15...v3.0.0-alpha.16) (2024-07-11)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * remove isConnected prop from wallets and have it as a method instead (#6265)
20
+
21
+ ### Features
22
+
23
+ * add bundlerRpc and paymasterRpc parameters to zerodev ([#6304](https://github.com/dynamic-labs/DynamicAuth/issues/6304)) ([156469b](https://github.com/dynamic-labs/DynamicAuth/commit/156469bf703f0c7fa455a24b8e4e328d3a0c58fc))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * headless embedded wallet export session refresh ([#6307](https://github.com/dynamic-labs/DynamicAuth/issues/6307)) ([5423cc1](https://github.com/dynamic-labs/DynamicAuth/commit/5423cc14c370968acf718b7deff6ea8df9228189))
29
+
30
+
31
+ * remove isConnected prop from wallets and have it as a method instead ([#6265](https://github.com/dynamic-labs/DynamicAuth/issues/6265)) ([652dcc2](https://github.com/dynamic-labs/DynamicAuth/commit/652dcc2d34c9a9719238606c67f600e40621183b))
32
+
2
33
  ## [3.0.0-alpha.15](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.14...v3.0.0-alpha.15) (2024-07-11)
3
34
 
4
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/types",
3
- "version": "3.0.0-alpha.15",
3
+ "version": "3.0.0-alpha.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -4,14 +4,13 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  class BaseWallet {
7
- constructor({ id, key, address, additionalAddresses = [], chain, network, isConnected, isAuthenticated, isPrimary = false, }) {
7
+ constructor({ id, key, address, additionalAddresses = [], chain, network, isAuthenticated, isPrimary = false, }) {
8
8
  this.id = id;
9
9
  this.key = key;
10
10
  this.address = address;
11
11
  this.additionalAddresses = additionalAddresses;
12
12
  this.chain = chain;
13
13
  this.network = network;
14
- this.isConnected = isConnected;
15
14
  this.isAuthenticated = isAuthenticated;
16
15
  this.isPrimary = isPrimary;
17
16
  }
@@ -10,11 +10,6 @@ export interface BaseWalletProps {
10
10
  additionalAddresses?: WalletAdditionalAddress[];
11
11
  chain: string;
12
12
  network?: string | number;
13
- /**
14
- * If we are currently able to fetch information about this wallet from its provider.
15
- * Will be false, for example, if you are connected through a browser extension and you lock it.
16
- */
17
- isConnected: boolean;
18
13
  /**
19
14
  * If there is a current user, this will be true if and only if the user has signed this wallet
20
15
  * to link it to their account
@@ -29,8 +24,7 @@ export declare class BaseWallet {
29
24
  additionalAddresses: WalletAdditionalAddress[];
30
25
  chain: string;
31
26
  network: string | number | undefined;
32
- isConnected: boolean;
33
27
  isAuthenticated: boolean;
34
28
  isPrimary: boolean;
35
- constructor({ id, key, address, additionalAddresses, chain, network, isConnected, isAuthenticated, isPrimary, }: BaseWalletProps);
29
+ constructor({ id, key, address, additionalAddresses, chain, network, isAuthenticated, isPrimary, }: BaseWalletProps);
36
30
  }
@@ -1,13 +1,12 @@
1
1
  'use client'
2
2
  class BaseWallet {
3
- constructor({ id, key, address, additionalAddresses = [], chain, network, isConnected, isAuthenticated, isPrimary = false, }) {
3
+ constructor({ id, key, address, additionalAddresses = [], chain, network, isAuthenticated, isPrimary = false, }) {
4
4
  this.id = id;
5
5
  this.key = key;
6
6
  this.address = address;
7
7
  this.additionalAddresses = additionalAddresses;
8
8
  this.chain = chain;
9
9
  this.network = network;
10
- this.isConnected = isConnected;
11
10
  this.isAuthenticated = isAuthenticated;
12
11
  this.isPrimary = isPrimary;
13
12
  }