@vonage/client-sdk 0.1.4-alpha.2 → 0.1.4-alpha.4
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/kotlin/Kermit-kermit-js-ir.js +35 -46
- package/dist/kotlin/Kermit-kermit-js-ir.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore.js +4924 -4562
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.js +247 -247
- package/dist/kotlin/clientsdk-clientcore_js.js.map +1 -1
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js +353 -336
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +69 -69
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +71 -71
- package/package.json +1 -1
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
var objectMeta = kotlin_kotlin.$_$.j6;
|
|
17
17
|
var listOf = kotlin_kotlin.$_$.h4;
|
|
18
18
|
var interfaceMeta = kotlin_kotlin.$_$.q5;
|
|
19
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
19
|
+
var THROW_ISE = kotlin_kotlin.$_$.a8;
|
|
20
20
|
var Unit_getInstance = kotlin_kotlin.$_$.p2;
|
|
21
|
-
var Enum = kotlin_kotlin.$_$.
|
|
22
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
21
|
+
var Enum = kotlin_kotlin.$_$.t7;
|
|
22
|
+
var stackTraceToString = kotlin_kotlin.$_$.q8;
|
|
23
23
|
//endregion
|
|
24
24
|
//region block: pre-declaration
|
|
25
25
|
Companion.prototype = Object.create(Logger.prototype);
|
|
@@ -58,12 +58,6 @@
|
|
|
58
58
|
Companion.prototype.f1a = function () {
|
|
59
59
|
return get_defaultTag();
|
|
60
60
|
};
|
|
61
|
-
Companion.prototype.g1a = function (severity) {
|
|
62
|
-
LoggerGlobal_getInstance().c1a_1.h1a(severity);
|
|
63
|
-
};
|
|
64
|
-
Companion.prototype.i1a = function (tag) {
|
|
65
|
-
set_defaultTag(tag);
|
|
66
|
-
};
|
|
67
61
|
Companion.$metadata$ = objectMeta('Companion', undefined, undefined, undefined, undefined, Logger.prototype);
|
|
68
62
|
var Companion_instance;
|
|
69
63
|
function Companion_getInstance() {
|
|
@@ -73,37 +67,37 @@
|
|
|
73
67
|
}
|
|
74
68
|
function Logger(config, tag) {
|
|
75
69
|
Companion_getInstance();
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
70
|
+
this.g1a_1 = config;
|
|
71
|
+
this.h1a_1 = tag;
|
|
78
72
|
}
|
|
79
|
-
Logger.prototype.
|
|
80
|
-
return this.
|
|
73
|
+
Logger.prototype.i1a = function () {
|
|
74
|
+
return this.g1a_1;
|
|
81
75
|
};
|
|
82
76
|
Logger.prototype.f1a = function () {
|
|
83
|
-
return this.
|
|
77
|
+
return this.h1a_1;
|
|
84
78
|
};
|
|
85
|
-
Logger.prototype.
|
|
86
|
-
return new Logger(this.
|
|
79
|
+
Logger.prototype.j1a = function (tag) {
|
|
80
|
+
return new Logger(this.g1a_1, tag);
|
|
87
81
|
};
|
|
88
|
-
Logger.prototype.
|
|
89
|
-
if (this.
|
|
90
|
-
this.
|
|
82
|
+
Logger.prototype.k1a = function (message) {
|
|
83
|
+
if (this.g1a_1.o1a().v3(Severity_Info_getInstance()) <= 0) {
|
|
84
|
+
this.n1a(Severity_Info_getInstance(), this.f1a(), null, message());
|
|
91
85
|
}
|
|
92
86
|
};
|
|
93
|
-
Logger.prototype.
|
|
94
|
-
if (this.
|
|
95
|
-
this.
|
|
87
|
+
Logger.prototype.l1a = function (message) {
|
|
88
|
+
if (this.g1a_1.o1a().v3(Severity_Error_getInstance()) <= 0) {
|
|
89
|
+
this.n1a(Severity_Error_getInstance(), this.f1a(), null, message());
|
|
96
90
|
}
|
|
97
91
|
};
|
|
98
|
-
Logger.prototype.
|
|
99
|
-
if (this.
|
|
100
|
-
this.
|
|
92
|
+
Logger.prototype.m1a = function (message) {
|
|
93
|
+
if (this.g1a_1.o1a().v3(Severity_Error_getInstance()) <= 0) {
|
|
94
|
+
this.n1a(Severity_Error_getInstance(), this.f1a(), null, message);
|
|
101
95
|
}
|
|
102
96
|
};
|
|
103
|
-
Logger.prototype.
|
|
97
|
+
Logger.prototype.n1a = function (severity, tag, throwable, message) {
|
|
104
98
|
// Inline function 'co.touchlab.kermit.Logger.processLog' call
|
|
105
99
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var tmp0_forEach = this.
|
|
100
|
+
var tmp0_forEach = this.g1a_1.p1a();
|
|
107
101
|
var tmp0_iterator = tmp0_forEach.g();
|
|
108
102
|
while (tmp0_iterator.h()) {
|
|
109
103
|
var element = tmp0_iterator.i();
|
|
@@ -222,7 +216,7 @@
|
|
|
222
216
|
tmp$ret$0 = Unit_getInstance();
|
|
223
217
|
}
|
|
224
218
|
var tmp1_subject = severity;
|
|
225
|
-
var tmp0 = tmp1_subject.
|
|
219
|
+
var tmp0 = tmp1_subject.t3_1;
|
|
226
220
|
switch (tmp0) {
|
|
227
221
|
case 5:
|
|
228
222
|
case 4:
|
|
@@ -246,23 +240,16 @@
|
|
|
246
240
|
};
|
|
247
241
|
ConsoleWriter.$metadata$ = classMeta('ConsoleWriter', undefined, undefined, undefined, undefined, LogWriter.prototype);
|
|
248
242
|
function JsMutableLoggerConfig(logWriters) {
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
243
|
+
this.q1a_1 = get_DEFAULT_MIN_SEVERITY();
|
|
244
|
+
this.r1a_1 = logWriters;
|
|
251
245
|
}
|
|
252
|
-
JsMutableLoggerConfig.prototype.
|
|
253
|
-
this.
|
|
254
|
-
};
|
|
255
|
-
JsMutableLoggerConfig.prototype.r1a = function () {
|
|
256
|
-
return this.t1a_1;
|
|
246
|
+
JsMutableLoggerConfig.prototype.o1a = function () {
|
|
247
|
+
return this.q1a_1;
|
|
257
248
|
};
|
|
258
|
-
JsMutableLoggerConfig.prototype.
|
|
259
|
-
return this.
|
|
249
|
+
JsMutableLoggerConfig.prototype.p1a = function () {
|
|
250
|
+
return this.r1a_1;
|
|
260
251
|
};
|
|
261
252
|
JsMutableLoggerConfig.$metadata$ = classMeta('JsMutableLoggerConfig', [MutableLoggerConfig]);
|
|
262
|
-
function set_defaultTag(_set____db54di) {
|
|
263
|
-
init_properties_KermitConfig_kt_vkjurc();
|
|
264
|
-
defaultTag = _set____db54di;
|
|
265
|
-
}
|
|
266
253
|
function get_defaultTag() {
|
|
267
254
|
init_properties_KermitConfig_kt_vkjurc();
|
|
268
255
|
return defaultTag;
|
|
@@ -288,11 +275,13 @@
|
|
|
288
275
|
//endregion
|
|
289
276
|
//region block: exports
|
|
290
277
|
_.$_$ = _.$_$ || {};
|
|
291
|
-
_.$_$.a =
|
|
292
|
-
_.$_$.b =
|
|
293
|
-
_.$_$.c =
|
|
294
|
-
_.$_$.d =
|
|
295
|
-
_.$_$.e =
|
|
278
|
+
_.$_$.a = LoggerConfig;
|
|
279
|
+
_.$_$.b = Logger;
|
|
280
|
+
_.$_$.c = valueOf;
|
|
281
|
+
_.$_$.d = Severity_Debug_getInstance;
|
|
282
|
+
_.$_$.e = Severity_Error_getInstance;
|
|
283
|
+
_.$_$.f = Severity_Info_getInstance;
|
|
284
|
+
_.$_$.g = Companion_getInstance;
|
|
296
285
|
//endregion
|
|
297
286
|
return _;
|
|
298
287
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../LogWriter.kt","../../../../../Logger.kt","../../../../../commonMainSources/libraries/stdlib/common/src/generated/_Collections.kt","../../../../../ConsoleWriter.kt","../../../../../commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt","../../../../../JsMutableLoggerConfig.kt","../../../../../KermitConfig.kt","../../../../../platformLogWriter.kt"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB2D,OAAJ,I;;;;;IC4L9C,2B;;;;IACM,kB;;;;QA7LV,qB;MAAA,MAEuB,Q;IAFvB,+B;;;;;cA6JsC,gC;IAApB,4C;;;IAEO,OAAV,gB
|
|
1
|
+
{"version":3,"sources":["../../../../../LogWriter.kt","../../../../../Logger.kt","../../../../../commonMainSources/libraries/stdlib/common/src/generated/_Collections.kt","../../../../../ConsoleWriter.kt","../../../../../commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt","../../../../../JsMutableLoggerConfig.kt","../../../../../KermitConfig.kt","../../../../../platformLogWriter.kt"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB2D,OAAJ,I;;;;;IC4L9C,2B;;;;IACM,kB;;;;QA7LV,qB;MAAA,MAEuB,Q;IAFvB,+B;;;;;cA6JsC,gC;IAApB,4C;;;IAEO,OAAV,gB;;;;;;;;;;IAhKpB,uB;IAEI,mB;IACA,gB;;;IADA,iB;;;IACK,iB;;;IAGD,OAAO,WAAO,IAAK,MAAZ,EAAoB,GAApB,C;;;QA8CH,UAAO,MAAP,qC;MACA,sCAAmB,UAAnB,EAAwB,IAAxB,EAA8B,SAA9B,C;;;;QAqCA,UAAO,MAAP,sC;MACA,uCAAoB,UAApB,EAAyB,IAAzB,EAA+B,SAA/B,C;;;;QASA,UAAO,MAAP,sC;MACA,uCAAoB,UAApB,EAAyB,IAAzB,EAA+B,OAA/B,C;;;;;;ICkEgB,mBAjBe,IAiBtB,MAAO,M;IAooDR,oC;WAAA,iB;MAAX,cAAW,iB;;UDzmDq6rD,OA3Ct6rD,KAjBP,QAiBO,C;;QA2Cs6rD,OAvD76rD,KAAI,QAAJ,EAFA,OAEA,EAJA,GAIA,EAHA,SAGA,C;;;;;;;IA8CY,qCAAwB,OAAO,mBAAP,CAAxB,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IEvLF,oB;;;IAEd,aAAc,GAAd,GAAgB,GAAhB,GAAmB,IAAnB,GAAsB,O;IACtB,kC;QAAA,kBAAW,Q;MAAA,I;;;;;MCMkC,mBAAW,GAAX,GAAiB,mBAA9C,kBAA8C,CAAjB,C;MAqFjD,8B;;IDxFU,2B;IAAA,4B;;WACO,C;WAAiB,C;QAAS,OAAQ,OAAM,MAAN,C;;;WAClC,C;QAAQ,OAAQ,MAAK,MAAL,C;;;WAChB,C;QAAQ,OAAQ,MAAK,MAAL,C;;;WAChB,C;WAAgB,C;QAAW,OAAQ,KAAI,MAAJ,C;;;;;;;IEdf,uC;IACS,uB;;;IADrC,iB;;;IACA,iB;;;;;ICAG,iB;;;;;IAFiH,OAAjC,0BAAsB,UAAtB,C;;;;;;;mBAEvD,iB;;;;ICFkB,OAAf,mB;;;gBNiMX,Q;;;;;;;;;;;;;;"}
|