@bitgo/public-types 5.36.0 → 5.37.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/cantonTransferAcknowledgeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.js +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.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/cantonTransferAcknowledgeIntent.ts +4 -0
|
@@ -52,5 +52,7 @@ export declare const CantonTransferAcknowledgeIntent: t.IntersectionC<[t.Interse
|
|
|
52
52
|
updateId: t.StringC;
|
|
53
53
|
amount: t.NumberC;
|
|
54
54
|
expiry: t.NumberC;
|
|
55
|
+
}>, t.PartialC<{
|
|
56
|
+
memoId: t.StringC;
|
|
55
57
|
}>]>;
|
|
56
58
|
export type CantonTransferAcknowledgeIntent = t.TypeOf<typeof CantonTransferAcknowledgeIntent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAkB9B,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,mBAAmB;QAC3C,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1135,6 +1135,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1135
1135
|
updateId: t.StringC;
|
|
1136
1136
|
amount: t.NumberC;
|
|
1137
1137
|
expiry: t.NumberC;
|
|
1138
|
+
}>, t.PartialC<{
|
|
1139
|
+
memoId: t.StringC;
|
|
1138
1140
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1139
1141
|
intentType: t.KeyofC<{
|
|
1140
1142
|
payment: t.LiteralC<"payment">;
|
|
@@ -1233,6 +1233,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1233
1233
|
updateId: t.StringC;
|
|
1234
1234
|
amount: t.NumberC;
|
|
1235
1235
|
expiry: t.NumberC;
|
|
1236
|
+
}>, t.PartialC<{
|
|
1237
|
+
memoId: t.StringC;
|
|
1236
1238
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1237
1239
|
intentType: t.KeyofC<{
|
|
1238
1240
|
payment: t.LiteralC<"payment">;
|
|
@@ -8563,6 +8565,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
8563
8565
|
updateId: t.StringC;
|
|
8564
8566
|
amount: t.NumberC;
|
|
8565
8567
|
expiry: t.NumberC;
|
|
8568
|
+
}>, t.PartialC<{
|
|
8569
|
+
memoId: t.StringC;
|
|
8566
8570
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8567
8571
|
intentType: t.KeyofC<{
|
|
8568
8572
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ import { intentTypes } from "./intentType";
|
|
|
16
16
|
* @param {String} updateId - The transaction id of the deposit
|
|
17
17
|
* @param {Number} amount - The deposit amount
|
|
18
18
|
* @param {Number} expiry - The expiry epoch
|
|
19
|
+
* @param {String} [memoId] - The optional memoId
|
|
19
20
|
*/
|
|
20
21
|
export const CantonTransferAcknowledgeIntent = t.intersection([
|
|
21
22
|
BaseIntent,
|
|
@@ -27,6 +28,9 @@ export const CantonTransferAcknowledgeIntent = t.intersection([
|
|
|
27
28
|
amount: t.number,
|
|
28
29
|
expiry: t.number,
|
|
29
30
|
}),
|
|
31
|
+
t.partial({
|
|
32
|
+
memoId: t.string,
|
|
33
|
+
}),
|
|
30
34
|
]);
|
|
31
35
|
|
|
32
36
|
export type CantonTransferAcknowledgeIntent = t.TypeOf<
|