@graphql-mesh/transport-odata 0.2.15-alpha-20251103000320-0eb10bb65fedaf33990c08ccc9ba69fe2dd6d6a5 → 0.2.15

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/cjs/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const transport_common_1 = require("@graphql-mesh/transport-common");
4
4
  const odata_1 = require("@omnigraph/odata");
5
- exports.default = {
5
+ const transport = {
6
6
  getSubgraphExecutor({ subgraph, fetch }) {
7
7
  return (0, transport_common_1.createDefaultExecutor)((0, odata_1.processDirectives)({
8
8
  schema: subgraph,
@@ -10,3 +10,4 @@ exports.default = {
10
10
  }));
11
11
  },
12
12
  };
13
+ exports.default = transport;
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createDefaultExecutor } from '@graphql-mesh/transport-common';
2
2
  import { processDirectives } from '@omnigraph/odata';
3
- export default {
3
+ const transport = {
4
4
  getSubgraphExecutor({ subgraph, fetch }) {
5
5
  return createDefaultExecutor(processDirectives({
6
6
  schema: subgraph,
@@ -8,3 +8,4 @@ export default {
8
8
  }));
9
9
  },
10
10
  };
11
+ export default transport;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@graphql-mesh/transport-odata",
3
- "version": "0.2.15-alpha-20251103000320-0eb10bb65fedaf33990c08ccc9ba69fe2dd6d6a5",
3
+ "version": "0.2.15",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
7
7
  },
8
8
  "dependencies": {
9
9
  "@graphql-mesh/transport-common": "^1.0.0",
10
- "@omnigraph/odata": "0.2.15-alpha-20251103000320-0eb10bb65fedaf33990c08ccc9ba69fe2dd6d6a5",
10
+ "@omnigraph/odata": "^0.2.15",
11
11
  "tslib": "^2.4.0"
12
12
  },
13
13
  "repository": {
@@ -1,4 +1,3 @@
1
- declare const _default: {
2
- getSubgraphExecutor({ subgraph, fetch }: import("@graphql-mesh/transport-common").TransportGetSubgraphExecutorOptions<Record<string, any>>): import("@graphql-mesh/transport-common").Executor;
3
- };
4
- export default _default;
1
+ import { type Transport } from '@graphql-mesh/transport-common';
2
+ declare const transport: Transport;
3
+ export default transport;
@@ -1,4 +1,3 @@
1
- declare const _default: {
2
- getSubgraphExecutor({ subgraph, fetch }: import("@graphql-mesh/transport-common").TransportGetSubgraphExecutorOptions<Record<string, any>>): import("@graphql-mesh/transport-common").Executor;
3
- };
4
- export default _default;
1
+ import { type Transport } from '@graphql-mesh/transport-common';
2
+ declare const transport: Transport;
3
+ export default transport;