@ar.io/sdk 2.1.0-alpha.5 → 2.1.0-alpha.6
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/README.md +27 -3
- package/bundles/web.bundle.min.js +1 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/types/io.d.ts +9 -0
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/lib/cjs/version.js
CHANGED
package/lib/esm/version.js
CHANGED
package/lib/types/io.d.ts
CHANGED
|
@@ -264,6 +264,14 @@ export type AoGatewayStats = {
|
|
|
264
264
|
observedEpochCount: number;
|
|
265
265
|
prescribedEpochCount: number;
|
|
266
266
|
};
|
|
267
|
+
export type AoGatewayWeights = {
|
|
268
|
+
compositeWeight: number;
|
|
269
|
+
gatewayRewardRatioWeight: number;
|
|
270
|
+
tenureWeight: number;
|
|
271
|
+
observerRewardRatioWeight: number;
|
|
272
|
+
normalizedCompositeWeight: number;
|
|
273
|
+
stakeWeight: number;
|
|
274
|
+
};
|
|
267
275
|
export type AoGateway = {
|
|
268
276
|
settings: GatewaySettings;
|
|
269
277
|
stats: AoGatewayStats;
|
|
@@ -275,6 +283,7 @@ export type AoGateway = {
|
|
|
275
283
|
observerAddress: WalletAddress;
|
|
276
284
|
operatorStake: number;
|
|
277
285
|
status: 'joined' | 'leaving';
|
|
286
|
+
weights: AoGatewayWeights;
|
|
278
287
|
};
|
|
279
288
|
export type AoBalanceWithAddress = {
|
|
280
289
|
address: WalletAddress;
|
package/lib/types/version.d.ts
CHANGED