@dynamic-labs/ethereum-aa 1.1.2 → 1.1.3
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 +10 -0
- package/package.json +7 -7
- package/src/ZeroDevConnector.cjs +0 -1
- package/src/ZeroDevConnector.d.ts +1 -1
- package/src/ZeroDevConnector.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
|
|
2
|
+
### [1.1.3](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.2...v1.1.3) (2024-02-19)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* improve on transaction confirmation step ([#4704](https://github.com/dynamic-labs/DynamicAuth/issues/4704)) ([#4706](https://github.com/dynamic-labs/DynamicAuth/issues/4706)) ([01964c6](https://github.com/dynamic-labs/DynamicAuth/commit/01964c6a25910526b2c895e84b8a8c6ff5d5b371))
|
|
8
|
+
* prevent the DynamicMultiWalletPromptsWidget from opening if user is not logged in ([#4707](https://github.com/dynamic-labs/DynamicAuth/issues/4707)) ([af28726](https://github.com/dynamic-labs/DynamicAuth/commit/af287267496913e38657b12bf901275b5b781c64))
|
|
9
|
+
* use phantom injected when on in-app browser ([#4630](https://github.com/dynamic-labs/DynamicAuth/issues/4630)) ([#4635](https://github.com/dynamic-labs/DynamicAuth/issues/4635)) ([cc02648](https://github.com/dynamic-labs/DynamicAuth/commit/cc026484d141d3bf3cac2a876d859a17054e1535))
|
|
10
|
+
* wait for sdkHasLoaded to process phantom redirect ([#4628](https://github.com/dynamic-labs/DynamicAuth/issues/4628)) ([#4634](https://github.com/dynamic-labs/DynamicAuth/issues/4634)) ([ca1a0f0](https://github.com/dynamic-labs/DynamicAuth/commit/ca1a0f07ca70ebb07cd33ec585ed3995282a5799))
|
|
11
|
+
|
|
2
12
|
### [1.1.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.1...v1.1.2) (2024-02-13)
|
|
3
13
|
|
|
4
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@zerodev/sdk": "^4.1.5",
|
|
30
30
|
"@dynamic-labs/sdk-api": "0.0.363",
|
|
31
|
-
"@dynamic-labs/logger": "1.1.
|
|
32
|
-
"@dynamic-labs/types": "1.1.
|
|
33
|
-
"@dynamic-labs/utils": "1.1.
|
|
34
|
-
"@dynamic-labs/viem-utils": "1.1.
|
|
35
|
-
"@dynamic-labs/wallet-book": "1.1.
|
|
36
|
-
"@dynamic-labs/wallet-connector-core": "1.1.
|
|
31
|
+
"@dynamic-labs/logger": "1.1.3",
|
|
32
|
+
"@dynamic-labs/types": "1.1.3",
|
|
33
|
+
"@dynamic-labs/utils": "1.1.3",
|
|
34
|
+
"@dynamic-labs/viem-utils": "1.1.3",
|
|
35
|
+
"@dynamic-labs/wallet-book": "1.1.3",
|
|
36
|
+
"@dynamic-labs/wallet-connector-core": "1.1.3"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"viem": "^1.19.13 || ^2.2.0"
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -122,7 +122,6 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
122
122
|
}
|
|
123
123
|
getTransport(provider) {
|
|
124
124
|
const transport = viemUtils.confirmationTransport({
|
|
125
|
-
connector: this,
|
|
126
125
|
onPersonalSign: ({ message }) => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
127
126
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
128
127
|
return provider.signMessage(message);
|
|
@@ -10,7 +10,7 @@ type ZeroDevConnectorProps = {
|
|
|
10
10
|
};
|
|
11
11
|
evmNetworks: GenericNetwork[];
|
|
12
12
|
walletBook: WalletBookSchema;
|
|
13
|
-
walletUiUtils: WalletUiUtils
|
|
13
|
+
walletUiUtils: WalletUiUtils;
|
|
14
14
|
};
|
|
15
15
|
export declare class ZeroDevConnector extends WalletConnectorBase implements IAccountAbstractionWalletConnector {
|
|
16
16
|
projectId: string;
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -118,7 +118,6 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
118
118
|
}
|
|
119
119
|
getTransport(provider) {
|
|
120
120
|
const transport = confirmationTransport({
|
|
121
|
-
connector: this,
|
|
122
121
|
onPersonalSign: ({ message }) => __awaiter(this, void 0, void 0, function* () {
|
|
123
122
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
124
123
|
return provider.signMessage(message);
|