@dynamic-labs/sdk-api 0.0.388 → 0.0.389
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 ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
23
23
|
'sessionKeyDuration': !runtime.exists(json, 'sessionKeyDuration') ? undefined : Duration.DurationFromJSON(json['sessionKeyDuration']),
|
|
24
24
|
'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
25
25
|
'chainConfigurations': !runtime.exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfiguration.ChainConfigurationFromJSON)),
|
|
26
|
+
'domainEnabledByProvider': !runtime.exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -40,6 +41,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
40
41
|
'sessionKeyDuration': Duration.DurationToJSON(value.sessionKeyDuration),
|
|
41
42
|
'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
42
43
|
'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfiguration.ChainConfigurationToJSON)),
|
|
44
|
+
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -60,6 +60,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
|
|
|
60
60
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
61
61
|
*/
|
|
62
62
|
chainConfigurations?: Array<ChainConfiguration>;
|
|
63
|
+
/**
|
|
64
|
+
* When a client domain needs to be whitelisted explicitly by one of our embedded wallet providers, this will be true when Dynamic has confirmed that this is the case.
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
67
|
+
*/
|
|
68
|
+
domainEnabledByProvider?: boolean;
|
|
63
69
|
}
|
|
64
70
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
|
|
65
71
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
|
|
@@ -19,6 +19,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
19
19
|
'sessionKeyDuration': !exists(json, 'sessionKeyDuration') ? undefined : DurationFromJSON(json['sessionKeyDuration']),
|
|
20
20
|
'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
21
21
|
'chainConfigurations': !exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfigurationFromJSON)),
|
|
22
|
+
'domainEnabledByProvider': !exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -36,6 +37,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
36
37
|
'sessionKeyDuration': DurationToJSON(value.sessionKeyDuration),
|
|
37
38
|
'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
38
39
|
'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfigurationToJSON)),
|
|
40
|
+
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
|