@dynamic-labs/wallet-connector-core 3.0.0-alpha.48 → 3.0.0-alpha.49
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,21 @@
|
|
|
1
1
|
|
|
2
|
+
## [3.0.0-alpha.49](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.48...v3.0.0-alpha.49) (2024-08-22)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* rename viem-utils package to ethereum-core (#6677)
|
|
8
|
+
* remove ethers-v5 package (#6661)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* force ui on global transactions and fix zerodev global ([#6673](https://github.com/dynamic-labs/DynamicAuth/issues/6673)) ([7317e44](https://github.com/dynamic-labs/DynamicAuth/commit/7317e449044fe4f87d67714afd36bec596d0cece))
|
|
13
|
+
* remove sync call in getWalletClient getSigner methods ([#6678](https://github.com/dynamic-labs/DynamicAuth/issues/6678)) ([a231337](https://github.com/dynamic-labs/DynamicAuth/commit/a231337f81be54d92715044b7dc8bb35c57087bb))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
* remove ethers-v5 package ([#6661](https://github.com/dynamic-labs/DynamicAuth/issues/6661)) ([61cc31b](https://github.com/dynamic-labs/DynamicAuth/commit/61cc31ba4b8346b86a154aabf8842fd38396d632))
|
|
17
|
+
* rename viem-utils package to ethereum-core ([#6677](https://github.com/dynamic-labs/DynamicAuth/issues/6677)) ([ba7fd43](https://github.com/dynamic-labs/DynamicAuth/commit/ba7fd432e332b9f20a4f7aa9403f94722331cde6))
|
|
18
|
+
|
|
2
19
|
## [3.0.0-alpha.48](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.47...v3.0.0-alpha.48) (2024-08-21)
|
|
3
20
|
|
|
4
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.49",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@dynamic-labs/sdk-api-core": "0.0.519"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@dynamic-labs/logger": "3.0.0-alpha.
|
|
33
|
-
"@dynamic-labs/rpc-providers": "3.0.0-alpha.
|
|
34
|
-
"@dynamic-labs/types": "3.0.0-alpha.
|
|
35
|
-
"@dynamic-labs/utils": "3.0.0-alpha.
|
|
36
|
-
"@dynamic-labs/wallet-book": "3.0.0-alpha.
|
|
32
|
+
"@dynamic-labs/logger": "3.0.0-alpha.49",
|
|
33
|
+
"@dynamic-labs/rpc-providers": "3.0.0-alpha.49",
|
|
34
|
+
"@dynamic-labs/types": "3.0.0-alpha.49",
|
|
35
|
+
"@dynamic-labs/utils": "3.0.0-alpha.49",
|
|
36
|
+
"@dynamic-labs/wallet-book": "3.0.0-alpha.49",
|
|
37
37
|
"eventemitter3": "5.0.1"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -56,6 +56,7 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
56
56
|
constructor(props) {
|
|
57
57
|
super();
|
|
58
58
|
this.chainRpcProviders = undefined;
|
|
59
|
+
this.isGlobalTransaction = false;
|
|
59
60
|
_WalletConnectorBase_registeredExtensions.set(this, []);
|
|
60
61
|
this.didSetup = false;
|
|
61
62
|
/**
|
|
@@ -53,6 +53,7 @@ export declare abstract class WalletConnectorBase extends EventEmitter<WalletCon
|
|
|
53
53
|
constructorProps: any;
|
|
54
54
|
_walletBookInstance: WalletBookSingleton;
|
|
55
55
|
walletFallback: WalletSchema | undefined;
|
|
56
|
+
isGlobalTransaction: boolean;
|
|
56
57
|
/**
|
|
57
58
|
* We store the constructor props so that we can use them later on
|
|
58
59
|
* in getMobileOrInstalledWallet which may fall back to a different class
|
|
@@ -71,7 +71,6 @@ class Wallet extends types.BaseWallet {
|
|
|
71
71
|
*/
|
|
72
72
|
getSigner() {
|
|
73
73
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
yield this.sync();
|
|
75
74
|
return _tslib.__classPrivateFieldGet(this, _Wallet_connector, "f").getSigner();
|
|
76
75
|
});
|
|
77
76
|
}
|
|
@@ -83,7 +82,6 @@ class Wallet extends types.BaseWallet {
|
|
|
83
82
|
*/
|
|
84
83
|
getWalletClient(chainId) {
|
|
85
84
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
yield this.sync();
|
|
87
85
|
return _tslib.__classPrivateFieldGet(this, _Wallet_connector, "f").getWalletClient(chainId);
|
|
88
86
|
});
|
|
89
87
|
}
|
|
@@ -67,7 +67,6 @@ class Wallet extends BaseWallet {
|
|
|
67
67
|
*/
|
|
68
68
|
getSigner() {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
yield this.sync();
|
|
71
70
|
return __classPrivateFieldGet(this, _Wallet_connector, "f").getSigner();
|
|
72
71
|
});
|
|
73
72
|
}
|
|
@@ -79,7 +78,6 @@ class Wallet extends BaseWallet {
|
|
|
79
78
|
*/
|
|
80
79
|
getWalletClient(chainId) {
|
|
81
80
|
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
-
yield this.sync();
|
|
83
81
|
return __classPrivateFieldGet(this, _Wallet_connector, "f").getWalletClient(chainId);
|
|
84
82
|
});
|
|
85
83
|
}
|