@hardkas/localnet 0.6.1-alpha → 0.7.0-alpha

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.d.ts CHANGED
@@ -372,7 +372,7 @@ declare function moveSink(dag: SimulatedDag, newSinkId: string, txProvider: (txI
372
372
  inputs: string[];
373
373
  } | undefined): SimulatedDag;
374
374
  /**
375
- * Deterministic Conflict Resolution (Approximation for v0.2-alpha)
375
+ * Deterministic Conflict Resolution (Approximation for 0.7.0-alpha)
376
376
  * Priority:
377
377
  * 1. sink ancestry priority (is part of selectedPathToSink?)
378
378
  * 2. deterministic block order (daaScore then block ID)
package/dist/index.js CHANGED
@@ -528,6 +528,7 @@ function applySimulatedPayment(state, input, ctx) {
528
528
  const txId = generateDeterministicFailedTxId(preStateHash, errorMessage, daaScore);
529
529
  const receipt = {
530
530
  schema: "hardkas.txReceipt",
531
+ schemaVersion: "hardkas.receipt.v1",
531
532
  hardkasVersion: HARDKAS_VERSION3,
532
533
  version: ARTIFACT_VERSION2,
533
534
  status: "failed",
@@ -611,6 +612,7 @@ function applySimulatedPlan(state, planArtifact, ctx, options) {
611
612
  const txId = generateDeterministicFailedTxId(preStateHash, errorMessage, daaScore);
612
613
  const receipt = {
613
614
  schema: "hardkas.txReceipt",
615
+ schemaVersion: "hardkas.receipt.v1",
614
616
  hardkasVersion: HARDKAS_VERSION3,
615
617
  version: ARTIFACT_VERSION2,
616
618
  status: "failed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/localnet",
3
- "version": "0.6.1-alpha",
3
+ "version": "0.7.0-alpha",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -8,12 +8,12 @@
8
8
  ".": "./dist/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@hardkas/artifacts": "0.6.1-alpha",
12
- "@hardkas/core": "0.6.1-alpha",
13
- "@hardkas/simulator": "0.6.1-alpha",
14
- "@hardkas/query": "0.6.1-alpha",
15
- "@hardkas/tx-builder": "0.6.1-alpha",
16
- "@hardkas/kaspa-rpc": "0.6.1-alpha"
11
+ "@hardkas/artifacts": "0.7.0-alpha",
12
+ "@hardkas/core": "0.7.0-alpha",
13
+ "@hardkas/kaspa-rpc": "0.7.0-alpha",
14
+ "@hardkas/simulator": "0.7.0-alpha",
15
+ "@hardkas/query": "0.7.0-alpha",
16
+ "@hardkas/tx-builder": "0.7.0-alpha"
17
17
  },
18
18
  "devDependencies": {
19
19
  "fast-check": "^4.8.0",