@bitgo/public-types 6.58.0 → 6.59.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.
@@ -100,5 +100,7 @@ export declare const AdaPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
100
100
  isTestTransaction: t.BooleanC;
101
101
  }>]>]>, t.TypeC<{
102
102
  unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
103
+ }>, t.PartialC<{
104
+ isAdminSplit: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
103
105
  }>]>;
104
106
  export type AdaPaymentIntent = t.TypeOf<typeof AdaPaymentIntent>;
@@ -32,5 +32,8 @@ exports.AdaPaymentIntent = t.intersection([
32
32
  t.type({
33
33
  unspents: utils_1.optionalStringArray,
34
34
  }),
35
+ t.partial({
36
+ isAdminSplit: utils_1.optionalBoolean,
37
+ }),
35
38
  ]);
36
39
  //# sourceMappingURL=adaPaymentIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"adaPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAqD;AACrD,mDAAgD;AAKnC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,CAAC,CAAC,IAAI,CAAC;QACL,QAAQ,EAAE,2BAAmB;KAC9B,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"adaPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAsE;AACtE,mDAAgD;AAKnC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,CAAC,CAAC,IAAI,CAAC;QACL,QAAQ,EAAE,2BAAmB;KAC9B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,YAAY,EAAE,uBAAe;KAC9B,CAAC;CACH,CAAC,CAAC"}
@@ -162,6 +162,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
162
162
  isTestTransaction: t.BooleanC;
163
163
  }>]>]>, t.TypeC<{
164
164
  unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
165
+ }>, t.PartialC<{
166
+ isAdminSplit: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
165
167
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
166
168
  intentType: t.KeyofC<{
167
169
  payment: t.LiteralC<"payment">;
@@ -260,6 +260,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
260
260
  isTestTransaction: t.BooleanC;
261
261
  }>]>]>, t.TypeC<{
262
262
  unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
263
+ }>, t.PartialC<{
264
+ isAdminSplit: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
263
265
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
264
266
  intentType: t.KeyofC<{
265
267
  payment: t.LiteralC<"payment">;
@@ -15702,6 +15704,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
15702
15704
  isTestTransaction: t.BooleanC;
15703
15705
  }>]>]>, t.TypeC<{
15704
15706
  unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
15707
+ }>, t.PartialC<{
15708
+ isAdminSplit: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
15705
15709
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
15706
15710
  intentType: t.KeyofC<{
15707
15711
  payment: t.LiteralC<"payment">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.58.0",
3
+ "version": "6.59.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -1,5 +1,5 @@
1
1
  import * as t from "io-ts";
2
- import { optionalStringArray } from "../../../utils";
2
+ import { optionalBoolean, optionalStringArray } from "../../../utils";
3
3
  import { PaymentIntent } from "./paymentIntent";
4
4
 
5
5
  /**
@@ -10,6 +10,9 @@ export const AdaPaymentIntent = t.intersection([
10
10
  t.type({
11
11
  unspents: optionalStringArray,
12
12
  }),
13
+ t.partial({
14
+ isAdminSplit: optionalBoolean,
15
+ }),
13
16
  ]);
14
17
 
15
18
  export type AdaPaymentIntent = t.TypeOf<typeof AdaPaymentIntent>;