@stream44.studio/t44-blockchaincommons.com 0.1.0-rc.5 → 0.1.0-rc.6
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/README.md +2 -2
- package/caps/GordianOpenIntegrity.test.ts +1 -1
- package/caps/XidDocumentLedger.test.ts +1 -1
- package/caps/__snapshots__/XidDocumentLedger.test.ts.snap +1 -1
- package/caps/lifehash.test.ts +1 -1
- package/caps/open-integrity-js.test.ts +1 -1
- package/caps/open-integrity-sh.test.ts +1 -1
- package/caps/open-integrity.test.ts +1 -1
- package/caps/provenance-mark-cli.test.ts +1 -1
- package/caps/provenance-mark.test.ts +1 -1
- package/caps/xid.test.ts +1 -1
- package/examples/01-XID-DocumentLedger/__snapshots__/main.test.ts.snap +1 -1
- package/examples/01-XID-DocumentLedger/main.test.ts +1 -1
- package/examples/02-XID-Rotate-InceptionKey/__snapshots__/main.test.ts.snap +13 -13
- package/examples/02-XID-Rotate-InceptionKey/main.test.ts +1 -1
- package/examples/03-GordianOpenIntegrity/main.test.ts +1 -1
- package/examples/04-GordianOpenIntegrityCli/main.test.ts +1 -1
- package/package.json +3 -3
- /package/.github/workflows/{dco.yml → dco.yaml} +0 -0
- /package/.github/workflows/{gordian-open-integrity.yml → gordian-open-integrity.yaml} +0 -0
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ bunx @stream44.studio/t44-blockchaincommons.com init [GordianOpenIntegrity] --in
|
|
|
45
45
|
bunx @stream44.studio/t44-blockchaincommons.com validate [GordianOpenIntegrity]
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Github Actions validation workflow: `.github/workflows/gordian-open-integrity.
|
|
48
|
+
Github Actions validation workflow: `.github/workflows/gordian-open-integrity.yaml`
|
|
49
49
|
```
|
|
50
50
|
name: Gordian Open Integrity
|
|
51
51
|
|
|
@@ -190,7 +190,7 @@ The following projects use `GordianOpenIntegrity`:
|
|
|
190
190
|
Provenance
|
|
191
191
|
===
|
|
192
192
|
|
|
193
|
-
[](https://github.com/Stream44/t44-blockchaincommons.com/actions/workflows/gordian-open-integrity.yaml?query=branch%3Amain) [](https://github.com/Stream44/t44-blockchaincommons.com/actions/workflows/dco.yaml?query=branch%3Amain)
|
|
194
194
|
|
|
195
195
|
Repository DID: `did:repo:c8f51118b7dca6f9d7303c240b6a683d85e28dab`
|
|
196
196
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun test
|
|
2
2
|
|
|
3
3
|
import * as bunTest from 'bun:test'
|
|
4
|
-
import { run } from 't44/
|
|
4
|
+
import { run } from 't44/standalone-rt'
|
|
5
5
|
import { join } from 'path'
|
|
6
6
|
import { rm, mkdir, readFile, writeFile } from 'fs/promises'
|
|
7
7
|
import { existsSync } from 'fs'
|
package/caps/lifehash.test.ts
CHANGED
package/caps/xid.test.ts
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
|
|
2
2
|
|
|
3
3
|
exports[`XID Rotate Inception Key 1. Inception should match the inception document snapshot 1`] = `
|
|
4
|
-
"XID(
|
|
4
|
+
"XID(92b79181) [
|
|
5
5
|
'provenance': Bytes(115) [
|
|
6
6
|
'provenanceGenerator': Bytes(190)
|
|
7
7
|
'salt': Bytes(32)
|
|
8
8
|
]
|
|
9
9
|
'key': Bytes(78) [
|
|
10
|
+
'privateKey': Bytes(78)
|
|
10
11
|
'allow': 'All'
|
|
11
12
|
'salt': Bytes(32)
|
|
12
|
-
'privateKey': Bytes(78)
|
|
13
13
|
]
|
|
14
14
|
]"
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
17
|
exports[`XID Rotate Inception Key 2. Add Bob key should match the two-key document snapshot 1`] = `
|
|
18
|
-
"XID(
|
|
19
|
-
'key': Bytes(78) [
|
|
20
|
-
'allow': 'All'
|
|
21
|
-
'salt': Bytes(32)
|
|
22
|
-
'privateKey': Bytes(78)
|
|
23
|
-
]
|
|
18
|
+
"XID(92b79181) [
|
|
24
19
|
'key': Bytes(80) [
|
|
25
20
|
'allow': 'All'
|
|
26
21
|
]
|
|
@@ -28,24 +23,29 @@ exports[`XID Rotate Inception Key 2. Add Bob key should match the two-key docume
|
|
|
28
23
|
'provenanceGenerator': Bytes(190)
|
|
29
24
|
'salt': Bytes(32)
|
|
30
25
|
]
|
|
26
|
+
'key': Bytes(78) [
|
|
27
|
+
'privateKey': Bytes(78)
|
|
28
|
+
'allow': 'All'
|
|
29
|
+
'salt': Bytes(32)
|
|
30
|
+
]
|
|
31
31
|
]"
|
|
32
32
|
`;
|
|
33
33
|
|
|
34
34
|
exports[`XID Rotate Inception Key 3. Remove inception key should match the post-rotation document snapshot 1`] = `
|
|
35
|
-
"XID(
|
|
35
|
+
"XID(92b79181) [
|
|
36
|
+
'key': Bytes(80) [
|
|
37
|
+
'allow': 'All'
|
|
38
|
+
]
|
|
36
39
|
'provenance': Bytes(115) [
|
|
37
40
|
'salt': Bytes(32)
|
|
38
41
|
'provenanceGenerator': Bytes(190)
|
|
39
42
|
]
|
|
40
|
-
'key': Bytes(80) [
|
|
41
|
-
'allow': 'All'
|
|
42
|
-
]
|
|
43
43
|
]"
|
|
44
44
|
`;
|
|
45
45
|
|
|
46
46
|
exports[`XID Rotate Inception Key 4. Ledger verification should match the ledger summary snapshot 1`] = `
|
|
47
47
|
"XID Ledger (3 revisions)
|
|
48
|
-
XID: XID(
|
|
48
|
+
XID: XID(92b79181)
|
|
49
49
|
|
|
50
50
|
#0 [5361a340] 2025-01-01T00:00:00Z "genesis"
|
|
51
51
|
#1 [5390d204] 2025-01-02T00:00:00Z "add-bob-key"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream44.studio/t44-blockchaincommons.com",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "BSD-2-Clause-Patent",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@bcts/lifehash": "^1.0.0-alpha.20",
|
|
26
26
|
"commander": "^14.0.0",
|
|
27
27
|
"chalk": "^5.6.2",
|
|
28
|
-
"t44": "^0.4.0-rc.
|
|
29
|
-
"@stream44.studio/encapsulate": "^0.4.0-rc.
|
|
28
|
+
"t44": "^0.4.0-rc.6",
|
|
29
|
+
"@stream44.studio/encapsulate": "^0.4.0-rc.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/bun": "^1.3.4",
|
|
File without changes
|
|
File without changes
|