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

@bitgo/public-types

Package Overview
Dependencies
Maintainers
0
Versions
79
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.33.0 to 2.33.1

9

dist/src/schema/mpcv2/smc/messages/broadcast.d.ts
import * as t from "io-ts";
export declare const AuthBroadcastMessage: t.IntersectionC<[t.TypeC<{
payload: t.TypeC<{
message: t.StringC;
signature: t.StringC;
message: import("io-ts-types").NonEmptyStringC;
signature: import("io-ts-types").NonEmptyStringC;
}>;
from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
}>, t.PartialC<{
signatureR: t.StringC;
signatureR: t.TypeC<{
message: import("io-ts-types").NonEmptyStringC;
signature: import("io-ts-types").NonEmptyStringC;
}>;
}>]>;
export type AuthBroadcastMessage = t.TypeOf<typeof AuthBroadcastMessage>;

@@ -28,6 +28,7 @@ "use strict";

const t = __importStar(require("io-ts"));
const io_ts_types_1 = require("io-ts-types");
const common_1 = require("../../common");
const AuthMessage = t.type({
message: t.string,
signature: t.string,
message: io_ts_types_1.NonEmptyString,
signature: io_ts_types_1.NonEmptyString,
});

@@ -40,5 +41,5 @@ exports.AuthBroadcastMessage = t.intersection([

t.partial({
signatureR: t.string,
signatureR: AuthMessage,
}),
]);
//# sourceMappingURL=broadcast.js.map
{
"name": "@bitgo/public-types",
"version": "2.33.0",
"version": "2.33.1",
"description": "Collection of types exposed externally as part of the BitGo public API",

@@ -5,0 +5,0 @@ "license": "UNLICENSED",

import * as t from "io-ts";
import { NonEmptyString } from "io-ts-types";

@@ -6,4 +7,4 @@ import { MPCv2PartyFromStringOrNumber } from "../../common";

const AuthMessage = t.type({
message: t.string,
signature: t.string,
message: NonEmptyString,
signature: NonEmptyString,
});

@@ -19,3 +20,3 @@

t.partial({
signatureR: t.string,
signatureR: AuthMessage,
}),

@@ -22,0 +23,0 @@ ]);

Sorry, the diff of this file is too big to display

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