@bitgo/public-types 6.73.0 → 6.75.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/mpcv2/derive/deriveRound.d.ts +0 -4
- package/dist/src/schema/mpcv2/derive/deriveRound.js +0 -1
- package/dist/src/schema/mpcv2/derive/deriveRound.js.map +1 -1
- package/dist/src/schema/webhook/webhookType.d.ts +4 -2
- package/dist/src/schema/webhook/webhookType.js +2 -0
- package/dist/src/schema/webhook/webhookType.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/mpcv2/derive/deriveRound.ts +0 -1
- package/src/schema/webhook/webhookType.ts +4 -0
|
@@ -79,10 +79,6 @@ export declare const EddsaMPCv2DeriveRound2Request: t.TypeC<{
|
|
|
79
79
|
message: t.StringC;
|
|
80
80
|
signature: t.StringC;
|
|
81
81
|
}>;
|
|
82
|
-
backupMsg2: t.TypeC<{
|
|
83
|
-
message: t.StringC;
|
|
84
|
-
signature: t.StringC;
|
|
85
|
-
}>;
|
|
86
82
|
}>;
|
|
87
83
|
export type EddsaMPCv2DeriveRound2Request = t.TypeOf<typeof EddsaMPCv2DeriveRound2Request>;
|
|
88
84
|
export declare const EddsaMPCv2DeriveRound2Response: t.TypeC<{
|
|
@@ -68,7 +68,6 @@ exports.EddsaMPCv2DeriveRound1Response = t.type({
|
|
|
68
68
|
exports.EddsaMPCv2DeriveRound2Request = t.type({
|
|
69
69
|
sessionId: io_ts_types_1.NonEmptyString,
|
|
70
70
|
userMsg2: common_1.EddsaMPCv2SignedMessage,
|
|
71
|
-
backupMsg2: common_1.EddsaMPCv2SignedMessage,
|
|
72
71
|
});
|
|
73
72
|
exports.EddsaMPCv2DeriveRound2Response = t.type({
|
|
74
73
|
sessionId: io_ts_types_1.NonEmptyString,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deriveRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/derive/deriveRound.ts"],"names":[],"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AC7C,SAAS,EAAE,4BAAc;CAC1B,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,4BAAc;IACzB,cAAc,EAAE,4BAAc;CAC/B,CAAC,CAAC;AAMU,QAAA,6BAA6B,GAAG,CAAC,CAAC,YAAY,CACzD;IACE,2CAA6B;IAC7B,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,4BAAc;QAC3B,eAAe,EAAE,eAAe;KACjC,CAAC;CACH,EACD,+BAA+B,CAChC,CAAC;AAMW,QAAA,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,SAAS,EAAE,4BAAc;IACzB,SAAS,EAAE,gCAAuB;CACnC,CAAC,CAAC;AAMU,QAAA,6BAA6B,GAAG,CAAC,CAAC,IAAI,CAAC;IAClD,SAAS,EAAE,4BAAc;IACzB,QAAQ,EAAE,gCAAuB;CAClC,CAAC,CAAC;AAMU,QAAA,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,SAAS,EAAE,4BAAc;IACzB,oBAAoB,EAAE,4BAAc;IACpC,SAAS,EAAE,gCAAuB;CACnC,CAAC,CAAC"}
|
|
@@ -40,7 +40,8 @@ export declare enum WebhookTypeEnum {
|
|
|
40
40
|
"whitelistApproved" = "whitelistApproved",
|
|
41
41
|
"whitelistRejected" = "whitelistRejected",
|
|
42
42
|
"allocationRequest" = "allocationRequest",
|
|
43
|
-
"allocationAccepted" = "allocationAccepted"
|
|
43
|
+
"allocationAccepted" = "allocationAccepted",
|
|
44
|
+
"allocationSettlementFailed" = "allocationSettlementFailed"
|
|
44
45
|
}
|
|
45
46
|
export declare const WebhookType: t.KeyofC<typeof WebhookTypeEnum>;
|
|
46
47
|
export type WebhookType = t.TypeOf<typeof WebhookType>;
|
|
@@ -69,7 +70,8 @@ export declare enum WalletWebhookTypeEnum {
|
|
|
69
70
|
"endInvestorOnboardingAccepted" = "endInvestorOnboardingAccepted",
|
|
70
71
|
"pendingDecryption" = "pendingDecryption",
|
|
71
72
|
"allocationRequest" = "allocationRequest",
|
|
72
|
-
"allocationAccepted" = "allocationAccepted"
|
|
73
|
+
"allocationAccepted" = "allocationAccepted",
|
|
74
|
+
"allocationSettlementFailed" = "allocationSettlementFailed"
|
|
73
75
|
}
|
|
74
76
|
export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
|
|
75
77
|
export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>;
|
|
@@ -68,6 +68,7 @@ var WebhookTypeEnum;
|
|
|
68
68
|
WebhookTypeEnum["whitelistRejected"] = "whitelistRejected";
|
|
69
69
|
WebhookTypeEnum["allocationRequest"] = "allocationRequest";
|
|
70
70
|
WebhookTypeEnum["allocationAccepted"] = "allocationAccepted";
|
|
71
|
+
WebhookTypeEnum["allocationSettlementFailed"] = "allocationSettlementFailed";
|
|
71
72
|
})(WebhookTypeEnum || (exports.WebhookTypeEnum = WebhookTypeEnum = {}));
|
|
72
73
|
exports.WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
|
|
73
74
|
var WalletWebhookTypeEnum;
|
|
@@ -97,6 +98,7 @@ var WalletWebhookTypeEnum;
|
|
|
97
98
|
WalletWebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
|
|
98
99
|
WalletWebhookTypeEnum["allocationRequest"] = "allocationRequest";
|
|
99
100
|
WalletWebhookTypeEnum["allocationAccepted"] = "allocationAccepted";
|
|
101
|
+
WalletWebhookTypeEnum["allocationSettlementFailed"] = "allocationSettlementFailed";
|
|
100
102
|
})(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
|
|
101
103
|
exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
|
|
102
104
|
var EnterpriseWebhookTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],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CAAA;IACzB,4DAA+B,CAAA;IAC/B,wEAA2C,CAAA;IAC3C,0DAA6B,CAAA;IAC7B,oDAAuB,CAAA;IACvB,wDAA2B,CAAA;IAG3B,sEAAyC,CAAA;IAGzC,sEAAyC,CAAA;AAC3C,CAAC,EAnBW,2BAA2B,2CAA3B,2BAA2B,QAmBtC;AACY,QAAA,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC5C,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -99,7 +99,6 @@ export type EddsaMPCv2DeriveRound1Response = t.TypeOf<
|
|
|
99
99
|
export const EddsaMPCv2DeriveRound2Request = t.type({
|
|
100
100
|
sessionId: NonEmptyString,
|
|
101
101
|
userMsg2: EddsaMPCv2SignedMessage,
|
|
102
|
-
backupMsg2: EddsaMPCv2SignedMessage,
|
|
103
102
|
});
|
|
104
103
|
|
|
105
104
|
export type EddsaMPCv2DeriveRound2Request = t.TypeOf<
|
|
@@ -81,6 +81,8 @@ export enum WebhookTypeEnum {
|
|
|
81
81
|
"allocationRequest" = "allocationRequest",
|
|
82
82
|
/** Canton DvP allocation accepted (wallet-scoped). */
|
|
83
83
|
"allocationAccepted" = "allocationAccepted",
|
|
84
|
+
/** Canton DvP allocation settlement failed (wallet-scoped). */
|
|
85
|
+
"allocationSettlementFailed" = "allocationSettlementFailed",
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
export const WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
|
|
@@ -129,6 +131,8 @@ export enum WalletWebhookTypeEnum {
|
|
|
129
131
|
"allocationRequest" = "allocationRequest",
|
|
130
132
|
/** Canton DvP allocation accepted. */
|
|
131
133
|
"allocationAccepted" = "allocationAccepted",
|
|
134
|
+
/** Canton DvP allocation settlement failed. */
|
|
135
|
+
"allocationSettlementFailed" = "allocationSettlementFailed",
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
export const WalletWebhookType = t.keyof(
|