@gapi/cli-builder 1.8.181 → 1.8.182

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.
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2025-12-24T14:13:58.788Z
119
+ at 2025-12-24T14:20:00.983Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2025-12-24T14:13:58.780Z
119
+ at 2025-12-24T14:20:00.976Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -289,7 +289,7 @@ export const Environment = {
289
289
  <div class='footer quiet pad2 space-top1 center small'>
290
290
  Code coverage generated by
291
291
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
292
- at 2025-12-24T14:13:58.780Z
292
+ at 2025-12-24T14:20:00.976Z
293
293
  </div>
294
294
  <script src="../prettify.js"></script>
295
295
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-12-24T14:13:58.780Z
104
+ at 2025-12-24T14:20:00.976Z
105
105
  </div>
106
106
  <script src="../../../prettify.js"></script>
107
107
  <script>
@@ -439,7 +439,7 @@ WantedBy=multi-user.target
439
439
  <div class='footer quiet pad2 space-top1 center small'>
440
440
  Code coverage generated by
441
441
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
442
- at 2025-12-24T14:13:58.780Z
442
+ at 2025-12-24T14:20:00.976Z
443
443
  </div>
444
444
  <script src="../../../prettify.js"></script>
445
445
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-12-24T14:13:58.780Z
104
+ at 2025-12-24T14:20:00.976Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -289,7 +289,7 @@ export const Environment = {
289
289
  <div class='footer quiet pad2 space-top1 center small'>
290
290
  Code coverage generated by
291
291
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
292
- at 2025-12-24T14:13:58.788Z
292
+ at 2025-12-24T14:20:00.983Z
293
293
  </div>
294
294
  <script src="../prettify.js"></script>
295
295
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-12-24T14:13:58.788Z
104
+ at 2025-12-24T14:20:00.983Z
105
105
  </div>
106
106
  <script src="../../../prettify.js"></script>
107
107
  <script>
@@ -439,7 +439,7 @@ WantedBy=multi-user.target
439
439
  <div class='footer quiet pad2 space-top1 center small'>
440
440
  Code coverage generated by
441
441
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
442
- at 2025-12-24T14:13:58.788Z
442
+ at 2025-12-24T14:20:00.983Z
443
443
  </div>
444
444
  <script src="../../../prettify.js"></script>
445
445
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-12-24T14:13:58.788Z
104
+ at 2025-12-24T14:20:00.983Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -23,6 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.SubscriptionService = void 0;
25
25
  const core_1 = require("@gapi/core");
26
+ const graphql_pubsub_test_1 = require("@rxdi/graphql-pubsub-test");
26
27
  const apollo_cache_inmemory_1 = require("apollo-cache-inmemory");
27
28
  const apollo_client_1 = require("apollo-client");
28
29
  const os_1 = require("os");
@@ -44,7 +45,7 @@ let SubscriptionService = class SubscriptionService {
44
45
  subscribe(uri, authorization, worker_type, label) {
45
46
  return __awaiter(this, void 0, void 0, function* () {
46
47
  this.currentSubscriptionUri = uri;
47
- this.link = new core_1.WebSocketLink({
48
+ this.link = new graphql_pubsub_test_1.WebSocketLink({
48
49
  uri,
49
50
  options: {
50
51
  connectionParams: {
@@ -60,7 +61,7 @@ let SubscriptionService = class SubscriptionService {
60
61
  },
61
62
  webSocketImpl,
62
63
  });
63
- this.subscription = (0, core_1.subscribeToTopic)(this.subscriptionsQuery.query, this.subscriptionsQuery.variables, this.link)
64
+ this.subscription = (0, graphql_pubsub_test_1.subscribeToTopic)(this.subscriptionsQuery.query, this.subscriptionsQuery.variables, this.link)
64
65
  .pipe((0, operators_1.map)(({ data }) => this.subscriptionsQuery.map(data)))
65
66
  .subscribe((_a) => __awaiter(this, [_a], void 0, function* ({ args, command, cwd, }) {
66
67
  const cmd = core_1.Container.get(app_tokents_1.EnumToken)[command];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/cli-builder",
3
- "version": "1.8.181",
3
+ "version": "1.8.182",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
@@ -13,7 +13,7 @@
13
13
  "test": "jest",
14
14
  "lint": "npx eslint . --ext .ts",
15
15
  "lint-fix": "npx eslint . --fix --ext .ts",
16
- "build": "rm -rf dist && tsc || true"
16
+ "build": "rm -rf dist && tsc"
17
17
  },
18
18
  "author": {
19
19
  "name": "Kristian Tachev(Stradivario)",
@@ -33,12 +33,13 @@
33
33
  "module": "./dist/index.js",
34
34
  "typings": "./dist/index.d.ts",
35
35
  "dependencies": {
36
- "@gapi/core": "^1.8.180",
36
+ "@gapi/core": "^1.8.181",
37
37
  "bufferutil": "^4.0.1",
38
38
  "apollo-cache-inmemory": "^1.6.5",
39
39
  "apollo-client": "^2.6.8",
40
40
  "@graphql-tools/schema": "^10.0.30",
41
- "ws": "^7.2.3"
41
+ "ws": "^7.2.3",
42
+ "@rxdi/graphql-pubsub-test": "^0.7.202"
42
43
  },
43
44
  "devDependencies": {
44
45
  "jest": "^30.2.0",
@@ -1,10 +1,8 @@
1
+ import { Container, Inject, Injectable } from '@gapi/core';
1
2
  import {
2
- Container,
3
- Inject,
4
- Injectable,
5
3
  subscribeToTopic,
6
4
  WebSocketLink,
7
- } from '@gapi/core';
5
+ } from '@rxdi/graphql-pubsub-test';
8
6
  import { InMemoryCache } from 'apollo-cache-inmemory';
9
7
  import { ApolloClient } from 'apollo-client';
10
8
  import { networkInterfaces } from 'os';