@dynamic-labs/types 3.0.0-alpha.14 → 3.0.0-alpha.16
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,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [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)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* remove isConnected prop from wallets and have it as a method instead (#6265)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* 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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* headless embedded wallet export session refresh ([#6307](https://github.com/dynamic-labs/DynamicAuth/issues/6307)) ([5423cc1](https://github.com/dynamic-labs/DynamicAuth/commit/5423cc14c370968acf718b7deff6ea8df9228189))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* 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))
|
|
20
|
+
|
|
21
|
+
## [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)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* catch third party wallet construction errors ([#6268](https://github.com/dynamic-labs/DynamicAuth/issues/6268)) ([badef39](https://github.com/dynamic-labs/DynamicAuth/commit/badef39d753c7d29925c6c8680053027bd99b69b))
|
|
27
|
+
* decode all solana transactions ([#6294](https://github.com/dynamic-labs/DynamicAuth/issues/6294)) ([5220ab2](https://github.com/dynamic-labs/DynamicAuth/commit/5220ab29381f3a7f1afc7043332b5a018b47eb0a))
|
|
28
|
+
* passkey cta ([#6255](https://github.com/dynamic-labs/DynamicAuth/issues/6255)) ([1b1b152](https://github.com/dynamic-labs/DynamicAuth/commit/1b1b152a24b409c5d941a9c92a003daf0bbe48a1))
|
|
29
|
+
|
|
2
30
|
## [3.0.0-alpha.14](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.13...v3.0.0-alpha.14) (2024-07-09)
|
|
3
31
|
|
|
4
32
|
|
package/package.json
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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
|
}
|