@bcts/provenance-mark 1.0.0-alpha.20 → 1.0.0-alpha.21

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/package.json CHANGED
@@ -1,29 +1,18 @@
1
1
  {
2
2
  "name": "@bcts/provenance-mark",
3
- "version": "1.0.0-alpha.20",
3
+ "version": "1.0.0-alpha.21",
4
4
  "type": "module",
5
5
  "description": "Blockchain Commons Provenance Mark for TypeScript - A cryptographically-secured system for establishing and verifying the authenticity of works",
6
6
  "license": "BSD-2-Clause-Patent",
7
- "contributors": [
8
- {
9
- "name": "Leonardo Custodio",
10
- "email": "leonardo.custodio@parity.io",
11
- "url": "https://github.com/leonardocustodio"
12
- },
13
- {
14
- "name": "Karim Jedda",
15
- "email": "karim@parity.io",
16
- "url": "https://github.com/KarimJedda"
17
- }
18
- ],
7
+ "author": "Parity Technologies <admin@parity.io> (https://parity.io)",
19
8
  "homepage": "https://bcts.dev",
20
9
  "repository": {
21
10
  "type": "git",
22
- "url": "https://github.com/leonardocustodio/bcts",
11
+ "url": "https://github.com/paritytech/bcts",
23
12
  "directory": "packages/provenance-mark"
24
13
  },
25
14
  "bugs": {
26
- "url": "https://github.com/leonardocustodio/bcts/issues"
15
+ "url": "https://github.com/paritytech/bcts/issues"
27
16
  },
28
17
  "main": "dist/index.cjs",
29
18
  "module": "dist/index.mjs",
@@ -67,22 +56,22 @@
67
56
  "devDependencies": {
68
57
  "@bcts/eslint": "^0.1.0",
69
58
  "@bcts/tsconfig": "^0.1.0",
70
- "@eslint/js": "^9.39.2",
71
- "@typescript-eslint/eslint-plugin": "^8.54.0",
72
- "@typescript-eslint/parser": "^8.54.0",
73
- "eslint": "^9.39.2",
59
+ "@eslint/js": "^10.0.1",
60
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
61
+ "@typescript-eslint/parser": "^8.56.1",
62
+ "eslint": "^10.0.2",
74
63
  "ts-node": "^10.9.2",
75
64
  "tsdown": "^0.20.3",
76
- "typedoc": "^0.28.16",
65
+ "typedoc": "^0.28.17",
77
66
  "typescript": "^5.9.3",
78
67
  "vitest": "^4.0.18"
79
68
  },
80
69
  "dependencies": {
81
- "@bcts/dcbor": "^1.0.0-alpha.20",
82
- "@bcts/envelope": "^1.0.0-alpha.20",
83
- "@bcts/rand": "^1.0.0-alpha.20",
84
- "@bcts/tags": "^1.0.0-alpha.20",
85
- "@bcts/uniform-resources": "^1.0.0-alpha.20",
70
+ "@bcts/dcbor": "^1.0.0-alpha.21",
71
+ "@bcts/envelope": "^1.0.0-alpha.21",
72
+ "@bcts/rand": "^1.0.0-alpha.21",
73
+ "@bcts/tags": "^1.0.0-alpha.21",
74
+ "@bcts/uniform-resources": "^1.0.0-alpha.21",
86
75
  "@noble/ciphers": "^2.1.1",
87
76
  "@noble/hashes": "^2.0.1"
88
77
  }
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/crypto_utils.rs
2
8
 
3
9
  import { sha256 as sha256Hash } from "@noble/hashes/sha2.js";
package/src/date.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/date.rs
2
8
 
3
9
  import { ProvenanceMarkError, ProvenanceMarkErrorType } from "./error.js";
package/src/envelope.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ *
2
6
  * Envelope support for Provenance Marks
3
7
  *
4
8
  * This module provides Gordian Envelope integration for ProvenanceMark and
package/src/error.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/error.rs
2
8
 
3
9
  /**
package/src/generator.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/generator.rs
2
8
 
3
9
  import { toBase64, fromBase64, bytesToHex } from "./utils.js";
package/src/index.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust
2
8
 
3
9
  // Error types
package/src/mark-info.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/mark_info.rs
2
8
 
3
9
  import { UR } from "@bcts/uniform-resources";
package/src/mark.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/mark.rs
2
8
 
3
9
  import { toBase64, fromBase64, bytesToHex } from "./utils.js";
package/src/resolution.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/resolution.rs
2
8
 
3
9
  import { type Cbor, cbor, expectUnsigned } from "@bcts/dcbor";
package/src/rng-state.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/rng_state.rs
2
8
 
3
9
  import { type Cbor, cbor, expectBytes } from "@bcts/dcbor";
package/src/seed.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/seed.rs
2
8
 
3
9
  import { type Cbor, cbor, expectBytes } from "@bcts/dcbor";
package/src/utils.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ *
2
6
  * Utility functions for byte array conversions.
3
7
  *
4
8
  * These functions provide cross-platform support for common byte manipulation
package/src/validate.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/validate.rs
2
8
 
3
9
  import type { ProvenanceMark } from "./mark.js";
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright © 2023-2026 Blockchain Commons, LLC
3
+ * Copyright © 2025-2026 Parity Technologies
4
+ *
5
+ */
6
+
1
7
  // Ported from provenance-mark-rust/src/xoshiro256starstar.rs
2
8
 
3
9
  /**