@bitgo-beta/sdk-lib-mpc
Advanced tools
Comparing version 8.2.1-alpha.6 to 8.2.1-alpha.7
@@ -31,3 +31,3 @@ interface NtildeProof<T> { | ||
}; | ||
export declare type SerializedEcdsaChallenges = SerializedNtilde & Partial<SerializedPaillierChallenge>; | ||
export declare type SerializedEcdsaChallenges = SerializedNtilde & SerializedPaillierChallenge; | ||
/** | ||
@@ -34,0 +34,0 @@ * Deserializes a challenge from hex strings to bigint |
@@ -132,2 +132,2 @@ "use strict"; | ||
exports.serializePaillierChallengeWithProofs = serializePaillierChallengeWithProofs; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHNzL2VjZHNhL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLG9FQUFvRTtBQUNwRSxxQ0FBMEc7QUEwQzFHOzs7R0FHRztBQUNILFNBQWdCLGlCQUFpQixDQUFDLFNBQTJCO0lBQzNELE9BQU87UUFDTCxNQUFNLEVBQUUsa0JBQVcsQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDO1FBQ3JDLEVBQUUsRUFBRSxrQkFBVyxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUM7UUFDN0IsRUFBRSxFQUFFLGtCQUFXLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQztLQUM5QixDQUFDO0FBQ0osQ0FBQztBQU5ELDhDQU1DO0FBRUQ7OztHQUdHO0FBQ0gsU0FBZ0IsZUFBZSxDQUFDLFNBQTZCO0lBQzNELE9BQU87UUFDTCxNQUFNLEVBQUUsa0JBQVcsQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDO1FBQ3JDLEVBQUUsRUFBRSxrQkFBVyxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUM7UUFDN0IsRUFBRSxFQUFFLGtCQUFXLEN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.1-alpha.6", | ||
"version": "8.2.1-alpha.7", | ||
"description": "library functions for BitGo's MPC solution", | ||
@@ -51,3 +51,3 @@ "main": "./dist/src/index.js", | ||
}, | ||
"gitHead": "e6b78459fbb073ad45baa91810a2d9fc9a46d8eb" | ||
"gitHead": "ce20ee41a7a39623bfd344b8b2ef9b7f18bf822f" | ||
} |
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
10728240