@dynamic-labs/sdk-api-core 0.0.633 → 0.0.635

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.633",
3
+ "version": "0.0.635",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,6 +17,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
17
17
  return {
18
18
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
19
19
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
20
+ 'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
20
21
  };
21
22
  }
22
23
  function WaasWalletPropertiesToJSON(value) {
@@ -29,6 +30,7 @@ function WaasWalletPropertiesToJSON(value) {
29
30
  return {
30
31
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
31
32
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
33
+ 'derivationPath': value.derivationPath,
32
34
  };
33
35
  }
34
36
 
@@ -29,6 +29,12 @@ export interface WaasWalletProperties {
29
29
  * @memberof WaasWalletProperties
30
30
  */
31
31
  thresholdSignatureScheme?: ThresholdSignatureScheme;
32
+ /**
33
+ * The derivation path for the wallet
34
+ * @type {string}
35
+ * @memberof WaasWalletProperties
36
+ */
37
+ derivationPath?: string;
32
38
  }
33
39
  export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
34
40
  export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
@@ -13,6 +13,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return {
14
14
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
15
15
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
16
+ 'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
16
17
  };
17
18
  }
18
19
  function WaasWalletPropertiesToJSON(value) {
@@ -25,6 +26,7 @@ function WaasWalletPropertiesToJSON(value) {
25
26
  return {
26
27
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
27
28
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
29
+ 'derivationPath': value.derivationPath,
28
30
  };
29
31
  }
30
32
 
@@ -36,6 +36,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
37
37
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
38
38
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
39
+ 'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
39
40
  };
40
41
  }
41
42
  function WalletPropertiesToJSON(value) {
@@ -61,6 +62,7 @@ function WalletPropertiesToJSON(value) {
61
62
  'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
62
63
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
63
64
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
65
+ 'derivationPath': value.derivationPath,
64
66
  };
65
67
  }
66
68
 
@@ -113,6 +113,12 @@ export interface WalletProperties {
113
113
  * @memberof WalletProperties
114
114
  */
115
115
  thresholdSignatureScheme?: ThresholdSignatureScheme;
116
+ /**
117
+ * The derivation path for the wallet
118
+ * @type {string}
119
+ * @memberof WalletProperties
120
+ */
121
+ derivationPath?: string;
116
122
  }
117
123
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
118
124
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -32,6 +32,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
33
33
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
34
34
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
35
+ 'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
35
36
  };
36
37
  }
37
38
  function WalletPropertiesToJSON(value) {
@@ -57,6 +58,7 @@ function WalletPropertiesToJSON(value) {
57
58
  'source': PasswordSourceTypeEnumToJSON(value.source),
58
59
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
59
60
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
61
+ 'derivationPath': value.derivationPath,
60
62
  };
61
63
  }
62
64