@codex-data/sdk 2.3.12 → 2.3.14
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/README.md +200 -94
- package/dist/index.d.ts +16 -0
- package/dist/sdk/Query.d.ts +2 -1
- package/dist/sdk/Query.js +1 -0
- package/dist/sdk/Query.mjs +2 -1
- package/dist/sdk/Subscribe.js +6 -6
- package/dist/sdk/Subscribe.mjs +6 -6
- package/dist/sdk/generated/gql.d.ts +53 -48
- package/dist/sdk/generated/gql.js +25 -24
- package/dist/sdk/generated/gql.mjs +25 -24
- package/dist/sdk/generated/graphql.d.ts +174 -255
- package/dist/sdk/generated/graphql.js +50 -29
- package/dist/sdk/generated/graphql.mjs +45 -24
- package/package.json +5 -3
- package/schema.graphql +15903 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codex-data/sdk",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.14",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=17.5.0"
|
|
6
6
|
},
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"import": "./dist/index.mjs",
|
|
14
14
|
"require": "./dist/index.js"
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"./schema.graphql": "./schema.graphql"
|
|
16
17
|
},
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"files": [
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
"dist/index.mjs",
|
|
21
22
|
"dist/index.d.ts",
|
|
22
23
|
"dist/sdk/",
|
|
24
|
+
"schema.graphql",
|
|
23
25
|
"README.md"
|
|
24
26
|
],
|
|
25
27
|
"keywords": [
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
"build:cjs": "tsc",
|
|
86
88
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
87
89
|
"build:rename-esm": "find dist-esm -name '*.js' -exec sh -c 'mv \"$1\" \"${1%.js}.mjs\"' _ {} \\; && cp -r dist-esm/* dist/ && rm -rf dist-esm",
|
|
88
|
-
"fetch:schema": "curl -s https://graph.codex.io/schema/latest.graphql --output src/resources/schema.graphql",
|
|
90
|
+
"fetch:schema": "curl -s https://graph.codex.io/schema/latest.graphql --output src/resources/schema.graphql && cp src/resources/schema.graphql schema.graphql",
|
|
89
91
|
"generate:configs": "tsx src/scripts/generateNetworkConfigs.ts",
|
|
90
92
|
"generate:graphql": "tsx src/scripts/generateGraphql.ts",
|
|
91
93
|
"build:sdk": "tsx src/scripts/buildSdk.ts",
|