@useparagon/connect 2.4.4-experimental.22191.1 → 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.
@@ -524,10 +524,17 @@ export type FilePickerInitOptions = {
524
524
  selectedCredentialId?: string;
525
525
  /**
526
526
  * Optional SharePoint site URL override (e.g. https://contoso.sharepoint.com/sites/MySite).
527
- * When provided, takes precedence over the connected credential's providerData.webUrl.
527
+ * When provided, takes precedence over siteId and providerData.webUrl.
528
528
  * Useful when a single connected account has access to multiple SharePoint sites.
529
529
  */
530
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;
531
538
  };
532
539
  export declare enum FilePickerStatus {
533
540
  LOADING = "loading",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.4.4-experimental.22191.1",
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",