@dynamic-labs/sdk-api-core 0.0.666 → 0.0.667
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
|
@@ -23,6 +23,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
|
|
24
24
|
'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
|
|
25
25
|
'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSON)),
|
|
26
|
+
'enableLoginWithExternalWallets': !runtime.exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
|
|
26
27
|
'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
27
28
|
};
|
|
28
29
|
}
|
|
@@ -43,6 +44,7 @@ function GlobalWalletSettingsToJSON(value) {
|
|
|
43
44
|
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
44
45
|
'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
|
|
45
46
|
'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksToJSON)),
|
|
47
|
+
'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
|
|
46
48
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -70,6 +70,12 @@ export interface GlobalWalletSettings {
|
|
|
70
70
|
* @memberof GlobalWalletSettings
|
|
71
71
|
*/
|
|
72
72
|
customMenuLinks?: Array<GlobalWalletSettingsCustomMenuLinks>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof GlobalWalletSettings
|
|
77
|
+
*/
|
|
78
|
+
enableLoginWithExternalWallets?: boolean;
|
|
73
79
|
/**
|
|
74
80
|
* If global wallet is enabled, then this timestamp will be present.
|
|
75
81
|
* @type {Date}
|
|
@@ -19,6 +19,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
|
|
20
20
|
'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
|
|
21
21
|
'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinksFromJSON)),
|
|
22
|
+
'enableLoginWithExternalWallets': !exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
|
|
22
23
|
'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
23
24
|
};
|
|
24
25
|
}
|
|
@@ -39,6 +40,7 @@ function GlobalWalletSettingsToJSON(value) {
|
|
|
39
40
|
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
40
41
|
'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
|
|
41
42
|
'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinksToJSON)),
|
|
43
|
+
'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
|
|
42
44
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
43
45
|
};
|
|
44
46
|
}
|