@bitgo/public-types 4.13.0 → 4.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ export declare const LightningPaymentRequest: t.IntersectionC<[t.TypeC<{
7
7
  feeLimitRatio: t.NumberC;
8
8
  }>]>;
9
9
  export declare const LightningPaymentRequestWithSig: t.TypeC<{
10
- request: t.IntersectionC<[t.TypeC<{
10
+ signedRequest: t.IntersectionC<[t.TypeC<{
11
11
  invoice: t.StringC;
12
12
  }>, t.PartialC<{
13
13
  amountMsat: import("io-ts-types").BigIntFromStringC;
@@ -37,7 +37,7 @@ exports.LightningPaymentRequest = t.intersection([
37
37
  }),
38
38
  ]);
39
39
  exports.LightningPaymentRequestWithSig = t.type({
40
- request: exports.LightningPaymentRequest,
40
+ signedRequest: exports.LightningPaymentRequest,
41
41
  signature: t.string,
42
42
  });
43
43
  //# sourceMappingURL=payment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../../src/schema/lightning/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+C;AAElC,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,CAAC,CAAC,IAAI,CAAC;QACL,OAAO,EAAE,CAAC,CAAC,MAAM;KAClB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,8BAAgB;QAC5B,YAAY,EAAE,8BAAgB;QAC9B,aAAa,EAAE,CAAC,CAAC,MAAM;KACxB,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,OAAO,EAAE,+BAAuB;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM;CACpB,CAAC,CAAC"}
1
+ {"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../../src/schema/lightning/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+C;AAElC,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,CAAC,CAAC,IAAI,CAAC;QACL,OAAO,EAAE,CAAC,CAAC,MAAM;KAClB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,8BAAgB;QAC5B,YAAY,EAAE,8BAAgB;QAC9B,aAAa,EAAE,CAAC,CAAC,MAAM;KACxB,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,aAAa,EAAE,+BAAuB;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM;CACpB,CAAC,CAAC"}
@@ -2018,7 +2018,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
2018
2018
  comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
2019
2019
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
2020
2020
  }>]>, t.TypeC<{
2021
- request: t.IntersectionC<[t.TypeC<{
2021
+ signedRequest: t.IntersectionC<[t.TypeC<{
2022
2022
  invoice: t.StringC;
2023
2023
  }>, t.PartialC<{
2024
2024
  amountMsat: import("io-ts-types").BigIntFromStringC;
@@ -37,7 +37,7 @@ export declare const LightningPaymentIntent: t.IntersectionC<[t.IntersectionC<[t
37
37
  comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
38
38
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
39
39
  }>]>, t.TypeC<{
40
- request: t.IntersectionC<[t.TypeC<{
40
+ signedRequest: t.IntersectionC<[t.TypeC<{
41
41
  invoice: t.StringC;
42
42
  }>, t.PartialC<{
43
43
  amountMsat: import("io-ts-types").BigIntFromStringC;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "4.13.0",
3
+ "version": "4.14.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -13,7 +13,7 @@ export const LightningPaymentRequest = t.intersection([
13
13
  ]);
14
14
 
15
15
  export const LightningPaymentRequestWithSig = t.type({
16
- request: LightningPaymentRequest,
16
+ signedRequest: LightningPaymentRequest,
17
17
  signature: t.string,
18
18
  });
19
19