@dynamic-labs/sdk-api-core 0.0.579 → 0.0.581
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/package.json
CHANGED
|
@@ -18,6 +18,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
18
18
|
}
|
|
19
19
|
return {
|
|
20
20
|
'automaticEmbeddedWalletCreation': !runtime.exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
21
|
+
'automaticEmbeddedWalletCreationForExternal': !runtime.exists(json, 'automaticEmbeddedWalletCreationForExternal') ? undefined : json['automaticEmbeddedWalletCreationForExternal'],
|
|
21
22
|
'showEmbeddedWalletActionsUI': !runtime.exists(json, 'showEmbeddedWalletActionsUI') ? undefined : json['showEmbeddedWalletActionsUI'],
|
|
22
23
|
'emailRecoveryEnabled': !runtime.exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
23
24
|
'forceAuthenticatorAtSignup': !runtime.exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
@@ -28,6 +29,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
28
29
|
'domainEnabledByProvider': !runtime.exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
29
30
|
'defaultWalletVersion': !runtime.exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
|
|
30
31
|
'promptForKeyExport': !runtime.exists(json, 'promptForKeyExport') ? undefined : json['promptForKeyExport'],
|
|
32
|
+
'transactionSimulation': !runtime.exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -39,6 +41,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
43
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
44
|
+
'automaticEmbeddedWalletCreationForExternal': value.automaticEmbeddedWalletCreationForExternal,
|
|
42
45
|
'showEmbeddedWalletActionsUI': value.showEmbeddedWalletActionsUI,
|
|
43
46
|
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
44
47
|
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
@@ -49,6 +52,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
49
52
|
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
50
53
|
'defaultWalletVersion': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
|
|
51
54
|
'promptForKeyExport': value.promptForKeyExport,
|
|
55
|
+
'transactionSimulation': value.transactionSimulation,
|
|
52
56
|
};
|
|
53
57
|
}
|
|
54
58
|
|
|
@@ -25,6 +25,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
|
|
|
25
25
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
26
26
|
*/
|
|
27
27
|
automaticEmbeddedWalletCreation?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* When true embedded wallets will be created for external wallets during sign in. When false embedded wallets are not generated for external wallets during sign in.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
32
|
+
*/
|
|
33
|
+
automaticEmbeddedWalletCreationForExternal?: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* When true users will see embedded wallets action confirmation views.
|
|
30
36
|
* @type {boolean}
|
|
@@ -85,6 +91,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
|
|
|
85
91
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
86
92
|
*/
|
|
87
93
|
promptForKeyExport?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* When true, user transactions will show asset transfers in the Confirmation UI.
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
98
|
+
*/
|
|
99
|
+
transactionSimulation?: boolean;
|
|
88
100
|
}
|
|
89
101
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
|
|
90
102
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
|
|
@@ -14,6 +14,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
16
|
'automaticEmbeddedWalletCreation': !exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
17
|
+
'automaticEmbeddedWalletCreationForExternal': !exists(json, 'automaticEmbeddedWalletCreationForExternal') ? undefined : json['automaticEmbeddedWalletCreationForExternal'],
|
|
17
18
|
'showEmbeddedWalletActionsUI': !exists(json, 'showEmbeddedWalletActionsUI') ? undefined : json['showEmbeddedWalletActionsUI'],
|
|
18
19
|
'emailRecoveryEnabled': !exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
19
20
|
'forceAuthenticatorAtSignup': !exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
@@ -24,6 +25,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
24
25
|
'domainEnabledByProvider': !exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
25
26
|
'defaultWalletVersion': !exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
|
|
26
27
|
'promptForKeyExport': !exists(json, 'promptForKeyExport') ? undefined : json['promptForKeyExport'],
|
|
28
|
+
'transactionSimulation': !exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -35,6 +37,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
37
39
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
40
|
+
'automaticEmbeddedWalletCreationForExternal': value.automaticEmbeddedWalletCreationForExternal,
|
|
38
41
|
'showEmbeddedWalletActionsUI': value.showEmbeddedWalletActionsUI,
|
|
39
42
|
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
40
43
|
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
@@ -45,6 +48,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
45
48
|
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
46
49
|
'defaultWalletVersion': EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
|
|
47
50
|
'promptForKeyExport': value.promptForKeyExport,
|
|
51
|
+
'transactionSimulation': value.transactionSimulation,
|
|
48
52
|
};
|
|
49
53
|
}
|
|
50
54
|
|