@sprucelabs/heartwood-view-controllers 113.0.6 → 113.0.7
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.
|
@@ -5,7 +5,7 @@ export default class AuthenticatorImpl implements Authenticator {
|
|
|
5
5
|
static Class?: new (storage: Storage) => Authenticator;
|
|
6
6
|
private static instance;
|
|
7
7
|
private static storage;
|
|
8
|
-
protected eventEmitter: EventEmitter<
|
|
8
|
+
protected eventEmitter: EventEmitter<AuthenticatorEmitterMap>;
|
|
9
9
|
protected storage: Storage;
|
|
10
10
|
protected constructor(storage: Storage);
|
|
11
11
|
static getInstance(): Authenticator;
|
|
@@ -18,7 +18,7 @@ export default class AuthenticatorImpl implements Authenticator {
|
|
|
18
18
|
clearSession(): void;
|
|
19
19
|
addEventListener<N extends AuthenticatorEventName>(name: N, cb: AuthenticatorEventPayloads[N]): void;
|
|
20
20
|
}
|
|
21
|
-
interface
|
|
21
|
+
export interface AuthenticatorEmitterMap {
|
|
22
22
|
'did-login': {
|
|
23
23
|
token: string;
|
|
24
24
|
person: Person;
|
|
@@ -30,4 +30,3 @@ interface EmitterMap {
|
|
|
30
30
|
person: Person;
|
|
31
31
|
}[];
|
|
32
32
|
}
|
|
33
|
-
export {};
|
|
@@ -5,7 +5,7 @@ export default class AuthenticatorImpl implements Authenticator {
|
|
|
5
5
|
static Class?: new (storage: Storage) => Authenticator;
|
|
6
6
|
private static instance;
|
|
7
7
|
private static storage;
|
|
8
|
-
protected eventEmitter: EventEmitter<
|
|
8
|
+
protected eventEmitter: EventEmitter<AuthenticatorEmitterMap>;
|
|
9
9
|
protected storage: Storage;
|
|
10
10
|
protected constructor(storage: Storage);
|
|
11
11
|
static getInstance(): Authenticator;
|
|
@@ -18,7 +18,7 @@ export default class AuthenticatorImpl implements Authenticator {
|
|
|
18
18
|
clearSession(): void;
|
|
19
19
|
addEventListener<N extends AuthenticatorEventName>(name: N, cb: AuthenticatorEventPayloads[N]): void;
|
|
20
20
|
}
|
|
21
|
-
interface
|
|
21
|
+
export interface AuthenticatorEmitterMap {
|
|
22
22
|
'did-login': {
|
|
23
23
|
token: string;
|
|
24
24
|
person: Person;
|
|
@@ -30,4 +30,3 @@ interface EmitterMap {
|
|
|
30
30
|
person: Person;
|
|
31
31
|
}[];
|
|
32
32
|
}
|
|
33
|
-
export {};
|
package/build/esm/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export { default as MockActiveRecordCard } from './tests/MockActiveRecordCard';
|
|
|
60
60
|
export { default as lockScreenAssert } from './tests/utilities/lockScreenAssert';
|
|
61
61
|
export { default as PolarAreaViewController } from './viewControllers/PolarAreaViewController.vc';
|
|
62
62
|
export { default as AuthenticatorImpl } from './auth/Authenticator';
|
|
63
|
+
export * from './auth/Authenticator';
|
|
63
64
|
export { default as buildBigForm } from './builders/buildBigForm';
|
|
64
65
|
export { default as buildForm } from './builders/buildForm';
|
|
65
66
|
export { default as buildSkillView } from './builders/buildSkillView';
|
package/build/esm/index.js
CHANGED
|
@@ -59,6 +59,7 @@ export { default as MockActiveRecordCard } from './tests/MockActiveRecordCard.js
|
|
|
59
59
|
export { default as lockScreenAssert } from './tests/utilities/lockScreenAssert.js';
|
|
60
60
|
export { default as PolarAreaViewController } from './viewControllers/PolarAreaViewController.vc.js';
|
|
61
61
|
export { default as AuthenticatorImpl } from './auth/Authenticator.js';
|
|
62
|
+
export * from './auth/Authenticator.js';
|
|
62
63
|
export { default as buildBigForm } from './builders/buildBigForm.js';
|
|
63
64
|
export { default as buildForm } from './builders/buildForm.js';
|
|
64
65
|
export { default as buildSkillView } from './builders/buildSkillView.js';
|
package/build/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export { default as MockActiveRecordCard } from './tests/MockActiveRecordCard';
|
|
|
60
60
|
export { default as lockScreenAssert } from './tests/utilities/lockScreenAssert';
|
|
61
61
|
export { default as PolarAreaViewController } from './viewControllers/PolarAreaViewController.vc';
|
|
62
62
|
export { default as AuthenticatorImpl } from './auth/Authenticator';
|
|
63
|
+
export * from './auth/Authenticator';
|
|
63
64
|
export { default as buildBigForm } from './builders/buildBigForm';
|
|
64
65
|
export { default as buildForm } from './builders/buildForm';
|
|
65
66
|
export { default as buildSkillView } from './builders/buildSkillView';
|
package/build/index.js
CHANGED
|
@@ -123,6 +123,7 @@ var PolarAreaViewController_vc_1 = require("./viewControllers/PolarAreaViewContr
|
|
|
123
123
|
Object.defineProperty(exports, "PolarAreaViewController", { enumerable: true, get: function () { return __importDefault(PolarAreaViewController_vc_1).default; } });
|
|
124
124
|
var Authenticator_1 = require("./auth/Authenticator");
|
|
125
125
|
Object.defineProperty(exports, "AuthenticatorImpl", { enumerable: true, get: function () { return __importDefault(Authenticator_1).default; } });
|
|
126
|
+
__exportStar(require("./auth/Authenticator"), exports);
|
|
126
127
|
var buildBigForm_1 = require("./builders/buildBigForm");
|
|
127
128
|
Object.defineProperty(exports, "buildBigForm", { enumerable: true, get: function () { return __importDefault(buildBigForm_1).default; } });
|
|
128
129
|
var buildForm_1 = require("./builders/buildForm");
|
package/package.json
CHANGED