@useparagon/connect 2.4.3 → 2.4.4-experimental.22191.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.
@@ -522,6 +522,19 @@ export type FilePickerInitOptions = {
522
522
  appId?: string;
523
523
  folderId?: string;
524
524
  selectedCredentialId?: string;
525
+ /**
526
+ * Optional SharePoint site URL override (e.g. https://contoso.sharepoint.com/sites/MySite).
527
+ * When provided, takes precedence over siteId and providerData.webUrl.
528
+ * Useful when a single connected account has access to multiple SharePoint sites.
529
+ */
530
+ siteUrl?: string;
531
+ /**
532
+ * Optional SharePoint site ID (e.g. contoso.sharepoint.com,191d8a17-...).
533
+ * Resolved to a webUrl via the Microsoft Graph API before opening the picker.
534
+ * Use siteUrl instead when you already have the full URL.
535
+ * Ignored when siteUrl is also provided.
536
+ */
537
+ siteId?: string;
525
538
  };
526
539
  export declare enum FilePickerStatus {
527
540
  LOADING = "loading",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.4.3",
3
+ "version": "2.4.4-experimental.22191.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",