Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitgo/public-types

Package Overview
Dependencies
Maintainers
15
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo/public-types - npm Package Compare versions

Comparing version 2.9.2 to 2.9.3

12

dist/src/schema/mpcv2/common/mpcv2BroadcastMessage.d.ts
import * as t from "io-ts";
export declare const MPCv2BroadcastMessage: t.IntersectionC<[t.TypeC<{
export declare const MPCv2BroadcastMessage: t.TypeC<{
from: import("./mpcv2PartyFromStringOrNumber").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
}>;
export type MPCv2BroadcastMessage = t.TypeOf<typeof MPCv2BroadcastMessage>;
export declare const MPCv2BroadcastMessageWithSignatureR: t.IntersectionC<[t.TypeC<{
from: import("./mpcv2PartyFromStringOrNumber").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.TypeC<{
signatureR: t.StringC;
}>]>;
export type MPCv2BroadcastMessage = t.TypeOf<typeof MPCv2BroadcastMessage>;
export type MPCv2BroadcastMessageWithSignatureR = t.TypeOf<typeof MPCv2BroadcastMessageWithSignatureR>;
//# sourceMappingURL=mpcv2BroadcastMessage.d.ts.map

@@ -26,12 +26,13 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.MPCv2BroadcastMessage = void 0;
exports.MPCv2BroadcastMessageWithSignatureR = exports.MPCv2BroadcastMessage = void 0;
const t = __importStar(require("io-ts"));
const mpcv2PartyFromStringOrNumber_1 = require("./mpcv2PartyFromStringOrNumber");
exports.MPCv2BroadcastMessage = t.intersection([
exports.MPCv2BroadcastMessage = t.type({
from: mpcv2PartyFromStringOrNumber_1.MPCv2PartyFromStringOrNumber,
message: t.string,
signature: t.string,
}, "MPCv2BroadcastMessage");
exports.MPCv2BroadcastMessageWithSignatureR = t.intersection([
exports.MPCv2BroadcastMessage,
t.type({
from: mpcv2PartyFromStringOrNumber_1.MPCv2PartyFromStringOrNumber,
message: t.string,
signature: t.string,
}, "MPCv2BroadcastMessage"),
t.partial({
signatureR: t.string,

@@ -38,0 +39,0 @@ }),

@@ -5,16 +5,12 @@ import * as t from "io-ts";

backupGpgPublicKey: import("io-ts-types").NonEmptyStringC;
userMsg1: t.IntersectionC<[t.TypeC<{
userMsg1: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
backupMsg1: t.IntersectionC<[t.TypeC<{
}>;
backupMsg1: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
}>;

@@ -24,9 +20,7 @@ export type MPCv2KeyGenRound1Request = t.TypeOf<typeof MPCv2KeyGenRound1Request>;

sessionId: import("io-ts-types").NonEmptyStringC;
bitgoMsg1: t.IntersectionC<[t.TypeC<{
bitgoMsg1: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
bitgoToUserMsg2: t.TypeC<{

@@ -95,16 +89,12 @@ from: import("../common").MPCv2PartyFromStringOrNumberC;

}>;
userMsg4: t.IntersectionC<[t.TypeC<{
userMsg4: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
backupMsg4: t.IntersectionC<[t.TypeC<{
}>;
backupMsg4: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
}>;

@@ -115,11 +105,9 @@ export type MPCv2KeyGenRound3Request = t.TypeOf<typeof MPCv2KeyGenRound3Request>;

commonKeychain: import("io-ts-types").NonEmptyStringC;
bitgoMsg4: t.IntersectionC<[t.TypeC<{
bitgoMsg4: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
}>;
export type MPCv2KeyGenRound3Response = t.TypeOf<typeof MPCv2KeyGenRound3Response>;
//# sourceMappingURL=keygenRound.d.ts.map

@@ -10,9 +10,7 @@ import * as t from "io-ts";

data: t.TypeC<{
msg1: t.IntersectionC<[t.TypeC<{
msg1: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
}>;

@@ -26,9 +24,7 @@ }>]>;

data: t.TypeC<{
msg1: t.IntersectionC<[t.TypeC<{
msg1: t.TypeC<{
from: import("../common").MPCv2PartyFromStringOrNumberC;
message: t.StringC;
signature: t.StringC;
}>, t.PartialC<{
signatureR: t.StringC;
}>]>;
}>;
msg2: t.TypeC<{

@@ -86,3 +82,3 @@ from: import("../common").MPCv2PartyFromStringOrNumberC;

signature: t.StringC;
}>, t.PartialC<{
}>, t.TypeC<{
signatureR: t.StringC;

@@ -89,0 +85,0 @@ }>]>;

@@ -76,3 +76,3 @@ "use strict";

data: t.type({
msg4: common_1.MPCv2BroadcastMessage,
msg4: common_1.MPCv2BroadcastMessageWithSignatureR,
}),

@@ -79,0 +79,0 @@ }, "MPCv2SignatureShareRound3Input"),

{
"name": "@bitgo/public-types",
"version": "2.9.2",
"version": "2.9.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc