@integry/sdk 4.9.27 → 4.9.29
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/esm/index.csm.d.ts +17 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +10 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -455,6 +455,15 @@ type SDKOptions = UserConfig; // rename user config to options for better unders
|
|
|
455
455
|
// rename user config to options for better understanding
|
|
456
456
|
interface SDKConfig {
|
|
457
457
|
baseUrl?: string;
|
|
458
|
+
authBaseUrl?: string;
|
|
459
|
+
/**
|
|
460
|
+
* Optional override for the public API domain. Falls back to api.integry.io.
|
|
461
|
+
*/
|
|
462
|
+
baseAPIUrl?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Backwards compatible alias for baseAPIUrl.
|
|
465
|
+
*/
|
|
466
|
+
apiBaseUrl?: string;
|
|
458
467
|
debug?: boolean;
|
|
459
468
|
integrationId?: number;
|
|
460
469
|
lang?: string;
|
|
@@ -610,7 +619,13 @@ interface TemplateField {
|
|
|
610
619
|
app_user_data?: {
|
|
611
620
|
app_user: number;
|
|
612
621
|
id: number;
|
|
613
|
-
value: string
|
|
622
|
+
value: string
|
|
623
|
+
/**
|
|
624
|
+
* Handler function when SDK has failed to load.
|
|
625
|
+
*/
|
|
626
|
+
| /**
|
|
627
|
+
* Handler function when SDK has failed to load.
|
|
628
|
+
*/ number;
|
|
614
629
|
is_changed: boolean;
|
|
615
630
|
changed_dynamic_fields: string;
|
|
616
631
|
}[];
|
|
@@ -821,6 +836,7 @@ declare class IntegryJS {
|
|
|
821
836
|
private forceRerender;
|
|
822
837
|
private appAuthorizationsPollingIntervals;
|
|
823
838
|
private appAuthorizationsRequestIds;
|
|
839
|
+
private isAppAuthorizationsViewActive;
|
|
824
840
|
private clearAppAuthorizationsPolling;
|
|
825
841
|
constructor(config: ConfigWithObject | ConfigWithUrlParams);
|
|
826
842
|
/**
|