@doordeck/doordeck-headless-sdk 0.149.0 → 0.152.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 +65 -65
- package/kotlin/Kermit-kermit.js +9 -9
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +59 -59
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +25 -25
- package/kotlin/doordeck-sdk.d.ts +1 -1
- package/kotlin/doordeck-sdk.js +13870 -15047
- package/kotlin/kotlin-kotlin-stdlib.js +4885 -4837
- package/kotlin/kotlinx-atomicfu.js +92 -88
- package/kotlin/kotlinx-coroutines-core.js +2871 -2878
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +71 -71
- package/kotlin/kotlinx-io-kotlinx-io-core.js +697 -676
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2632 -2628
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1841 -1829
- package/kotlin/ktor-ktor-client-auth.js +493 -512
- package/kotlin/ktor-ktor-client-content-negotiation.js +300 -308
- package/kotlin/ktor-ktor-client-core.js +3260 -3343
- package/kotlin/ktor-ktor-client-logging.js +1267 -1301
- package/kotlin/ktor-ktor-events.js +18 -18
- package/kotlin/ktor-ktor-http-cio.js +724 -719
- package/kotlin/ktor-ktor-http.js +1171 -1166
- package/kotlin/ktor-ktor-io.js +1413 -1440
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/kotlin/ktor-ktor-serialization-kotlinx.js +295 -311
- package/kotlin/ktor-ktor-serialization.js +128 -136
- package/kotlin/ktor-ktor-utils.js +1128 -1129
- package/kotlin/ktor-ktor-websockets.js +68 -68
- package/package.json +3 -2
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
7
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
8
|
-
var VOID = kotlin_kotlin.$_$.
|
|
9
|
-
var toString = kotlin_kotlin.$_$.
|
|
4
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
5
|
+
var defineProp = kotlin_kotlin.$_$.ra;
|
|
6
|
+
var initMetadataForClass = kotlin_kotlin.$_$.za;
|
|
7
|
+
var initMetadataForObject = kotlin_kotlin.$_$.fb;
|
|
8
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
9
|
+
var toString = kotlin_kotlin.$_$.bh;
|
|
10
|
+
var equalsLong = kotlin_kotlin.$_$.u9;
|
|
11
|
+
var get_ONE = kotlin_kotlin.$_$.l9;
|
|
12
|
+
var add = kotlin_kotlin.$_$.m9;
|
|
13
|
+
var subtract = kotlin_kotlin.$_$.da;
|
|
10
14
|
//endregion
|
|
11
15
|
//region block: pre-declaration
|
|
12
16
|
initMetadataForClass(atomicfu$AtomicRefArray$ref, 'AtomicArray');
|
|
13
17
|
initMetadataForClass(atomicfu$TraceBase, 'TraceBase');
|
|
14
18
|
initMetadataForObject(None, 'None', VOID, atomicfu$TraceBase);
|
|
15
|
-
initMetadataForClass(
|
|
19
|
+
initMetadataForClass(AtomicInt, 'AtomicInt');
|
|
16
20
|
initMetadataForClass(AtomicBoolean, 'AtomicBoolean');
|
|
21
|
+
initMetadataForClass(AtomicRef, 'AtomicRef');
|
|
17
22
|
initMetadataForClass(AtomicLong, 'AtomicLong');
|
|
18
|
-
initMetadataForClass(AtomicInt, 'AtomicInt');
|
|
19
23
|
//endregion
|
|
20
24
|
function atomicfu$AtomicRefArray$ref(size) {
|
|
21
25
|
var tmp = this;
|
|
@@ -26,13 +30,13 @@
|
|
|
26
30
|
tmp_1[tmp_0] = atomic$ref$1(null);
|
|
27
31
|
tmp_0 = tmp_0 + 1 | 0;
|
|
28
32
|
}
|
|
29
|
-
tmp.
|
|
33
|
+
tmp.js_1 = tmp_1;
|
|
30
34
|
}
|
|
31
|
-
protoOf(atomicfu$AtomicRefArray$ref).
|
|
32
|
-
return this.
|
|
35
|
+
protoOf(atomicfu$AtomicRefArray$ref).ks = function () {
|
|
36
|
+
return this.js_1.length;
|
|
33
37
|
};
|
|
34
38
|
protoOf(atomicfu$AtomicRefArray$ref).atomicfu$get = function (index) {
|
|
35
|
-
return this.
|
|
39
|
+
return this.js_1[index];
|
|
36
40
|
};
|
|
37
41
|
function atomicfu$AtomicRefArray$ofNulls(size) {
|
|
38
42
|
return new atomicfu$AtomicRefArray$ref(size);
|
|
@@ -57,39 +61,66 @@
|
|
|
57
61
|
};
|
|
58
62
|
protoOf(atomicfu$TraceBase).atomicfu$Trace$append$4 = function (event1, event2, event3, event4) {
|
|
59
63
|
};
|
|
60
|
-
function
|
|
64
|
+
function AtomicInt(value) {
|
|
61
65
|
this.kotlinx$atomicfu$value = value;
|
|
62
66
|
}
|
|
63
|
-
protoOf(
|
|
67
|
+
protoOf(AtomicInt).ls = function (_set____db54di) {
|
|
64
68
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
65
69
|
};
|
|
66
|
-
protoOf(
|
|
70
|
+
protoOf(AtomicInt).ms = function () {
|
|
67
71
|
return this.kotlinx$atomicfu$value;
|
|
68
72
|
};
|
|
69
|
-
protoOf(
|
|
73
|
+
protoOf(AtomicInt).atomicfu$compareAndSet = function (expect, update) {
|
|
70
74
|
if (!(this.kotlinx$atomicfu$value === expect))
|
|
71
75
|
return false;
|
|
72
76
|
this.kotlinx$atomicfu$value = update;
|
|
73
77
|
return true;
|
|
74
78
|
};
|
|
75
|
-
protoOf(
|
|
79
|
+
protoOf(AtomicInt).atomicfu$getAndSet = function (value) {
|
|
76
80
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
77
81
|
this.kotlinx$atomicfu$value = value;
|
|
78
82
|
return oldValue;
|
|
79
83
|
};
|
|
80
|
-
protoOf(
|
|
81
|
-
|
|
84
|
+
protoOf(AtomicInt).atomicfu$getAndIncrement = function () {
|
|
85
|
+
var _unary__edvuaz = this.kotlinx$atomicfu$value;
|
|
86
|
+
this.kotlinx$atomicfu$value = _unary__edvuaz + 1 | 0;
|
|
87
|
+
return _unary__edvuaz;
|
|
82
88
|
};
|
|
83
|
-
function
|
|
84
|
-
|
|
89
|
+
protoOf(AtomicInt).atomicfu$getAndDecrement = function () {
|
|
90
|
+
var _unary__edvuaz = this.kotlinx$atomicfu$value;
|
|
91
|
+
this.kotlinx$atomicfu$value = _unary__edvuaz - 1 | 0;
|
|
92
|
+
return _unary__edvuaz;
|
|
93
|
+
};
|
|
94
|
+
protoOf(AtomicInt).atomicfu$getAndAdd = function (delta) {
|
|
95
|
+
var oldValue = this.kotlinx$atomicfu$value;
|
|
96
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0;
|
|
97
|
+
return oldValue;
|
|
98
|
+
};
|
|
99
|
+
protoOf(AtomicInt).atomicfu$addAndGet = function (delta) {
|
|
100
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0;
|
|
101
|
+
return this.kotlinx$atomicfu$value;
|
|
102
|
+
};
|
|
103
|
+
protoOf(AtomicInt).atomicfu$incrementAndGet = function () {
|
|
104
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + 1 | 0;
|
|
105
|
+
return this.kotlinx$atomicfu$value;
|
|
106
|
+
};
|
|
107
|
+
protoOf(AtomicInt).atomicfu$decrementAndGet = function () {
|
|
108
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value - 1 | 0;
|
|
109
|
+
return this.kotlinx$atomicfu$value;
|
|
110
|
+
};
|
|
111
|
+
protoOf(AtomicInt).toString = function () {
|
|
112
|
+
return this.kotlinx$atomicfu$value.toString();
|
|
113
|
+
};
|
|
114
|
+
function atomic$int$1(initial) {
|
|
115
|
+
return atomic$int$(initial, None_getInstance());
|
|
85
116
|
}
|
|
86
117
|
function AtomicBoolean(value) {
|
|
87
118
|
this.kotlinx$atomicfu$value = value;
|
|
88
119
|
}
|
|
89
|
-
protoOf(AtomicBoolean).
|
|
120
|
+
protoOf(AtomicBoolean).ns = function (_set____db54di) {
|
|
90
121
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
91
122
|
};
|
|
92
|
-
protoOf(AtomicBoolean).
|
|
123
|
+
protoOf(AtomicBoolean).ms = function () {
|
|
93
124
|
return this.kotlinx$atomicfu$value;
|
|
94
125
|
};
|
|
95
126
|
protoOf(AtomicBoolean).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -109,130 +140,103 @@
|
|
|
109
140
|
function atomic$boolean$1(initial) {
|
|
110
141
|
return atomic$boolean$(initial, None_getInstance());
|
|
111
142
|
}
|
|
112
|
-
function
|
|
143
|
+
function AtomicRef(value) {
|
|
113
144
|
this.kotlinx$atomicfu$value = value;
|
|
114
145
|
}
|
|
115
|
-
protoOf(
|
|
146
|
+
protoOf(AtomicRef).os = function (_set____db54di) {
|
|
116
147
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
117
148
|
};
|
|
118
|
-
protoOf(
|
|
149
|
+
protoOf(AtomicRef).ms = function () {
|
|
119
150
|
return this.kotlinx$atomicfu$value;
|
|
120
151
|
};
|
|
121
|
-
protoOf(
|
|
122
|
-
if (!this.kotlinx$atomicfu$value
|
|
152
|
+
protoOf(AtomicRef).atomicfu$compareAndSet = function (expect, update) {
|
|
153
|
+
if (!(this.kotlinx$atomicfu$value === expect))
|
|
123
154
|
return false;
|
|
124
155
|
this.kotlinx$atomicfu$value = update;
|
|
125
156
|
return true;
|
|
126
157
|
};
|
|
127
|
-
protoOf(
|
|
158
|
+
protoOf(AtomicRef).atomicfu$getAndSet = function (value) {
|
|
128
159
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
129
160
|
this.kotlinx$atomicfu$value = value;
|
|
130
161
|
return oldValue;
|
|
131
162
|
};
|
|
132
|
-
protoOf(
|
|
133
|
-
|
|
134
|
-
this.kotlinx$atomicfu$value = _unary__edvuaz.h3();
|
|
135
|
-
return _unary__edvuaz;
|
|
136
|
-
};
|
|
137
|
-
protoOf(AtomicLong).atomicfu$getAndDecrement$long = function () {
|
|
138
|
-
var _unary__edvuaz = this.kotlinx$atomicfu$value;
|
|
139
|
-
this.kotlinx$atomicfu$value = _unary__edvuaz.i3();
|
|
140
|
-
return _unary__edvuaz;
|
|
141
|
-
};
|
|
142
|
-
protoOf(AtomicLong).atomicfu$getAndAdd$long = function (delta) {
|
|
143
|
-
var oldValue = this.kotlinx$atomicfu$value;
|
|
144
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.c3(delta);
|
|
145
|
-
return oldValue;
|
|
146
|
-
};
|
|
147
|
-
protoOf(AtomicLong).atomicfu$addAndGet$long = function (delta) {
|
|
148
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.c3(delta);
|
|
149
|
-
return this.kotlinx$atomicfu$value;
|
|
150
|
-
};
|
|
151
|
-
protoOf(AtomicLong).atomicfu$incrementAndGet$long = function () {
|
|
152
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.h3();
|
|
153
|
-
return this.kotlinx$atomicfu$value;
|
|
154
|
-
};
|
|
155
|
-
protoOf(AtomicLong).atomicfu$decrementAndGet$long = function () {
|
|
156
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.i3();
|
|
157
|
-
return this.kotlinx$atomicfu$value;
|
|
158
|
-
};
|
|
159
|
-
protoOf(AtomicLong).toString = function () {
|
|
160
|
-
return this.kotlinx$atomicfu$value.toString();
|
|
163
|
+
protoOf(AtomicRef).toString = function () {
|
|
164
|
+
return toString(this.kotlinx$atomicfu$value);
|
|
161
165
|
};
|
|
162
|
-
function atomic$
|
|
163
|
-
return atomic$
|
|
166
|
+
function atomic$ref$1(initial) {
|
|
167
|
+
return atomic$ref$(initial, None_getInstance());
|
|
164
168
|
}
|
|
165
|
-
function
|
|
169
|
+
function AtomicLong(value) {
|
|
166
170
|
this.kotlinx$atomicfu$value = value;
|
|
167
171
|
}
|
|
168
|
-
protoOf(
|
|
172
|
+
protoOf(AtomicLong).ps = function (_set____db54di) {
|
|
169
173
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
170
174
|
};
|
|
171
|
-
protoOf(
|
|
175
|
+
protoOf(AtomicLong).ms = function () {
|
|
172
176
|
return this.kotlinx$atomicfu$value;
|
|
173
177
|
};
|
|
174
|
-
protoOf(
|
|
175
|
-
if (!(this.kotlinx$atomicfu$value
|
|
178
|
+
protoOf(AtomicLong).atomicfu$compareAndSet = function (expect, update) {
|
|
179
|
+
if (!equalsLong(this.kotlinx$atomicfu$value, expect))
|
|
176
180
|
return false;
|
|
177
181
|
this.kotlinx$atomicfu$value = update;
|
|
178
182
|
return true;
|
|
179
183
|
};
|
|
180
|
-
protoOf(
|
|
184
|
+
protoOf(AtomicLong).atomicfu$getAndSet = function (value) {
|
|
181
185
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
182
186
|
this.kotlinx$atomicfu$value = value;
|
|
183
187
|
return oldValue;
|
|
184
188
|
};
|
|
185
|
-
protoOf(
|
|
189
|
+
protoOf(AtomicLong).atomicfu$getAndIncrement$long = function () {
|
|
186
190
|
var _unary__edvuaz = this.kotlinx$atomicfu$value;
|
|
187
|
-
this.kotlinx$atomicfu$value = _unary__edvuaz
|
|
191
|
+
this.kotlinx$atomicfu$value = add(_unary__edvuaz, get_ONE());
|
|
188
192
|
return _unary__edvuaz;
|
|
189
193
|
};
|
|
190
|
-
protoOf(
|
|
194
|
+
protoOf(AtomicLong).atomicfu$getAndDecrement$long = function () {
|
|
191
195
|
var _unary__edvuaz = this.kotlinx$atomicfu$value;
|
|
192
|
-
this.kotlinx$atomicfu$value = _unary__edvuaz
|
|
196
|
+
this.kotlinx$atomicfu$value = subtract(_unary__edvuaz, get_ONE());
|
|
193
197
|
return _unary__edvuaz;
|
|
194
198
|
};
|
|
195
|
-
protoOf(
|
|
199
|
+
protoOf(AtomicLong).atomicfu$getAndAdd$long = function (delta) {
|
|
196
200
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
197
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value
|
|
201
|
+
this.kotlinx$atomicfu$value = add(this.kotlinx$atomicfu$value, delta);
|
|
198
202
|
return oldValue;
|
|
199
203
|
};
|
|
200
|
-
protoOf(
|
|
201
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value
|
|
204
|
+
protoOf(AtomicLong).atomicfu$addAndGet$long = function (delta) {
|
|
205
|
+
this.kotlinx$atomicfu$value = add(this.kotlinx$atomicfu$value, delta);
|
|
202
206
|
return this.kotlinx$atomicfu$value;
|
|
203
207
|
};
|
|
204
|
-
protoOf(
|
|
205
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value
|
|
208
|
+
protoOf(AtomicLong).atomicfu$incrementAndGet$long = function () {
|
|
209
|
+
this.kotlinx$atomicfu$value = add(this.kotlinx$atomicfu$value, get_ONE());
|
|
206
210
|
return this.kotlinx$atomicfu$value;
|
|
207
211
|
};
|
|
208
|
-
protoOf(
|
|
209
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value
|
|
212
|
+
protoOf(AtomicLong).atomicfu$decrementAndGet$long = function () {
|
|
213
|
+
this.kotlinx$atomicfu$value = subtract(this.kotlinx$atomicfu$value, get_ONE());
|
|
210
214
|
return this.kotlinx$atomicfu$value;
|
|
211
215
|
};
|
|
212
|
-
protoOf(
|
|
216
|
+
protoOf(AtomicLong).toString = function () {
|
|
213
217
|
return this.kotlinx$atomicfu$value.toString();
|
|
214
218
|
};
|
|
215
|
-
function atomic$
|
|
216
|
-
return atomic$
|
|
219
|
+
function atomic$long$1(initial) {
|
|
220
|
+
return atomic$long$(initial, None_getInstance());
|
|
217
221
|
}
|
|
218
|
-
function atomic$
|
|
222
|
+
function atomic$int$(initial, trace) {
|
|
219
223
|
trace = trace === VOID ? None_getInstance() : trace;
|
|
220
|
-
return new
|
|
224
|
+
return new AtomicInt(initial);
|
|
221
225
|
}
|
|
222
226
|
function atomic$boolean$(initial, trace) {
|
|
223
227
|
trace = trace === VOID ? None_getInstance() : trace;
|
|
224
228
|
return new AtomicBoolean(initial);
|
|
225
229
|
}
|
|
226
|
-
function atomic$
|
|
230
|
+
function atomic$ref$(initial, trace) {
|
|
227
231
|
trace = trace === VOID ? None_getInstance() : trace;
|
|
228
|
-
return new
|
|
232
|
+
return new AtomicRef(initial);
|
|
229
233
|
}
|
|
230
|
-
function atomic$
|
|
234
|
+
function atomic$long$(initial, trace) {
|
|
231
235
|
trace = trace === VOID ? None_getInstance() : trace;
|
|
232
|
-
return new
|
|
236
|
+
return new AtomicLong(initial);
|
|
233
237
|
}
|
|
234
238
|
//region block: post-declaration
|
|
235
|
-
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).
|
|
239
|
+
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).ks);
|
|
236
240
|
//endregion
|
|
237
241
|
//region block: exports
|
|
238
242
|
_.$_$ = _.$_$ || {};
|