@pinkparrot/qsafe-sig 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/qsafe-sig.browser.min.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -3003,7 +3003,7 @@ var QsafeSigner = class _QsafeSigner {
|
|
|
3003
3003
|
/** Creates a signer ready for signing with a single version+variant.
|
|
3004
3004
|
* Ideal for signing use-cases. Each instance gets its own MayoSigner.
|
|
3005
3005
|
* @param {'mayo1' | 'mayo2'} [variant] - Default: 'mayo1'
|
|
3006
|
-
* @param {
|
|
3006
|
+
* @param {string} [version] - Protocol version. Default: CURRENT_VERSION */
|
|
3007
3007
|
static async create(variant = DEFAULT_VARIANT, version = CURRENT_VERSION) {
|
|
3008
3008
|
const proto = PROTOCOL_VERSIONS[version];
|
|
3009
3009
|
if (!proto) throw new Error(`Unknown protocol version: ${version}`);
|
package/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ class QsafeSigner {
|
|
|
31
31
|
/** Creates a signer ready for signing with a single version+variant.
|
|
32
32
|
* Ideal for signing use-cases. Each instance gets its own MayoSigner.
|
|
33
33
|
* @param {'mayo1' | 'mayo2'} [variant] - Default: 'mayo1'
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {string} [version] - Protocol version. Default: CURRENT_VERSION */
|
|
35
35
|
static async create(variant = DEFAULT_VARIANT, version = CURRENT_VERSION) {
|
|
36
36
|
const proto = PROTOCOL_VERSIONS[version];
|
|
37
37
|
if (!proto) throw new Error(`Unknown protocol version: ${version}`);
|
package/package.json
CHANGED