@bitgo/public-types 5.55.0 → 5.56.0

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.
@@ -6580,6 +6580,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
6580
6580
  }>]>, t.TypeC<{
6581
6581
  validatorAddress: import("io-ts-types").NonEmptyStringC;
6582
6582
  stakingPeriod: t.NumberC;
6583
+ stakingContractAddress: import("io-ts-types").NonEmptyStringC;
6583
6584
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6584
6585
  intentType: t.KeyofC<{
6585
6586
  payment: t.LiteralC<"payment">;
@@ -55,5 +55,6 @@ export declare const VetValidatorRegistrationIntent: t.IntersectionC<[t.Intersec
55
55
  }>]>, t.TypeC<{
56
56
  validatorAddress: import("io-ts-types").NonEmptyStringC;
57
57
  stakingPeriod: t.NumberC;
58
+ stakingContractAddress: import("io-ts-types").NonEmptyStringC;
58
59
  }>]>;
59
60
  export type VetValidatorRegistrationIntent = t.TypeOf<typeof VetValidatorRegistrationIntent>;
@@ -32,6 +32,7 @@ exports.VetValidatorRegistrationIntent = t.intersection([
32
32
  t.type({
33
33
  validatorAddress: io_ts_types_1.NonEmptyString,
34
34
  stakingPeriod: t.number,
35
+ stakingContractAddress: io_ts_types_1.NonEmptyString,
35
36
  }),
36
37
  ]);
37
38
  //# sourceMappingURL=vetValidatorRegistrationIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vetValidatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+EAA4E;AAC5E,6CAA6C;AAUhC,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,yDAA2B;IAC3B,CAAC,CAAC,IAAI,CAAC;QACL,gBAAgB,EAAE,4BAAc;QAChC,aAAa,EAAE,CAAC,CAAC,MAAM;KACxB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"vetValidatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+EAA4E;AAC5E,6CAA6C;AAWhC,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,yDAA2B;IAC3B,CAAC,CAAC,IAAI,CAAC;QACL,gBAAgB,EAAE,4BAAc;QAChC,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
@@ -6678,6 +6678,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
6678
6678
  }>]>, t.TypeC<{
6679
6679
  validatorAddress: import("io-ts-types").NonEmptyStringC;
6680
6680
  stakingPeriod: t.NumberC;
6681
+ stakingContractAddress: import("io-ts-types").NonEmptyStringC;
6681
6682
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6682
6683
  intentType: t.KeyofC<{
6683
6684
  payment: t.LiteralC<"payment">;
@@ -14403,6 +14404,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14403
14404
  }>]>, t.TypeC<{
14404
14405
  validatorAddress: import("io-ts-types").NonEmptyStringC;
14405
14406
  stakingPeriod: t.NumberC;
14407
+ stakingContractAddress: import("io-ts-types").NonEmptyStringC;
14406
14408
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14407
14409
  intentType: t.KeyofC<{
14408
14410
  payment: t.LiteralC<"payment">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.55.0",
3
+ "version": "5.56.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -9,12 +9,14 @@ import { NonEmptyString } from "io-ts-types";
9
9
  *
10
10
  * @param {string} validatorAddress - The address of the validator
11
11
  * @param {number} stakingPeriod - The staking period which can be one of the three -- 60480 (7 days), 129600 (15 days) or 259200 (30 days).
12
+ * @param {string} stakingContractAddress - The address of the staking contract
12
13
  */
13
14
  export const VetValidatorRegistrationIntent = t.intersection([
14
15
  ValidatorRegistrationIntent,
15
16
  t.type({
16
17
  validatorAddress: NonEmptyString,
17
18
  stakingPeriod: t.number,
19
+ stakingContractAddress: NonEmptyString,
18
20
  }),
19
21
  ]);
20
22