@hardkas/sdk 0.7.0-alpha → 0.7.1-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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -143,7 +143,7 @@ var HardkasTx = class {
143
143
  saveSimulatedTrace
144
144
  } = await import("@hardkas/localnet");
145
145
  const path4 = await import("path");
146
- const state = await loadOrCreateLocalnetState();
146
+ const state = await loadOrCreateLocalnetState({ cwd: this.sdk.workspace.root });
147
147
  const startTime = Date.now();
148
148
  const events = [
149
149
  { type: "phase.started", phase: "send", timestamp: startTime }
@@ -470,7 +470,7 @@ var HardkasReplay = class {
470
470
  try {
471
471
  const { loadOrCreateLocalnetState, reconstructStateAtDaa, verifyReplay } = await import("@hardkas/localnet");
472
472
  const { systemRuntimeContext: systemRuntimeContext2 } = await import("@hardkas/core");
473
- let state = await loadOrCreateLocalnetState();
473
+ let state = await loadOrCreateLocalnetState({ cwd: this.sdk.workspace.root });
474
474
  if (receipt.mode === "simulated" && receipt.daaScore) {
475
475
  const receiptDaa = BigInt(receipt.daaScore);
476
476
  const targetDaa = receiptDaa - 1n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/sdk",
3
- "version": "0.7.0-alpha",
3
+ "version": "0.7.1-alpha",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -23,17 +23,17 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@hardkas/config": "0.7.0-alpha",
27
- "@hardkas/core": "0.7.0-alpha",
28
- "@hardkas/l2": "0.7.0-alpha",
29
- "@hardkas/accounts": "0.7.0-alpha",
30
- "@hardkas/artifacts": "0.7.0-alpha",
31
- "@hardkas/query": "0.7.0-alpha",
32
- "@hardkas/kaspa-rpc": "0.7.0-alpha",
33
- "@hardkas/localnet": "0.7.0-alpha",
34
- "@hardkas/tx-builder": "0.7.0-alpha",
35
- "@hardkas/wallet-adapter": "0.7.0-alpha",
36
- "@hardkas/simulator": "0.7.0-alpha"
26
+ "@hardkas/core": "0.7.1-alpha",
27
+ "@hardkas/artifacts": "0.7.1-alpha",
28
+ "@hardkas/accounts": "0.7.1-alpha",
29
+ "@hardkas/localnet": "0.7.1-alpha",
30
+ "@hardkas/l2": "0.7.1-alpha",
31
+ "@hardkas/config": "0.7.1-alpha",
32
+ "@hardkas/kaspa-rpc": "0.7.1-alpha",
33
+ "@hardkas/tx-builder": "0.7.1-alpha",
34
+ "@hardkas/query": "0.7.1-alpha",
35
+ "@hardkas/simulator": "0.7.1-alpha",
36
+ "@hardkas/wallet-adapter": "0.7.1-alpha"
37
37
  },
38
38
  "devDependencies": {
39
39
  "tsup": "^8.3.5",