@dynamic-labs/sdk-api 0.0.349 → 0.0.350
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
|
'automaticEmbeddedWalletCreation': !runtime.exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
19
19
|
'emailRecoveryEnabled': !runtime.exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
20
20
|
'forceAuthenticatorAtSignup': !runtime.exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
21
|
+
'allowSkippingAuthenticatorAtSignup': !runtime.exists(json, 'allowSkippingAuthenticatorAtSignup') ? undefined : json['allowSkippingAuthenticatorAtSignup'],
|
|
21
22
|
'sessionKeyDuration': !runtime.exists(json, 'sessionKeyDuration') ? undefined : Duration.DurationFromJSON(json['sessionKeyDuration']),
|
|
22
23
|
'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
23
24
|
};
|
|
@@ -33,6 +34,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
33
34
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
34
35
|
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
35
36
|
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
37
|
+
'allowSkippingAuthenticatorAtSignup': value.allowSkippingAuthenticatorAtSignup,
|
|
36
38
|
'sessionKeyDuration': Duration.DurationToJSON(value.sessionKeyDuration),
|
|
37
39
|
'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
38
40
|
};
|
|
@@ -18,23 +18,29 @@ import { SupportedSecurityMethods } from './SupportedSecurityMethods';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface ProjectSettingsSdkEmbeddedWallets {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* When true embedded wallets will be generated during onboarding for the users. When false customer needs to trigger the creation.
|
|
22
22
|
* @type {boolean}
|
|
23
23
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
24
24
|
*/
|
|
25
25
|
automaticEmbeddedWalletCreation?: boolean;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* When true users will be able to start recovery for their accounts.
|
|
28
28
|
* @type {boolean}
|
|
29
29
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
30
30
|
*/
|
|
31
31
|
emailRecoveryEnabled?: boolean;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* When true user will be prompted to add a security method during onboarding. When false user will need to add a security method before a transaction
|
|
34
34
|
* @type {boolean}
|
|
35
35
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
36
36
|
*/
|
|
37
37
|
forceAuthenticatorAtSignup?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* When combined with forceAuthenticatorAtSignup it allows user to skip adding a security method during onboarding. User will need to add it before a transaction.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
42
|
+
*/
|
|
43
|
+
allowSkippingAuthenticatorAtSignup?: boolean;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {Duration}
|
|
@@ -14,6 +14,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
14
14
|
'automaticEmbeddedWalletCreation': !exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
15
15
|
'emailRecoveryEnabled': !exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
16
16
|
'forceAuthenticatorAtSignup': !exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
17
|
+
'allowSkippingAuthenticatorAtSignup': !exists(json, 'allowSkippingAuthenticatorAtSignup') ? undefined : json['allowSkippingAuthenticatorAtSignup'],
|
|
17
18
|
'sessionKeyDuration': !exists(json, 'sessionKeyDuration') ? undefined : DurationFromJSON(json['sessionKeyDuration']),
|
|
18
19
|
'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
19
20
|
};
|
|
@@ -29,6 +30,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
29
30
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
30
31
|
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
31
32
|
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
33
|
+
'allowSkippingAuthenticatorAtSignup': value.allowSkippingAuthenticatorAtSignup,
|
|
32
34
|
'sessionKeyDuration': DurationToJSON(value.sessionKeyDuration),
|
|
33
35
|
'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
34
36
|
};
|