@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/.vscode/launch.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample-23.html",
|
|
14
14
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample%20(33).html",
|
|
15
15
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample%20(34).html",
|
|
16
|
-
"url": "file:////Users/yasir/Downloads/
|
|
16
|
+
"url": "file:////Users/yasir/Downloads/Flows - Integry SDK sample (41).html",
|
|
17
17
|
"webRoot": "${workspaceFolder}/src"
|
|
18
18
|
}
|
|
19
19
|
]
|
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'htm/preact';
|
|
2
2
|
import { VNode } from "preact";
|
|
3
|
-
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";
|
|
3
|
+
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";
|
|
4
4
|
type IntegrySDKEventPayloads = {
|
|
5
5
|
ready: {
|
|
6
6
|
isReady: boolean;
|
|
@@ -105,6 +105,10 @@ type IntegrySDKEventPayloads = {
|
|
|
105
105
|
name: string;
|
|
106
106
|
status: string;
|
|
107
107
|
};
|
|
108
|
+
"did-raise-sdk-embed-warning": {
|
|
109
|
+
type: string;
|
|
110
|
+
message: string;
|
|
111
|
+
};
|
|
108
112
|
};
|
|
109
113
|
type EventCallback<P extends IntegrySDKEventType> = (
|
|
110
114
|
// @ts-expect-error P can index IntegrySDKEventPayloads
|
|
@@ -131,6 +135,7 @@ type IntegrySDKEvents = {
|
|
|
131
135
|
"did-enable-integration": EventCallback<"did-enable-integration">;
|
|
132
136
|
"did-disable-integration": EventCallback<"did-disable-integration">;
|
|
133
137
|
"did-rename-integration": EventCallback<"did-rename-integration">;
|
|
138
|
+
"did-raise-sdk-embed-warning": EventCallback<"did-raise-sdk-embed-warning">;
|
|
134
139
|
};
|
|
135
140
|
declare enum ViewStyles {
|
|
136
141
|
COMPACT = "COMPACT",
|
|
@@ -587,6 +592,7 @@ declare class IntegryJS {
|
|
|
587
592
|
config_verified: boolean;
|
|
588
593
|
meta: any;
|
|
589
594
|
} | null>;
|
|
595
|
+
private getUserVariables;
|
|
590
596
|
/**
|
|
591
597
|
* Destroy SDK instance and cleanup store
|
|
592
598
|
*/
|