@fangorn-network/sdk 0.1.0-dev → 0.1.1

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 (30) hide show
  1. package/lib/config.d.ts +33 -33
  2. package/lib/node_modules/{@jridgewell → .pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell}/sourcemap-codec/dist/sourcemap-codec.js +1 -1
  3. package/lib/node_modules/{@vitest → .pnpm/@vitest_expect@4.0.18/node_modules/@vitest}/expect/dist/index.js +8 -8
  4. package/lib/node_modules/{@vitest → .pnpm/@vitest_pretty-format@4.0.18/node_modules/@vitest}/pretty-format/dist/index.js +2 -2
  5. package/lib/node_modules/{@vitest → .pnpm/@vitest_runner@4.0.18/node_modules/@vitest}/runner/dist/chunk-tasks.js +2 -2
  6. package/lib/node_modules/{@vitest → .pnpm/@vitest_runner@4.0.18/node_modules/@vitest}/runner/dist/index.js +4 -4
  7. package/lib/node_modules/{@vitest → .pnpm/@vitest_snapshot@4.0.18/node_modules/@vitest}/snapshot/dist/index.js +4 -4
  8. package/lib/node_modules/{@vitest → .pnpm/@vitest_spy@4.0.18/node_modules/@vitest}/spy/dist/index.js +1 -1
  9. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/chunk-_commonjsHelpers.js +1 -1
  10. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/chunk-pathe.M-eThtNZ.js +1 -1
  11. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/diff.js +3 -3
  12. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/display.js +2 -2
  13. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/error.js +2 -2
  14. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/helpers.js +1 -1
  15. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/serialize.js +1 -1
  16. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/source-map.js +1 -1
  17. package/lib/node_modules/{@vitest → .pnpm/@vitest_utils@4.0.18/node_modules/@vitest}/utils/dist/timers.js +1 -1
  18. package/lib/node_modules/{chai → .pnpm/chai@6.2.2/node_modules/chai}/index.js +1 -1
  19. package/lib/node_modules/{magic-string → .pnpm/magic-string@0.30.21/node_modules/magic-string}/dist/magic-string.es.js +2 -2
  20. package/lib/node_modules/{pathe → .pnpm/pathe@2.0.3/node_modules/pathe}/dist/shared/pathe.M-eThtNZ.js +1 -1
  21. package/lib/node_modules/{tinyrainbow → .pnpm/tinyrainbow@3.0.3/node_modules/tinyrainbow}/dist/index.js +1 -1
  22. package/lib/node_modules/{vitest → .pnpm/vitest@4.0.18_@types_node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest}/dist/chunks/_commonjsHelpers.D26ty3Ew.js +1 -1
  23. package/lib/node_modules/{vitest → .pnpm/vitest@4.0.18_@types_node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest}/dist/chunks/date.Bq6ZW5rf.js +1 -1
  24. package/lib/node_modules/{vitest → .pnpm/vitest@4.0.18_@types_node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest}/dist/chunks/utils.DvEY5TfP.js +2 -2
  25. package/lib/node_modules/{vitest → .pnpm/vitest@4.0.18_@types_node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest}/dist/chunks/vi.2VT5v0um.js +11 -11
  26. package/lib/test/mem-registry.d.ts +2 -2
  27. package/lib/test/sdk-suite.js +2 -2
  28. package/lib/test/testbed.d.ts +5206 -5207
  29. package/package.json +1 -1
  30. /package/lib/node_modules/{@vitest → .pnpm/@vitest_runner@4.0.18/node_modules/@vitest}/runner/dist/utils.js +0 -0
package/lib/config.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as viem_chains0 from "viem/chains";
2
2
  import * as viem0 from "viem";
3
3
  import { Chain, Hex } from "viem";
4
- import * as abitype0 from "abitype";
5
4
 
6
5
  //#region src/config.d.ts
