@dynamic-labs/sdk-api-core 0.0.776 → 0.0.778

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.776",
3
+ "version": "0.0.778",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -15,6 +15,7 @@ require('../models/AuthenticatorTransportProtocol.cjs');
15
15
  var BackupKeySharesToLocationRequest = require('../models/BackupKeySharesToLocationRequest.cjs');
16
16
  var BackupKeySharesToLocationResponse = require('../models/BackupKeySharesToLocationResponse.cjs');
17
17
  var BackupKeySharesToLocationsRequest = require('../models/BackupKeySharesToLocationsRequest.cjs');
18
+ require('../models/ThresholdSignatureScheme.cjs');
18
19
  require('../models/WaasBackupOptionsEnum.cjs');
19
20
  var BackupKeySharesToLocationsResponse = require('../models/BackupKeySharesToLocationsResponse.cjs');
20
21
  var BackupMultipleClientKeySharesRequest = require('../models/BackupMultipleClientKeySharesRequest.cjs');
@@ -28,7 +29,6 @@ require('../models/HardwareWalletEnum.cjs');
28
29
  require('../models/PasswordSourceTypeEnum.cjs');
29
30
  require('../models/ProviderEntryPointVersionEnum.cjs');
30
31
  require('../models/ProviderKernelVersionEnum.cjs');
31
- require('../models/ThresholdSignatureScheme.cjs');
32
32
  require('../models/WalletProviderEnum.cjs');
33
33
  require('../models/MfaBackupCodeAcknowledgement.cjs');
34
34
  require('../models/CustomFieldType.cjs');
@@ -11,6 +11,7 @@ import '../models/AuthenticatorTransportProtocol.js';
11
11
  import { BackupKeySharesToLocationRequestToJSON } from '../models/BackupKeySharesToLocationRequest.js';
12
12
  import { BackupKeySharesToLocationResponseFromJSON } from '../models/BackupKeySharesToLocationResponse.js';
13
13
  import { BackupKeySharesToLocationsRequestToJSON } from '../models/BackupKeySharesToLocationsRequest.js';
14
+ import '../models/ThresholdSignatureScheme.js';
14
15
  import '../models/WaasBackupOptionsEnum.js';
15
16
  import { BackupKeySharesToLocationsResponseFromJSON } from '../models/BackupKeySharesToLocationsResponse.js';
16
17
  import { BackupMultipleClientKeySharesRequestToJSON } from '../models/BackupMultipleClientKeySharesRequest.js';
@@ -24,7 +25,6 @@ import '../models/HardwareWalletEnum.js';
24
25
  import '../models/PasswordSourceTypeEnum.js';
25
26
  import '../models/ProviderEntryPointVersionEnum.js';
26
27
  import '../models/ProviderKernelVersionEnum.js';
27
- import '../models/ThresholdSignatureScheme.js';
28
28
  import '../models/WalletProviderEnum.js';
29
29
  import '../models/MfaBackupCodeAcknowledgement.js';
30
30
  import '../models/CustomFieldType.js';
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
6
7
  var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -15,6 +16,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
15
16
  }
16
17
  return {
17
18
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
19
+ 'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
18
20
  'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
19
21
  };
20
22
  }
@@ -27,6 +29,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
27
29
  }
28
30
  return {
29
31
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
32
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
30
33
  'externalKeyShareId': value.externalKeyShareId,
31
34
  };
32
35
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
12
13
  import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
13
14
  /**
14
15
  *
@@ -22,6 +23,12 @@ export interface BackupKeySharesToLocationsRequestLocations {
22
23
  * @memberof BackupKeySharesToLocationsRequestLocations
23
24
  */
24
25
  location: WaasBackupOptionsEnum;
26
+ /**
27
+ *
28
+ * @type {ThresholdSignatureScheme}
29
+ * @memberof BackupKeySharesToLocationsRequestLocations
30
+ */
31
+ thresholdSignatureScheme?: ThresholdSignatureScheme;
25
32
  /**
26
33
  *
27
34
  * @type {string}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
2
3
  import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
3
4
 
4
5
  /* tslint:disable */
@@ -11,6 +12,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
11
12
  }
12
13
  return {
13
14
  'location': WaasBackupOptionsEnumFromJSON(json['location']),
15
+ 'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
14
16
  'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
15
17
  };
16
18
  }
@@ -23,6 +25,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
23
25
  }
24
26
  return {
25
27
  'location': WaasBackupOptionsEnumToJSON(value.location),
28
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
26
29
  'externalKeyShareId': value.externalKeyShareId,
27
30
  };
28
31
  }
@@ -16,6 +16,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
16
16
  return json;
17
17
  }
18
18
  return {
19
+ 'allowMultipleWaasWalletsPerChain': !runtime.exists(json, 'allowMultipleWaasWalletsPerChain') ? undefined : json['allowMultipleWaasWalletsPerChain'],
19
20
  'passcodeRequired': json['passcodeRequired'],
20
21
  'onSignUp': ProjectSettingsSdkWaasOnSignUp.ProjectSettingsSdkWaasOnSignUpFromJSON(json['onSignUp']),
21
22
  'backupOptions': (json['backupOptions'].map(WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON)),
@@ -32,6 +33,7 @@ function ProjectSettingsSdkWaasToJSON(value) {
32
33
  return null;
33
34
  }
34
35
  return {
36
+ 'allowMultipleWaasWalletsPerChain': value.allowMultipleWaasWalletsPerChain,
35
37
  'passcodeRequired': value.passcodeRequired,
36
38
  'onSignUp': ProjectSettingsSdkWaasOnSignUp.ProjectSettingsSdkWaasOnSignUpToJSON(value.onSignUp),
37
39
  'backupOptions': (value.backupOptions.map(WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON)),
@@ -18,6 +18,12 @@ import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
18
18
  * @interface ProjectSettingsSdkWaas
19
19
  */
20
20
  export interface ProjectSettingsSdkWaas {
21
+ /**
22
+ * When true, users can have multiple WAAS wallets per chain.
23
+ * @type {boolean}
24
+ * @memberof ProjectSettingsSdkWaas
25
+ */
26
+ allowMultipleWaasWalletsPerChain?: boolean;
21
27
  /**
22
28
  * When true, passcode security method is forced for v3 embedded wallets. Usually it is an optional security method.
23
29
  * @type {boolean}
@@ -12,6 +12,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
12
12
  return json;
13
13
  }
14
14
  return {
15
+ 'allowMultipleWaasWalletsPerChain': !exists(json, 'allowMultipleWaasWalletsPerChain') ? undefined : json['allowMultipleWaasWalletsPerChain'],
15
16
  'passcodeRequired': json['passcodeRequired'],
16
17
  'onSignUp': ProjectSettingsSdkWaasOnSignUpFromJSON(json['onSignUp']),
17
18
  'backupOptions': (json['backupOptions'].map(WaasBackupOptionsEnumFromJSON)),
@@ -28,6 +29,7 @@ function ProjectSettingsSdkWaasToJSON(value) {
28
29
  return null;
29
30
  }
30
31
  return {
32
+ 'allowMultipleWaasWalletsPerChain': value.allowMultipleWaasWalletsPerChain,
31
33
  'passcodeRequired': value.passcodeRequired,
32
34
  'onSignUp': ProjectSettingsSdkWaasOnSignUpToJSON(value.onSignUp),
33
35
  'backupOptions': (value.backupOptions.map(WaasBackupOptionsEnumToJSON)),