@dora-cell/sdk 3.0.0 → 4.0.0
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 +11 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4,13 +4,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
14
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
9
|
};
|
|
16
10
|
var __copyProps = (to, from, except, desc) => {
|
|
@@ -14127,7 +14121,14 @@ var require_browser = __commonJS({
|
|
|
14127
14121
|
// stub-node-builtin:tty-stub
|
|
14128
14122
|
var require_tty_stub = __commonJS({
|
|
14129
14123
|
"stub-node-builtin:tty-stub"(exports$1, module) {
|
|
14130
|
-
module.exports = {};
|
|
14124
|
+
module.exports = { isatty: () => false };
|
|
14125
|
+
}
|
|
14126
|
+
});
|
|
14127
|
+
|
|
14128
|
+
// stub-node-builtin:util-stub
|
|
14129
|
+
var require_util_stub = __commonJS({
|
|
14130
|
+
"stub-node-builtin:util-stub"(exports$1, module) {
|
|
14131
|
+
module.exports = { inspect: { colors: {} } };
|
|
14131
14132
|
}
|
|
14132
14133
|
});
|
|
14133
14134
|
|
|
@@ -14267,7 +14268,7 @@ var require_supports_color = __commonJS({
|
|
|
14267
14268
|
var require_node = __commonJS({
|
|
14268
14269
|
"../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/node.js"(exports$1, module) {
|
|
14269
14270
|
var tty = require_tty_stub();
|
|
14270
|
-
var util =
|
|
14271
|
+
var util = require_util_stub();
|
|
14271
14272
|
exports$1.init = init;
|
|
14272
14273
|
exports$1.log = log;
|
|
14273
14274
|
exports$1.formatArgs = formatArgs;
|
|
@@ -23553,7 +23554,7 @@ var DoraCell = class {
|
|
|
23553
23554
|
this.authProvider = createAuthProvider(config.auth);
|
|
23554
23555
|
this.apiBaseUrl = this.resolveApiBaseUrl(config);
|
|
23555
23556
|
this.apiClient = new ApiClient(this.apiBaseUrl);
|
|
23556
|
-
if (this.config.debug) {
|
|
23557
|
+
if (this.config.debug && typeof window !== "undefined") {
|
|
23557
23558
|
import_jssip.default.debug.enable("JsSIP:*");
|
|
23558
23559
|
}
|
|
23559
23560
|
}
|