@authvia/payment-method-create 0.9.0 → 0.11.0
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.
|
@@ -13,6 +13,15 @@ export interface TokenPayload {
|
|
|
13
13
|
'https://authvia.com/uuid'?: string;
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* CDN URL of this script, captured while the module first executes so
|
|
18
|
+
* `document.currentScript` is still live. Used as a fallback when the token
|
|
19
|
+
* has no `iss` claim to derive the API environment from the serving hostname.
|
|
20
|
+
*
|
|
21
|
+
* Falls back to scanning `document.scripts` for the `authvia-payment-method-create`
|
|
22
|
+
* entry (necessary for ES modules where `currentScript` is always `null`).
|
|
23
|
+
*/
|
|
24
|
+
export declare const WC_SCRIPT_URL: string;
|
|
16
25
|
/**
|
|
17
26
|
* Parses a JWT and returns its payload (no signature verification).
|
|
18
27
|
*
|