@bcts/provenance-mark 1.0.0-alpha.13 → 1.0.0-alpha.14
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/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 +6 -6
- package/src/envelope.ts +2 -2
- package/src/generator.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1352,7 +1352,7 @@ var ProvenanceMarkGenerator = class ProvenanceMarkGenerator {
|
|
|
1352
1352
|
*/
|
|
1353
1353
|
intoEnvelope() {
|
|
1354
1354
|
let envelope = Envelope.new(this._chainId);
|
|
1355
|
-
envelope = envelope.
|
|
1355
|
+
envelope = envelope.addType("provenance-generator");
|
|
1356
1356
|
envelope = envelope.addAssertion("res", resolutionToNumber(this._res));
|
|
1357
1357
|
envelope = envelope.addAssertion("seed", this._seed.toBytes());
|
|
1358
1358
|
envelope = envelope.addAssertion("next-seq", this._nextSeq);
|
|
@@ -1831,7 +1831,7 @@ function provenanceMarkFromEnvelope(envelope) {
|
|
|
1831
1831
|
*/
|
|
1832
1832
|
function provenanceMarkGeneratorToEnvelope(generator) {
|
|
1833
1833
|
let envelope = Envelope.new(generator.chainId());
|
|
1834
|
-
envelope = envelope.
|
|
1834
|
+
envelope = envelope.addType("provenance-generator");
|
|
1835
1835
|
envelope = envelope.addAssertion("res", resolutionToNumber(generator.res()));
|
|
1836
1836
|
envelope = envelope.addAssertion("seed", generator.seed().toBytes());
|
|
1837
1837
|
envelope = envelope.addAssertion("next-seq", generator.nextSeq());
|