@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.
- package/dist/lib/index.d.ts +6 -0
- package/dist/url.js +1 -1
- package/dist/url.mjs +1 -1
- package/package.json +1 -1
package/dist/lib/index.d.ts
CHANGED
|
@@ -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
|
|
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