@bitgo/public-types
Advanced tools
Comparing version 2.33.3 to 2.33.4
@@ -39,6 +39,6 @@ "use strict"; | ||
const BaseRoundPayload = t.type({ | ||
state: keygenState_1.KeyCreationMPCv2State, | ||
tssVersion: io_ts_types_1.NonEmptyString, | ||
walletType: walletType_1.WalletType, | ||
coin: io_ts_types_1.NonEmptyString, | ||
state: keygenState_1.KeyCreationMPCv2State, | ||
}); | ||
@@ -84,8 +84,6 @@ exports.OVC1ToOVC2Round1Payload = t.intersection([ | ||
}); | ||
exports.BitgoToOVC1Round1Response = t.type({ | ||
wallet: t.intersection([ | ||
exports.OVC2ToBitgoRound1Payload, | ||
t.type({ platform: exports.PlatformRound1Payload }), | ||
]), | ||
}); | ||
exports.BitgoToOVC1Round1Response = t.intersection([ | ||
exports.OVC2ToBitgoRound1Payload, | ||
t.type({ platform: exports.PlatformRound1Payload }), | ||
]); | ||
exports.OVC1ToOVC2Round2Payload = t.intersection([ | ||
@@ -144,8 +142,6 @@ BaseRoundPayload, | ||
}); | ||
exports.BitgoToOVC1Round2Response = t.type({ | ||
wallet: t.intersection([ | ||
exports.OVC2ToBitgoRound2Payload, | ||
t.type({ platform: exports.PlatformRound2Payload }), | ||
]), | ||
}); | ||
exports.BitgoToOVC1Round2Response = t.intersection([ | ||
exports.OVC2ToBitgoRound2Payload, | ||
t.type({ platform: exports.PlatformRound2Payload }), | ||
]); | ||
exports.OVC1ToOVC2Round3Payload = t.intersection([ | ||
@@ -231,9 +227,7 @@ BaseRoundPayload, | ||
]); | ||
exports.BitgoToOVC1Round3Response = t.type({ | ||
bitGoKeyId: io_ts_types_1.NonEmptyString, | ||
wallet: t.intersection([ | ||
exports.OVC1ToBitgoRound3Payload, | ||
t.type({ platform: exports.PlatformRound3Payload }), | ||
]), | ||
}); | ||
exports.BitgoToOVC1Round3Response = t.intersection([ | ||
t.type({ bitGoKeyId: io_ts_types_1.NonEmptyString }), | ||
exports.OVC1ToBitgoRound3Payload, | ||
t.type({ platform: exports.PlatformRound3Payload }), | ||
]); | ||
//# sourceMappingURL=keygenRound.js.map |
{ | ||
"name": "@bitgo/public-types", | ||
"version": "2.33.3", | ||
"version": "2.33.4", | ||
"description": "Collection of types exposed externally as part of the BitGo public API", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
@@ -15,6 +15,6 @@ import * as t from "io-ts"; | ||
const BaseRoundPayload = t.type({ | ||
state: KeyCreationMPCv2State, | ||
tssVersion: NonEmptyString, | ||
walletType: WalletType, | ||
coin: NonEmptyString, | ||
state: KeyCreationMPCv2State, | ||
}); | ||
@@ -74,8 +74,6 @@ | ||
export const BitgoToOVC1Round1Response = t.type({ | ||
wallet: t.intersection([ | ||
OVC2ToBitgoRound1Payload, | ||
t.type({ platform: PlatformRound1Payload }), | ||
]), | ||
}); | ||
export const BitgoToOVC1Round1Response = t.intersection([ | ||
OVC2ToBitgoRound1Payload, | ||
t.type({ platform: PlatformRound1Payload }), | ||
]); | ||
@@ -150,8 +148,6 @@ export type BitgoToOVC1Round1Response = t.TypeOf< | ||
export const BitgoToOVC1Round2Response = t.type({ | ||
wallet: t.intersection([ | ||
OVC2ToBitgoRound2Payload, | ||
t.type({ platform: PlatformRound2Payload }), | ||
]), | ||
}); | ||
export const BitgoToOVC1Round2Response = t.intersection([ | ||
OVC2ToBitgoRound2Payload, | ||
t.type({ platform: PlatformRound2Payload }), | ||
]); | ||
@@ -256,9 +252,7 @@ export type BitgoToOVC1Round2Response = t.TypeOf< | ||
export const BitgoToOVC1Round3Response = t.type({ | ||
bitGoKeyId: NonEmptyString, | ||
wallet: t.intersection([ | ||
OVC1ToBitgoRound3Payload, | ||
t.type({ platform: PlatformRound3Payload }), | ||
]), | ||
}); | ||
export const BitgoToOVC1Round3Response = t.intersection([ | ||
t.type({ bitGoKeyId: NonEmptyString }), | ||
OVC1ToBitgoRound3Payload, | ||
t.type({ platform: PlatformRound3Payload }), | ||
]); | ||
@@ -265,0 +259,0 @@ export type BitgoToOVC1Round3Response = t.TypeOf< |
Sorry, the diff of this file is too big to display
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
326693
6280