@spacinbox/sdk 2.0.1 → 2.0.3
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/widget.global.js +2 -2
- package/dist/widget.global.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -286,7 +286,7 @@ var init_service2 = __esm({
|
|
|
286
286
|
"use strict";
|
|
287
287
|
init_state();
|
|
288
288
|
init_mock();
|
|
289
|
-
BASE_URL = "https://
|
|
289
|
+
BASE_URL = "https://app.spacinbox.com";
|
|
290
290
|
IS_MOCKED = false;
|
|
291
291
|
ApiService = IS_MOCKED ? mockService : {
|
|
292
292
|
createSession(dto) {
|
|
@@ -379,7 +379,7 @@ var socket = signal2(null);
|
|
|
379
379
|
var SocketService = {
|
|
380
380
|
async connect() {
|
|
381
381
|
const token = sessionToken.value;
|
|
382
|
-
socket.value = io("https://ws.
|
|
382
|
+
socket.value = io("https://ws.simple-login.com", {
|
|
383
383
|
auth: { token },
|
|
384
384
|
reconnection: true
|
|
385
385
|
});
|