@dynamic-labs/sdk-api-core 0.0.632 → 0.0.634
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/models/NetworkConfiguration.cjs +4 -0
- package/src/models/NetworkConfiguration.d.ts +12 -0
- package/src/models/NetworkConfiguration.js +4 -0
- package/src/models/WaasWalletProperties.cjs +2 -0
- package/src/models/WaasWalletProperties.d.ts +6 -0
- package/src/models/WaasWalletProperties.js +2 -0
- package/src/models/WalletProperties.cjs +2 -0
- package/src/models/WalletProperties.d.ts +6 -0
- package/src/models/WalletProperties.js +2 -0
package/package.json
CHANGED
|
@@ -17,8 +17,10 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
return {
|
|
18
18
|
'lcdUrl': !runtime.exists(json, 'lcdUrl') ? undefined : json['lcdUrl'],
|
|
19
19
|
'chainName': !runtime.exists(json, 'chainName') ? undefined : json['chainName'],
|
|
20
|
+
'key': json['key'],
|
|
20
21
|
'name': json['name'],
|
|
21
22
|
'shortName': json['shortName'],
|
|
23
|
+
'isTestnet': json['isTestnet'],
|
|
22
24
|
'chain': json['chain'],
|
|
23
25
|
'chainId': json['chainId'],
|
|
24
26
|
'nameService': !runtime.exists(json, 'nameService') ? undefined : NameService.NameServiceFromJSON(json['nameService']),
|
|
@@ -44,8 +46,10 @@ function NetworkConfigurationToJSON(value) {
|
|
|
44
46
|
return {
|
|
45
47
|
'lcdUrl': value.lcdUrl,
|
|
46
48
|
'chainName': value.chainName,
|
|
49
|
+
'key': value.key,
|
|
47
50
|
'name': value.name,
|
|
48
51
|
'shortName': value.shortName,
|
|
52
|
+
'isTestnet': value.isTestnet,
|
|
49
53
|
'chain': value.chain,
|
|
50
54
|
'chainId': value.chainId,
|
|
51
55
|
'nameService': NameService.NameServiceToJSON(value.nameService),
|
|
@@ -29,6 +29,12 @@ export interface NetworkConfiguration {
|
|
|
29
29
|
* @memberof NetworkConfiguration
|
|
30
30
|
*/
|
|
31
31
|
chainName?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof NetworkConfiguration
|
|
36
|
+
*/
|
|
37
|
+
key: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {string}
|
|
@@ -41,6 +47,12 @@ export interface NetworkConfiguration {
|
|
|
41
47
|
* @memberof NetworkConfiguration
|
|
42
48
|
*/
|
|
43
49
|
shortName: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof NetworkConfiguration
|
|
54
|
+
*/
|
|
55
|
+
isTestnet: boolean;
|
|
44
56
|
/**
|
|
45
57
|
*
|
|
46
58
|
* @type {string}
|
|
@@ -13,8 +13,10 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return {
|
|
14
14
|
'lcdUrl': !exists(json, 'lcdUrl') ? undefined : json['lcdUrl'],
|
|
15
15
|
'chainName': !exists(json, 'chainName') ? undefined : json['chainName'],
|
|
16
|
+
'key': json['key'],
|
|
16
17
|
'name': json['name'],
|
|
17
18
|
'shortName': json['shortName'],
|
|
19
|
+
'isTestnet': json['isTestnet'],
|
|
18
20
|
'chain': json['chain'],
|
|
19
21
|
'chainId': json['chainId'],
|
|
20
22
|
'nameService': !exists(json, 'nameService') ? undefined : NameServiceFromJSON(json['nameService']),
|
|
@@ -40,8 +42,10 @@ function NetworkConfigurationToJSON(value) {
|
|
|
40
42
|
return {
|
|
41
43
|
'lcdUrl': value.lcdUrl,
|
|
42
44
|
'chainName': value.chainName,
|
|
45
|
+
'key': value.key,
|
|
43
46
|
'name': value.name,
|
|
44
47
|
'shortName': value.shortName,
|
|
48
|
+
'isTestnet': value.isTestnet,
|
|
45
49
|
'chain': value.chain,
|
|
46
50
|
'chainId': value.chainId,
|
|
47
51
|
'nameService': NameServiceToJSON(value.nameService),
|
|
@@ -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
|
|