@bcts/sskr 1.0.0-alpha.17 → 1.0.0-alpha.18

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/index.d.cts CHANGED
@@ -192,19 +192,19 @@ declare function sskrCombine(shares: Uint8Array[]): Secret;
192
192
  /**
193
193
  * The minimum length of a secret.
194
194
  */
195
- declare const MIN_SECRET_LEN = 16;
195
+ declare const MIN_SECRET_LEN: any;
196
196
  /**
197
197
  * The maximum length of a secret.
198
198
  */
199
- declare const MAX_SECRET_LEN = 32;
199
+ declare const MAX_SECRET_LEN: any;
200
200
  /**
201
201
  * The maximum number of shares that can be generated from a secret.
202
202
  */
203
- declare const MAX_SHARE_COUNT = 16;
203
+ declare const MAX_SHARE_COUNT: any;
204
204
  /**
205
205
  * The maximum number of groups in a split.
206
206
  */
207
- declare const MAX_GROUPS_COUNT = 16;
207
+ declare const MAX_GROUPS_COUNT: any;
208
208
  /**
209
209
  * The number of bytes used to encode the metadata for a share.
210
210
  */
@@ -212,7 +212,7 @@ declare const METADATA_SIZE_BYTES = 5;
212
212
  /**
213
213
  * The minimum number of bytes required to encode a share.
214
214
  */
215
- declare const MIN_SERIALIZE_SIZE_BYTES: number;
215
+ declare const MIN_SERIALIZE_SIZE_BYTES: any;
216
216
  //#endregion
217
217
  export { GroupSpec, MAX_GROUPS_COUNT, MAX_SECRET_LEN, MAX_SHARE_COUNT, METADATA_SIZE_BYTES, MIN_SECRET_LEN, MIN_SERIALIZE_SIZE_BYTES, SSKRError, SSKRErrorType, type SSKRResult, Secret, Spec, sskrCombine, sskrGenerate, sskrGenerateUsing };
218
218
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -192,19 +192,19 @@ declare function sskrCombine(shares: Uint8Array[]): Secret;
192
192
  /**
193
193
  * The minimum length of a secret.
194
194
  */
195
- declare const MIN_SECRET_LEN = 16;
195
+ declare const MIN_SECRET_LEN: any;
196
196
  /**
197
197
  * The maximum length of a secret.
198
198
  */
199
- declare const MAX_SECRET_LEN = 32;
199
+ declare const MAX_SECRET_LEN: any;
200
200
  /**
201
201
  * The maximum number of shares that can be generated from a secret.
202
202
  */
203
- declare const MAX_SHARE_COUNT = 16;
203
+ declare const MAX_SHARE_COUNT: any;
204
204
  /**
205
205
  * The maximum number of groups in a split.
206
206
  */
207
- declare const MAX_GROUPS_COUNT = 16;
207
+ declare const MAX_GROUPS_COUNT: any;
208
208
  /**
209
209
  * The number of bytes used to encode the metadata for a share.
210
210
  */
@@ -212,7 +212,7 @@ declare const METADATA_SIZE_BYTES = 5;
212
212
  /**
213
213
  * The minimum number of bytes required to encode a share.
214
214
  */
215
- declare const MIN_SERIALIZE_SIZE_BYTES: number;
215
+ declare const MIN_SERIALIZE_SIZE_BYTES: any;
216
216
  //#endregion
217
217
  export { GroupSpec, MAX_GROUPS_COUNT, MAX_SECRET_LEN, MAX_SHARE_COUNT, METADATA_SIZE_BYTES, MIN_SECRET_LEN, MIN_SERIALIZE_SIZE_BYTES, SSKRError, SSKRErrorType, type SSKRResult, Secret, Spec, sskrCombine, sskrGenerate, sskrGenerateUsing };
218
218
  //# sourceMappingURL=index.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcts/sskr",
3
- "version": "1.0.0-alpha.17",
3
+ "version": "1.0.0-alpha.18",
4
4
  "type": "module",
5
5
  "description": "Blockchain Commons Sharded Secret Key Reconstruction (SSKR) for TypeScript",
6
6
  "license": "BSD-2-Clause-Patent",
@@ -67,14 +67,14 @@
67
67
  "node": ">=18.0.0"
68
68
  },
69
69
  "dependencies": {
70
- "@bcts/rand": "^1.0.0-alpha.17",
71
- "@bcts/shamir": "^1.0.0-alpha.17"
70
+ "@bcts/rand": "^1.0.0-alpha.18",
71
+ "@bcts/shamir": "^1.0.0-alpha.18"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@bcts/eslint": "^0.1.0",
75
75
  "@bcts/tsconfig": "^0.1.0",
76
76
  "@eslint/js": "^9.39.2",
77
- "@types/node": "^25.0.10",
77
+ "@types/node": "^25.2.0",
78
78
  "eslint": "^9.39.2",
79
79
  "ts-node": "^10.9.2",
80
80
  "tsdown": "^0.20.1",