@coasys/ad4m-connect 0.10.0-rc2 → 0.10.0-rc3
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/dist/components/MobileAppLogoButton.d.ts +3 -0
- package/dist/components/Settings.d.ts +2 -1
- package/dist/core.d.ts +3 -1
- package/dist/core.js +45 -45
- package/dist/utils.js +1 -1
- package/dist/web.d.ts +2 -0
- package/dist/web.js +172 -151
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function Settings({ port, url, isRemote, connectToPort, changeIsRemote, connectRemote, changeState, changeUrl, changePort, }: {
|
|
1
|
+
export default function Settings({ port, url, isRemote, connectToPort, changeIsRemote, connectRemote, changeState, changeUrl, changePort, clearState, }: {
|
|
2
2
|
port: any;
|
|
3
3
|
url: any;
|
|
4
4
|
isRemote: any;
|
|
@@ -8,4 +8,5 @@ export default function Settings({ port, url, isRemote, connectToPort, changeIsR
|
|
|
8
8
|
changeState: any;
|
|
9
9
|
changeUrl: any;
|
|
10
10
|
changePort: any;
|
|
11
|
+
clearState: any;
|
|
11
12
|
}): import("lit").TemplateResult<1>;
|
package/dist/core.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export type Ad4mConnectOptions = {
|
|
|
13
13
|
token?: string;
|
|
14
14
|
url?: string;
|
|
15
15
|
hosting?: boolean;
|
|
16
|
+
mobile?: boolean;
|
|
16
17
|
};
|
|
17
18
|
export type AuthStates = "authenticated" | "locked" | "unauthenticated";
|
|
18
19
|
export type Event = "authstatechange" | "connectionstatechange" | "configstatechange";
|
|
@@ -38,7 +39,7 @@ export default class Ad4mConnect {
|
|
|
38
39
|
appUrl?: string;
|
|
39
40
|
isHosting: boolean;
|
|
40
41
|
listeners: Record<Event, Function[]>;
|
|
41
|
-
constructor({ appName, appDesc, appIconPath, appUrl, appDomain, capabilities, port, token, url, }: Ad4mConnectOptions);
|
|
42
|
+
constructor({ appName, appDesc, appIconPath, appUrl, appDomain, capabilities, port, token, url, hosting }: Ad4mConnectOptions);
|
|
42
43
|
private notifyConfigChange;
|
|
43
44
|
private notifyConnectionChange;
|
|
44
45
|
private notifyAuthChange;
|
|
@@ -56,4 +57,5 @@ export default class Ad4mConnect {
|
|
|
56
57
|
checkAuth(): Promise<boolean>;
|
|
57
58
|
requestCapability(invalidateToken?: boolean): Promise<string>;
|
|
58
59
|
verifyCode(code: string): Promise<string>;
|
|
60
|
+
clearState(): void;
|
|
59
61
|
}
|