@bitgo/public-types 7.3.0 → 7.4.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/cantonCosignDelegationProposalIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/intentGroups.d.ts +1 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts +2 -0
package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts
CHANGED
|
@@ -96,5 +96,6 @@ export declare const CantonCosignDelegationProposalIntent: t.IntersectionC<[t.In
|
|
|
96
96
|
updateId: t.StringC;
|
|
97
97
|
}>, t.PartialC<{
|
|
98
98
|
packageName: t.StringC;
|
|
99
|
+
userAuthorization: t.StringC;
|
|
99
100
|
}>]>;
|
|
100
101
|
export type CantonCosignDelegationProposalIntent = t.TypeOf<typeof CantonCosignDelegationProposalIntent>;
|
package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonCosignDelegationProposalIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonCosignDelegationProposalIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAc9B,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,wBAAwB;QAChD,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,QAAQ,EAAE,CAAC,CAAC,MAAM;KACnB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,WAAW,EAAE,CAAC,CAAC,MAAM;QACrB,iBAAiB,EAAE,CAAC,CAAC,MAAM;KAC5B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -2616,6 +2616,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2616
2616
|
updateId: t.StringC;
|
|
2617
2617
|
}>, t.PartialC<{
|
|
2618
2618
|
packageName: t.StringC;
|
|
2619
|
+
userAuthorization: t.StringC;
|
|
2619
2620
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2620
2621
|
intentType: t.KeyofC<{
|
|
2621
2622
|
payment: t.LiteralC<"payment">;
|
|
@@ -1730,6 +1730,7 @@ export declare const TransactionIntentCommon: t.UnionC<[t.IntersectionC<[t.Inter
|
|
|
1730
1730
|
updateId: t.StringC;
|
|
1731
1731
|
}>, t.PartialC<{
|
|
1732
1732
|
packageName: t.StringC;
|
|
1733
|
+
userAuthorization: t.StringC;
|
|
1733
1734
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1734
1735
|
intentType: t.KeyofC<{
|
|
1735
1736
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ import { intentTypes } from "./intentType";
|
|
|
12
12
|
* @param {String} operatorId - The operator id associated with the delegation proposal
|
|
13
13
|
* @param {String} updateId - The transaction update id of the cosign delegation proposal
|
|
14
14
|
* @param {String} [packageName] - The optional package name
|
|
15
|
+
* @param {String} [userAuthorization] - The optional user authorization claim code
|
|
15
16
|
*/
|
|
16
17
|
export const CantonCosignDelegationProposalIntent = t.intersection([
|
|
17
18
|
BaseIntent,
|
|
@@ -23,6 +24,7 @@ export const CantonCosignDelegationProposalIntent = t.intersection([
|
|
|
23
24
|
}),
|
|
24
25
|
t.partial({
|
|
25
26
|
packageName: t.string,
|
|
27
|
+
userAuthorization: t.string,
|
|
26
28
|
}),
|
|
27
29
|
]);
|
|
28
30
|
|