@gapi/voyager 1.8.144 → 1.8.146

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,5 +1,5 @@
1
+ import { Server } from '@hapi/hapi';
1
2
  import { PluginInterface } from '@rxdi/core';
2
- import { Server } from 'hapi';
3
3
  import { VoyagerConfigModel } from './voyager-config';
4
4
  export declare class VoyagerGapiHapiPlugin implements PluginInterface {
5
5
  private config;
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.VoyagerGapiHapiPlugin = void 0;
25
+ const hapi_1 = require("@hapi/hapi");
25
26
  const core_1 = require("@rxdi/core");
26
- const hapi_1 = require("@rxdi/hapi");
27
+ const hapi_2 = require("@rxdi/hapi");
27
28
  const render_voyager_page_1 = require("graphql-voyager/middleware/render-voyager-page");
28
- const hapi_2 = require("hapi");
29
29
  const voyager_config_1 = require("./voyager-config");
30
30
  let VoyagerGapiHapiPlugin = class VoyagerGapiHapiPlugin {
31
31
  constructor(config, server) {
@@ -50,8 +50,8 @@ let VoyagerGapiHapiPlugin = class VoyagerGapiHapiPlugin {
50
50
  VoyagerGapiHapiPlugin = __decorate([
51
51
  core_1.Plugin(),
52
52
  __param(0, core_1.Inject(voyager_config_1.VoyagerConfig)),
53
- __param(1, core_1.Inject(hapi_1.HAPI_SERVER)),
53
+ __param(1, core_1.Inject(hapi_2.HAPI_SERVER)),
54
54
  __metadata("design:paramtypes", [voyager_config_1.VoyagerConfigModel,
55
- hapi_2.Server])
55
+ hapi_1.Server])
56
56
  ], VoyagerGapiHapiPlugin);
57
57
  exports.VoyagerGapiHapiPlugin = VoyagerGapiHapiPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/voyager",
3
- "version": "1.8.144",
3
+ "version": "1.8.146",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi-voyager.git"
@@ -35,8 +35,8 @@
35
35
  "graphql-voyager": "^1.0.0-rc.15"
36
36
  },
37
37
  "devDependencies": {
38
- "@rxdi/core": "^0.7.166",
39
- "@rxdi/hapi": "^0.7.166",
38
+ "@rxdi/core": "^0.7.172",
39
+ "@rxdi/hapi": "^0.7.172",
40
40
  "@types/hapi": "^18.0.2",
41
41
  "@types/node": "^13.11.1"
42
42
  }
@@ -1,7 +1,7 @@
1
+ import { Server } from '@hapi/hapi';
1
2
  import { Inject, Plugin, PluginInterface } from '@rxdi/core';
2
3
  import { HAPI_SERVER } from '@rxdi/hapi';
3
4
  import renderVoyagerPage from 'graphql-voyager/middleware/render-voyager-page';
4
- import { Server } from 'hapi';
5
5
 
6
6
  import { VoyagerConfig, VoyagerConfigModel } from './voyager-config';
7
7