tanya-chatbot 0.1.5 → 0.1.6

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.
@@ -98,7 +98,7 @@ function pn({
98
98
  }) {
99
99
  return /* @__PURE__ */ l(wr.Trigger, { "data-slot": "popover-trigger", ...t });
100
100
  }
101
- const wt = () => ({ aiConversationUrl: "https://mdv3qwfi2j.execute-api.us-east-1.amazonaws.com/dev/api/bedrock/invoke/stream", xAPIKey: "BJBtjpPkqGatuoa3qJqdR8aHXSsHkgvGaootbubi", serverUrl: "https://tanya-sfcc-server.vercel.app/", basePath: "sc-api" }), xr = async () => {
101
+ const wt = () => ({ aiConversationUrl: "https://mdv3qwfi2j.execute-api.us-east-1.amazonaws.com/dev/api/bedrock/invoke/stream", xAPIKey: "BJBtjpPkqGatuoa3qJqdR8aHXSsHkgvGaootbubi", serverUrl: "", basePath: "sc-api" }), xr = async () => {
102
102
  const t = "https://tanya-sfcc-server.vercel.app/";
103
103
  try {
104
104
  const e = await D.post(
@@ -139,7 +139,10 @@ async function te() {
139
139
  ).usrRef;
140
140
  try {
141
141
  const a = r ? "unregister-auth" : "register-auth", c = await D.get(
142
- `${n}sc-api/${a}?dwsid=${o}&email=${i}&pubCfg=${dt()}&envRef=${ft()}&orgRef=${pt()}&siteId=${et()}`
142
+ `${n}sc-api/${a}?dwsid=${o}&email=${i}&pubCfg=${dt()}&envRef=${ft()}&orgRef=${pt()}&siteId=${et()}`,
143
+ {
144
+ withCredentials: !0
145
+ }
143
146
  );
144
147
  return localStorage.setItem("access_token", c.data.access_token), localStorage.setItem(
145
148
  "expires_in",