@graphql-yoga/apollo-link 5.3.0-alpha-20251218143057-24a3ef1966d47d15ddc753b0abe0afc3897393d5 → 5.3.1-alpha-20260116132159-d18a95d04a1e11d197fdf672a8be4836ceed0818

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/index.cjs ADDED
@@ -0,0 +1,12 @@
1
+ let _graphql_tools_executor_apollo_link = require("@graphql-tools/executor-apollo-link");
2
+ let _graphql_tools_executor_http = require("@graphql-tools/executor-http");
3
+
4
+ //#region src/index.ts
5
+ var YogaLink = class extends _graphql_tools_executor_apollo_link.ExecutorLink {
6
+ constructor(options) {
7
+ super((0, _graphql_tools_executor_http.buildHTTPExecutor)(options));
8
+ }
9
+ };
10
+
11
+ //#endregion
12
+ exports.YogaLink = YogaLink;
@@ -0,0 +1,10 @@
1
+ import { ExecutorLink } from "@graphql-tools/executor-apollo-link";
2
+ import { HTTPExecutorOptions } from "@graphql-tools/executor-http";
3
+
4
+ //#region src/index.d.ts
5
+ type YogaLinkOptions = HTTPExecutorOptions;
6
+ declare class YogaLink extends ExecutorLink {
7
+ constructor(options: YogaLinkOptions);
8
+ }
9
+ //#endregion
10
+ export { YogaLink, YogaLinkOptions };
@@ -0,0 +1,10 @@
1
+ import { ExecutorLink } from "@graphql-tools/executor-apollo-link";
2
+ import { HTTPExecutorOptions } from "@graphql-tools/executor-http";
3
+
4
+ //#region src/index.d.ts
5
+ type YogaLinkOptions = HTTPExecutorOptions;
6
+ declare class YogaLink extends ExecutorLink {
7
+ constructor(options: YogaLinkOptions);
8
+ }
9
+ //#endregion
10
+ export { YogaLink, YogaLinkOptions };
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ import { ExecutorLink } from "@graphql-tools/executor-apollo-link";
2
+ import { buildHTTPExecutor } from "@graphql-tools/executor-http";
3
+
4
+ //#region src/index.ts
5
+ var YogaLink = class extends ExecutorLink {
6
+ constructor(options) {
7
+ super(buildHTTPExecutor(options));
8
+ }
9
+ };
10
+
11
+ //#endregion
12
+ export { YogaLink };
package/package.json CHANGED
@@ -1,54 +1,76 @@
1
1
  {
2
2
  "name": "@graphql-yoga/apollo-link",
3
- "version": "5.3.0-alpha-20251218143057-24a3ef1966d47d15ddc753b0abe0afc3897393d5",
3
+ "version": "5.3.1-alpha-20260116132159-d18a95d04a1e11d197fdf672a8be4836ceed0818",
4
+ "type": "module",
4
5
  "description": "",
5
- "peerDependencies": {
6
- "@apollo/client": "^4.0.4",
7
- "graphql": "^15.2.0 || ^16.0.0"
8
- },
9
- "dependencies": {
10
- "@graphql-tools/executor-apollo-link": "^2.0.0",
11
- "@graphql-tools/executor-http": "^3.0.0",
12
- "tslib": "^2.8.1"
13
- },
14
6
  "repository": {
15
7
  "type": "git",
16
8
  "url": "https://github.com/graphql-hive/graphql-yoga.git",
17
9
  "directory": "packages/apollo-link"
18
10
  },
19
- "keywords": [
20
- "graphql",
21
- "server",
22
- "graphql-yoga",
23
- "apollo"
24
- ],
25
11
  "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
26
12
  "license": "MIT",
27
13
  "engines": {
28
14
  "node": ">=20.0.0"
29
15
  },
30
- "main": "cjs/index.js",
31
- "module": "esm/index.js",
32
- "typings": "typings/index.d.ts",
33
- "typescript": {
34
- "definition": "typings/index.d.ts"
35
- },
36
- "type": "module",
16
+ "main": "dist/index.cjs",
17
+ "typings": "dist/index.d.mts",
18
+ "module": "dist/index.mjs",
37
19
  "exports": {
38
20
  ".": {
39
21
  "require": {
40
- "types": "./typings/index.d.cts",
41
- "default": "./cjs/index.js"
22
+ "types": "./dist/index.d.cts",
23
+ "default": "./dist/index.cjs"
42
24
  },
43
25
  "import": {
44
- "types": "./typings/index.d.ts",
45
- "default": "./esm/index.js"
26
+ "types": "./dist/index.d.mts",
27
+ "default": "./dist/index.mjs"
46
28
  },
47
29
  "default": {
48
- "types": "./typings/index.d.ts",
49
- "default": "./esm/index.js"
30
+ "types": "./dist/index.d.mts",
31
+ "default": "./dist/index.mjs"
50
32
  }
51
33
  },
52
34
  "./package.json": "./package.json"
35
+ },
36
+ "files": [
37
+ "dist"
38
+ ],
39
+ "keywords": [
40
+ "graphql",
41
+ "server",
42
+ "graphql-yoga",
43
+ "apollo"
44
+ ],
45
+ "scripts": {
46
+ "build": "tsdown",
47
+ "check": "tsc --pretty --noEmit",
48
+ "watch": "tsdown --watch"
49
+ },
50
+ "peerDependencies": {
51
+ "@apollo/client": "^4.0.4",
52
+ "graphql": "^15.2.0 || ^16.0.0",
53
+ "rxjs": "*"
54
+ },
55
+ "dependencies": {
56
+ "@graphql-tools/executor-apollo-link": "^2.0.0",
57
+ "@graphql-tools/executor-http": "^3.0.0",
58
+ "tslib": "^2.8.1"
59
+ },
60
+ "devDependencies": {
61
+ "@apollo/client": "4.0.9",
62
+ "graphql": "^16.12.0",
63
+ "graphql-yoga": "workspace:*",
64
+ "rxjs": "^7.8.2",
65
+ "tsdown": "^0.20.0-beta.1"
66
+ },
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "buildOptions": {
71
+ "input": "./src/index.ts"
72
+ },
73
+ "typescript": {
74
+ "definition": "dist/index.d.mts"
53
75
  }
54
- }
76
+ }
package/LICENSE DELETED
@@ -1,23 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2018-2020 Graphcool
4
- Copyright (c) 2020-2021 Prisma
5
- Copyright (c) 2021- The Guild
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
package/cjs/index.js DELETED
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.YogaLink = void 0;
4
- const executor_apollo_link_1 = require("@graphql-tools/executor-apollo-link");
5
- const executor_http_1 = require("@graphql-tools/executor-http");
6
- class YogaLink extends executor_apollo_link_1.ExecutorLink {
7
- constructor(options) {
8
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
- super((0, executor_http_1.buildHTTPExecutor)(options));
10
- }
11
- }
12
- exports.YogaLink = YogaLink;
package/cjs/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"commonjs"}
package/esm/index.js DELETED
@@ -1,8 +0,0 @@
1
- import { ExecutorLink } from '@graphql-tools/executor-apollo-link';
2
- import { buildHTTPExecutor } from '@graphql-tools/executor-http';
3
- export class YogaLink extends ExecutorLink {
4
- constructor(options) {
5
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
- super(buildHTTPExecutor(options));
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { ExecutorLink } from '@graphql-tools/executor-apollo-link';
2
- import { HTTPExecutorOptions } from '@graphql-tools/executor-http';
3
- export type YogaLinkOptions = HTTPExecutorOptions;
4
- export declare class YogaLink extends ExecutorLink {
5
- constructor(options: YogaLinkOptions);
6
- }
@@ -1,6 +0,0 @@
1
- import { ExecutorLink } from '@graphql-tools/executor-apollo-link';
2
- import { HTTPExecutorOptions } from '@graphql-tools/executor-http';
3
- export type YogaLinkOptions = HTTPExecutorOptions;
4
- export declare class YogaLink extends ExecutorLink {
5
- constructor(options: YogaLinkOptions);
6
- }