@rxdi/graphql-client 0.7.190 → 0.7.191-nightly.1

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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deepCopy = exports.convertToPossibleTypes = exports.importQuery = void 0;
3
+ exports.deepCopy = exports.convertToPossibleTypes = void 0;
4
+ exports.importQuery = importQuery;
4
5
  const core_1 = require("@rxdi/core");
5
6
  function importQuery(search) {
6
7
  let result;
@@ -16,7 +17,6 @@ function importQuery(search) {
16
17
  }
17
18
  return result;
18
19
  }
19
- exports.importQuery = importQuery;
20
20
  const convertToPossibleTypes = (introspectionQuery) => introspectionQuery.__schema.types.reduce((acc, curr) => (Object.assign(Object.assign({}, acc), { [curr.name]: curr.possibleTypes.map((type) => type.name) })), {});
21
21
  exports.convertToPossibleTypes = convertToPossibleTypes;
22
22
  /* Utility function helping us to get a new object using the apollo-store */
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -126,10 +130,10 @@ let GraphqlModule = GraphqlModule_1 = class GraphqlModule {
126
130
  };
127
131
  }
128
132
  };
129
- GraphqlModule = GraphqlModule_1 = __decorate([
133
+ exports.GraphqlModule = GraphqlModule;
134
+ exports.GraphqlModule = GraphqlModule = GraphqlModule_1 = __decorate([
130
135
  (0, core_1.Module)({})
131
136
  ], GraphqlModule);
132
- exports.GraphqlModule = GraphqlModule;
133
137
  __exportStar(require("./graphql.injection"), exports);
134
138
  __exportStar(require("./graphq.helpers"), exports);
135
139
  var cache_2 = require("@apollo/client/cache");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdi/graphql-client",
3
- "version": "0.7.190",
3
+ "version": "0.7.191-nightly.1",
4
4
  "main": "./dist/index.js",
5
5
  "author": "Kristiyan Tachev",
6
6
  "license": "MIT",
@@ -17,9 +17,9 @@
17
17
  "subscriptions-transport-ws": "^0.9.19"
18
18
  },
19
19
  "devDependencies": {
20
- "typescript": "^4.3.5",
21
- "graphql": "^14.5.8",
22
- "@rxdi/core": "^0.7.189"
20
+ "@rxdi/core": "^0.7.191-nightly.0",
21
+ "typescript": "^5.9.3",
22
+ "graphql": "^16.12.0"
23
23
  },
24
24
  "types": "./dist/index.d.ts",
25
25
  "module": "./dist/index.js",