@bitgo/public-types 4.22.1 → 4.23.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.
@@ -2836,6 +2836,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
2836
2836
  validatorAddress: t.StringC;
2837
2837
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
2838
2838
  stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
2839
+ isMarinade: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
2839
2840
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
2840
2841
  intentType: t.KeyofC<{
2841
2842
  payment: t.LiteralC<"payment">;
@@ -47,5 +47,6 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
47
47
  validatorAddress: t.StringC;
48
48
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
49
49
  stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
50
+ isMarinade: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
50
51
  }>]>;
51
52
  export type SolDelegateIntent = t.TypeOf<typeof SolDelegateIntent>;
@@ -37,6 +37,7 @@ exports.SolDelegateIntent = t.intersection([
37
37
  validatorAddress: t.string,
38
38
  stakingAddresses: utils_1.optionalStringArray,
39
39
  stakingAddress: utils_1.optionalString,
40
+ isMarinade: (0, utils_1.Optional)(t.boolean),
40
41
  }),
41
42
  ]);
42
43
  //# sourceMappingURL=solDelegateIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAqE;AAKxD,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,gBAAgB,EAAE,2BAAmB;QACrC,cAAc,EAAE,sBAAc;KAC/B,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"solDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAA+E;AAKlE,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,gBAAgB,EAAE,2BAAmB;QACrC,cAAc,EAAE,sBAAc;QAC9B,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;KAChC,CAAC;CACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "4.22.1",
3
+ "version": "4.23.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -2,7 +2,7 @@ import * as t from "io-ts";
2
2
  import { SolBuildOptions } from "./solBuildOptions";
3
3
  import { BaseIntent } from "./baseIntent";
4
4
  import { intentTypes } from "./intentType";
5
- import { optionalString, optionalStringArray } from "../../../utils";
5
+ import { Optional, optionalString, optionalStringArray } from "../../../utils";
6
6
 
7
7
  /**
8
8
  * @title SOL Delegate Intent
@@ -15,6 +15,7 @@ export const SolDelegateIntent = t.intersection([
15
15
  validatorAddress: t.string,
16
16
  stakingAddresses: optionalStringArray,
17
17
  stakingAddress: optionalString,
18
+ isMarinade: Optional(t.boolean),
18
19
  }),
19
20
  ]);
20
21