@bitgo/sdk-lib-mpc
Advanced tools
Comparing version 9.0.1 to 9.1.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [9.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-lib-mpc@9.0.1...@bitgo/sdk-lib-mpc@9.1.0) (2024-03-11) | ||
### Features | ||
- **sdk-lib-mpc:** support DSG Dkls primitives ([899082f](https://github.com/BitGo/BitGoJS/commit/899082f3bb99b4e8a5bcfb5bf19a20e4c40d5023)) | ||
## [9.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-lib-mpc@9.0.0...@bitgo/sdk-lib-mpc@9.0.1) (2024-02-28) | ||
@@ -8,0 +14,0 @@ |
export * as DklsDkg from './dkg'; | ||
export * as DklsDsg from './dsg'; | ||
export * as DklsTypes from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -22,5 +22,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DklsTypes = exports.DklsDkg = void 0; | ||
exports.DklsTypes = exports.DklsDsg = exports.DklsDkg = void 0; | ||
exports.DklsDkg = __importStar(require("./dkg")); | ||
exports.DklsDsg = __importStar(require("./dsg")); | ||
exports.DklsTypes = __importStar(require("./types")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHNzL2VjZHNhLWRrbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGlEQUFpQztBQUNqQyxxREFBcUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBhcyBEa2xzRGtnIGZyb20gJy4vZGtnJztcbmV4cG9ydCAqIGFzIERrbHNUeXBlcyBmcm9tICcuL3R5cGVzJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHNzL2VjZHNhLWRrbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGlEQUFpQztBQUNqQyxpREFBaUM7QUFDakMscURBQXFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogYXMgRGtsc0RrZyBmcm9tICcuL2RrZyc7XG5leHBvcnQgKiBhcyBEa2xzRHNnIGZyb20gJy4vZHNnJztcbmV4cG9ydCAqIGFzIERrbHNUeXBlcyBmcm9tICcuL3R5cGVzJztcbiJdfQ== |
@@ -20,2 +20,11 @@ interface BroadcastMessage<T> { | ||
} | ||
export declare enum DsgState { | ||
Uninitialized = 0, | ||
Round1 = 1, | ||
Round2 = 2, | ||
Round3 = 3, | ||
Round4 = 4, | ||
Complete = 5, | ||
InvalidState = 6 | ||
} | ||
export declare type AuthEncMessage = { | ||
@@ -33,2 +42,6 @@ encryptedMessage: string; | ||
}; | ||
export declare type DklsSignature = { | ||
R: Uint8Array; | ||
S: Uint8Array; | ||
}; | ||
export declare type SerializedBroadcastMessage = BroadcastMessage<string>; | ||
@@ -35,0 +48,0 @@ export declare type DeserializedBroadcastMessage = BroadcastMessage<Uint8Array>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.deserializeMessages = exports.serializeMessages = exports.DkgState = void 0; | ||
exports.deserializeMessages = exports.serializeMessages = exports.DsgState = exports.DkgState = void 0; | ||
var DkgState; | ||
@@ -14,2 +14,12 @@ (function (DkgState) { | ||
})(DkgState = exports.DkgState || (exports.DkgState = {})); | ||
var DsgState; | ||
(function (DsgState) { | ||
DsgState[DsgState["Uninitialized"] = 0] = "Uninitialized"; | ||
DsgState[DsgState["Round1"] = 1] = "Round1"; | ||
DsgState[DsgState["Round2"] = 2] = "Round2"; | ||
DsgState[DsgState["Round3"] = 3] = "Round3"; | ||
DsgState[DsgState["Round4"] = 4] = "Round4"; | ||
DsgState[DsgState["Complete"] = 5] = "Complete"; | ||
DsgState[DsgState["InvalidState"] = 6] = "InvalidState"; | ||
})(DsgState = exports.DsgState || (exports.DsgState = {})); | ||
/** | ||
@@ -61,2 +71,2 @@ * Serializes messages payloads to base64 strings. | ||
exports.deserializeMessages = deserializeMessages; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHNzL2VjZHNhLWRrbHMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBY0EsSUFBWSxRQVFYO0FBUkQsV0FBWSxRQUFRO0lBQ2xCLHlEQUFpQixDQUFBO0lBQ2pCLDJDQUFNLENBQUE7SUFDTiwyQ0FBTSxDQUFBO0lBQ04sMkNBQU0sQ0FBQTtJQUNOLDJDQUFNLENBQUE7SUFDTiwrQ0FBUSxDQUFBO0lBQ1IsdURBQVksQ0FBQTtBQUNkLENBQUMsRUFSVyxRQUFRLEdBQVIsZ0JBQVEsS0FBUixnQkFBUSxRQVFuQjtBQWlDRDs7O0dBR0c7QUFDSCxTQUFnQixpQkFBaUIsQ0FBQyxRQUE4QjtJQUM5RCxPQUFPO1FBQ0wsV0FBVyxFQUFFLFFBQVEsQ0FBQyxXQUFXLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUU7WUFDMUMsT0FBTztnQkFDTCxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUU7Z0JBQ1IsSUFBSSxFQUFFLENBQUMsQ0FBQyxJQUFJO2dCQUNaLE9BQU8sRUFBRSxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyx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tcbiAgICAgICAgZnJvbTogbS5mcm9tLFxuICAgICAgICBwYXlsb2FkOiBuZXcgVWludDhBcnJheShCdWZmZXIuZnJvbShtLnBheWxvYWQsICdiYXNlNjQnKSksXG4gICAgICB9O1xuICAgIH0pLFxuICB9O1xufVxuIl19 |
{ | ||
"name": "@bitgo/sdk-lib-mpc", | ||
"version": "9.0.1", | ||
"version": "9.1.0", | ||
"description": "library functions for BitGo's MPC solution", | ||
@@ -56,3 +56,3 @@ "main": "./dist/src/index.js", | ||
}, | ||
"gitHead": "1c3792cff5f3566f171edc22b5296bf3e0fbb7bb" | ||
"gitHead": "160c34f86c0819bfa0dbe8bc996c0745a34f222a" | ||
} |
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
10814841
99
5733