6
+
7
7
  /**
8
8
  * Blank input means "not set", never a value of "". Returns the trimmed value,
9
9
  * or undefined when it is missing or only whitespace, so it can sit on the left of
@@ -112,7 +112,7 @@ declare const BaseSepoliaConfig: {
112
112
  gasUsed: bigint;
113
113
  hash: `0x${string}` | null;
114
114
  logsBloom: `0x${string}` | null;
115
- miner: abitype0.Address;
115
+ miner: viem0.Address;
116
116
  mixHash: viem0.Hash;
117
117
  nonce: `0x${string}` | null;
118
118
  number: bigint | null;
@@ -138,14 +138,14 @@ declare const BaseSepoliaConfig: {
138
138
  format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
139
139
  blockHash: `0x${string}` | null;
140
140
  blockNumber: bigint | null;
141
- from: abitype0.Address;
141
+ from: viem0.Address;
142
142
  gas: bigint;
143
143
  hash: viem0.Hash;
144
144
  input: viem0.Hex;
145
145
  nonce: number;
146
146
  r: viem0.Hex;
147
147
  s: viem0.Hex;
148
- to: abitype0.Address | null;
148
+ to: viem0.Address | null;
149
149
  transactionIndex: number | null;
150
150
  typeHex: viem0.Hex | null;
151
151
  v: bigint;
@@ -163,8 +163,8 @@ declare const BaseSepoliaConfig: {
163
163
  r: viem0.Hex;
164
164
  s: viem0.Hex;
165
165
  v: bigint;
166
- to: abitype0.Address | null;
167
- from: abitype0.Address;
166
+ to: viem0.Address | null;
167
+ from: viem0.Address;
168
168
  gas: bigint;
169
169
  nonce: number;
170
170
  value: bigint;
@@ -190,14 +190,14 @@ declare const BaseSepoliaConfig: {
190
190
  } | {
191
191
  blockHash: `0x${string}` | null;
192
192
  blockNumber: bigint | null;
193
- from: abitype0.Address;
193
+ from: viem0.Address;
194
194
  gas: bigint;
195
195
  hash: viem0.Hash;
196
196
  input: viem0.Hex;
197
197
  nonce: number;
198
198
  r: viem0.Hex;
199
199
  s: viem0.Hex;
200
- to: abitype0.Address | null;
200
+ to: viem0.Address | null;
201
201
  transactionIndex: number | null;
202
202
  typeHex: viem0.Hex | null;
203
203
  v: bigint;
@@ -218,14 +218,14 @@ declare const BaseSepoliaConfig: {
218
218
  } | {
219
219
  blockHash: `0x${string}` | null;
220
220
  blockNumber: bigint | null;
221
- from: abitype0.Address;
221
+ from: viem0.Address;
222
222
  gas: bigint;
223
223
  hash: viem0.Hash;
224
224
  input: viem0.Hex;
225
225
  nonce: number;
226
226
  r: viem0.Hex;
227
227
  s: viem0.Hex;
228
- to: abitype0.Address | null;
228
+ to: viem0.Address | null;
229
229
  transactionIndex: number | null;
230
230
  typeHex: viem0.Hex | null;
231
231
  v: bigint;
@@ -246,14 +246,14 @@ declare const BaseSepoliaConfig: {
246
246
  } | {
247
247
  blockHash: `0x${string}` | null;
248
248
  blockNumber: bigint | null;
249
- from: abitype0.Address;
249
+ from: viem0.Address;
250
250
  gas: bigint;
251
251
  hash: viem0.Hash;
252
252
  input: viem0.Hex;
253
253
  nonce: number;
254
254
  r: viem0.Hex;
255
255
  s: viem0.Hex;
256
- to: abitype0.Address | null;
256
+ to: viem0.Address | null;
257
257
  transactionIndex: number | null;
258
258
  typeHex: viem0.Hex | null;
259
259
  v: bigint;
@@ -274,14 +274,14 @@ declare const BaseSepoliaConfig: {
274
274
  } | {
275
275
  blockHash: `0x${string}` | null;
276
276
  blockNumber: bigint | null;
277
- from: abitype0.Address;
277
+ from: viem0.Address;
278
278
  gas: bigint;
279
279
  hash: viem0.Hash;
280
280
  input: viem0.Hex;
281
281
  nonce: number;
282
282
  r: viem0.Hex;
283
283
  s: viem0.Hex;
284
- to: abitype0.Address | null;
284
+ to: viem0.Address | null;
285
285
  transactionIndex: number | null;
286
286
  typeHex: viem0.Hex | null;
287
287
  v: bigint;
@@ -310,16 +310,16 @@ declare const BaseSepoliaConfig: {
310
310
  blockHash: viem0.Hash;
311
311
  blockNumber: bigint;
312
312
  blockTimestamp?: bigint | undefined;
313
- contractAddress: abitype0.Address | null | undefined;
313
+ contractAddress: viem0.Address | null | undefined;
314
314
  cumulativeGasUsed: bigint;
315
315
  effectiveGasPrice: bigint;
316
- from: abitype0.Address;
316
+ from: viem0.Address;
317
317
  gasUsed: bigint;
318
318
  logs: viem0.Log<bigint, number, false>[];
319
319
  logsBloom: viem0.Hex;
320
320
  root?: `0x${string}` | undefined;
321
321
  status: "success" | "reverted";
322
- to: abitype0.Address | null;
322
+ to: viem0.Address | null;
323
323
  transactionHash: viem0.Hash;
324
324
  transactionIndex: number;
325
325
  type: viem0.TransactionType;
@@ -446,7 +446,7 @@ declare const FangornConfig: {
446
446
  gasUsed: bigint;
447
447
  hash: `0x${string}` | null;
448
448
  logsBloom: `0x${string}` | null;
449
- miner: abitype0.Address;
449
+ miner: viem0.Address;
450
450
  mixHash: viem0.Hash;
451
451
  nonce: `0x${string}` | null;
452
452
  number: bigint | null;
@@ -472,14 +472,14 @@ declare const FangornConfig: {
472
472
  format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
473
473
  blockHash: `0x${string}` | null;
474
474
  blockNumber: bigint | null;
475
- from: abitype0.Address;
475
+ from: viem0.Address;
476
476
  gas: bigint;
477
477
  hash: viem0.Hash;
478
478
  input: viem0.Hex;
479
479
  nonce: number;
480
480
  r: viem0.Hex;
481
481
  s: viem0.Hex;
482
- to: abitype0.Address | null;
482
+ to: viem0.Address | null;
483
483
  transactionIndex: number | null;
484
484
  typeHex: viem0.Hex | null;
485
485
  v: bigint;
@@ -497,8 +497,8 @@ declare const FangornConfig: {
497
497
  r: viem0.Hex;
498
498
  s: viem0.Hex;
499
499
  v: bigint;
500
- to: abitype0.Address | null;
501
- from: abitype0.Address;
500
+ to: viem0.Address | null;
501
+ from: viem0.Address;
502
502
  gas: bigint;
503
503
  nonce: number;
504
504
  value: bigint;
@@ -524,14 +524,14 @@ declare const FangornConfig: {
524
524
  } | {
525
525
  blockHash: `0x${string}` | null;
526
526
  blockNumber: bigint | null;
527
- from: abitype0.Address;
527
+ from: viem0.Address;
528
528
  gas: bigint;
529
529
  hash: viem0.Hash;
530
530
  input: viem0.Hex;
531
531
  nonce: number;
532
532
  r: viem0.Hex;
533
533
  s: viem0.Hex;
534
- to: abitype0.Address | null;
534
+ to: viem0.Address | null;
535
535
  transactionIndex: number | null;
536
536
  typeHex: viem0.Hex | null;
537
537
  v: bigint;
@@ -552,14 +552,14 @@ declare const FangornConfig: {
552
552
  } | {
553
553
  blockHash: `0x${string}` | null;
554
554
  blockNumber: bigint | null;
555
- from: abitype0.Address;
555
+ from: viem0.Address;
556
556
  gas: bigint;
557
557
  hash: viem0.Hash;
558
558
  input: viem0.Hex;
559
559
  nonce: number;
560
560
  r: viem0.Hex;
561
561
  s: viem0.Hex;
562
- to: abitype0.Address | null;
562
+ to: viem0.Address | null;
563
563
  transactionIndex: number | null;
564
564
  typeHex: viem0.Hex | null;
565
565
  v: bigint;
@@ -580,14 +580,14 @@ declare const FangornConfig: {
580
580
  } | {
581
581
  blockHash: `0x${string}` | null;
582
582
  blockNumber: bigint | null;
583
- from: abitype0.Address;
583
+ from: viem0.Address;
584
584
  gas: bigint;
585
585
  hash: viem0.Hash;
586
586
  input: viem0.Hex;
587
587
  nonce: number;
588
588
  r: viem0.Hex;
589
589
  s: viem0.Hex;
590
- to: abitype0.Address | null;
590
+ to: viem0.Address | null;
591
591
  transactionIndex: number | null;
592
592
  typeHex: viem0.Hex | null;
593
593
  v: bigint;
@@ -608,14 +608,14 @@ declare const FangornConfig: {
608
608
  } | {
609
609
  blockHash: `0x${string}` | null;
610
610
  blockNumber: bigint | null;
611
- from: abitype0.Address;
611
+ from: viem0.Address;
612
612
  gas: bigint;
613
613
  hash: viem0.Hash;
614
614
  input: viem0.Hex;
615
615
  nonce: number;
616
616
  r: viem0.Hex;
617
617
  s: viem0.Hex;
618
- to: abitype0.Address | null;
618
+ to: viem0.Address | null;
619
619
  transactionIndex: number | null;
620
620
  typeHex: viem0.Hex | null;
621
621
  v: bigint;
@@ -644,16 +644,16 @@ declare const FangornConfig: {
644
644
  blockHash: viem0.Hash;
645
645
  blockNumber: bigint;
646
646
  blockTimestamp?: bigint | undefined;
647
- contractAddress: abitype0.Address | null | undefined;
647
+ contractAddress: viem0.Address | null | undefined;
648
648
  cumulativeGasUsed: bigint;
649
649
  effectiveGasPrice: bigint;
650
- from: abitype0.Address;
650
+ from: viem0.Address;
651
651
  gasUsed: bigint;
652
652
  logs: viem0.Log<bigint, number, false>[];
653
653
  logsBloom: viem0.Hex;
654
654
  root?: `0x${string}` | undefined;
655
655
  status: "success" | "reverted";
656
- to: abitype0.Address | null;
656
+ to: viem0.Address | null;
657
657
  transactionHash: viem0.Hash;
658
658
  transactionIndex: number;
659
659
  type: viem0.TransactionType;
@@ -1,4 +1,4 @@
1
- //#region node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
1
+ //#region node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
2
2
  var comma = ",".charCodeAt(0);
3
3
  var semicolon = ";".charCodeAt(0);
4
4
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
@@ -1,12 +1,12 @@
1
- import { C } from "../../../tinyrainbow/dist/index.js";
2
- import { stringify } from "../../utils/dist/display.js";
3
- import { assertTypes, getType, isObject, noop } from "../../utils/dist/helpers.js";
4
- import { diff, printDiffOrStringify } from "../../utils/dist/diff.js";
5
- import { isMockFunction } from "../../spy/dist/index.js";
6
- import { processError } from "../../utils/dist/error.js";
7
- import { use, utils_exports } from "../../../chai/index.js";
1
+ import { C } from "../../../../../tinyrainbow@3.0.3/node_modules/tinyrainbow/dist/index.js";
2
+ import { stringify } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/display.js";
3
+ import { assertTypes, getType, isObject, noop } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js";
4
+ import { diff, printDiffOrStringify } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/diff.js";
5
+ import { isMockFunction } from "../../../../../@vitest_spy@4.0.18/node_modules/@vitest/spy/dist/index.js";
6
+ import { processError } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/error.js";
7
+ import { use, utils_exports } from "../../../../../chai@6.2.2/node_modules/chai/index.js";
8
8
 
9
- //#region node_modules/@vitest/expect/dist/index.js
9
+ //#region node_modules/.pnpm/@vitest+expect@4.0.18/node_modules/@vitest/expect/dist/index.js
10
10
  const MATCHERS_OBJECT = Symbol.for("matchers-object");
11
11
  const JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object");
12
12
  const GLOBAL_EXPECT = Symbol.for("expect-global");
@@ -1,6 +1,6 @@
1
- import { C } from "../../../tinyrainbow/dist/index.js";
1
+ import { C } from "../../../../../tinyrainbow@3.0.3/node_modules/tinyrainbow/dist/index.js";
2
2
 
3
- //#region node_modules/@vitest/pretty-format/dist/index.js
3
+ //#region node_modules/.pnpm/@vitest+pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function(e) {
6
6
  e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -1,6 +1,6 @@
1
- import { parseSingleStack } from "../../utils/dist/source-map.js";
1
+ import { parseSingleStack } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/source-map.js";
2
2
 
3
- //#region node_modules/@vitest/runner/dist/chunk-tasks.js
3
+ //#region node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/chunk-tasks.js
4
4
  function createChainable(keys, fn) {
5
5
  function create(context) {
6
6
  const chain$1 = function(...args) {
@@ -1,9 +1,9 @@
1
- import { format, formatRegExp, objDisplay } from "../../utils/dist/display.js";
2
- import { assertTypes, createDefer, isNegativeNaN, isObject, objectAttr, toArray } from "../../utils/dist/helpers.js";
3
- import { getSafeTimers } from "../../utils/dist/timers.js";
1
+ import { format, formatRegExp, objDisplay } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/display.js";
2
+ import { assertTypes, createDefer, isNegativeNaN, isObject, objectAttr, toArray } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js";
3
+ import { getSafeTimers } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/timers.js";
4
4
  import { createChainable, createTaskName, findTestFileStackTrace } from "./chunk-tasks.js";
5
5
 
6
- //#region node_modules/@vitest/runner/dist/index.js
6
+ //#region node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js
7
7
  var PendingError = class extends Error {
8
8
  code = "VITEST_PENDING";
9
9
  taskId;
@@ -1,7 +1,7 @@
1
- import { format, plugins } from "../../pretty-format/dist/index.js";
2
- import { resolve } from "../../../pathe/dist/shared/pathe.M-eThtNZ.js";
1
+ import { format, plugins } from "../../../../../@vitest_pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js";
2
+ import { resolve } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js";
3
3
 
4
- //#region node_modules/@vitest/snapshot/dist/index.js
4
+ //#region node_modules/.pnpm/@vitest+snapshot@4.0.18/node_modules/@vitest/snapshot/dist/index.js
5
5
  var comma = ",".charCodeAt(0);
6
6
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
7
7
  var intToChar = new Uint8Array(64);
@@ -420,7 +420,7 @@ function offsetToLineNumber(source, offset) {
420
420
  return line + 1;
421
421
  }
422
422
  async function saveInlineSnapshots(environment, snapshots) {
423
- const MagicString = (await import("../../../magic-string/dist/magic-string.es.js")).default;
423
+ const MagicString = (await import("../../../../../magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js")).default;
424
424
  const files = new Set(snapshots.map((i) => i.file));
425
425
  await Promise.all(Array.from(files).map(async (file) => {
426
426
  const snaps = snapshots.filter((i) => i.file === file);
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/spy/dist/index.js
1
+ //#region node_modules/.pnpm/@vitest+spy@4.0.18/node_modules/@vitest/spy/dist/index.js
2
2
  function isMockFunction(fn$1) {
3
3
  return typeof fn$1 === "function" && "_isMockFunction" in fn$1 && fn$1._isMockFunction === true;
4
4
  }
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
1
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
2
2
  function getDefaultExportFromCjs(x) {
3
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
4
  }
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js
1
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js
2
2
  const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
3
3
  function normalizeWindowsPath(input = "") {
4
4
  if (!input) return input;
@@ -1,10 +1,10 @@
1
- import { C } from "../../../tinyrainbow/dist/index.js";
2
- import { format, plugins } from "../../pretty-format/dist/index.js";
1
+ import { C } from "../../../../../tinyrainbow@3.0.3/node_modules/tinyrainbow/dist/index.js";
2
+ import { format, plugins } from "../../../../../@vitest_pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js";
3
3
  import { stringify } from "./display.js";
4
4
  import { deepClone, getOwnProperties, getType } from "./helpers.js";
5
5
  import { getDefaultExportFromCjs } from "./chunk-_commonjsHelpers.js";
6
6
 
7
- //#region node_modules/@vitest/utils/dist/diff.js
7
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/diff.js
8
8
  /**
9
9
  * Diff Match and Patch
10
10
  * Copyright 2018 The diff-match-patch Authors.
@@ -1,6 +1,6 @@
1
- import { format, plugins } from "../../pretty-format/dist/index.js";
1
+ import { format, plugins } from "../../../../../@vitest_pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js";
2
2
 
3
- //#region node_modules/@vitest/utils/dist/display.js
3
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/display.js
4
4
  const ansiColors = {
5
5
  bold: ["1", "22"],
6
6
  dim: ["2", "22"],
@@ -1,9 +1,9 @@
1
- import "../../../tinyrainbow/dist/index.js";
1
+ import "../../../../../tinyrainbow@3.0.3/node_modules/tinyrainbow/dist/index.js";
2
2
  import { stringify } from "./display.js";
3
3
  import { printDiffOrStringify } from "./diff.js";
4
4
  import { serializeValue } from "./serialize.js";
5
5
 
6
- //#region node_modules/@vitest/utils/dist/error.js
6
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/error.js
7
7
  function processError(_err, diffOptions, seen = /* @__PURE__ */ new WeakSet()) {
8
8
  if (!_err || typeof _err !== "object") return { message: String(_err) };
9
9
  const err = _err;
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/utils/dist/helpers.js
1
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js
2
2
  /**
3
3
  * Get original stacktrace without source map support the most performant way.
4
4
  * - Create only 1 stack frame.
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/utils/dist/serialize.js
1
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/serialize.js
2
2
  const IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
3
3
  const IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
4
4
  function isImmutable(v) {
@@ -1,6 +1,6 @@
1
1
  import { resolve } from "./chunk-pathe.M-eThtNZ.js";
2
2
 
3
- //#region node_modules/@vitest/utils/dist/source-map.js
3
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/source-map.js
4
4
  var comma = ",".charCodeAt(0);
5
5
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
6
6
  var intToChar = new Uint8Array(64);
@@ -1,4 +1,4 @@
1
- //#region node_modules/@vitest/utils/dist/timers.js
1
+ //#region node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/timers.js
2
2
  const SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
3
3
  function getSafeTimers() {
4
4
  const { setTimeout: safeSetTimeout, setInterval: safeSetInterval, clearInterval: safeClearInterval, clearTimeout: safeClearTimeout, setImmediate: safeSetImmediate, clearImmediate: safeClearImmediate, queueMicrotask: safeQueueMicrotask } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;
@@ -1,4 +1,4 @@
1
- //#region node_modules/chai/index.js
1
+ //#region node_modules/.pnpm/chai@6.2.2/node_modules/chai/index.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
4
4
  enumerable: true,
@@ -1,6 +1,6 @@
1
- import { encode } from "../../@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";
1
+ import { encode } from "../../../../@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";
2
2
 
3
- //#region node_modules/magic-string/dist/magic-string.es.mjs
3
+ //#region node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
4
4
  var BitSet = class BitSet {
5
5
  constructor(arg) {
6
6
  this.bits = arg instanceof BitSet ? arg.bits.slice() : [];
@@ -1,4 +1,4 @@
1
- //#region node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
1
+ //#region node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
2
2
  const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
3
3
  function normalizeWindowsPath(input = "") {
4
4
  if (!input) return input;
@@ -1,4 +1,4 @@
1
- //#region node_modules/tinyrainbow/dist/index.js
1
+ //#region node_modules/.pnpm/tinyrainbow@3.0.3/node_modules/tinyrainbow/dist/index.js
2
2
  var d = {
3
3
  reset: [0, 0],
4
4
  bold: [
@@ -1,4 +1,4 @@
1
- //#region node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js
1
+ //#region node_modules/.pnpm/vitest@4.0.18_@types+node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js
2
2
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
3
3
 
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- //#region node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
1
+ //#region node_modules/.pnpm/vitest@4.0.18_@types+node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
2
2
  const RealDate = Date;
3
3
  let now = null;
4
4
  var MockDate = class MockDate extends RealDate {
@@ -1,6 +1,6 @@
1
- import { getSafeTimers } from "../../../@vitest/utils/dist/timers.js";
1
+ import { getSafeTimers } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/timers.js";
2
2
 
3
- //#region node_modules/vitest/dist/chunks/utils.DvEY5TfP.js
3
+ //#region node_modules/.pnpm/vitest@4.0.18_@types+node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js
4
4
  const NAME_WORKER_STATE = "__vitest_worker__";
5
5
  function getWorkerState() {
6
6
  const workerState = globalThis[NAME_WORKER_STATE];
@@ -1,18 +1,18 @@
1
- import { assertTypes, createSimpleStackTrace } from "../../../@vitest/utils/dist/helpers.js";
2
- import { clearAllMocks, fn, isMockFunction, resetAllMocks, restoreAllMocks, spyOn } from "../../../@vitest/spy/dist/index.js";
3
- import { Assertion, assert as assert$1, expect, should as should$1, use, utils_exports } from "../../../chai/index.js";
4
- import { ASYMMETRIC_MATCHERS_OBJECT, GLOBAL_EXPECT, JestAsymmetricMatchers, JestChaiExpect, JestExtend, addCustomEqualityTesters, customMatchers, equals, getState, iterableEquality, setState, subsetEquality } from "../../../@vitest/expect/dist/index.js";
5
- import { delay, getSafeTimers } from "../../../@vitest/utils/dist/timers.js";
6
- import { parseSingleStack } from "../../../@vitest/utils/dist/source-map.js";
7
- import { getNames } from "../../../@vitest/runner/dist/chunk-tasks.js";
8
- import { getCurrentTest } from "../../../@vitest/runner/dist/index.js";
1
+ import { assertTypes, createSimpleStackTrace } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js";
2
+ import { clearAllMocks, fn, isMockFunction, resetAllMocks, restoreAllMocks, spyOn } from "../../../../../@vitest_spy@4.0.18/node_modules/@vitest/spy/dist/index.js";
3
+ import { Assertion, assert as assert$1, expect, should as should$1, use, utils_exports } from "../../../../../chai@6.2.2/node_modules/chai/index.js";
4
+ import { ASYMMETRIC_MATCHERS_OBJECT, GLOBAL_EXPECT, JestAsymmetricMatchers, JestChaiExpect, JestExtend, addCustomEqualityTesters, customMatchers, equals, getState, iterableEquality, setState, subsetEquality } from "../../../../../@vitest_expect@4.0.18/node_modules/@vitest/expect/dist/index.js";
5
+ import { delay, getSafeTimers } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/timers.js";
6
+ import { parseSingleStack } from "../../../../../@vitest_utils@4.0.18/node_modules/@vitest/utils/dist/source-map.js";
7
+ import { getNames } from "../../../../../@vitest_runner@4.0.18/node_modules/@vitest/runner/dist/chunk-tasks.js";
8
+ import { getCurrentTest } from "../../../../../@vitest_runner@4.0.18/node_modules/@vitest/runner/dist/index.js";
9
9
  import { getWorkerState, isChildProcess, resetModules, waitForImportsToResolve } from "./utils.DvEY5TfP.js";
10
- import "../../../@vitest/runner/dist/utils.js";
11
- import { SnapshotClient, addSerializer, stripSnapshotIndentation } from "../../../@vitest/snapshot/dist/index.js";
10
+ import "../../../../../@vitest_runner@4.0.18/node_modules/@vitest/runner/dist/utils.js";
11
+ import { SnapshotClient, addSerializer, stripSnapshotIndentation } from "../../../../../@vitest_snapshot@4.0.18/node_modules/@vitest/snapshot/dist/index.js";
12
12
  import { commonjsGlobal } from "./_commonjsHelpers.D26ty3Ew.js";
13
13
  import { RealDate, mockDate, resetDate } from "./date.Bq6ZW5rf.js";
14
14
 
15
- //#region node_modules/vitest/dist/chunks/vi.2VT5v0um.js
15
+ //#region node_modules/.pnpm/vitest@4.0.18_@types+node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest/dist/chunks/vi.2VT5v0um.js
16
16
  const unsupported = [
17
17
  "matchSnapshot",
18
18
  "toMatchSnapshot",
@@ -1,12 +1,12 @@
1
1
  import { PreparedTx } from "../contracts/write.js";
2
2
  import { CommitUpdate, LogFilter, Registry, RepoRef, UpdateEntry } from "../contracts/data-registry/index.js";
3
3
  import "../contracts/index.js";
4
+ import * as viem5989 from "viem";
4
5
  import { Address, Hash, Hex, LocalAccount } from "viem";
5
- import * as abitype31 from "abitype";
6
6
 
7
7
  //#region src/test/mem-registry.d.ts
8
8
  /** The EIP-712 domain a MemRegistry signs under. */
9
- declare const MEM_DOMAIN: abitype31.TypedDataDomain;
9
+ declare const MEM_DOMAIN: viem5989.TypedDataDomain;
10
10
  /** One ordering and the registry state over it, shared by every signer of a MemRegistry. */
11
11
  declare class MemLedger {
12
12
  /** H: position and head */
@@ -1,8 +1,8 @@
1
1
  import { ZERO_HEAD } from "../contracts/data-registry/index.js";
2
2
  import "../contracts/index.js";
3
3
  import { GADGET_SELF_HKDF_V1, sealSelf, unsealSelf } from "../crypto/encryption.js";
4
- import { afterAll, beforeAll, describe, it } from "../node_modules/@vitest/runner/dist/index.js";
5
- import { globalExpect } from "../node_modules/vitest/dist/chunks/vi.2VT5v0um.js";
4
+ import { afterAll, beforeAll, describe, it } from "../node_modules/.pnpm/@vitest_runner@4.0.18/node_modules/@vitest/runner/dist/index.js";
5
+ import { globalExpect } from "../node_modules/.pnpm/vitest@4.0.18_@types_node@24.10.1_jiti@2.6.1_terser@5.51.2_tsx@4.21.0_yaml@2.8.2/node_modules/vitest/dist/chunks/vi.2VT5v0um.js";
6
6
  import { bytesToHex, hexToBytes, keccak256, stringToBytes } from "viem";
7
7
  import { generatePrivateKey } from "viem/accounts";
8
8