@bitgo/public-types
Advanced tools
Comparing version 2.6.2 to 2.6.3
export * from "./mpcv2BroadcastMessage"; | ||
export * from "./mpcv2P2PMessage"; | ||
export * from "./mpcv2Party"; | ||
export * from "./mpcv2PartyFromStringOrNumber"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,3 +19,3 @@ "use strict"; | ||
__exportStar(require("./mpcv2P2PMessage"), exports); | ||
__exportStar(require("./mpcv2Party"), exports); | ||
__exportStar(require("./mpcv2PartyFromStringOrNumber"), exports); | ||
//# sourceMappingURL=index.js.map |
import * as t from "io-ts"; | ||
export declare const MPCv2BroadcastMessage: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("./mpcv2PartyFromStringOrNumber").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -9,0 +5,0 @@ signature: t.StringC; |
@@ -28,5 +28,5 @@ "use strict"; | ||
const t = __importStar(require("io-ts")); | ||
const mpcv2Party_1 = require("./mpcv2Party"); | ||
const mpcv2PartyFromStringOrNumber_1 = require("./mpcv2PartyFromStringOrNumber"); | ||
exports.MPCv2BroadcastMessage = t.type({ | ||
from: mpcv2Party_1.MPCv2Party, | ||
from: mpcv2PartyFromStringOrNumber_1.MPCv2PartyFromStringOrNumber, | ||
message: t.string, | ||
@@ -33,0 +33,0 @@ signature: t.string, |
import * as t from "io-ts"; | ||
export declare const MPCv2P2PMessage: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("./mpcv2PartyFromStringOrNumber").MPCv2PartyFromStringOrNumberC; | ||
to: import("./mpcv2PartyFromStringOrNumber").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -14,0 +6,0 @@ signature: t.StringC; |
@@ -28,6 +28,6 @@ "use strict"; | ||
const t = __importStar(require("io-ts")); | ||
const mpcv2Party_1 = require("./mpcv2Party"); | ||
const mpcv2PartyFromStringOrNumber_1 = require("./mpcv2PartyFromStringOrNumber"); | ||
exports.MPCv2P2PMessage = t.type({ | ||
from: mpcv2Party_1.MPCv2Party, | ||
to: mpcv2Party_1.MPCv2Party, | ||
from: mpcv2PartyFromStringOrNumber_1.MPCv2PartyFromStringOrNumber, | ||
to: mpcv2PartyFromStringOrNumber_1.MPCv2PartyFromStringOrNumber, | ||
encryptedMessage: t.string, | ||
@@ -34,0 +34,0 @@ signature: t.string, |
@@ -6,7 +6,3 @@ import * as t from "io-ts"; | ||
userMsg1: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -16,7 +12,3 @@ signature: t.StringC; | ||
backupMsg1: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -30,7 +22,3 @@ signature: t.StringC; | ||
bitgoMsg1: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -40,12 +28,4 @@ signature: t.StringC; | ||
bitgoToUserMsg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -55,12 +35,4 @@ signature: t.StringC; | ||
bitgoToBackupMsg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -74,12 +46,4 @@ signature: t.StringC; | ||
userMsg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -90,12 +54,4 @@ signature: t.StringC; | ||
backupMsg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -111,12 +67,4 @@ signature: t.StringC; | ||
bitgoToUserMsg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -126,12 +74,4 @@ signature: t.StringC; | ||
bitgoToBackupMsg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -145,12 +85,4 @@ signature: t.StringC; | ||
userMsg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -160,12 +92,4 @@ signature: t.StringC; | ||
backupMsg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -175,7 +99,3 @@ signature: t.StringC; | ||
userMsg4: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -185,7 +105,3 @@ signature: t.StringC; | ||
backupMsg4: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -200,7 +116,3 @@ signature: t.StringC; | ||
bitgoMsg4: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -207,0 +119,0 @@ signature: t.StringC; |
@@ -11,7 +11,3 @@ import * as t from "io-ts"; | ||
msg1: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -29,7 +25,3 @@ signature: t.StringC; | ||
msg1: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -39,12 +31,4 @@ signature: t.StringC; | ||
msg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -62,12 +46,4 @@ signature: t.StringC; | ||
msg2: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -77,12 +53,4 @@ signature: t.StringC; | ||
msg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -100,12 +68,4 @@ signature: t.StringC; | ||
msg3: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
to: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
to: import("../common").MPCv2PartyFromStringOrNumberC; | ||
encryptedMessage: t.StringC; | ||
@@ -123,7 +83,3 @@ signature: t.StringC; | ||
msg4: t.TypeC<{ | ||
from: t.KeyofC<{ | ||
readonly 0: 0; | ||
readonly 1: 1; | ||
readonly 2: 2; | ||
}>; | ||
from: import("../common").MPCv2PartyFromStringOrNumberC; | ||
message: t.StringC; | ||
@@ -130,0 +86,0 @@ signature: t.StringC; |
{ | ||
"name": "@bitgo/public-types", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135793
2219