@epoch-protocol/epoch-commons-sdk 0.2.0 → 0.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/dist/data/index.d.ts +6 -2
- package/dist/data/index.js +0 -1
- package/package.json +2 -2
package/dist/data/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type { Graph } from "../types/index.js";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import mainnetGraphData from "./epochgraphmainnet.json";
|
|
3
|
+
import testnetGraphData from "./epochgraphtestnet.json";
|
|
4
|
+
type ConcreteGraph<T> = T & Graph;
|
|
5
|
+
export declare const mainnetGraph: ConcreteGraph<typeof mainnetGraphData>;
|
|
6
|
+
export declare const testnetGraph: ConcreteGraph<typeof testnetGraphData>;
|
|
7
|
+
export {};
|
package/dist/data/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import mainnetGraphData from "./epochgraphmainnet.json" with { type: "json" };
|
|
2
2
|
import testnetGraphData from "./epochgraphtestnet.json" with { type: "json" };
|
|
3
|
-
// Keep public graph exports compatible with graph utilities and consumers.
|
|
4
3
|
export const mainnetGraph = mainnetGraphData;
|
|
5
4
|
export const testnetGraph = testnetGraphData;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epoch-protocol/epoch-commons-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "SDK for interacting with Epoch Commons Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsc",
|
|
9
|
+
"build": "tsc && tsc -p tsconfig.typecheck.json",
|
|
10
10
|
"test": "jest",
|
|
11
11
|
"lint": "eslint . --ext .ts",
|
|
12
12
|
"format": "prettier --write \"src/**/*.ts\"",
|