@ar.io/sdk 3.4.0 → 3.4.1-alpha.2
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 +6 -6
- package/bundles/web.bundle.min.js +46 -46
- package/lib/cjs/cli/commands/readCommands.js +2 -6
- package/lib/cjs/common/io.js +20 -0
- package/lib/cjs/version.js +1 -1
- package/lib/esm/cli/commands/readCommands.js +2 -6
- package/lib/esm/common/io.js +20 -0
- package/lib/esm/version.js +1 -1
- package/lib/types/common/io.d.ts +2 -2
- package/lib/types/types/io.d.ts +4 -2
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -185,7 +185,7 @@ const gateways = await ario.getGateways();
|
|
|
185
185
|
"vaults": {},
|
|
186
186
|
"weights": {
|
|
187
187
|
"compositeWeight": 0.97688888893556,
|
|
188
|
-
"
|
|
188
|
+
"gatewayPerformanceRatio": 1,
|
|
189
189
|
"tenureWeight": 0.19444444444444,
|
|
190
190
|
"observerRewardRatioWeight": 1,
|
|
191
191
|
"normalizedCompositeWeight": 0.19247316211083,
|
|
@@ -632,7 +632,7 @@ const gateway = await ario.getGateway({
|
|
|
632
632
|
"vaults": {},
|
|
633
633
|
"weights": {
|
|
634
634
|
"compositeWeight": 0.97688888893556,
|
|
635
|
-
"
|
|
635
|
+
"gatewayPerformanceRatio": 1,
|
|
636
636
|
"tenureWeight": 0.19444444444444,
|
|
637
637
|
"observerRewardRatioWeight": 1,
|
|
638
638
|
"normalizedCompositeWeight": 0.19247316211083,
|
|
@@ -688,7 +688,7 @@ Available `sortBy` options are any of the keys on the gateway object, e.g. `oper
|
|
|
688
688
|
"vaults": {},
|
|
689
689
|
"weights": {
|
|
690
690
|
"compositeWeight": 0.97688888893556,
|
|
691
|
-
"
|
|
691
|
+
"gatewayPerformanceRatio": 1,
|
|
692
692
|
"tenureWeight": 0.19444444444444,
|
|
693
693
|
"observerRewardRatioWeight": 1,
|
|
694
694
|
"normalizedCompositeWeight": 0.19247316211083,
|
|
@@ -1540,7 +1540,7 @@ const epoch = await ario.getCurrentEpoch();
|
|
|
1540
1540
|
"start": 1292450,
|
|
1541
1541
|
"stakeWeight": 1,
|
|
1542
1542
|
"tenureWeight": 0.4494598765432099,
|
|
1543
|
-
"
|
|
1543
|
+
"gatewayPerformanceRatio": 1,
|
|
1544
1544
|
"observerRewardRatioWeight": 1,
|
|
1545
1545
|
"compositeWeight": 0.4494598765432099,
|
|
1546
1546
|
"normalizedCompositeWeight": 0.002057032496835938
|
|
@@ -1596,7 +1596,7 @@ const epoch = await ario.getEpoch({ epochIndex: 0 });
|
|
|
1596
1596
|
"startTimestamp": 1720720620813,
|
|
1597
1597
|
"stakeWeight": 1,
|
|
1598
1598
|
"tenureWeight": 0.4494598765432099,
|
|
1599
|
-
"
|
|
1599
|
+
"gatewayPerformanceRatio": 1,
|
|
1600
1600
|
"observerRewardRatioWeight": 1,
|
|
1601
1601
|
"compositeWeight": 0.4494598765432099,
|
|
1602
1602
|
"normalizedCompositeWeight": 0.002057032496835938
|
|
@@ -1735,7 +1735,7 @@ const observers = await ario.getPrescribedObservers({ epochIndex: 0 });
|
|
|
1735
1735
|
"start": 1296976,
|
|
1736
1736
|
"stakeWeight": 1,
|
|
1737
1737
|
"tenureWeight": 0.41453703703703704,
|
|
1738
|
-
"
|
|
1738
|
+
"gatewayPerformanceRatio": 1,
|
|
1739
1739
|
"observerRewardRatioWeight": 1,
|
|
1740
1740
|
"compositeWeight": 0.41453703703703704,
|
|
1741
1741
|
"normalizedCompositeWeight": 0.0018972019546783507
|