@fangorn-network/sdk 2026.10.22-dev → 2026.10.23-dev
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/lib/cli/cli.d.ts +0 -0
- package/lib/cli/index.d.ts +2 -2
- package/lib/config.d.ts +33 -33
- package/lib/config.js +3 -4
- package/lib/contracts/app-registry/abi.d.ts +52 -0
- package/lib/contracts/app-registry/abi.js +56 -0
- package/lib/contracts/app-registry/index.d.ts +15 -3
- package/lib/contracts/app-registry/index.js +23 -3
- package/lib/fangorn.js +5 -1
- package/lib/node_modules/{.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell → @jridgewell}/sourcemap-codec/dist/sourcemap-codec.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_expect@4.0.18/node_modules/@vitest → @vitest}/expect/dist/index.js +8 -8
- package/lib/node_modules/{.pnpm/@vitest_pretty-format@4.0.18/node_modules/@vitest → @vitest}/pretty-format/dist/index.js +2 -2
- package/lib/node_modules/{.pnpm/@vitest_runner@4.0.18/node_modules/@vitest → @vitest}/runner/dist/chunk-tasks.js +2 -2
- package/lib/node_modules/{.pnpm/@vitest_runner@4.0.18/node_modules/@vitest → @vitest}/runner/dist/index.js +4 -4
- package/lib/node_modules/{.pnpm/@vitest_snapshot@4.0.18/node_modules/@vitest → @vitest}/snapshot/dist/index.js +4 -4
- package/lib/node_modules/{.pnpm/@vitest_spy@4.0.18/node_modules/@vitest → @vitest}/spy/dist/index.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/chunk-_commonjsHelpers.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/chunk-pathe.M-eThtNZ.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/diff.js +3 -3
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/display.js +2 -2
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/error.js +2 -2
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/helpers.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/serialize.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/source-map.js +1 -1
- package/lib/node_modules/{.pnpm/@vitest_utils@4.0.18/node_modules/@vitest → @vitest}/utils/dist/timers.js +1 -1
- package/lib/node_modules/{.pnpm/chai@6.2.2/node_modules/chai → chai}/index.js +1 -1
- package/lib/node_modules/{.pnpm/magic-string@0.30.21/node_modules/magic-string → magic-string}/dist/magic-string.es.js +2 -2
- package/lib/node_modules/{.pnpm/pathe@2.0.3/node_modules/pathe → pathe}/dist/shared/pathe.M-eThtNZ.js +1 -1
- package/lib/node_modules/{.pnpm/tinyrainbow@3.0.3/node_modules/tinyrainbow → tinyrainbow}/dist/index.js +1 -1
- package/lib/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 → vitest}/dist/chunks/_commonjsHelpers.D26ty3Ew.js +1 -1
- package/lib/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 → vitest}/dist/chunks/date.Bq6ZW5rf.js +1 -1
- package/lib/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 → vitest}/dist/chunks/utils.DvEY5TfP.js +2 -2
- package/lib/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 → vitest}/dist/chunks/vi.2VT5v0um.js +11 -11
- package/lib/test/sdk-suite.js +2 -2
- package/lib/test/testbed.d.ts +5185 -5184
- package/package.json +88 -74
- /package/lib/node_modules/{.pnpm/@vitest_runner@4.0.18/node_modules/@vitest → @vitest}/runner/dist/utils.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { format, plugins } from "
|
|
1
|
+
import { format, plugins } from "../../pretty-format/dist/index.js";
|
|
2
2
|
|
|
3
|
-
//#region node_modules
|
|
3
|
+
//#region 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 "
|
|
1
|
+
import "../../../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
|
|
6
|
+
//#region 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
|
|
1
|
+
//#region 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
|
|
3
|
+
//#region 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
|
|
1
|
+
//#region 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,6 +1,6 @@
|
|
|
1
|
-
import { encode } from "
|
|
1
|
+
import { encode } from "../../@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";
|
|
2
2
|
|
|
3
|
-
//#region node_modules
|
|
3
|
+
//#region 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
|
|
1
|
+
//#region 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
|
|
1
|
+
//#region 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
|
|
1
|
+
//#region 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 "
|
|
1
|
+
import { getSafeTimers } from "../../../@vitest/utils/dist/timers.js";
|
|
2
2
|
|
|
3
|
-
//#region node_modules
|
|
3
|
+
//#region 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 "
|
|
2
|
-
import { clearAllMocks, fn, isMockFunction, resetAllMocks, restoreAllMocks, spyOn } from "
|
|
3
|
-
import { Assertion, assert as assert$1, expect, should as should$1, use, utils_exports } from "
|
|
4
|
-
import { ASYMMETRIC_MATCHERS_OBJECT, GLOBAL_EXPECT, JestAsymmetricMatchers, JestChaiExpect, JestExtend, addCustomEqualityTesters, customMatchers, equals, getState, iterableEquality, setState, subsetEquality } from "
|
|
5
|
-
import { delay, getSafeTimers } from "
|
|
6
|
-
import { parseSingleStack } from "
|
|
7
|
-
import { getNames } from "
|
|
8
|
-
import { getCurrentTest } from "
|
|
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";
|
|
9
9
|
import { getWorkerState, isChildProcess, resetModules, waitForImportsToResolve } from "./utils.DvEY5TfP.js";
|
|
10
|
-
import "
|
|
11
|
-
import { SnapshotClient, addSerializer, stripSnapshotIndentation } from "
|
|
10
|
+
import "../../../@vitest/runner/dist/utils.js";
|
|
11
|
+
import { SnapshotClient, addSerializer, stripSnapshotIndentation } from "../../../@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
|
|
15
|
+
//#region node_modules/vitest/dist/chunks/vi.2VT5v0um.js
|
|
16
16
|
const unsupported = [
|
|
17
17
|
"matchSnapshot",
|
|
18
18
|
"toMatchSnapshot",
|
package/lib/test/sdk-suite.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZERO_HEAD } from "../registry.js";
|
|
2
2
|
import { GADGET_SELF_HKDF_V1, sealSelf, unsealSelf } from "../crypto/encryption.js";
|
|
3
|
-
import { afterAll, beforeAll, describe, it } from "../node_modules
|
|
4
|
-
import { globalExpect } from "../node_modules
|
|
3
|
+
import { afterAll, beforeAll, describe, it } from "../node_modules/@vitest/runner/dist/index.js";
|
|
4
|
+
import { globalExpect } from "../node_modules/vitest/dist/chunks/vi.2VT5v0um.js";
|
|
5
5
|
import { TEST_APP } from "./testbed.js";
|
|
6
6
|
import { bytesToHex, hexToBytes, keccak256, stringToBytes } from "viem";
|
|
7
7
|
import { generatePrivateKey } from "viem/accounts";
|