@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.cjs
CHANGED
|
@@ -298,7 +298,7 @@ var init_service2 = __esm({
|
|
|
298
298
|
"use strict";
|
|
299
299
|
init_state();
|
|
300
300
|
init_mock();
|
|
301
|
-
BASE_URL = "https://
|
|
301
|
+
BASE_URL = "https://app.spacinbox.com";
|
|
302
302
|
IS_MOCKED = false;
|
|
303
303
|
ApiService = IS_MOCKED ? mockService : {
|
|
304
304
|
createSession(dto) {
|
|
@@ -398,7 +398,7 @@ var socket = (0, import_signals2.signal)(null);
|
|
|
398
398
|
var SocketService = {
|
|
399
399
|
async connect() {
|
|
400
400
|
const token = sessionToken.value;
|
|
401
|
-
socket.value = (0, import_socket.io)("https://ws.
|
|
401
|
+
socket.value = (0, import_socket.io)("https://ws.simple-login.com", {
|
|
402
402
|
auth: { token },
|
|
403
403
|
reconnection: true
|
|
404
404
|
});
|