@bitgo/public-types 5.86.0 → 5.87.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.
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +4 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts +2 -0
|
@@ -62,5 +62,6 @@ export declare const CantonTransferAcceptIntent: t.IntersectionC<[t.Intersection
|
|
|
62
62
|
txRequestId: t.StringC;
|
|
63
63
|
}>, t.PartialC<{
|
|
64
64
|
token: t.StringC;
|
|
65
|
+
expiry: t.NumberC;
|
|
65
66
|
}>]>;
|
|
66
67
|
export type CantonTransferAcceptIntent = t.TypeOf<typeof CantonTransferAcceptIntent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonTransferAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonTransferAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAc9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -62,5 +62,6 @@ export declare const CantonTransferRejectIntent: t.IntersectionC<[t.Intersection
|
|
|
62
62
|
txRequestId: t.StringC;
|
|
63
63
|
}>, t.PartialC<{
|
|
64
64
|
token: t.StringC;
|
|
65
|
+
expiry: t.NumberC;
|
|
65
66
|
}>]>;
|
|
66
67
|
export type CantonTransferRejectIntent = t.TypeOf<typeof CantonTransferRejectIntent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonTransferRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonTransferRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAc9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1334,6 +1334,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1334
1334
|
txRequestId: t.StringC;
|
|
1335
1335
|
}>, t.PartialC<{
|
|
1336
1336
|
token: t.StringC;
|
|
1337
|
+
expiry: t.NumberC;
|
|
1337
1338
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1338
1339
|
intentType: t.KeyofC<{
|
|
1339
1340
|
payment: t.LiteralC<"payment">;
|
|
@@ -1528,6 +1529,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1528
1529
|
txRequestId: t.StringC;
|
|
1529
1530
|
}>, t.PartialC<{
|
|
1530
1531
|
token: t.StringC;
|
|
1532
|
+
expiry: t.NumberC;
|
|
1531
1533
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1532
1534
|
intentType: t.KeyofC<{
|
|
1533
1535
|
payment: t.LiteralC<"payment">;
|
|
@@ -1432,6 +1432,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1432
1432
|
txRequestId: t.StringC;
|
|
1433
1433
|
}>, t.PartialC<{
|
|
1434
1434
|
token: t.StringC;
|
|
1435
|
+
expiry: t.NumberC;
|
|
1435
1436
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1436
1437
|
intentType: t.KeyofC<{
|
|
1437
1438
|
payment: t.LiteralC<"payment">;
|
|
@@ -1626,6 +1627,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1626
1627
|
txRequestId: t.StringC;
|
|
1627
1628
|
}>, t.PartialC<{
|
|
1628
1629
|
token: t.StringC;
|
|
1630
|
+
expiry: t.NumberC;
|
|
1629
1631
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1630
1632
|
intentType: t.KeyofC<{
|
|
1631
1633
|
payment: t.LiteralC<"payment">;
|
|
@@ -11506,6 +11508,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
11506
11508
|
txRequestId: t.StringC;
|
|
11507
11509
|
}>, t.PartialC<{
|
|
11508
11510
|
token: t.StringC;
|
|
11511
|
+
expiry: t.NumberC;
|
|
11509
11512
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
11510
11513
|
intentType: t.KeyofC<{
|
|
11511
11514
|
payment: t.LiteralC<"payment">;
|
|
@@ -11700,6 +11703,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
11700
11703
|
txRequestId: t.StringC;
|
|
11701
11704
|
}>, t.PartialC<{
|
|
11702
11705
|
token: t.StringC;
|
|
11706
|
+
expiry: t.NumberC;
|
|
11703
11707
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
11704
11708
|
intentType: t.KeyofC<{
|
|
11705
11709
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ import { intentTypes } from "./intentType";
|
|
|
12
12
|
* @param {String} intentType - The type of intent (always set to transferAccept)
|
|
13
13
|
* @param {string} txRequestId - The acknowledgement txRequestId
|
|
14
14
|
* @param {String} [token] - The optional token
|
|
15
|
+
* @param {number} [expiry] - The optional expiry timestamp
|
|
15
16
|
*/
|
|
16
17
|
export const CantonTransferAcceptIntent = t.intersection([
|
|
17
18
|
BaseIntent,
|
|
@@ -21,6 +22,7 @@ export const CantonTransferAcceptIntent = t.intersection([
|
|
|
21
22
|
}),
|
|
22
23
|
t.partial({
|
|
23
24
|
token: t.string,
|
|
25
|
+
expiry: t.number,
|
|
24
26
|
}),
|
|
25
27
|
]);
|
|
26
28
|
|
|
@@ -12,6 +12,7 @@ import { intentTypes } from "./intentType";
|
|
|
12
12
|
* @param {String} intentType - The type of intent (always set to transferReject)
|
|
13
13
|
* @param {string} txRequestId - The acknowledgement txRequestId
|
|
14
14
|
* @param {String} [token] - The optional token
|
|
15
|
+
* @param {number} [expiry] - The optional expiry timestamp
|
|
15
16
|
*/
|
|
16
17
|
export const CantonTransferRejectIntent = t.intersection([
|
|
17
18
|
BaseIntent,
|
|
@@ -21,6 +22,7 @@ export const CantonTransferRejectIntent = t.intersection([
|
|
|
21
22
|
}),
|
|
22
23
|
t.partial({
|
|
23
24
|
token: t.string,
|
|
25
|
+
expiry: t.number,
|
|
24
26
|
}),
|
|
25
27
|
]);
|
|
26
28
|
|