@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.
@@ -18,4 +18,4 @@
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.version = void 0;
20
20
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '2.1.0-alpha.5';
21
+ exports.version = '2.1.0-alpha.6';
@@ -15,4 +15,4 @@
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
17
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '2.1.0-alpha.5';
18
+ export const version = '2.1.0-alpha.6';
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;
@@ -14,4 +14,4 @@
14
14
  * You should have received a copy of the GNU Affero General Public License
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
- export declare const version = "2.1.0-alpha.4";
17
+ export declare const version = "2.1.0-alpha.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.1.0-alpha.5",
3
+ "version": "2.1.0-alpha.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"