@useparagon/connect 2.2.5 → 2.2.6-experimental-9695.1
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/src/ConnectSDK.d.ts
CHANGED
|
@@ -95,11 +95,15 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
95
95
|
*
|
|
96
96
|
* **Warning:** This favors stored to current state. This should typically be called in
|
|
97
97
|
* unauthenticated contexts, as a fallback.
|
|
98
|
+
*
|
|
99
|
+
* If saved state includes a host (SUP-154 / PARA-9695), applies it before bootstrapping
|
|
100
|
+
* so the initial request targets the correct endpoint instead of defaulting to zeus.useparagon.com.
|
|
98
101
|
*/
|
|
99
102
|
private loadState;
|
|
100
103
|
getIntegrationId(integration: string): string;
|
|
101
104
|
/**
|
|
102
105
|
* Saves the current SDK state into localStorage, if available.
|
|
106
|
+
* Persists the current host (SUP-154 / PARA-9695) so loadState can target the correct endpoint.
|
|
103
107
|
*/
|
|
104
108
|
private saveState;
|
|
105
109
|
/**
|