@dynamic-labs/sdk-api-core 0.0.606 → 0.0.607
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 +1 -1
- package/src/index.cjs +8 -0
- package/src/index.js +2 -0
- package/src/models/WaasWalletProperties.cjs +34 -0
- package/src/models/WaasWalletProperties.d.ts +28 -0
- package/src/models/WaasWalletProperties.js +28 -0
- package/src/models/WalletKeyShareInfo.cjs +47 -0
- package/src/models/WalletKeyShareInfo.d.ts +39 -0
- package/src/models/WalletKeyShareInfo.js +41 -0
- package/src/models/WalletProperties.cjs +3 -0
- package/src/models/WalletProperties.d.ts +7 -0
- package/src/models/WalletProperties.js +3 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -269,8 +269,10 @@ var V7UserOp = require('./models/V7UserOp.cjs');
|
|
|
269
269
|
var VerifyRequest = require('./models/VerifyRequest.cjs');
|
|
270
270
|
var VerifyResponse = require('./models/VerifyResponse.cjs');
|
|
271
271
|
var VerifyUnlinkRequest = require('./models/VerifyUnlinkRequest.cjs');
|
|
272
|
+
var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
|
|
272
273
|
var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
|
|
273
274
|
var WalletAddressType = require('./models/WalletAddressType.cjs');
|
|
275
|
+
var WalletKeyShareInfo = require('./models/WalletKeyShareInfo.cjs');
|
|
274
276
|
var WalletProperties = require('./models/WalletProperties.cjs');
|
|
275
277
|
var WalletProviderEnum = require('./models/WalletProviderEnum.cjs');
|
|
276
278
|
|
|
@@ -1281,6 +1283,9 @@ exports.VerifyResponseToJSON = VerifyResponse.VerifyResponseToJSON;
|
|
|
1281
1283
|
exports.VerifyUnlinkRequestFromJSON = VerifyUnlinkRequest.VerifyUnlinkRequestFromJSON;
|
|
1282
1284
|
exports.VerifyUnlinkRequestFromJSONTyped = VerifyUnlinkRequest.VerifyUnlinkRequestFromJSONTyped;
|
|
1283
1285
|
exports.VerifyUnlinkRequestToJSON = VerifyUnlinkRequest.VerifyUnlinkRequestToJSON;
|
|
1286
|
+
exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
|
|
1287
|
+
exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
|
|
1288
|
+
exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
|
|
1284
1289
|
exports.WalletAdditionalAddressFromJSON = WalletAdditionalAddress.WalletAdditionalAddressFromJSON;
|
|
1285
1290
|
exports.WalletAdditionalAddressFromJSONTyped = WalletAdditionalAddress.WalletAdditionalAddressFromJSONTyped;
|
|
1286
1291
|
exports.WalletAdditionalAddressToJSON = WalletAdditionalAddress.WalletAdditionalAddressToJSON;
|
|
@@ -1291,6 +1296,9 @@ Object.defineProperty(exports, 'WalletAddressType', {
|
|
|
1291
1296
|
exports.WalletAddressTypeFromJSON = WalletAddressType.WalletAddressTypeFromJSON;
|
|
1292
1297
|
exports.WalletAddressTypeFromJSONTyped = WalletAddressType.WalletAddressTypeFromJSONTyped;
|
|
1293
1298
|
exports.WalletAddressTypeToJSON = WalletAddressType.WalletAddressTypeToJSON;
|
|
1299
|
+
exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfo.WalletKeyShareInfoFromJSON;
|
|
1300
|
+
exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfo.WalletKeyShareInfoFromJSONTyped;
|
|
1301
|
+
exports.WalletKeyShareInfoToJSON = WalletKeyShareInfo.WalletKeyShareInfoToJSON;
|
|
1294
1302
|
exports.WalletPropertiesFromJSON = WalletProperties.WalletPropertiesFromJSON;
|
|
1295
1303
|
exports.WalletPropertiesFromJSONTyped = WalletProperties.WalletPropertiesFromJSONTyped;
|
|
1296
1304
|
exports.WalletPropertiesToJSON = WalletProperties.WalletPropertiesToJSON;
|
package/src/index.js
CHANGED
|
@@ -265,7 +265,9 @@ export { V7UserOpFromJSON, V7UserOpFromJSONTyped, V7UserOpToJSON } from './model
|
|
|
265
265
|
export { VerifyRequestFromJSON, VerifyRequestFromJSONTyped, VerifyRequestToJSON } from './models/VerifyRequest.js';
|
|
266
266
|
export { VerifyResponseFromJSON, VerifyResponseFromJSONTyped, VerifyResponseToJSON } from './models/VerifyResponse.js';
|
|
267
267
|
export { VerifyUnlinkRequestFromJSON, VerifyUnlinkRequestFromJSONTyped, VerifyUnlinkRequestToJSON } from './models/VerifyUnlinkRequest.js';
|
|
268
|
+
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
|
|
268
269
|
export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
|
|
269
270
|
export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
|
|
271
|
+
export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON } from './models/WalletKeyShareInfo.js';
|
|
270
272
|
export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletPropertiesToJSON } from './models/WalletProperties.js';
|
|
271
273
|
export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasWalletPropertiesFromJSON(json) {
|
|
10
|
+
return WaasWalletPropertiesFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasWalletPropertiesToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.WaasWalletPropertiesFromJSON = WaasWalletPropertiesFromJSON;
|
|
33
|
+
exports.WaasWalletPropertiesFromJSONTyped = WaasWalletPropertiesFromJSONTyped;
|
|
34
|
+
exports.WaasWalletPropertiesToJSON = WaasWalletPropertiesToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasWalletProperties
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasWalletProperties {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WalletKeyShareInfo>}
|
|
22
|
+
* @memberof WaasWalletProperties
|
|
23
|
+
*/
|
|
24
|
+
keyShares?: Array<WalletKeyShareInfo>;
|
|
25
|
+
}
|
|
26
|
+
export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
|
|
27
|
+
export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
|
|
28
|
+
export declare function WaasWalletPropertiesToJSON(value?: WaasWalletProperties | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function WaasWalletPropertiesFromJSON(json) {
|
|
6
|
+
return WaasWalletPropertiesFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasWalletPropertiesToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* 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
|
+
function WalletKeyShareInfoFromJSON(json) {
|
|
19
|
+
return WalletKeyShareInfoFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'id': json['id'],
|
|
27
|
+
'backupLocation': json['backupLocation'],
|
|
28
|
+
'passwordEncrypted': json['passwordEncrypted'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function WalletKeyShareInfoToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': value.id,
|
|
40
|
+
'backupLocation': value.backupLocation,
|
|
41
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfoFromJSON;
|
|
46
|
+
exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfoFromJSONTyped;
|
|
47
|
+
exports.WalletKeyShareInfoToJSON = WalletKeyShareInfoToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WalletKeyShareInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface WalletKeyShareInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WalletKeyShareInfo
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WalletKeyShareInfo
|
|
28
|
+
*/
|
|
29
|
+
backupLocation: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof WalletKeyShareInfo
|
|
34
|
+
*/
|
|
35
|
+
passwordEncrypted: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare function WalletKeyShareInfoFromJSON(json: any): WalletKeyShareInfo;
|
|
38
|
+
export declare function WalletKeyShareInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletKeyShareInfo;
|
|
39
|
+
export declare function WalletKeyShareInfoToJSON(value?: WalletKeyShareInfo | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* 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
|
+
function WalletKeyShareInfoFromJSON(json) {
|
|
15
|
+
return WalletKeyShareInfoFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'id': json['id'],
|
|
23
|
+
'backupLocation': json['backupLocation'],
|
|
24
|
+
'passwordEncrypted': json['passwordEncrypted'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function WalletKeyShareInfoToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': value.id,
|
|
36
|
+
'backupLocation': value.backupLocation,
|
|
37
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON };
|
|
@@ -9,6 +9,7 @@ var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
|
|
|
9
9
|
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
10
10
|
var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
|
|
11
11
|
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
12
|
+
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
12
13
|
|
|
13
14
|
/* tslint:disable */
|
|
14
15
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -32,6 +33,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
33
34
|
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
34
35
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
36
|
+
'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
function WalletPropertiesToJSON(value) {
|
|
@@ -55,6 +57,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
55
57
|
'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
56
58
|
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
57
59
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
60
|
+
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
|
|
58
61
|
};
|
|
59
62
|
}
|
|
60
63
|
|
|
@@ -15,6 +15,7 @@ import { HardwareWalletEnum } from './HardwareWalletEnum';
|
|
|
15
15
|
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
16
16
|
import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
17
17
|
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
18
|
+
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
21
|
* @export
|
|
@@ -99,6 +100,12 @@ export interface WalletProperties {
|
|
|
99
100
|
* @memberof WalletProperties
|
|
100
101
|
*/
|
|
101
102
|
ecdsaProviderType?: EcdsaValidatorOptions;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {Array<WalletKeyShareInfo>}
|
|
106
|
+
* @memberof WalletProperties
|
|
107
|
+
*/
|
|
108
|
+
keyShares?: Array<WalletKeyShareInfo>;
|
|
102
109
|
}
|
|
103
110
|
export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
|
|
104
111
|
export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
|
|
@@ -5,6 +5,7 @@ import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './Hardware
|
|
|
5
5
|
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
6
6
|
import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
|
|
7
7
|
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
8
|
+
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
10
11
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -28,6 +29,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
29
30
|
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
30
31
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
32
|
+
'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
function WalletPropertiesToJSON(value) {
|
|
@@ -51,6 +53,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
51
53
|
'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
52
54
|
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
53
55
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
56
|
+
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -263,7 +263,9 @@ export * from './V7UserOp';
|
|
|
263
263
|
export * from './VerifyRequest';
|
|
264
264
|
export * from './VerifyResponse';
|
|
265
265
|
export * from './VerifyUnlinkRequest';
|
|
266
|
+
export * from './WaasWalletProperties';
|
|
266
267
|
export * from './WalletAdditionalAddress';
|
|
267
268
|
export * from './WalletAddressType';
|
|
269
|
+
export * from './WalletKeyShareInfo';
|
|
268
270
|
export * from './WalletProperties';
|
|
269
271
|
export * from './WalletProviderEnum';
|