@sprucelabs/spruce-heartwood-utils 16.16.2 → 16.16.4
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/build/esm/index-module.d.ts +1 -1
- package/build/esm/index-module.js +1 -1
- package/build/esm/plugins/{AutoLogoutPlugin.d.ts → AutoLogoutViewPlugin.d.ts} +5 -1
- package/build/esm/plugins/{AutoLogoutPlugin.js → AutoLogoutViewPlugin.js} +1 -1
- package/build/index-module.d.ts +1 -1
- package/build/index-module.js +2 -2
- package/build/plugins/{AutoLogoutPlugin.d.ts → AutoLogoutViewPlugin.d.ts} +5 -1
- package/build/plugins/{AutoLogoutPlugin.js → AutoLogoutViewPlugin.js} +3 -3
- package/package.json +5 -5
|
@@ -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/
|
|
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/
|
|
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
|
|
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
|
+
}
|
package/build/index-module.d.ts
CHANGED
|
@@ -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/
|
|
9
|
+
export { default as AutoLogoutPlugin } from './plugins/AutoLogoutViewPlugin';
|
package/build/index-module.js
CHANGED
|
@@ -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
|
|
36
|
-
Object.defineProperty(exports, "AutoLogoutPlugin", { enumerable: true, get: function () { return __importDefault(
|
|
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
|
|
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
|
|
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 =
|
|
18
|
-
//# sourceMappingURL=
|
|
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.
|
|
4
|
+
"version": "16.16.4",
|
|
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/
|
|
26
|
-
"build/plugins/
|
|
27
|
-
"build/esm/plugins/
|
|
28
|
-
"build/esm/plugins/
|
|
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",
|