@dora-cell/sdk 3.0.0 → 4.1.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 +14 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -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,17 @@ 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: {} }, deprecate: (fn) => fn, format: (msg, ...args) => msg, inherits: (ctor, superCtor) => {
|
|
14132
|
+
ctor.super_ = superCtor;
|
|
14133
|
+
Object.setPrototypeOf(ctor.prototype, superCtor.prototype);
|
|
14134
|
+
} };
|
|
14131
14135
|
}
|
|
14132
14136
|
});
|
|
14133
14137
|
|
|
@@ -14267,7 +14271,7 @@ var require_supports_color = __commonJS({
|
|
|
14267
14271
|
var require_node = __commonJS({
|
|
14268
14272
|
"../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/node.js"(exports$1, module) {
|
|
14269
14273
|
var tty = require_tty_stub();
|
|
14270
|
-
var util =
|
|
14274
|
+
var util = require_util_stub();
|
|
14271
14275
|
exports$1.init = init;
|
|
14272
14276
|
exports$1.log = log;
|
|
14273
14277
|
exports$1.formatArgs = formatArgs;
|
|
@@ -23553,7 +23557,7 @@ var DoraCell = class {
|
|
|
23553
23557
|
this.authProvider = createAuthProvider(config.auth);
|
|
23554
23558
|
this.apiBaseUrl = this.resolveApiBaseUrl(config);
|
|
23555
23559
|
this.apiClient = new ApiClient(this.apiBaseUrl);
|
|
23556
|
-
if (this.config.debug) {
|
|
23560
|
+
if (this.config.debug && typeof window !== "undefined") {
|
|
23557
23561
|
import_jssip.default.debug.enable("JsSIP:*");
|
|
23558
23562
|
}
|
|
23559
23563
|
}
|