@dynamic-labs/wallet-connector-core 2.0.0-alpha.27 → 2.0.0-alpha.29
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
|
+
## [2.0.0-alpha.29](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2024-04-10)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* replace sdk-api with sdk-api-core (#5280)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add dynamic client context ([#5250](https://github.com/dynamic-labs/DynamicAuth/issues/5250)) ([778ebe6](https://github.com/dynamic-labs/DynamicAuth/commit/778ebe6313e0bf3c9876feb6eff5bf152c15c55e))
|
|
12
|
+
* **webview-controller:** fetch manifest and render Dynamic SDK ([#5287](https://github.com/dynamic-labs/DynamicAuth/issues/5287)) ([00e84ac](https://github.com/dynamic-labs/DynamicAuth/commit/00e84acc4bdda92bad91108788f8d7882d0790d6))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* don't render modal header component if there's no content ([#5269](https://github.com/dynamic-labs/DynamicAuth/issues/5269)) ([f4d7266](https://github.com/dynamic-labs/DynamicAuth/commit/f4d72668a5243108649774c6581733655f385cab))
|
|
18
|
+
* don't show get extension button when there are no download links ([#5276](https://github.com/dynamic-labs/DynamicAuth/issues/5276)) ([e8cf660](https://github.com/dynamic-labs/DynamicAuth/commit/e8cf66076a9914881a8edda69feb2fb192ac63a3))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* replace sdk-api with sdk-api-core ([#5280](https://github.com/dynamic-labs/DynamicAuth/issues/5280)) ([da4b695](https://github.com/dynamic-labs/DynamicAuth/commit/da4b6955a81d6bfb5c994cd62e21e9ae11a4f454))
|
|
22
|
+
|
|
23
|
+
## [2.0.0-alpha.28](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-04-10)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* improve bridge connect experience on mobile ([#5283](https://github.com/dynamic-labs/DynamicAuth/issues/5283)) ([155e4a9](https://github.com/dynamic-labs/DynamicAuth/commit/155e4a99e2cf5f78a1a5e91e774acbf170d6b083))
|
|
29
|
+
|
|
2
30
|
## [2.0.0-alpha.27](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-04-09)
|
|
3
31
|
|
|
4
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.29",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dynamic-labs/sdk-api": "0.0.
|
|
29
|
+
"@dynamic-labs/sdk-api-core": "0.0.415"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@dynamic-labs/logger": "2.0.0-alpha.
|
|
33
|
-
"@dynamic-labs/rpc-providers": "2.0.0-alpha.
|
|
34
|
-
"@dynamic-labs/types": "2.0.0-alpha.
|
|
35
|
-
"@dynamic-labs/utils": "2.0.0-alpha.
|
|
36
|
-
"@dynamic-labs/wallet-book": "2.0.0-alpha.
|
|
32
|
+
"@dynamic-labs/logger": "2.0.0-alpha.29",
|
|
33
|
+
"@dynamic-labs/rpc-providers": "2.0.0-alpha.29",
|
|
34
|
+
"@dynamic-labs/types": "2.0.0-alpha.29",
|
|
35
|
+
"@dynamic-labs/utils": "2.0.0-alpha.29",
|
|
36
|
+
"@dynamic-labs/wallet-book": "2.0.0-alpha.29",
|
|
37
37
|
"eventemitter3": "5.0.1"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -151,7 +151,7 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
151
151
|
}
|
|
152
152
|
filter() {
|
|
153
153
|
try {
|
|
154
|
-
walletBook.getWalletBookWallet(this.walletBook, this.key);
|
|
154
|
+
walletBook.getWalletBookWallet(this.walletBook, this.key, this.walletFallback);
|
|
155
155
|
return true;
|
|
156
156
|
}
|
|
157
157
|
catch (_a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
|
2
|
-
import { WalletBookSchema } from '@dynamic-labs/wallet-book';
|
|
3
|
-
import type { JwtVerifiedCredential, WalletAdditionalAddress } from '@dynamic-labs/sdk-api';
|
|
2
|
+
import { WalletBookSchema, WalletSchema } from '@dynamic-labs/wallet-book';
|
|
3
|
+
import type { JwtVerifiedCredential, WalletAdditionalAddress } from '@dynamic-labs/sdk-api-core';
|
|
4
4
|
import { IChainRpcProviders } from '@dynamic-labs/rpc-providers';
|
|
5
5
|
import { WalletBookSingleton } from './WalletBookSingleton';
|
|
6
6
|
import { WalletConnectorExtension } from './WalletConnectorExtension';
|
|
@@ -51,6 +51,7 @@ export declare abstract class WalletConnectorBase extends EventEmitter<WalletCon
|
|
|
51
51
|
chainRpcProviders: IChainRpcProviders | undefined;
|
|
52
52
|
constructorProps: any;
|
|
53
53
|
_walletBookInstance: WalletBookSingleton;
|
|
54
|
+
walletFallback: WalletSchema | undefined;
|
|
54
55
|
/**
|
|
55
56
|
* We store the constructor props so that we can use them later on
|
|
56
57
|
* in getMobileOrInstalledWallet which may fall back to a different class
|