-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable EUID in the SDK #56
Conversation
Add relevant EUID tests (mostly we'll rely on the UID2 tests). Make the callback manager handle SDKLoaded state separately for each SDK.
src/uid2CallbackManager.ts
Outdated
this._logger = logger; | ||
this._getIdentity = getIdentity; | ||
this._sdk = sdk; | ||
this._sdk.callbacks.push = this.callbackPushInterceptor.bind(this); | ||
} | ||
|
||
private static _sentSdkLoaded = false; //TODO: This needs to be fixed for EUID! | ||
private static _sentSdkLoaded: Record<string, boolean> = {}; //TODO: This needs to be fixed for EUID! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this comment still apply?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch - no, this fixes it for EUID :) I'll update it.
examples/cstg/html/index.html
Outdated
</script> | ||
</head> | ||
<body> | ||
<h1>Server-Side Integration Example, UID2 JavaScript SDK</h1> | ||
<h1>CSTG Integration Example, UID2 JavaScript SDK</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth adding "EUID" to the title here? Or even removing "UID2" since it is specified in the table below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update.
Removed the base SDK class to a separate file. Minor tweaks.
…euid # Conflicts: # examples/cstg/html/index.html
No description provided.