@codex-data/sdk 1.0.24 → 1.0.26

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/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "scripts": {
10
+ "prebuild": "bun run generate:configs",
10
11
  "build": "bun run fetch:schema && bun run src/scripts/generateGraphql.ts && bun run src/scripts/buildSdk.ts && bun run codegen && bun run lint ./src/sdk --fix && bun run eslint --no-ignore ./src/resources/**/*.graphql --fix && bun run tsc",
11
12
  "fetch:schema": "curl -s https://graph.codex.io/schema/latest.graphql --output src/resources/schema.graphql",
13
+ "generate:configs": "bun run src/scripts/generateNetworkConfigs.ts",
12
14
  "codegen": "graphql-codegen --config codegen.ts",
13
15
  "lint": "eslint --ext .ts src",
14
16
  "test": "jest"
@@ -65,3 +67,4 @@
65
67
  "ts-jest": "^29.1.1"
66
68
  }
67
69
  }
70
+