@dynamic-labs/sdk-api 0.0.1117 → 0.0.1118
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
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
8
|
function FeatureFlagsFromJSON(json) {
|
|
19
9
|
return FeatureFlagsFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -25,6 +15,7 @@ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
15
|
return {
|
|
26
16
|
'connectOnlyMultiAsset': json['connectOnlyMultiAsset'],
|
|
27
17
|
'enableExchanges': json['enableExchanges'],
|
|
18
|
+
'enableExternalWalletOnTransactionSanctions': !runtime.exists(json, 'enableExternalWalletOnTransactionSanctions') ? undefined : json['enableExternalWalletOnTransactionSanctions'],
|
|
28
19
|
};
|
|
29
20
|
}
|
|
30
21
|
function FeatureFlagsToJSON(value) {
|
|
@@ -37,6 +28,7 @@ function FeatureFlagsToJSON(value) {
|
|
|
37
28
|
return {
|
|
38
29
|
'connectOnlyMultiAsset': value.connectOnlyMultiAsset,
|
|
39
30
|
'enableExchanges': value.enableExchanges,
|
|
31
|
+
'enableExternalWalletOnTransactionSanctions': value.enableExternalWalletOnTransactionSanctions,
|
|
40
32
|
};
|
|
41
33
|
}
|
|
42
34
|
|
|
@@ -27,6 +27,12 @@ export interface FeatureFlags {
|
|
|
27
27
|
* @memberof FeatureFlags
|
|
28
28
|
*/
|
|
29
29
|
enableExchanges: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether on-transaction sanction screening is enabled for connected wallets
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof FeatureFlags
|
|
34
|
+
*/
|
|
35
|
+
enableExternalWalletOnTransactionSanctions?: boolean;
|
|
30
36
|
}
|
|
31
37
|
export declare function FeatureFlagsFromJSON(json: any): FeatureFlags;
|
|
32
38
|
export declare function FeatureFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureFlags;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
4
|
function FeatureFlagsFromJSON(json) {
|
|
15
5
|
return FeatureFlagsFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -21,6 +11,7 @@ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
11
|
return {
|
|
22
12
|
'connectOnlyMultiAsset': json['connectOnlyMultiAsset'],
|
|
23
13
|
'enableExchanges': json['enableExchanges'],
|
|
14
|
+
'enableExternalWalletOnTransactionSanctions': !exists(json, 'enableExternalWalletOnTransactionSanctions') ? undefined : json['enableExternalWalletOnTransactionSanctions'],
|
|
24
15
|
};
|
|
25
16
|
}
|
|
26
17
|
function FeatureFlagsToJSON(value) {
|
|
@@ -33,6 +24,7 @@ function FeatureFlagsToJSON(value) {
|
|
|
33
24
|
return {
|
|
34
25
|
'connectOnlyMultiAsset': value.connectOnlyMultiAsset,
|
|
35
26
|
'enableExchanges': value.enableExchanges,
|
|
27
|
+
'enableExternalWalletOnTransactionSanctions': value.enableExternalWalletOnTransactionSanctions,
|
|
36
28
|
};
|
|
37
29
|
}
|
|
38
30
|
|