@coasys/ad4m-connect 0.13.1-staging.1 → 0.13.1-staging.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.
- package/dist/core.d.ts +9 -0
- package/dist/core.js +2781 -771
- package/dist/core.js.map +3 -3
- package/dist/index.js +2781 -771
- package/dist/index.js.map +3 -3
- package/dist/utils.js +1 -1
- package/dist/web.js +1270 -509
- package/dist/web.js.map +3 -3
- package/package.json +3 -3
package/dist/core.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export default class Ad4mConnect extends EventTarget {
|
|
|
19
19
|
lowCreditThreshold: number;
|
|
20
20
|
private creditPollInterval;
|
|
21
21
|
private releaseCreditListener?;
|
|
22
|
+
/** How \`buildClient\` reaches the executor in embedded proxy mode; unset for a direct connection. */
|
|
23
|
+
private proxy?;
|
|
22
24
|
private embeddedResolve?;
|
|
23
25
|
private embeddedReject?;
|
|
24
26
|
constructor(options: Ad4mConnectOptions);
|
|
@@ -26,6 +28,13 @@ export default class Ad4mConnect extends EventTarget {
|
|
|
26
28
|
/** Make this client the connection, closing the one it replaces. */
|
|
27
29
|
private adoptClient;
|
|
28
30
|
private buildClient;
|
|
31
|
+
/**
|
|
32
|
+
* A client whose token the executor refuses mid-session fails every call and stops reconnecting.
|
|
33
|
+
* Drop the token and move to 'unauthenticated', so the app asks the user to log in again.
|
|
34
|
+
*/
|
|
35
|
+
private watchAuth;
|
|
36
|
+
/** Forget the token (memory and localStorage) and rebuild the client without it. */
|
|
37
|
+
private discardToken;
|
|
29
38
|
private withTempClient;
|
|
30
39
|
checkAuth(): Promise<boolean>;
|
|
31
40
|
/**
|