@avalabs/glacier-sdk 2.8.0-alpha.137 → 2.8.0-alpha.138
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/dist/index.d.ts
CHANGED
|
@@ -2446,7 +2446,7 @@ declare class PrimaryNetworkService {
|
|
|
2446
2446
|
* @returns ListValidatorDetailsResponse
|
|
2447
2447
|
* @throws ApiError
|
|
2448
2448
|
*/
|
|
2449
|
-
listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, }: {
|
|
2449
|
+
listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
|
|
2450
2450
|
/**
|
|
2451
2451
|
* Either mainnet or a testnet.
|
|
2452
2452
|
*/
|
|
@@ -2476,11 +2476,11 @@ declare class PrimaryNetworkService {
|
|
|
2476
2476
|
*/
|
|
2477
2477
|
maxDelegationCapacity?: number;
|
|
2478
2478
|
/**
|
|
2479
|
-
* The minimum fee percentage, used to filter the set of nodes being returned. Default is 2, as per the Avalanche spec.
|
|
2479
|
+
* The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
|
|
2480
2480
|
*/
|
|
2481
2481
|
minFeePercentage?: any;
|
|
2482
2482
|
/**
|
|
2483
|
-
* The maximum fee percentage, used to filter the set of nodes being returned. Default is 100.
|
|
2483
|
+
* The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
|
|
2484
2484
|
*/
|
|
2485
2485
|
maxFeePercentage?: any;
|
|
2486
2486
|
/**
|
|
@@ -2495,6 +2495,10 @@ declare class PrimaryNetworkService {
|
|
|
2495
2495
|
* Validation status of the node.
|
|
2496
2496
|
*/
|
|
2497
2497
|
validationStatus?: ValidationStatusType;
|
|
2498
|
+
/**
|
|
2499
|
+
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2500
|
+
*/
|
|
2501
|
+
subnetId?: string;
|
|
2498
2502
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2499
2503
|
/**
|
|
2500
2504
|
* Get single validator details
|
package/dist/index.js
CHANGED
|
@@ -994,7 +994,8 @@ class PrimaryNetworkService {
|
|
|
994
994
|
maxFeePercentage,
|
|
995
995
|
nodeIds,
|
|
996
996
|
sortOrder,
|
|
997
|
-
validationStatus
|
|
997
|
+
validationStatus,
|
|
998
|
+
subnetId
|
|
998
999
|
}) {
|
|
999
1000
|
return this.httpRequest.request({
|
|
1000
1001
|
method: "GET",
|
|
@@ -1013,7 +1014,8 @@ class PrimaryNetworkService {
|
|
|
1013
1014
|
"maxFeePercentage": maxFeePercentage,
|
|
1014
1015
|
"nodeIds": nodeIds,
|
|
1015
1016
|
"sortOrder": sortOrder,
|
|
1016
|
-
"validationStatus": validationStatus
|
|
1017
|
+
"validationStatus": validationStatus,
|
|
1018
|
+
"subnetId": subnetId
|
|
1017
1019
|
}
|
|
1018
1020
|
});
|
|
1019
1021
|
}
|
|
@@ -118,7 +118,7 @@ declare class PrimaryNetworkService {
|
|
|
118
118
|
* @returns ListValidatorDetailsResponse
|
|
119
119
|
* @throws ApiError
|
|
120
120
|
*/
|
|
121
|
-
listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, }: {
|
|
121
|
+
listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
|
|
122
122
|
/**
|
|
123
123
|
* Either mainnet or a testnet.
|
|
124
124
|
*/
|
|
@@ -148,11 +148,11 @@ declare class PrimaryNetworkService {
|
|
|
148
148
|
*/
|
|
149
149
|
maxDelegationCapacity?: number;
|
|
150
150
|
/**
|
|
151
|
-
* The minimum fee percentage, used to filter the set of nodes being returned. Default is 2, as per the Avalanche spec.
|
|
151
|
+
* The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
|
|
152
152
|
*/
|
|
153
153
|
minFeePercentage?: any;
|
|
154
154
|
/**
|
|
155
|
-
* The maximum fee percentage, used to filter the set of nodes being returned. Default is 100.
|
|
155
|
+
* The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
|
|
156
156
|
*/
|
|
157
157
|
maxFeePercentage?: any;
|
|
158
158
|
/**
|
|
@@ -167,6 +167,10 @@ declare class PrimaryNetworkService {
|
|
|
167
167
|
* Validation status of the node.
|
|
168
168
|
*/
|
|
169
169
|
validationStatus?: ValidationStatusType;
|
|
170
|
+
/**
|
|
171
|
+
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
172
|
+
*/
|
|
173
|
+
subnetId?: string;
|
|
170
174
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
171
175
|
/**
|
|
172
176
|
* Get single validator details
|
|
@@ -93,7 +93,8 @@ class PrimaryNetworkService {
|
|
|
93
93
|
maxFeePercentage,
|
|
94
94
|
nodeIds,
|
|
95
95
|
sortOrder,
|
|
96
|
-
validationStatus
|
|
96
|
+
validationStatus,
|
|
97
|
+
subnetId
|
|
97
98
|
}) {
|
|
98
99
|
return this.httpRequest.request({
|
|
99
100
|
method: "GET",
|
|
@@ -112,7 +113,8 @@ class PrimaryNetworkService {
|
|
|
112
113
|
"maxFeePercentage": maxFeePercentage,
|
|
113
114
|
"nodeIds": nodeIds,
|
|
114
115
|
"sortOrder": sortOrder,
|
|
115
|
-
"validationStatus": validationStatus
|
|
116
|
+
"validationStatus": validationStatus,
|
|
117
|
+
"subnetId": subnetId
|
|
116
118
|
}
|
|
117
119
|
});
|
|
118
120
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-alpha.
|
|
3
|
+
"version": "2.8.0-alpha.138",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "bdbffa0797ede321bd5b73205990e0b53e08ecf7"
|
|
33
33
|
}
|