@bitgo/public-types 4.27.0 → 4.28.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.
@@ -3201,6 +3201,33 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
3201
3201
  symbol: string;
3202
3202
  }, unknown>, t.UndefinedC]>;
3203
3203
  isMarinade: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
3204
+ recipients: t.UnionC<[t.Type<({
3205
+ address: {
3206
+ address?: string | undefined;
3207
+ option?: {
3208
+ [x: string]: unknown;
3209
+ } | undefined;
3210
+ };
3211
+ amount: {
3212
+ value: string;
3213
+ symbol: string;
3214
+ };
3215
+ } & {
3216
+ data?: string | undefined;
3217
+ })[], ({
3218
+ address: {
3219
+ address?: string | undefined;
3220
+ option?: {
3221
+ [x: string]: unknown;
3222
+ } | undefined;
3223
+ };
3224
+ amount: {
3225
+ value: string;
3226
+ symbol: string;
3227
+ };
3228
+ } & {
3229
+ data?: string | undefined;
3230
+ })[], unknown>, t.UndefinedC]>;
3204
3231
  }>]>, t.IntersectionC<[t.PartialC<{
3205
3232
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
3206
3233
  }>, t.TypeC<{
@@ -65,5 +65,32 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
65
65
  symbol: string;
66
66
  }, unknown>, t.UndefinedC]>;
67
67
  isMarinade: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
68
+ recipients: t.UnionC<[t.Type<({
69
+ address: {
70
+ address?: string | undefined;
71
+ option?: {
72
+ [x: string]: unknown;
73
+ } | undefined;
74
+ };
75
+ amount: {
76
+ value: string;
77
+ symbol: string;
78
+ };
79
+ } & {
80
+ data?: string | undefined;
81
+ })[], ({
82
+ address: {
83
+ address?: string | undefined;
84
+ option?: {
85
+ [x: string]: unknown;
86
+ } | undefined;
87
+ };
88
+ amount: {
89
+ value: string;
90
+ symbol: string;
91
+ };
92
+ } & {
93
+ data?: string | undefined;
94
+ })[], unknown>, t.UndefinedC]>;
68
95
  }>]>;
69
96
  export type SolUnstakeIntent = t.TypeOf<typeof SolUnstakeIntent>;
@@ -29,6 +29,7 @@ const solBuildOptions_1 = require("./solBuildOptions");
29
29
  const amount_1 = require("./amount");
30
30
  const unstakeIntent_1 = require("./unstakeIntent");
31
31
  const utils_1 = require("../../../utils");
32
+ const recipientEntry_1 = require("./recipientEntry");
32
33
  exports.SolUnstakeIntent = t.intersection([
33
34
  unstakeIntent_1.UnstakeIntent,
34
35
  solBuildOptions_1.SolBuildOptions,
@@ -39,6 +40,7 @@ exports.SolUnstakeIntent = t.intersection([
39
40
  amount: (0, utils_1.Optional)(amount_1.Amount),
40
41
  remainingStakingAmount: (0, utils_1.Optional)(amount_1.Amount),
41
42
  isMarinade: (0, utils_1.Optional)(t.boolean),
43
+ recipients: (0, utils_1.Optional)(t.array(recipientEntry_1.RecipientEntry)),
42
44
  }),
43
45
  ]);
44
46
  //# sourceMappingURL=solUnstakeIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAK7B,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,sBAAsB,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxC,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;KAChC,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAC1C,qDAAkD;AAKrC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,sBAAsB,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxC,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;QAC/B,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "4.27.0",
3
+ "version": "4.28.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -3,6 +3,7 @@ import { SolBuildOptions } from "./solBuildOptions";
3
3
  import { Amount } from "./amount";
4
4
  import { UnstakeIntent } from "./unstakeIntent";
5
5
  import { Optional } from "../../../utils";
6
+ import { RecipientEntry } from "./recipientEntry";
6
7
 
7
8
  /**
8
9
  * @title SOL Unstake Intent
@@ -17,6 +18,7 @@ export const SolUnstakeIntent = t.intersection([
17
18
  amount: Optional(Amount),
18
19
  remainingStakingAmount: Optional(Amount),
19
20
  isMarinade: Optional(t.boolean),
21
+ recipients: Optional(t.array(RecipientEntry)),
20
22
  }),
21
23
  ]);
22
24