@bcts/provenance-mark 1.0.0-alpha.13 → 1.0.0-alpha.15
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/LICENSE +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -10
- package/src/envelope.ts +2 -2
- package/src/generator.ts +2 -2
package/LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Copyright © 2024 Blockchain Commons, LLC
|
|
2
|
-
Copyright © 2025 Leonardo Amoroso Custodio
|
|
2
|
+
Copyright © 2025-2026 Leonardo Amoroso Custodio
|
|
3
3
|
|
|
4
4
|
Redistribution and use in source and binary forms, with or without modification,
|
|
5
5
|
are permitted provided that the following conditions are met:
|
package/dist/index.cjs
CHANGED
|
@@ -1347,7 +1347,7 @@ var ProvenanceMarkGenerator = class ProvenanceMarkGenerator {
|
|
|
1347
1347
|
*/
|
|
1348
1348
|
intoEnvelope() {
|
|
1349
1349
|
let envelope = _bcts_envelope.Envelope.new(this._chainId);
|
|
1350
|
-
envelope = envelope.
|
|
1350
|
+
envelope = envelope.addType("provenance-generator");
|
|
1351
1351
|
envelope = envelope.addAssertion("res", resolutionToNumber(this._res));
|
|
1352
1352
|
envelope = envelope.addAssertion("seed", this._seed.toBytes());
|
|
1353
1353
|
envelope = envelope.addAssertion("next-seq", this._nextSeq);
|
|
@@ -1826,7 +1826,7 @@ function provenanceMarkFromEnvelope(envelope) {
|
|
|
1826
1826
|
*/
|
|
1827
1827
|
function provenanceMarkGeneratorToEnvelope(generator) {
|
|
1828
1828
|
let envelope = _bcts_envelope.Envelope.new(generator.chainId());
|
|
1829
|
-
envelope = envelope.
|
|
1829
|
+
envelope = envelope.addType("provenance-generator");
|
|
1830
1830
|
envelope = envelope.addAssertion("res", resolutionToNumber(generator.res()));
|
|
1831
1831
|
envelope = envelope.addAssertion("seed", generator.seed().toBytes());
|
|
1832
1832
|
envelope = envelope.addAssertion("next-seq", generator.nextSeq());
|