@useparagon/connect 2.5.1-experimental.1 → 2.5.1-experimental.2
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.js +1 -1
- package/dist/src/SDKEventEmitter.d.ts +1 -1
- package/dist/src/file-picker/helpers/microsoftPicker.d.ts +18 -0
- package/dist/src/file-picker/integrations/box.d.ts +1 -0
- package/dist/src/file-picker/integrations/googledrive.d.ts +1 -0
- package/dist/src/file-picker/types/baseFilePicker.d.ts +1 -0
- package/dist/src/file-picker/types/externalFilePicker.d.ts +1 -0
- package/dist/src/index.js +1 -1
- package/dist/src/types/sdk.d.ts +6 -0
- package/package.json +1 -1
package/dist/src/types/sdk.d.ts
CHANGED
|
@@ -436,6 +436,8 @@ export type EventInfo = {
|
|
|
436
436
|
type: SDK_EVENT;
|
|
437
437
|
integrationId: string;
|
|
438
438
|
integrationType: string;
|
|
439
|
+
credentialId?: string;
|
|
440
|
+
credential?: IConnectCredential;
|
|
439
441
|
workflowId?: string;
|
|
440
442
|
workflowStateChange?: Partial<IntegrationWorkflowState>;
|
|
441
443
|
};
|
|
@@ -477,6 +479,10 @@ export interface IFilePicker {
|
|
|
477
479
|
* returns instance of the integration based on how file picker opens
|
|
478
480
|
*/
|
|
479
481
|
getInstance(): unknown;
|
|
482
|
+
/**
|
|
483
|
+
* closes the file picker and cleans up listeners
|
|
484
|
+
*/
|
|
485
|
+
close(): void;
|
|
480
486
|
}
|
|
481
487
|
export type FilePickerOptions = {
|
|
482
488
|
allowedTypes?: string[];
|
package/package.json
CHANGED