@dynamic-labs/sdk-api-core 0.0.840 → 0.0.841
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
package/src/models/Account.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
|
|
6
7
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
var WaasWalletSettings = require('./WaasWalletSettings.cjs');
|
|
8
9
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
@@ -20,6 +21,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
22
|
'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
22
23
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
24
|
+
'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -34,6 +36,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
34
36
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
35
37
|
'derivationPath': value.derivationPath,
|
|
36
38
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
39
|
+
'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
|
|
37
40
|
};
|
|
38
41
|
}
|
|
39
42
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
|
|
12
13
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
14
|
import { WaasWalletSettings } from './WaasWalletSettings';
|
|
14
15
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
@@ -42,6 +43,12 @@ export interface WaasWalletProperties {
|
|
|
42
43
|
* @memberof WaasWalletProperties
|
|
43
44
|
*/
|
|
44
45
|
settings?: WaasWalletSettings;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {EmbeddedWalletVersionEnum}
|
|
49
|
+
* @memberof WaasWalletProperties
|
|
50
|
+
*/
|
|
51
|
+
version?: EmbeddedWalletVersionEnum;
|
|
45
52
|
}
|
|
46
53
|
export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
|
|
47
54
|
export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
|
|
2
3
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
4
|
import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
|
|
4
5
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
@@ -16,6 +17,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
18
|
'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
18
19
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
20
|
+
'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
30
32
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
31
33
|
'derivationPath': value.derivationPath,
|
|
32
34
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
35
|
+
'version': EmbeddedWalletVersionEnumToJSON(value.version),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|