@sprucelabs/spruce-heartwood-utils 16.16.2 → 16.16.3

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.
@@ -6,4 +6,4 @@ export { default as fakeGetViews } from './__tests__/support/heartwoodEventFaker
6
6
  export { default as MockRemoteViewControllerFactory } from './__tests__/support/MockRemoteViewControllerFactory';
7
7
  export * from './types/heartwood-module.types';
8
8
  export { default as loadActiveThemeForOrg } from './theming/loadActiveThemeForOrg';
9
- export { default as AutoLogoutPlugin } from './plugins/AutoLogoutPlugin';
9
+ export { default as AutoLogoutPlugin } from './plugins/AutoLogoutViewPlugin';
@@ -6,4 +6,4 @@ export { default as fakeGetViews } from './__tests__/support/heartwoodEventFaker
6
6
  export { default as MockRemoteViewControllerFactory } from './__tests__/support/MockRemoteViewControllerFactory.js';
7
7
  export * from './types/heartwood-module.types.js';
8
8
  export { default as loadActiveThemeForOrg } from './theming/loadActiveThemeForOrg.js';
9
- export { default as AutoLogoutPlugin } from './plugins/AutoLogoutPlugin.js';
9
+ export { default as AutoLogoutPlugin } from './plugins/AutoLogoutViewPlugin.js';
@@ -1,7 +1,11 @@
1
1
  import { ViewControllerPlugin, ViewControllerPluginOptions } from '@sprucelabs/heartwood-view-controllers';
2
- export default class AutoLogoutPlugin implements ViewControllerPlugin {
2
+ export default class AutoLogoutViewPluginImpl implements AutoLogoutViewPlugin {
3
3
  private device;
4
4
  constructor(options: ViewControllerPluginOptions);
5
5
  enableAutoLogout(durationSec: number): void;
6
6
  disableAutoLogout(): void;
7
7
  }
8
+ export interface AutoLogoutViewPlugin extends ViewControllerPlugin {
9
+ enableAutoLogout(durationSec: number): void;
10
+ disableAutoLogout(): void;
11
+ }
@@ -1,4 +1,4 @@
1
- export default class AutoLogoutPlugin {
1
+ export default class AutoLogoutViewPluginImpl {
2
2
  constructor(options) {
3
3
  const { device } = options;
4
4
  this.device = device;
@@ -6,4 +6,4 @@ export { default as fakeGetViews } from './__tests__/support/heartwoodEventFaker
6
6
  export { default as MockRemoteViewControllerFactory } from './__tests__/support/MockRemoteViewControllerFactory';
7
7
  export * from './types/heartwood-module.types';
8
8
  export { default as loadActiveThemeForOrg } from './theming/loadActiveThemeForOrg';
9
- export { default as AutoLogoutPlugin } from './plugins/AutoLogoutPlugin';
9
+ export { default as AutoLogoutPlugin } from './plugins/AutoLogoutViewPlugin';
@@ -32,6 +32,6 @@ Object.defineProperty(exports, "MockRemoteViewControllerFactory", { enumerable:
32
32
  __exportStar(require("./types/heartwood-module.types"), exports);
33
33
  var loadActiveThemeForOrg_1 = require("./theming/loadActiveThemeForOrg");
34
34
  Object.defineProperty(exports, "loadActiveThemeForOrg", { enumerable: true, get: function () { return __importDefault(loadActiveThemeForOrg_1).default; } });
35
- var AutoLogoutPlugin_1 = require("./plugins/AutoLogoutPlugin");
36
- Object.defineProperty(exports, "AutoLogoutPlugin", { enumerable: true, get: function () { return __importDefault(AutoLogoutPlugin_1).default; } });
35
+ var AutoLogoutViewPlugin_1 = require("./plugins/AutoLogoutViewPlugin");
36
+ Object.defineProperty(exports, "AutoLogoutPlugin", { enumerable: true, get: function () { return __importDefault(AutoLogoutViewPlugin_1).default; } });
37
37
  //# sourceMappingURL=index-module.js.map
@@ -1,7 +1,11 @@
1
1
  import { ViewControllerPlugin, ViewControllerPluginOptions } from '@sprucelabs/heartwood-view-controllers';
2
- export default class AutoLogoutPlugin implements ViewControllerPlugin {
2
+ export default class AutoLogoutViewPluginImpl implements AutoLogoutViewPlugin {
3
3
  private device;
4
4
  constructor(options: ViewControllerPluginOptions);
5
5
  enableAutoLogout(durationSec: number): void;
6
6
  disableAutoLogout(): void;
7
7
  }
8
+ export interface AutoLogoutViewPlugin extends ViewControllerPlugin {
9
+ enableAutoLogout(durationSec: number): void;
10
+ disableAutoLogout(): void;
11
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- class AutoLogoutPlugin {
3
+ class AutoLogoutViewPluginImpl {
4
4
  constructor(options) {
5
5
  const { device } = options;
6
6
  this.device = device;
@@ -14,5 +14,5 @@ class AutoLogoutPlugin {
14
14
  this.device.sendCommand('disableAutoLogout', {});
15
15
  }
16
16
  }
17
- exports.default = AutoLogoutPlugin;
18
- //# sourceMappingURL=AutoLogoutPlugin.js.map
17
+ exports.default = AutoLogoutViewPluginImpl;
18
+ //# sourceMappingURL=AutoLogoutViewPlugin.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-heartwood-utils",
3
3
  "description": "Heartwood Utilities",
4
- "version": "16.16.2",
4
+ "version": "16.16.3",
5
5
  "skill": {
6
6
  "namespace": "heartwood"
7
7
  },
@@ -22,10 +22,10 @@
22
22
  "build/skillViews/RemoteViewControllerFactory.d.ts",
23
23
  "build/esm/skillViews/RemoteViewControllerFactory.js",
24
24
  "build/esm/skillViews/RemoteViewControllerFactory.d.ts",
25
- "build/plugins/AutoLogoutPlugin.js",
26
- "build/plugins/AutoLogoutPlugin.d.ts",
27
- "build/esm/plugins/AutoLogoutPlugin.js",
28
- "build/esm/plugins/AutoLogoutPlugin.d.ts",
25
+ "build/plugins/AutoLogoutViewPlugin.js",
26
+ "build/plugins/AutoLogoutViewPlugin.d.ts",
27
+ "build/esm/plugins/AutoLogoutViewPlugin.js",
28
+ "build/esm/plugins/AutoLogoutViewPlugin.d.ts",
29
29
  "build/skillViews/CardRegistrar.js",
30
30
  "build/skillViews/CardRegistrar.d.ts",
31
31
  "build/esm/skillViews/CardRegistrar.js",