@fangorn-network/sdk 2026.7.1-2.0 → 2026.7.1-2.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.
- package/lib/cli/cli.js +2 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/package.json +1 -1
package/lib/cli/cli.js
CHANGED
|
@@ -3,10 +3,10 @@ import { FangornConfig } from "../config.js";
|
|
|
3
3
|
import { Fangorn } from "../fangorn.js";
|
|
4
4
|
import { handleCancel } from "./index.js";
|
|
5
5
|
import { privateKeyToAccount } from "viem/accounts";
|
|
6
|
-
import { Command } from "commander";
|
|
7
|
-
import { confirm, intro, outro, spinner, text } from "@clack/prompts";
|
|
8
6
|
import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
9
7
|
import { join } from "path";
|
|
8
|
+
import { Command } from "commander";
|
|
9
|
+
import { confirm, intro, outro, spinner, text } from "@clack/prompts";
|
|
10
10
|
import { homedir } from "os";
|
|
11
11
|
import "dotenv/config";
|
|
12
12
|
|
package/lib/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ import { AppConfig, FangornConfig, SupportedNetworks } from "./config.js";
|
|
|
2
2
|
import { PinataBackend } from "./providers/storage/pinata.js";
|
|
3
3
|
import { deserialize, retrieveByCid, serialize } from "./providers/storage/utils.js";
|
|
4
4
|
import { Fangorn, NamespaceChange, SubscribeOptions } from "./fangorn.js";
|
|
5
|
+
import { AssetProcessor, BuildAssetGraphOptions, CommitFileGraph, Edge, FileFacade, ProcessorResult, Vertex, buildAssetGraph, extractMarkdownLinks } from "./harness/index.js";
|
|
5
6
|
import { addressToBytes32Array, computeSchemaId, fieldToHex, hexToBytes32Array, hexToField, stringToBytes32Array } from "./utils/index.js";
|
|
6
|
-
export { AppConfig, Fangorn, FangornConfig, NamespaceChange, PinataBackend, SubscribeOptions, SupportedNetworks, addressToBytes32Array, computeSchemaId, deserialize, fieldToHex, hexToBytes32Array, hexToField, retrieveByCid, serialize, stringToBytes32Array };
|
|
7
|
+
export { AppConfig, AssetProcessor, BuildAssetGraphOptions, CommitFileGraph, Edge, Fangorn, FangornConfig, FileFacade, NamespaceChange, PinataBackend, ProcessorResult, SubscribeOptions, SupportedNetworks, Vertex, addressToBytes32Array, buildAssetGraph, computeSchemaId, deserialize, extractMarkdownLinks, fieldToHex, hexToBytes32Array, hexToField, retrieveByCid, serialize, stringToBytes32Array };
|
package/lib/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { FangornConfig, SupportedNetworks } from "./config.js";
|
|
|
2
2
|
import { deserialize, retrieveByCid, serialize } from "./providers/storage/utils.js";
|
|
3
3
|
import { PinataBackend } from "./providers/storage/pinata.js";
|
|
4
4
|
import { Fangorn } from "./fangorn.js";
|
|
5
|
+
import { buildAssetGraph, extractMarkdownLinks } from "./harness/index.js";
|
|
5
6
|
import { addressToBytes32Array, computeSchemaId, fieldToHex, hexToBytes32Array, hexToField, stringToBytes32Array } from "./utils/index.js";
|
|
6
7
|
|
|
7
|
-
export { Fangorn, FangornConfig, PinataBackend, SupportedNetworks, addressToBytes32Array, computeSchemaId, deserialize, fieldToHex, hexToBytes32Array, hexToField, retrieveByCid, serialize, stringToBytes32Array };
|
|
8
|
+
export { Fangorn, FangornConfig, PinataBackend, SupportedNetworks, addressToBytes32Array, buildAssetGraph, computeSchemaId, deserialize, extractMarkdownLinks, fieldToHex, hexToBytes32Array, hexToField, retrieveByCid, serialize, stringToBytes32Array };
|