@whop/embedded-components-vanilla-js 0.0.4-beta.1 → 0.0.4

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.
@@ -332,6 +332,12 @@ interface PayoutsSessionOptions {
332
332
  * The company ID to use in the Elements
333
333
  */
334
334
  companyId: string;
335
+ /**
336
+ * URL to redirect to after identity verification is completed.
337
+ * This must be an absolute URL (e.g., "https://yourapp.com/callback").
338
+ * Localhost URLs will not work - use ngrok for local development.
339
+ */
340
+ redirectUrl: string;
335
341
  }
336
342
  interface ExpandedPayoutsSessionOptions extends PayoutsSessionOptions {
337
343
  }
package/dist/url.js CHANGED
@@ -22,6 +22,6 @@ __export(url_exports, {
22
22
  SCRIPT_URL: () => SCRIPT_URL
23
23
  });
24
24
  module.exports = __toCommonJS(url_exports);
25
- const ORIGIN = "https://0-0-4-beta-1.elements.whop.com/";
25
+ const ORIGIN = "https://0-0-4.elements.whop.com/";
26
26
  const SCRIPT_URL = new URL(`/release/elements.js`, ORIGIN).toString();
27
27
  //# sourceMappingURL=url.js.map
package/dist/url.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const ORIGIN = "https://0-0-4-beta-1.elements.whop.com/";
1
+ const ORIGIN = "https://0-0-4.elements.whop.com/";
2
2
  const SCRIPT_URL = new URL(`/release/elements.js`, ORIGIN).toString();
3
3
  export { ORIGIN, SCRIPT_URL };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whop/embedded-components-vanilla-js",
3
- "version": "0.0.4-beta.1",
3
+ "version": "0.0.4",
4
4
  "description": "Whop Elements loading utility",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",