@whop/embedded-components-vanilla-js 0.0.4-beta.0 → 0.0.4-beta.1
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 +2 -1
- package/dist/url.js +1 -1
- package/dist/url.mjs +1 -1
- package/package.json +1 -1
package/dist/lib/index.d.ts
CHANGED
|
@@ -192,11 +192,12 @@ interface VerifyElementEvents {
|
|
|
192
192
|
optionsUpdated: (options: VerifyElementOptions) => void;
|
|
193
193
|
close: (ev: CustomEvent) => void;
|
|
194
194
|
snapshot: (snapshot: VerifyElementSnapshot) => void;
|
|
195
|
+
verificationSubmitted: (ev: CustomEvent<VerifyElement>) => void;
|
|
195
196
|
}
|
|
196
197
|
interface VerifyElementOptions {
|
|
197
198
|
includeControls?: boolean;
|
|
198
199
|
onReady?: (element: VerifyElement) => void;
|
|
199
|
-
onVerificationSubmitted?: () => void;
|
|
200
|
+
onVerificationSubmitted?: (ev: CustomEvent<VerifyElement>) => void;
|
|
200
201
|
onClose?: (ev: CustomEvent) => void;
|
|
201
202
|
}
|
|
202
203
|
interface VerifyElementSnapshot {
|
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-
|
|
25
|
+
const ORIGIN = "https://0-0-4-beta-1.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