We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac293f commit 99344bcCopy full SHA for 99344bc
src/euidSdk.ts
@@ -60,7 +60,7 @@ export function assertEUID(sdk: typeof window.__euid): asserts sdk is EUID {
60
}
61
62
export function __euidInternalHandleScriptLoad() {
63
- if (window.__euid instanceof EUID) {
+ if (window.__euid && 'init' in window.__euid) {
64
// This has already been run
65
return;
66
src/uid2Sdk.ts
@@ -110,7 +110,7 @@ export function assertUID2(sdk: typeof window.__uid2): asserts sdk is UID2 {
110
111
112
export function __uid2InternalHandleScriptLoad() {
113
- if (window.__uid2 instanceof UID2) {
+ if (window.__uid2 && 'init' in window.__uid2) {
114
115
116
0 commit comments