@dynamic-labs/wallet-book 0.18.0-RC.0 → 0.18.0-RC.1
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 +8 -0
- package/package.json +2 -2
- package/src/build/index.d.ts +41 -1
- package/src/build/sources/walletConnect/index.d.ts +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.18.0-RC.1](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.0...v0.18.0-RC.1) (2023-06-14)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* await setEmailInput in handleSubmit for LoginWithemailForm ([#2336](https://github.com/dynamic-labs/DynamicAuth/issues/2336)) ([05b1fe0](https://github.com/dynamic-labs/DynamicAuth/commit/05b1fe09abaa1563fb187cf410b1e0e991f29c60))
|
|
8
|
+
* don't remove project settings from ls if there's a connected wallet ([#2329](https://github.com/dynamic-labs/DynamicAuth/issues/2329)) ([bc2f627](https://github.com/dynamic-labs/DynamicAuth/commit/bc2f627a80d0a8e6a4637dc60c699ffd07362a19))
|
|
9
|
+
|
|
2
10
|
## [0.18.0-RC.0](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0...v0.18.0-RC.0) (2023-06-14)
|
|
3
11
|
|
|
4
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-book",
|
|
3
|
-
"version": "0.18.0-RC.
|
|
3
|
+
"version": "0.18.0-RC.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"react-dom": "^17.0.2 || ^18.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@dynamic-labs/logger": "0.18.0-RC.
|
|
32
|
+
"@dynamic-labs/logger": "0.18.0-RC.1"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/build/index.d.ts
CHANGED
|
@@ -1 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
import { WalletRecordsSchema } from '../schemas';
|
|
2
|
+
/**
|
|
3
|
+
* Create a fallback wallet book with only the wallets that are in the fallback list.
|
|
4
|
+
* They must exist in the main wallet book
|
|
5
|
+
* @param wallets
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) => Record<string, {
|
|
9
|
+
name: string;
|
|
10
|
+
brand?: {
|
|
11
|
+
alt?: string | undefined;
|
|
12
|
+
imageId?: string | undefined;
|
|
13
|
+
primaryColor?: string | undefined;
|
|
14
|
+
spriteId?: string | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
chains?: string[] | undefined;
|
|
17
|
+
desktop?: {
|
|
18
|
+
chromeId?: string | undefined;
|
|
19
|
+
edgeId?: string | undefined;
|
|
20
|
+
firefoxId?: string | undefined;
|
|
21
|
+
native?: string | undefined;
|
|
22
|
+
operaId?: string | undefined;
|
|
23
|
+
safariId?: string | undefined;
|
|
24
|
+
universal?: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
group?: string | undefined;
|
|
27
|
+
mobile?: {
|
|
28
|
+
android?: string | null | undefined;
|
|
29
|
+
androidId?: string | undefined;
|
|
30
|
+
ios?: string | null | undefined;
|
|
31
|
+
iosId?: string | undefined;
|
|
32
|
+
native?: string | undefined;
|
|
33
|
+
universal?: string | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
shortName?: string | undefined;
|
|
36
|
+
showOnlyIfInstalled?: boolean | undefined;
|
|
37
|
+
switchNetworkOnlyFromWallet?: boolean | undefined;
|
|
38
|
+
walletConnect?: {
|
|
39
|
+
sdks?: string[] | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
}>;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
export declare const walletConnectSourceData: Record<string, {
|
|
2
|
-
|
|
3
|
-
metadata: {
|
|
4
|
-
shortName: string | null;
|
|
5
|
-
colors: {
|
|
6
|
-
primary: string | null;
|
|
7
|
-
secondary: string | null;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
2
|
+
name: string;
|
|
10
3
|
chains: string[];
|
|
11
4
|
desktop: {
|
|
12
5
|
native: string | null;
|
|
@@ -16,7 +9,6 @@ export declare const walletConnectSourceData: Record<string, {
|
|
|
16
9
|
native: string | null;
|
|
17
10
|
universal: string | null;
|
|
18
11
|
};
|
|
19
|
-
name: string;
|
|
20
12
|
sdks: string[];
|
|
21
13
|
app: {
|
|
22
14
|
android: string | null;
|
|
@@ -34,6 +26,7 @@ export declare const walletConnectSourceData: Record<string, {
|
|
|
34
26
|
app_type: string;
|
|
35
27
|
description: string | null;
|
|
36
28
|
homepage: string;
|
|
29
|
+
id: string;
|
|
37
30
|
image_id: string;
|
|
38
31
|
image_url: {
|
|
39
32
|
lg: string;
|
|
@@ -44,13 +37,20 @@ export declare const walletConnectSourceData: Record<string, {
|
|
|
44
37
|
injected_id: string;
|
|
45
38
|
namespace: string;
|
|
46
39
|
}[] | null;
|
|
40
|
+
metadata: {
|
|
41
|
+
shortName: string | null;
|
|
42
|
+
colors: {
|
|
43
|
+
primary: string | null;
|
|
44
|
+
secondary: string | null;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
47
|
slug: string;
|
|
48
48
|
supported_standards: {
|
|
49
|
-
url: string;
|
|
50
49
|
id: string;
|
|
51
|
-
title: string;
|
|
52
50
|
standard_id: number;
|
|
53
51
|
standard_prefix: string;
|
|
52
|
+
title: string;
|
|
53
|
+
url: string;
|
|
54
54
|
}[];
|
|
55
55
|
updatedAt: string;
|
|
56
56
|
versions: string[];
|