@bitgo/public-types 5.76.0 → 5.76.1
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 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.js +2 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +4 -4
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts +4 -4
|
@@ -56,8 +56,8 @@ export declare const CantonTransferAcknowledgeIntent: t.IntersectionC<[t.Interse
|
|
|
56
56
|
contractId: t.StringC;
|
|
57
57
|
senderPartyId: t.StringC;
|
|
58
58
|
updateId: t.StringC;
|
|
59
|
-
amount:
|
|
60
|
-
expiry: t.
|
|
59
|
+
amount: import("io-ts-types").NumberFromStringC;
|
|
60
|
+
expiry: t.NumberC;
|
|
61
61
|
}>, t.PartialC<{
|
|
62
62
|
memoId: t.StringC;
|
|
63
63
|
token: t.StringC;
|
|
@@ -35,8 +35,8 @@ exports.CantonTransferAcknowledgeIntent = t.intersection([
|
|
|
35
35
|
contractId: t.string,
|
|
36
36
|
senderPartyId: t.string,
|
|
37
37
|
updateId: t.string,
|
|
38
|
-
amount:
|
|
39
|
-
expiry: t.
|
|
38
|
+
amount: io_ts_types_1.NumberFromString,
|
|
39
|
+
expiry: t.number,
|
|
40
40
|
}),
|
|
41
41
|
t.partial({
|
|
42
42
|
memoId: t.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+C;AAC/C,6CAA0C;AAC1C,6CAA2C;AAmB9B,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,
|
|
1
|
+
{"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+C;AAC/C,6CAA0C;AAC1C,6CAA2C;AAmB9B,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,8BAAgB;QACxB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM;KAChB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1213,8 +1213,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1213
1213
|
contractId: t.StringC;
|
|
1214
1214
|
senderPartyId: t.StringC;
|
|
1215
1215
|
updateId: t.StringC;
|
|
1216
|
-
amount:
|
|
1217
|
-
expiry: t.
|
|
1216
|
+
amount: import("io-ts-types").NumberFromStringC;
|
|
1217
|
+
expiry: t.NumberC;
|
|
1218
1218
|
}>, t.PartialC<{
|
|
1219
1219
|
memoId: t.StringC;
|
|
1220
1220
|
token: t.StringC;
|
|
@@ -1311,8 +1311,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1311
1311
|
contractId: t.StringC;
|
|
1312
1312
|
senderPartyId: t.StringC;
|
|
1313
1313
|
updateId: t.StringC;
|
|
1314
|
-
amount:
|
|
1315
|
-
expiry: t.
|
|
1314
|
+
amount: import("io-ts-types").NumberFromStringC;
|
|
1315
|
+
expiry: t.NumberC;
|
|
1316
1316
|
}>, t.PartialC<{
|
|
1317
1317
|
memoId: t.StringC;
|
|
1318
1318
|
token: t.StringC;
|
|
@@ -10231,8 +10231,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
10231
10231
|
contractId: t.StringC;
|
|
10232
10232
|
senderPartyId: t.StringC;
|
|
10233
10233
|
updateId: t.StringC;
|
|
10234
|
-
amount:
|
|
10235
|
-
expiry: t.
|
|
10234
|
+
amount: import("io-ts-types").NumberFromStringC;
|
|
10235
|
+
expiry: t.NumberC;
|
|
10236
10236
|
}>, t.PartialC<{
|
|
10237
10237
|
memoId: t.StringC;
|
|
10238
10238
|
token: t.StringC;
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@ import { intentTypes } from "./intentType";
|
|
|
15
15
|
* @param {String} contractId - The contract id that needs to be acted on by the receiver
|
|
16
16
|
* @param {String} senderPartyId - The address (partyId) of the sender
|
|
17
17
|
* @param {String} updateId - The transaction id of the deposit
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {Number
|
|
18
|
+
* @param {String} amount - The deposit amount (numeric string, decoded to number)
|
|
19
|
+
* @param {Number} expiry - The expiry epoch
|
|
20
20
|
* @param {String} [memoId] - The optional memoId
|
|
21
21
|
* @param {String} [token] - The optional token
|
|
22
22
|
*/
|
|
@@ -27,8 +27,8 @@ export const CantonTransferAcknowledgeIntent = t.intersection([
|
|
|
27
27
|
contractId: t.string,
|
|
28
28
|
senderPartyId: t.string,
|
|
29
29
|
updateId: t.string,
|
|
30
|
-
amount:
|
|
31
|
-
expiry: t.
|
|
30
|
+
amount: NumberFromString,
|
|
31
|
+
expiry: t.number,
|
|
32
32
|
}),
|
|
33
33
|
t.partial({
|
|
34
34
|
memoId: t.string,
|