@integry/sdk 4.2.16 → 4.2.18
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/umd/index.umd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from "preact";
|
|
2
|
-
type IntegrySDKEventType = "authorizations" | "did-add-authorization" | "did-begin-remove-authorization" | "did-change-step" | "did-fail-authorization-verification" | "did-load-flow" | "did-load-flows" | "did-load-integration" | "did-load-integrations" | "did-load-preview" | "did-remove-authorization" | "did-save-integration" | "did-delete-integration" | "did-select-authorization" | "ready" | "should-load-flow" | "did-click-close-button" | "did-app-load" | "did-enable-integration" | "did-disable-integration" | "did-rename-integration";
|
|
2
|
+
type IntegrySDKEventType = "authorizations" | "did-add-authorization" | "did-begin-remove-authorization" | "did-change-step" | "did-fail-authorization-verification" | "did-load-flow" | "did-load-flows" | "did-load-integration" | "did-load-integrations" | "did-load-preview" | "did-remove-authorization" | "did-save-integration" | "did-delete-integration" | "did-select-authorization" | "ready" | "should-load-flow" | "did-click-close-button" | "did-app-load" | "did-enable-integration" | "did-disable-integration" | "did-rename-integration" | "did-raise-sdk-embed-warning";
|
|
3
3
|
type IntegrySDKEventPayloads = {
|
|
4
4
|
ready: {
|
|
5
5
|
isReady: boolean;
|
|
@@ -104,6 +104,10 @@ type IntegrySDKEventPayloads = {
|
|
|
104
104
|
name: string;
|
|
105
105
|
status: string;
|
|
106
106
|
};
|
|
107
|
+
"did-raise-sdk-embed-warning": {
|
|
108
|
+
type: string;
|
|
109
|
+
message: string;
|
|
110
|
+
};
|
|
107
111
|
};
|
|
108
112
|
type EventCallback<P extends IntegrySDKEventType> = (
|
|
109
113
|
// @ts-expect-error P can index IntegrySDKEventPayloads
|
|
@@ -130,6 +134,7 @@ type IntegrySDKEvents = {
|
|
|
130
134
|
"did-enable-integration": EventCallback<"did-enable-integration">;
|
|
131
135
|
"did-disable-integration": EventCallback<"did-disable-integration">;
|
|
132
136
|
"did-rename-integration": EventCallback<"did-rename-integration">;
|
|
137
|
+
"did-raise-sdk-embed-warning": EventCallback<"did-raise-sdk-embed-warning">;
|
|
133
138
|
};
|
|
134
139
|
declare enum ViewStyles {
|
|
135
140
|
COMPACT = "COMPACT",
|
|
@@ -578,6 +583,7 @@ declare class IntegryJS {
|
|
|
578
583
|
config_verified: boolean;
|
|
579
584
|
meta: any;
|
|
580
585
|
} | null>;
|
|
586
|
+
private getUserVariables;
|
|
581
587
|
/**
|
|
582
588
|
* Destroy SDK instance and cleanup store
|
|
583
589
|
*/
|