@syncular/core 0.3.1 → 0.4.0

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/crypto.d.ts CHANGED
@@ -18,7 +18,6 @@ export declare class DecryptError extends Error {
18
18
  readonly name = "DecryptError";
19
19
  readonly code = "client.decrypt_failed";
20
20
  readonly retryable = false;
21
- constructor(message: string);
22
21
  }
23
22
  /**
24
23
  * Injectable nonce source (SPEC.md §5.11 nonce discipline). Production uses
package/dist/crypto.js CHANGED
@@ -29,9 +29,6 @@ export class DecryptError extends Error {
29
29
  name = 'DecryptError';
30
30
  code = 'client.decrypt_failed';
31
31
  retryable = false;
32
- constructor(message) {
33
- super(message);
34
- }
35
32
  }
36
33
  export function secureRandomNonce() {
37
34
  const nonce = new Uint8Array(NONCE_LENGTH);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/core",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Core protocol types and shared utilities for the Syncular sync framework",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Benjamin Kniffler",
package/src/crypto.ts CHANGED
@@ -46,10 +46,6 @@ export class DecryptError extends Error {
46
46
  override readonly name = 'DecryptError';
47
47
  readonly code = 'client.decrypt_failed';
48
48
  readonly retryable = false;
49
-
50
- constructor(message: string) {
51
- super(message);
52
- }
53
49
  }
54
50
 
55
51
  /**