rivia 0.0.84 → 0.0.85
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3658,7 +3658,7 @@ function injectBanner(banner = {}, opts = {}, userId, bannerId) {
|
|
|
3658
3658
|
let uploadVisitedPagesInBackground2 = function(bannerId2) {
|
|
3659
3659
|
console.log("Uploading visited pages in background for banner ID: and user_var:", userId);
|
|
3660
3660
|
let user_var2 = userId;
|
|
3661
|
-
const backendUrl22 = `https://
|
|
3661
|
+
const backendUrl22 = `https://demoapi.rivia.ai/banners_clients/${bannerId2}`;
|
|
3662
3662
|
try {
|
|
3663
3663
|
const payload = {
|
|
3664
3664
|
name: user_var2,
|
|
@@ -3978,7 +3978,7 @@ async function Banner(workspace_id, obj) {
|
|
|
3978
3978
|
};
|
|
3979
3979
|
var doesRouteMatch = doesRouteMatch2, escapeRegex = escapeRegex2, buildContext = buildContext2;
|
|
3980
3980
|
const res = await fetch(
|
|
3981
|
-
`https://
|
|
3981
|
+
`https://demoapi.rivia.ai/banner_by_workspace2/${workspace_id}`,
|
|
3982
3982
|
{
|
|
3983
3983
|
method: "GET",
|
|
3984
3984
|
headers: { "Content-Type": "application/json" }
|