Skip to content

Bump optable web-sdk to v0.36.0 and use CA edge MCI for demo pages #203

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos/npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demos/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "Optable Technologies Inc.",
"license": "Apache-2.0",
"dependencies": {
"@optable/web-sdk": "^0.10.0",
"@optable/web-sdk": "^0.36.0",
"html-webpack-plugin": "^5.3.2",
"webpack": "^5.94.0",
"webpack-cli": "^4.10.0"
Expand Down
8 changes: 6 additions & 2 deletions demos/npm/src/identifyAndTargeting.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import OptableSDK from "@optable/web-sdk";

const sdk = new OptableSDK({
// host of the DCN (not of the website that will serve this JS).
host: "sandbox.optable.co",
// host of the MCI Edge service.
host: "ca.edge.optable.co",
// node ID of the DCN.
node: "optable",
// legacy host cache of the DCN (for backwards compatibility).
legacyHostCache: "sandbox.optable.co",
// slug of the site created in the DCN. Make sure the site source you created allows traffic from the
// domain you are going to serve this JS (tip: for test purposes ONLY, use `.*` as the regular expression
// for the allowed HTTP origins).
Expand Down
Loading