@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.
@@ -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 {'1'} [version] - Protocol version. Default: CURRENT_VERSION */
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 {'1'} [version] - Protocol version. Default: CURRENT_VERSION */
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinkparrot/qsafe-sig",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "author": "PinkParrot",
5
5
  "license": "GPL-3.0",
6
6
  "description": "Combination of pre quantum and post quantum signature, designed for a smooth migration.",