@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
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var VOID = kotlin_kotlin.$_$.
|
|
6
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
9
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
11
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
12
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
13
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
14
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
15
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
16
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
17
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
18
|
-
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.
|
|
19
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
20
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
21
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
22
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
24
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
25
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
5
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
+
var copyOfRange = kotlin_kotlin.$_$.a6;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
|
+
var objectCreate = kotlin_kotlin.$_$.yb;
|
|
9
|
+
var toCharArray = kotlin_kotlin.$_$.ne;
|
|
10
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
|
|
11
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.pc;
|
|
12
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
13
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
14
|
+
var contentEquals = kotlin_kotlin.$_$.w5;
|
|
15
|
+
var contentHashCode = kotlin_kotlin.$_$.x5;
|
|
16
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
17
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.r2;
|
|
18
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.s2;
|
|
19
|
+
var compareTo = kotlin_kotlin.$_$.qa;
|
|
20
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
21
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
22
|
+
var Comparable = kotlin_kotlin.$_$.kf;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.za;
|
|
24
|
+
var decodeToString = kotlin_kotlin.$_$.dd;
|
|
25
|
+
var initMetadataForObject = kotlin_kotlin.$_$.fb;
|
|
26
26
|
//endregion
|
|
27
27
|
//region block: pre-declaration
|
|
28
28
|
initMetadataForCompanion(Companion);
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
}
|
|
41
41
|
function Companion() {
|
|
42
42
|
Companion_instance = this;
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
43
|
+
this.xo_1 = new ByteString(new Int8Array(0), null);
|
|
44
|
+
this.yo_1 = toCharArray('0123456789abcdef');
|
|
45
45
|
}
|
|
46
|
-
protoOf(Companion).
|
|
46
|
+
protoOf(Companion).zo = function (byteArray) {
|
|
47
47
|
return new ByteString(byteArray, null);
|
|
48
48
|
};
|
|
49
49
|
var Companion_instance;
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
}
|
|
55
55
|
function ByteString(data, dummy) {
|
|
56
56
|
Companion_getInstance();
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
57
|
+
this.ap_1 = data;
|
|
58
|
+
this.bp_1 = 0;
|
|
59
59
|
}
|
|
60
|
-
protoOf(ByteString).
|
|
61
|
-
return this.
|
|
60
|
+
protoOf(ByteString).u = function () {
|
|
61
|
+
return this.ap_1.length;
|
|
62
62
|
};
|
|
63
63
|
protoOf(ByteString).equals = function (other) {
|
|
64
64
|
if (this === other)
|
|
@@ -67,47 +67,47 @@
|
|
|
67
67
|
return false;
|
|
68
68
|
if (!(other instanceof ByteString))
|
|
69
69
|
THROW_CCE();
|
|
70
|
-
if (!(other.
|
|
70
|
+
if (!(other.ap_1.length === this.ap_1.length))
|
|
71
71
|
return false;
|
|
72
|
-
if (!(other.
|
|
72
|
+
if (!(other.bp_1 === 0) && !(this.bp_1 === 0) && !(other.bp_1 === this.bp_1))
|
|
73
73
|
return false;
|
|
74
|
-
return contentEquals(this.
|
|
74
|
+
return contentEquals(this.ap_1, other.ap_1);
|
|
75
75
|
};
|
|
76
76
|
protoOf(ByteString).hashCode = function () {
|
|
77
|
-
var hc = this.
|
|
77
|
+
var hc = this.bp_1;
|
|
78
78
|
if (hc === 0) {
|
|
79
|
-
hc = contentHashCode(this.
|
|
80
|
-
this.
|
|
79
|
+
hc = contentHashCode(this.ap_1);
|
|
80
|
+
this.bp_1 = hc;
|
|
81
81
|
}
|
|
82
82
|
return hc;
|
|
83
83
|
};
|
|
84
|
-
protoOf(ByteString).
|
|
85
|
-
if (index < 0 || index >= this.
|
|
86
|
-
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.
|
|
87
|
-
return this.
|
|
84
|
+
protoOf(ByteString).v = function (index) {
|
|
85
|
+
if (index < 0 || index >= this.u())
|
|
86
|
+
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.u() + ')');
|
|
87
|
+
return this.ap_1[index];
|
|
88
88
|
};
|
|
89
|
-
protoOf(ByteString).
|
|
89
|
+
protoOf(ByteString).cp = function (startIndex, endIndex) {
|
|
90
90
|
var tmp;
|
|
91
91
|
if (startIndex === endIndex) {
|
|
92
|
-
tmp = Companion_getInstance().
|
|
92
|
+
tmp = Companion_getInstance().xo_1;
|
|
93
93
|
} else {
|
|
94
|
-
tmp = ByteString_init_$Create$(this.
|
|
94
|
+
tmp = ByteString_init_$Create$(this.ap_1, startIndex, endIndex);
|
|
95
95
|
}
|
|
96
96
|
return tmp;
|
|
97
97
|
};
|
|
98
|
-
protoOf(ByteString).
|
|
99
|
-
endIndex = endIndex === VOID ? this.
|
|
100
|
-
return $super === VOID ? this.
|
|
98
|
+
protoOf(ByteString).dp = function (startIndex, endIndex, $super) {
|
|
99
|
+
endIndex = endIndex === VOID ? this.u() : endIndex;
|
|
100
|
+
return $super === VOID ? this.cp(startIndex, endIndex) : $super.cp.call(this, startIndex, endIndex);
|
|
101
101
|
};
|
|
102
|
-
protoOf(ByteString).
|
|
102
|
+
protoOf(ByteString).ep = function (other) {
|
|
103
103
|
if (other === this)
|
|
104
104
|
return 0;
|
|
105
|
-
var localData = this.
|
|
106
|
-
var otherData = other.
|
|
105
|
+
var localData = this.ap_1;
|
|
106
|
+
var otherData = other.ap_1;
|
|
107
107
|
var inductionVariable = 0;
|
|
108
|
-
var tmp0 = this.
|
|
108
|
+
var tmp0 = this.u();
|
|
109
109
|
// Inline function 'kotlin.math.min' call
|
|
110
|
-
var b = other.
|
|
110
|
+
var b = other.u();
|
|
111
111
|
var last = Math.min(tmp0, b);
|
|
112
112
|
if (inductionVariable < last)
|
|
113
113
|
do {
|
|
@@ -129,59 +129,59 @@
|
|
|
129
129
|
return cmp;
|
|
130
130
|
}
|
|
131
131
|
while (inductionVariable < last);
|
|
132
|
-
return compareTo(this.
|
|
132
|
+
return compareTo(this.u(), other.u());
|
|
133
133
|
};
|
|
134
134
|
protoOf(ByteString).d = function (other) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.ep(other instanceof ByteString ? other : THROW_CCE());
|
|
136
136
|
};
|
|
137
137
|
protoOf(ByteString).toString = function () {
|
|
138
138
|
if (isEmpty(this)) {
|
|
139
139
|
return 'ByteString(size=0)';
|
|
140
140
|
}
|
|
141
|
-
var sizeStr = this.
|
|
142
|
-
var len = (22 + sizeStr.length | 0) + imul(this.
|
|
141
|
+
var sizeStr = this.u().toString();
|
|
142
|
+
var len = (22 + sizeStr.length | 0) + imul(this.u(), 2) | 0;
|
|
143
143
|
// Inline function 'kotlin.with' call
|
|
144
144
|
var $this$with = StringBuilder_init_$Create$(len);
|
|
145
|
-
$this$with.
|
|
146
|
-
$this$with.
|
|
147
|
-
$this$with.
|
|
148
|
-
var localData = this.
|
|
145
|
+
$this$with.f8('ByteString(size=');
|
|
146
|
+
$this$with.f8(sizeStr);
|
|
147
|
+
$this$with.f8(' hex=');
|
|
148
|
+
var localData = this.ap_1;
|
|
149
149
|
var inductionVariable = 0;
|
|
150
|
-
var last = this.
|
|
150
|
+
var last = this.u();
|
|
151
151
|
if (inductionVariable < last)
|
|
152
152
|
do {
|
|
153
153
|
var i = inductionVariable;
|
|
154
154
|
inductionVariable = inductionVariable + 1 | 0;
|
|
155
155
|
var b = localData[i];
|
|
156
|
-
$this$with.
|
|
157
|
-
$this$with.
|
|
156
|
+
$this$with.g8(Companion_getInstance().yo_1[(b >>> 4 | 0) & 15]);
|
|
157
|
+
$this$with.g8(Companion_getInstance().yo_1[b & 15]);
|
|
158
158
|
}
|
|
159
159
|
while (inductionVariable < last);
|
|
160
|
-
return $this$with.
|
|
160
|
+
return $this$with.g8(_Char___init__impl__6a9atx(41)).toString();
|
|
161
161
|
};
|
|
162
|
-
protoOf(ByteString).
|
|
163
|
-
return this.
|
|
162
|
+
protoOf(ByteString).fp = function () {
|
|
163
|
+
return this.ap_1;
|
|
164
164
|
};
|
|
165
165
|
function ByteString_0(bytes) {
|
|
166
166
|
var tmp;
|
|
167
167
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
168
168
|
if (bytes.length === 0) {
|
|
169
|
-
tmp = Companion_getInstance().
|
|
169
|
+
tmp = Companion_getInstance().xo_1;
|
|
170
170
|
} else {
|
|
171
|
-
tmp = Companion_getInstance().
|
|
171
|
+
tmp = Companion_getInstance().zo(bytes);
|
|
172
172
|
}
|
|
173
173
|
return tmp;
|
|
174
174
|
}
|
|
175
|
-
function isEmpty(_this__u8e3s4) {
|
|
176
|
-
return _this__u8e3s4.s() === 0;
|
|
177
|
-
}
|
|
178
175
|
function decodeToString_0(_this__u8e3s4) {
|
|
179
|
-
return decodeToString(_this__u8e3s4.
|
|
176
|
+
return decodeToString(_this__u8e3s4.fp());
|
|
177
|
+
}
|
|
178
|
+
function isEmpty(_this__u8e3s4) {
|
|
179
|
+
return _this__u8e3s4.u() === 0;
|
|
180
180
|
}
|
|
181
181
|
function UnsafeByteStringOperations() {
|
|
182
182
|
}
|
|
183
|
-
protoOf(UnsafeByteStringOperations).
|
|
184
|
-
return Companion_getInstance().
|
|
183
|
+
protoOf(UnsafeByteStringOperations).gp = function (array) {
|
|
184
|
+
return Companion_getInstance().zo(array);
|
|
185
185
|
};
|
|
186
186
|
var UnsafeByteStringOperations_instance;
|
|
187
187
|
function UnsafeByteStringOperations_getInstance() {
|