@dynamic-labs/sdk-api-core 0.0.557 → 0.0.559

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.557",
3
+ "version": "0.0.559",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -42,6 +42,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'accountAbstraction': !runtime.exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
43
43
  'enableMultiAsset': !runtime.exists(json, 'enableMultiAsset') ? undefined : json['enableMultiAsset'],
44
44
  'showFiat': !runtime.exists(json, 'showFiat') ? undefined : json['showFiat'],
45
+ 'disabledWalletConnectors': !runtime.exists(json, 'disabledWalletConnectors') ? undefined : json['disabledWalletConnectors'],
45
46
  };
46
47
  }
47
48
  function ProjectSettingsSdkToJSON(value) {
@@ -73,6 +74,7 @@ function ProjectSettingsSdkToJSON(value) {
73
74
  'accountAbstraction': ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
74
75
  'enableMultiAsset': value.enableMultiAsset,
75
76
  'showFiat': value.showFiat,
77
+ 'disabledWalletConnectors': value.disabledWalletConnectors,
76
78
  };
77
79
  }
78
80
 
@@ -149,6 +149,12 @@ export interface ProjectSettingsSdk {
149
149
  * @memberof ProjectSettingsSdk
150
150
  */
151
151
  showFiat?: boolean;
152
+ /**
153
+ * Ids of wallet connectors to filter out from available options in the sdk
154
+ * @type {Array<string>}
155
+ * @memberof ProjectSettingsSdk
156
+ */
157
+ disabledWalletConnectors?: Array<string>;
152
158
  }
153
159
  export declare function ProjectSettingsSdkFromJSON(json: any): ProjectSettingsSdk;
154
160
  export declare function ProjectSettingsSdkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdk;
@@ -38,6 +38,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'accountAbstraction': !exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
39
39
  'enableMultiAsset': !exists(json, 'enableMultiAsset') ? undefined : json['enableMultiAsset'],
40
40
  'showFiat': !exists(json, 'showFiat') ? undefined : json['showFiat'],
41
+ 'disabledWalletConnectors': !exists(json, 'disabledWalletConnectors') ? undefined : json['disabledWalletConnectors'],
41
42
  };
42
43
  }
43
44
  function ProjectSettingsSdkToJSON(value) {
@@ -69,6 +70,7 @@ function ProjectSettingsSdkToJSON(value) {
69
70
  'accountAbstraction': ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
70
71
  'enableMultiAsset': value.enableMultiAsset,
71
72
  'showFiat': value.showFiat,
73
+ 'disabledWalletConnectors': value.disabledWalletConnectors,
72
74
  };
73
75
  }
74
76
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var AssetDiff = require('./AssetDiff.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -15,6 +16,7 @@ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
15
16
  return {
16
17
  'inAssets': (json['inAssets'].map(AssetDiff.AssetDiffFromJSON)),
17
18
  'outAssets': (json['outAssets'].map(AssetDiff.AssetDiffFromJSON)),
19
+ 'counterparties': !runtime.exists(json, 'counterparties') ? undefined : json['counterparties'],
18
20
  };
19
21
  }
20
22
  function SimulateTransactionResponseToJSON(value) {
@@ -27,6 +29,7 @@ function SimulateTransactionResponseToJSON(value) {
27
29
  return {
28
30
  'inAssets': (value.inAssets.map(AssetDiff.AssetDiffToJSON)),
29
31
  'outAssets': (value.outAssets.map(AssetDiff.AssetDiffToJSON)),
32
+ 'counterparties': value.counterparties,
30
33
  };
31
34
  }
32
35
 
@@ -28,6 +28,12 @@ export interface SimulateTransactionResponse {
28
28
  * @memberof SimulateTransactionResponse
29
29
  */
30
30
  outAssets: Array<AssetDiff>;
31
+ /**
32
+ *
33
+ * @type {Array<string>}
34
+ * @memberof SimulateTransactionResponse
35
+ */
36
+ counterparties?: Array<string>;
31
37
  }
32
38
  export declare function SimulateTransactionResponseFromJSON(json: any): SimulateTransactionResponse;
33
39
  export declare function SimulateTransactionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateTransactionResponse;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { AssetDiffFromJSON, AssetDiffToJSON } from './AssetDiff.js';
2
3
 
3
4
  /* tslint:disable */
@@ -11,6 +12,7 @@ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
11
12
  return {
12
13
  'inAssets': (json['inAssets'].map(AssetDiffFromJSON)),
13
14
  'outAssets': (json['outAssets'].map(AssetDiffFromJSON)),
15
+ 'counterparties': !exists(json, 'counterparties') ? undefined : json['counterparties'],
14
16
  };
15
17
  }
16
18
  function SimulateTransactionResponseToJSON(value) {
@@ -23,6 +25,7 @@ function SimulateTransactionResponseToJSON(value) {
23
25
  return {
24
26
  'inAssets': (value.inAssets.map(AssetDiffToJSON)),
25
27
  'outAssets': (value.outAssets.map(AssetDiffToJSON)),
28
+ 'counterparties': value.counterparties,
26
29
  };
27
30
  }
28
31