@dynamic-labs/types 3.0.0-alpha.54 → 3.0.0-alpha.55
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,18 @@
|
|
|
1
1
|
|
|
2
|
+
## [3.0.0-alpha.55](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.54...v3.0.0-alpha.55) (2024-09-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* remove network prop from wallet ([#6716](https://github.com/dynamic-labs/DynamicAuth/issues/6716)) ([b3f90aa](https://github.com/dynamic-labs/DynamicAuth/commit/b3f90aa57cb494f35e3e8b4bc94343d676b2bb4f))
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* override viem chain data with evmNetworks override data ([#6779](https://github.com/dynamic-labs/DynamicAuth/issues/6779)) ([0d836a0](https://github.com/dynamic-labs/DynamicAuth/commit/0d836a0897b7e950e1e91e991f06da338d0cd0db))
|
|
12
|
+
* sdkHasLoaded waits for session validation ([#6769](https://github.com/dynamic-labs/DynamicAuth/issues/6769)) ([72a700b](https://github.com/dynamic-labs/DynamicAuth/commit/72a700b697aad7eca7e8a9b61eddd135aece8da3))
|
|
13
|
+
* send transaction cropping on insufficient funds ([#6776](https://github.com/dynamic-labs/DynamicAuth/issues/6776)) ([995c1f0](https://github.com/dynamic-labs/DynamicAuth/commit/995c1f0b6957112cfa50e4487bdaaa5993c0691d))
|
|
14
|
+
|
|
15
|
+
|
|
2
16
|
## [3.0.0-alpha.54](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.53...v3.0.0-alpha.54) (2024-08-29)
|
|
3
17
|
|
|
4
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/types",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.55",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
29
|
+
"@dynamic-labs/sdk-api-core": "0.0.524"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
class BaseWallet {
|
|
7
|
-
constructor({ id, key, address, additionalAddresses = [], chain,
|
|
7
|
+
constructor({ id, key, address, additionalAddresses = [], chain, isAuthenticated, }) {
|
|
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
|
-
this.network = network;
|
|
14
13
|
this.isAuthenticated = isAuthenticated;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -9,7 +9,6 @@ export interface BaseWalletProps {
|
|
|
9
9
|
*/
|
|
10
10
|
additionalAddresses?: WalletAdditionalAddress[];
|
|
11
11
|
chain: string;
|
|
12
|
-
network?: string | number;
|
|
13
12
|
/**
|
|
14
13
|
* If there is a current user, this will be true if and only if the user has signed this wallet
|
|
15
14
|
* to link it to their account
|
|
@@ -22,7 +21,6 @@ export declare class BaseWallet {
|
|
|
22
21
|
address: string;
|
|
23
22
|
additionalAddresses: WalletAdditionalAddress[];
|
|
24
23
|
chain: string;
|
|
25
|
-
network: string | number | undefined;
|
|
26
24
|
isAuthenticated: boolean;
|
|
27
|
-
constructor({ id, key, address, additionalAddresses, chain,
|
|
25
|
+
constructor({ id, key, address, additionalAddresses, chain, isAuthenticated, }: BaseWalletProps);
|
|
28
26
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
class BaseWallet {
|
|
3
|
-
constructor({ id, key, address, additionalAddresses = [], chain,
|
|
3
|
+
constructor({ id, key, address, additionalAddresses = [], chain, isAuthenticated, }) {
|
|
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
|
-
this.network = network;
|
|
10
9
|
this.isAuthenticated = isAuthenticated;
|
|
11
10
|
}
|
|
12
11
|
}
|