@doordeck/doordeck-headless-sdk 0.106.0 → 0.108.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/kotlin/Kermit-kermit-core.js +44 -44
- package/kotlin/Kermit-kermit.js +4 -4
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1392 -1392
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +10 -10
- package/kotlin/doordeck-sdk.js +9596 -9786
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlinx-coroutines-core.js +854 -843
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlin/kotlinx-io-kotlinx-io-core.js +630 -428
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1738 -1742
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1399 -1399
- package/kotlin/ktor-ktor-client-ktor-client-core.js +1895 -1895
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +245 -241
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +135 -135
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +658 -658
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +329 -329
- package/kotlin/ktor-ktor-http.js +677 -677
- package/kotlin/ktor-ktor-io.js +976 -888
- package/kotlin/ktor-ktor-shared-ktor-events.js +5 -5
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +133 -133
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +38 -38
- package/kotlin/ktor-ktor-utils.js +644 -644
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
return _Message___get_message__impl__3t69n4(message);
|
|
41
41
|
var sb = StringBuilder_init_$Create$();
|
|
42
42
|
if (!(severity == null)) {
|
|
43
|
-
sb.r8(this.
|
|
43
|
+
sb.r8(this.k6g(severity)).r8(' ');
|
|
44
44
|
}
|
|
45
45
|
var tmp_1;
|
|
46
46
|
var tmp_2 = tag;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
tmp_1 = false;
|
|
53
53
|
}
|
|
54
54
|
if (tmp_1) {
|
|
55
|
-
sb.r8(this.
|
|
55
|
+
sb.r8(this.i6g(tag)).r8(' ');
|
|
56
56
|
}
|
|
57
57
|
sb.r8(_Message___get_message__impl__3t69n4(message));
|
|
58
58
|
return sb.toString();
|
|
@@ -73,26 +73,26 @@
|
|
|
73
73
|
}
|
|
74
74
|
var DEFAULT_MIN_SEVERITY;
|
|
75
75
|
function BaseLogger(config) {
|
|
76
|
-
this.
|
|
76
|
+
this.c6g_1 = config;
|
|
77
77
|
}
|
|
78
|
-
protoOf(BaseLogger).
|
|
79
|
-
return this.
|
|
78
|
+
protoOf(BaseLogger).a3i = function () {
|
|
79
|
+
return this.c6g_1;
|
|
80
80
|
};
|
|
81
|
-
protoOf(BaseLogger).
|
|
81
|
+
protoOf(BaseLogger).d6g = function () {
|
|
82
82
|
// Inline function 'kotlin.let' call
|
|
83
|
-
var it = this.
|
|
83
|
+
var it = this.a3i();
|
|
84
84
|
if (!isInterface(it, MutableLoggerConfig)) {
|
|
85
85
|
throw IllegalStateException_init_$Create$('Logger config is not mutable');
|
|
86
86
|
}
|
|
87
87
|
return it;
|
|
88
88
|
};
|
|
89
|
-
protoOf(BaseLogger).
|
|
89
|
+
protoOf(BaseLogger).e6g = function (severity, tag, throwable, message) {
|
|
90
90
|
// Inline function 'kotlin.collections.forEach' call
|
|
91
|
-
var _iterator__ex2g4s = this.
|
|
91
|
+
var _iterator__ex2g4s = this.a3i().f6g().p();
|
|
92
92
|
while (_iterator__ex2g4s.q()) {
|
|
93
93
|
var element = _iterator__ex2g4s.r();
|
|
94
|
-
if (element.
|
|
95
|
-
element.
|
|
94
|
+
if (element.h6g(tag, severity)) {
|
|
95
|
+
element.g6g(severity, message, tag, throwable);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
};
|
|
@@ -105,15 +105,15 @@
|
|
|
105
105
|
}
|
|
106
106
|
function LogWriter() {
|
|
107
107
|
}
|
|
108
|
-
protoOf(LogWriter).
|
|
108
|
+
protoOf(LogWriter).h6g = function (tag, severity) {
|
|
109
109
|
return true;
|
|
110
110
|
};
|
|
111
111
|
function NoTagFormatter() {
|
|
112
112
|
}
|
|
113
|
-
protoOf(NoTagFormatter).
|
|
113
|
+
protoOf(NoTagFormatter).i6g = function (tag) {
|
|
114
114
|
return '';
|
|
115
115
|
};
|
|
116
|
-
protoOf(NoTagFormatter).
|
|
116
|
+
protoOf(NoTagFormatter).j6g = function (severity, tag, message) {
|
|
117
117
|
return formatMessage.call(this, severity, null, message);
|
|
118
118
|
};
|
|
119
119
|
var NoTagFormatter_instance;
|
|
@@ -143,21 +143,21 @@
|
|
|
143
143
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
144
144
|
if (!(other instanceof Tag))
|
|
145
145
|
return false;
|
|
146
|
-
if (!($this === (other instanceof Tag ? other.
|
|
146
|
+
if (!($this === (other instanceof Tag ? other.l6g_1 : THROW_CCE())))
|
|
147
147
|
return false;
|
|
148
148
|
return true;
|
|
149
149
|
}
|
|
150
150
|
function Tag(tag) {
|
|
151
|
-
this.
|
|
151
|
+
this.l6g_1 = tag;
|
|
152
152
|
}
|
|
153
153
|
protoOf(Tag).toString = function () {
|
|
154
|
-
return Tag__toString_impl_tvevk7(this.
|
|
154
|
+
return Tag__toString_impl_tvevk7(this.l6g_1);
|
|
155
155
|
};
|
|
156
156
|
protoOf(Tag).hashCode = function () {
|
|
157
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
157
|
+
return Tag__hashCode_impl_848yrc(this.l6g_1);
|
|
158
158
|
};
|
|
159
159
|
protoOf(Tag).equals = function (other) {
|
|
160
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
160
|
+
return Tag__equals_impl_6ocp5g(this.l6g_1, other);
|
|
161
161
|
};
|
|
162
162
|
function _Message___init__impl__p3e8y6(message) {
|
|
163
163
|
return message;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
minSeverity = minSeverity === VOID ? get_DEFAULT_MIN_SEVERITY() : minSeverity;
|
|
172
172
|
// Inline function 'kotlin.also' call
|
|
173
173
|
var this_0 = mutableLoggerConfigInit_0(toList(logWriters));
|
|
174
|
-
this_0.
|
|
174
|
+
this_0.m6g(minSeverity);
|
|
175
175
|
return this_0;
|
|
176
176
|
}
|
|
177
177
|
var Severity_Verbose_instance;
|
|
@@ -221,11 +221,11 @@
|
|
|
221
221
|
}
|
|
222
222
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
223
223
|
LogWriter.call(this);
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
224
|
+
this.n6g_1 = messageStringFormatter;
|
|
225
|
+
this.o6g_1 = console;
|
|
226
226
|
}
|
|
227
|
-
protoOf(ConsoleWriter).
|
|
228
|
-
var output = this.
|
|
227
|
+
protoOf(ConsoleWriter).g6g = function (severity, message, tag, throwable) {
|
|
228
|
+
var output = this.n6g_1.j6g(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
229
229
|
if (throwable == null)
|
|
230
230
|
null;
|
|
231
231
|
else {
|
|
@@ -235,17 +235,17 @@
|
|
|
235
235
|
switch (severity.r2_1) {
|
|
236
236
|
case 5:
|
|
237
237
|
case 4:
|
|
238
|
-
this.
|
|
238
|
+
this.o6g_1.p6g(output);
|
|
239
239
|
break;
|
|
240
240
|
case 3:
|
|
241
|
-
this.
|
|
241
|
+
this.o6g_1.q6g(output);
|
|
242
242
|
break;
|
|
243
243
|
case 2:
|
|
244
|
-
this.
|
|
244
|
+
this.o6g_1.r6g(output);
|
|
245
245
|
break;
|
|
246
246
|
case 1:
|
|
247
247
|
case 0:
|
|
248
|
-
this.
|
|
248
|
+
this.o6g_1.s4z(output);
|
|
249
249
|
break;
|
|
250
250
|
default:
|
|
251
251
|
noWhenBranchMatchedException();
|
|
@@ -253,17 +253,17 @@
|
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
function JsMutableLoggerConfig(logWriters) {
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
256
|
+
this.s6g_1 = get_DEFAULT_MIN_SEVERITY();
|
|
257
|
+
this.t6g_1 = logWriters;
|
|
258
258
|
}
|
|
259
|
-
protoOf(JsMutableLoggerConfig).
|
|
260
|
-
this.
|
|
259
|
+
protoOf(JsMutableLoggerConfig).m6g = function (_set____db54di) {
|
|
260
|
+
this.s6g_1 = _set____db54di;
|
|
261
261
|
};
|
|
262
|
-
protoOf(JsMutableLoggerConfig).
|
|
263
|
-
return this.
|
|
262
|
+
protoOf(JsMutableLoggerConfig).u6g = function () {
|
|
263
|
+
return this.s6g_1;
|
|
264
264
|
};
|
|
265
|
-
protoOf(JsMutableLoggerConfig).
|
|
266
|
-
return this.
|
|
265
|
+
protoOf(JsMutableLoggerConfig).f6g = function () {
|
|
266
|
+
return this.t6g_1;
|
|
267
267
|
};
|
|
268
268
|
function mutableLoggerConfigInit_0(logWriters) {
|
|
269
269
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -274,16 +274,16 @@
|
|
|
274
274
|
}
|
|
275
275
|
function ConsoleActual() {
|
|
276
276
|
}
|
|
277
|
-
protoOf(ConsoleActual).
|
|
277
|
+
protoOf(ConsoleActual).p6g = function (output) {
|
|
278
278
|
console.error(output);
|
|
279
279
|
};
|
|
280
|
-
protoOf(ConsoleActual).
|
|
280
|
+
protoOf(ConsoleActual).q6g = function (output) {
|
|
281
281
|
console.warn(output);
|
|
282
282
|
};
|
|
283
|
-
protoOf(ConsoleActual).
|
|
283
|
+
protoOf(ConsoleActual).r6g = function (output) {
|
|
284
284
|
console.info(output);
|
|
285
285
|
};
|
|
286
|
-
protoOf(ConsoleActual).
|
|
286
|
+
protoOf(ConsoleActual).s4z = function (output) {
|
|
287
287
|
console.log(output);
|
|
288
288
|
};
|
|
289
289
|
var ConsoleActual_instance;
|
|
@@ -291,10 +291,10 @@
|
|
|
291
291
|
return ConsoleActual_instance;
|
|
292
292
|
}
|
|
293
293
|
//region block: post-declaration
|
|
294
|
-
protoOf(NoTagFormatter).
|
|
295
|
-
protoOf(DefaultFormatter).
|
|
296
|
-
protoOf(DefaultFormatter).
|
|
297
|
-
protoOf(DefaultFormatter).
|
|
294
|
+
protoOf(NoTagFormatter).k6g = formatSeverity;
|
|
295
|
+
protoOf(DefaultFormatter).k6g = formatSeverity;
|
|
296
|
+
protoOf(DefaultFormatter).i6g = formatTag;
|
|
297
|
+
protoOf(DefaultFormatter).j6g = formatMessage;
|
|
298
298
|
//endregion
|
|
299
299
|
//region block: init
|
|
300
300
|
NoTagFormatter_instance = new NoTagFormatter();
|
package/kotlin/Kermit-kermit.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
Companion_instance = this;
|
|
19
19
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
20
20
|
}
|
|
21
|
-
protoOf(Companion).
|
|
21
|
+
protoOf(Companion).x6g = function () {
|
|
22
22
|
return get_defaultTag();
|
|
23
23
|
};
|
|
24
24
|
var Companion_instance;
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
Companion_getInstance();
|
|
32
32
|
tag = tag === VOID ? '' : tag;
|
|
33
33
|
BaseLogger.call(this, config);
|
|
34
|
-
this.
|
|
34
|
+
this.z6g_1 = tag;
|
|
35
35
|
}
|
|
36
|
-
protoOf(Logger).
|
|
37
|
-
return this.
|
|
36
|
+
protoOf(Logger).x6g = function () {
|
|
37
|
+
return this.z6g_1;
|
|
38
38
|
};
|
|
39
39
|
function get_defaultTag() {
|
|
40
40
|
return defaultTag;
|