@bitgo/public-types
Advanced tools
Comparing version
export * from "./transactions"; | ||
export * from "./transactionRequest"; | ||
export * from "./webhook"; | ||
@@ -3,0 +4,0 @@ export * from "./mpcv2"; |
@@ -18,2 +18,3 @@ "use strict"; | ||
__exportStar(require("./transactions"), exports); | ||
__exportStar(require("./transactionRequest"), exports); | ||
__exportStar(require("./webhook"), exports); | ||
@@ -20,0 +21,0 @@ __exportStar(require("./mpcv2"), exports); |
@@ -8,2 +8,5 @@ import * as t from "io-ts"; | ||
eddsaPendingGShare: number; | ||
ecdsaMPCv2Round1: number; | ||
ecdsaMPCv2Round2: number; | ||
ecdsaMPCv2Round3: number; | ||
readyToCombineShares: number; | ||
@@ -10,0 +13,0 @@ signed: number; |
@@ -34,2 +34,5 @@ "use strict"; | ||
eddsaPendingGShare: 1, | ||
ecdsaMPCv2Round1: 1, | ||
ecdsaMPCv2Round2: 1, | ||
ecdsaMPCv2Round3: 1, | ||
readyToCombineShares: 1, | ||
@@ -36,0 +39,0 @@ signed: 1, |
@@ -9,4 +9,4 @@ import * as t from "io-ts"; | ||
listenToFailureStates: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>; | ||
txRequestStates: t.UnionC<[t.Type<("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], ("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], unknown>, t.UndefinedC]>; | ||
txRequestTransactionStates: t.UnionC<[t.Type<("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], ("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], unknown>, t.UndefinedC]>; | ||
txRequestStates: t.UnionC<[t.Type<("initialized" | "signed" | "delivered" | "rejected" | "pendingApproval" | "canceled" | "pendingDelivery" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "failed")[], ("initialized" | "signed" | "delivered" | "rejected" | "pendingApproval" | "canceled" | "pendingDelivery" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "failed")[], unknown>, t.UndefinedC]>; | ||
txRequestTransactionStates: t.UnionC<[t.Type<("initialized" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "ecdsaMPCv2Round1" | "ecdsaMPCv2Round2" | "ecdsaMPCv2Round3" | "readyToCombineShares" | "signed" | "held" | "delivered" | "invalidSignature" | "rejected")[], ("initialized" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "ecdsaMPCv2Round1" | "ecdsaMPCv2Round2" | "ecdsaMPCv2Round3" | "readyToCombineShares" | "signed" | "held" | "delivered" | "invalidSignature" | "rejected")[], unknown>, t.UndefinedC]>; | ||
}; | ||
@@ -20,6 +20,6 @@ export declare const AddWalletWebhookRequestBodyC: t.TypeC<{ | ||
listenToFailureStates: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>; | ||
txRequestStates: t.UnionC<[t.Type<("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], ("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], unknown>, t.UndefinedC]>; | ||
txRequestTransactionStates: t.UnionC<[t.Type<("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], ("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], unknown>, t.UndefinedC]>; | ||
txRequestStates: t.UnionC<[t.Type<("initialized" | "signed" | "delivered" | "rejected" | "pendingApproval" | "canceled" | "pendingDelivery" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "failed")[], ("initialized" | "signed" | "delivered" | "rejected" | "pendingApproval" | "canceled" | "pendingDelivery" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "failed")[], unknown>, t.UndefinedC]>; | ||
txRequestTransactionStates: t.UnionC<[t.Type<("initialized" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "ecdsaMPCv2Round1" | "ecdsaMPCv2Round2" | "ecdsaMPCv2Round3" | "readyToCombineShares" | "signed" | "held" | "delivered" | "invalidSignature" | "rejected")[], ("initialized" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "ecdsaMPCv2Round1" | "ecdsaMPCv2Round2" | "ecdsaMPCv2Round3" | "readyToCombineShares" | "signed" | "held" | "delivered" | "invalidSignature" | "rejected")[], unknown>, t.UndefinedC]>; | ||
}>; | ||
export type AddWalletWebhookRequestBody = t.TypeOf<typeof AddWalletWebhookRequestBodyC>; | ||
//# sourceMappingURL=addWalletWebhookRequest.d.ts.map |
@@ -67,2 +67,5 @@ import * as t from "io-ts"; | ||
eddsaPendingGShare: number; | ||
ecdsaMPCv2Round1: number; | ||
ecdsaMPCv2Round2: number; | ||
ecdsaMPCv2Round3: number; | ||
readyToCombineShares: number; | ||
@@ -69,0 +72,0 @@ signed: number; |
@@ -44,2 +44,5 @@ import * as t from "io-ts"; | ||
eddsaPendingGShare: number; | ||
ecdsaMPCv2Round1: number; | ||
ecdsaMPCv2Round2: number; | ||
ecdsaMPCv2Round3: number; | ||
readyToCombineShares: number; | ||
@@ -46,0 +49,0 @@ signed: number; |
{ | ||
"name": "@bitgo/public-types", | ||
"version": "2.19.0", | ||
"version": "2.20.0", | ||
"description": "Collection of types exposed externally as part of the BitGo public API", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
165007
1.36%150
2.74%2674
1.36%