@useparagon/connect 2.0.4 → 2.0.5-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.
@@ -39,5 +39,10 @@ export type Props = {
39
39
  apiInstallationOptions?: ModalApiInstallationOptions;
40
40
  connectionError?: ParagonError | undefined;
41
41
  selectedCredentialId?: string;
42
+ /**
43
+ * This flag is used to show the portal after the oauth flow is complete
44
+ * This flag is set to true when the installIntegration method is called with showPortalAfterInstall option
45
+ */
46
+ shouldShowPortalAfterInstall?: boolean;
42
47
  };
43
48
  export {};
@@ -387,11 +387,27 @@ export type FilePickerOptions = {
387
387
  viewMode?: google.picker.DocsViewMode;
388
388
  includeFolders?: boolean;
389
389
  };
390
+ box?: {
391
+ container?: string;
392
+ maxSelectable?: number;
393
+ canUpload?: boolean;
394
+ canCreateNewFolder?: boolean;
395
+ canSetShareAccess?: boolean;
396
+ canDownload?: boolean;
397
+ canDelete?: boolean;
398
+ canRename?: boolean;
399
+ canPreview?: boolean;
400
+ canComment?: boolean;
401
+ canShare?: boolean;
402
+ canMove?: boolean;
403
+ canCopy?: boolean;
404
+ };
390
405
  };
391
406
  };
392
407
  export type FilePickerInitOptions = {
393
408
  developerKey: string;
394
409
  appId?: string;
410
+ folderId?: string;
395
411
  };
396
412
  export declare enum FilePickerStatus {
397
413
  LOADING = "loading",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.0.4",
3
+ "version": "2.0.5-experimental.2",
4
4
  "description": "Embed integrations into your app with the Paragon SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",