@ctx-core/graphql-client 7.0.108 → 7.0.110
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/CHANGELOG.md +21 -0
- package/dist/FetchHttpHeaders.d.ts +3 -0
- package/dist/FetchHttpOpts.d.ts +5 -0
- package/dist/graphql_fetch.d.ts +6 -0
- package/dist/graphql_fetch_.d.ts +4 -0
- package/dist/graphql_port_txt_.d.ts +2 -0
- package/dist/graphql_url_.d.ts +2 -0
- package/dist/index.d.ts +6 -0
- package/package.json +14 -10
- package/tsconfig.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @ctx-core/graphql-client
|
|
2
2
|
|
|
3
|
+
## 7.0.110
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @types/node: ^16.11.13 -> ^17.0.0
|
|
8
|
+
- fix: build
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @ctx-core/dom@11.0.45
|
|
11
|
+
- @ctx-core/fetch@11.0.98
|
|
12
|
+
- @ctx-core/object@22.0.5
|
|
13
|
+
|
|
14
|
+
## 7.0.109
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- \*.d.ts export
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @ctx-core/dom@11.0.44
|
|
21
|
+
- @ctx-core/fetch@11.0.97
|
|
22
|
+
- @ctx-core/object@22.0.4
|
|
23
|
+
|
|
3
24
|
## 7.0.108
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FetchHttpOpts } from './FetchHttpOpts.js';
|
|
2
|
+
export declare function graphql_fetch<data_T extends unknown = unknown>(body: string, fn_in_http_opts?: FetchHttpOpts): Promise<graphql_fetch_response_T<data_T>>;
|
|
3
|
+
export interface graphql_fetch_response_T<data_T extends unknown = unknown> {
|
|
4
|
+
data: data_T;
|
|
5
|
+
}
|
|
6
|
+
export { graphql_fetch as fetch_graphql, graphql_fetch as fetch__graphql, };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FetchHttpOpts } from './FetchHttpOpts.js';
|
|
2
|
+
export declare function graphql_fetch_<O1 extends unknown = unknown>(in_http_opts?: FetchHttpOpts): graphql_fetch_T<O1>;
|
|
3
|
+
export declare type graphql_fetch_T<O extends unknown = unknown> = (body: string, fn_in_http_opts: FetchHttpOpts) => Promise<O>;
|
|
4
|
+
export { graphql_fetch_ as _graphql_fetch, graphql_fetch_ as _fetch__graphql, };
|
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/graphql-client",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.110",
|
|
4
4
|
"description": "ctx-core graphql-client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -17,22 +17,22 @@
|
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
|
-
"import": "./dist/index.js"
|
|
23
|
-
"types": "./src/index.ts"
|
|
23
|
+
"import": "./dist/index.js"
|
|
24
24
|
},
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ctx-core/dom": "^11.0.
|
|
29
|
-
"@ctx-core/fetch": "^11.0.
|
|
30
|
-
"@ctx-core/object": "^22.0.
|
|
28
|
+
"@ctx-core/dom": "^11.0.45",
|
|
29
|
+
"@ctx-core/fetch": "^11.0.98",
|
|
30
|
+
"@ctx-core/object": "^22.0.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@swc/cli": "^0.1.55",
|
|
34
34
|
"@swc/core": "^1.2.120",
|
|
35
|
-
"@types/node": "^
|
|
35
|
+
"@types/node": "^17.0.0",
|
|
36
36
|
"rimraf": "^3.0.2",
|
|
37
37
|
"typescript": "next"
|
|
38
38
|
},
|
|
@@ -44,8 +44,12 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"@ctx-core/graphql": "workspace:^9.0.30",
|
|
46
46
|
"build": "npm run compile",
|
|
47
|
-
"clean": "rimraf dist",
|
|
48
|
-
"
|
|
47
|
+
"clean": "rimraf dist && npm run clean_tsbuildinfo",
|
|
48
|
+
"clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
|
|
49
|
+
"compile": "npm run compile_source && npm run compile_declaration",
|
|
50
|
+
"compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
|
|
51
|
+
"compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
49
52
|
"exec": "$@"
|
|
50
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"readme": "# @ctx-core/graphql-client\n\nGraphQL client logic\n"
|
|
51
55
|
}
|