@chorus-one/polygon 1.0.0 → 1.0.1

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.
@@ -35,6 +35,6 @@ export interface UnbondInfo {
35
35
  isWithdrawable: boolean;
36
36
  /** Shares amount pending unbonding */
37
37
  shares: bigint;
38
- /** Epoch number when the unbond becomes claimable */
38
+ /** Epoch when the unbond was created. */
39
39
  withdrawEpoch: bigint;
40
40
  }
@@ -35,6 +35,6 @@ export interface UnbondInfo {
35
35
  isWithdrawable: boolean;
36
36
  /** Shares amount pending unbonding */
37
37
  shares: bigint;
38
- /** Epoch number when the unbond becomes claimable */
38
+ /** Epoch when the unbond was created. */
39
39
  withdrawEpoch: bigint;
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chorus-one/polygon",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "All-in-one toolkit for building staking dApps on Polygon network",
5
5
  "scripts": {
6
6
  "build": "rm -fr dist/* && tsc -p tsconfig.mjs.json --outDir dist/mjs && tsc -p tsconfig.cjs.json --outDir dist/cjs && bash ../../scripts/fix-package-json",
package/src/types.ts CHANGED
@@ -40,6 +40,6 @@ export interface UnbondInfo {
40
40
  isWithdrawable: boolean
41
41
  /** Shares amount pending unbonding */
42
42
  shares: bigint
43
- /** Epoch number when the unbond becomes claimable */
43
+ /** Epoch when the unbond was created. */
44
44
  withdrawEpoch: bigint
45
45
  }
@@ -93,7 +93,6 @@ describe('PolygonStaker', () => {
93
93
  const precision = await staker.getExchangeRatePrecision(validatorShareAddress)
94
94
  assert.equal(precision, EXCHANGE_RATE_HIGH_PRECISION)
95
95
  })
96
-
97
96
  })
98
97
 
99
98
  describe('staking lifecycle', () => {