@blockchaincommons/tags 1.0.0-beta.1 → 1.0.0-beta.2
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/CHANGELOG.md +16 -0
- package/MIGRATION.md +1 -5
- package/README.md +1 -0
- package/package.json +9 -9
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.2
|
|
4
|
+
|
|
5
|
+
Documents the registry behavior and updates repository tooling. Public tag values,
|
|
6
|
+
names, and registration logic are unchanged.
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Clarified the bignum registration difference in `RUST_DIVERGENCES.md`:
|
|
11
|
+
TypeScript always registers tags 2 and 3; Rust requires `num-bigint`.
|
|
12
|
+
The Rust harness enables that feature and matches 75 tags and 80 probes.
|
|
13
|
+
|
|
14
|
+
## 1.0.0-beta.1
|
|
15
|
+
|
|
16
|
+
Initial beta implementation.
|
package/MIGRATION.md
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
# Migrating from `@bcts/tags` to `@blockchaincommons/tags`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
registry `registerTags()` produces are frozen as golden vectors and
|
|
5
|
-
cross-validated against the Rust reference `bc-tags 0.12.0`. What changed is
|
|
6
|
-
the spelling of the constants, their immutability, and the dcbor they build
|
|
7
|
-
on.
|
|
3
|
+
`@blockchaincommons/tags` is the redesigned successor to `@bcts/tags`.
|
|
8
4
|
|
|
9
5
|
## TL;DR checklist
|
|
10
6
|
|
package/README.md
CHANGED
|
@@ -56,6 +56,7 @@ Runnable examples live in the [`examples/`](https://github.com/BlockchainCommons
|
|
|
56
56
|
|
|
57
57
|
### Version History
|
|
58
58
|
|
|
59
|
+
- **1.0.0-beta.2 (September 12, 2026)** - Documents the bignum-registration difference from Rust builds without `num-bigint`.
|
|
59
60
|
- **1.0.0-beta.1 (September 9, 2026)** - Initial beta implementation.
|
|
60
61
|
|
|
61
62
|
### Roadmap
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockchaincommons/tags",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "Blockchain Commons CBOR Tags Registry for TypeScript",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"dist",
|
|
43
43
|
"src",
|
|
44
44
|
"README.md",
|
|
45
|
+
"CHANGELOG.md",
|
|
45
46
|
"MIGRATION.md"
|
|
46
47
|
],
|
|
47
48
|
"scripts": {
|
|
@@ -53,20 +54,20 @@
|
|
|
53
54
|
"lint:fix": "eslint 'src/**/*.ts' 'tests/**/*.ts' --fix",
|
|
54
55
|
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
|
|
55
56
|
"format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
|
|
56
|
-
"typecheck": "tsc --noEmit",
|
|
57
|
+
"typecheck": "tsc --noEmit && tsc --project scripts/tsconfig.json",
|
|
57
58
|
"size": "size-limit",
|
|
58
|
-
"api:snapshot": "bun scripts/api-snapshot.
|
|
59
|
-
"api:check": "bun scripts/api-snapshot.
|
|
59
|
+
"api:snapshot": "bun scripts/api-snapshot.ts && bun scripts/api-report.ts --local",
|
|
60
|
+
"api:check": "bun scripts/api-snapshot.ts --check && bun scripts/api-report.ts",
|
|
60
61
|
"clean": "rm -rf dist",
|
|
61
62
|
"docs": "typedoc",
|
|
62
|
-
"postinstall": "
|
|
63
|
+
"postinstall": "bun scripts/pin-lint-typescript.ts",
|
|
63
64
|
"prepublishOnly": "npm run build",
|
|
64
65
|
"lint:pkg": "publint && attw --pack . --profile node16",
|
|
65
|
-
"check:deps": "
|
|
66
|
+
"check:deps": "bun scripts/check-deps.ts",
|
|
66
67
|
"test:golden": "vitest run tests/golden-vectors.test.ts",
|
|
67
68
|
"test:differential": "vitest run tests/differential.test.ts",
|
|
68
|
-
"vectors:generate": "bun scripts/generate-vectors.
|
|
69
|
-
"baseline:build": "bun scripts/build-baseline.
|
|
69
|
+
"vectors:generate": "bun scripts/generate-vectors.ts",
|
|
70
|
+
"baseline:build": "bun scripts/build-baseline.ts"
|
|
70
71
|
},
|
|
71
72
|
"keywords": [
|
|
72
73
|
"cbor",
|
|
@@ -88,7 +89,6 @@
|
|
|
88
89
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
89
90
|
"@typescript-eslint/parser": "^8.70.0",
|
|
90
91
|
"@vitest/coverage-v8": "^5.0.0",
|
|
91
|
-
"ajv": "^8.20.0",
|
|
92
92
|
"eslint": "^10.10.0",
|
|
93
93
|
"prettier": "3.9.6",
|
|
94
94
|
"publint": "^0.3.24",
|