@doordeck/doordeck-headless-sdk 0.134.0 → 0.135.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.
Files changed (28) hide show
  1. package/kotlin/Kermit-kermit-core.js +59 -59
  2. package/kotlin/Kermit-kermit.js +8 -8
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1536 -1536
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +49 -49
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
  6. package/kotlin/doordeck-sdk.d.ts +666 -1298
  7. package/kotlin/doordeck-sdk.js +29918 -27463
  8. package/kotlin/kotlin-kotlin-stdlib.js +2370 -2221
  9. package/kotlin/kotlinx-atomicfu.js +18 -18
  10. package/kotlin/kotlinx-coroutines-core.js +2302 -2302
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +50 -50
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +470 -470
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1958 -1890
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1570 -1570
  15. package/kotlin/ktor-ktor-client-auth.js +472 -472
  16. package/kotlin/ktor-ktor-client-content-negotiation.js +219 -219
  17. package/kotlin/ktor-ktor-client-core.js +3026 -3026
  18. package/kotlin/ktor-ktor-client-logging.js +1196 -1196
  19. package/kotlin/ktor-ktor-events.js +12 -12
  20. package/kotlin/ktor-ktor-http-cio.js +534 -534
  21. package/kotlin/ktor-ktor-http.js +843 -843
  22. package/kotlin/ktor-ktor-io.js +1126 -1126
  23. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
  24. package/kotlin/ktor-ktor-serialization-kotlinx.js +283 -283
  25. package/kotlin/ktor-ktor-serialization.js +129 -129
  26. package/kotlin/ktor-ktor-utils.js +897 -895
  27. package/kotlin/ktor-ktor-websockets.js +53 -53
  28. package/package.json +1 -1
@@ -5,31 +5,31 @@
5
5
  var _sodium_init = $module$libsodium_sumo_a6nla1._sodium_init;
6
6
  var ready = $module$libsodium_sumo_a6nla1.ready;
7
7
  var UByteArray__toString_impl_ukpl97 = kotlin_kotlin.$_$.p3;
8
- var protoOf = kotlin_kotlin.$_$.vb;
8
+ var protoOf = kotlin_kotlin.$_$.yb;
9
9
  var UByteArray__hashCode_impl_ip8jx2 = kotlin_kotlin.$_$.l3;
10
- var THROW_CCE = kotlin_kotlin.$_$.uf;
11
- var equals = kotlin_kotlin.$_$.ma;
12
- var initMetadataForClass = kotlin_kotlin.$_$.ta;
13
- var RuntimeException = kotlin_kotlin.$_$.tf;
10
+ var THROW_CCE = kotlin_kotlin.$_$.xf;
11
+ var equals = kotlin_kotlin.$_$.pa;
12
+ var initMetadataForClass = kotlin_kotlin.$_$.wa;
13
+ var RuntimeException = kotlin_kotlin.$_$.wf;
14
14
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.j2;
15
- var captureStack = kotlin_kotlin.$_$.da;
16
- var Unit_instance = kotlin_kotlin.$_$.k5;
17
- var Companion_instance = kotlin_kotlin.$_$.f5;
15
+ var captureStack = kotlin_kotlin.$_$.ga;
16
+ var Unit_instance = kotlin_kotlin.$_$.l5;
17
+ var Companion_instance = kotlin_kotlin.$_$.g5;
18
18
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
19
- var createFailure = kotlin_kotlin.$_$.lg;
20
- var intercepted = kotlin_kotlin.$_$.i9;
19
+ var createFailure = kotlin_kotlin.$_$.og;
20
+ var intercepted = kotlin_kotlin.$_$.l9;
21
21
  var SafeContinuation_init_$Create$ = kotlin_kotlin.$_$.g1;
22
- var initMetadataForObject = kotlin_kotlin.$_$.za;
22
+ var initMetadataForObject = kotlin_kotlin.$_$.cb;
23
23
  var VOID = kotlin_kotlin.$_$.h;
24
24
  var _UByteArray___get_storage__impl__d4kctt = kotlin_kotlin.$_$.o3;
25
- var toTypedArray = kotlin_kotlin.$_$.a9;
26
- var println = kotlin_kotlin.$_$.y9;
25
+ var toTypedArray = kotlin_kotlin.$_$.d9;
26
+ var println = kotlin_kotlin.$_$.ba;
27
27
  var _UByteArray___init__impl__ip4y9n = kotlin_kotlin.$_$.j3;
28
28
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.f3;
29
29
  var UByteArray__set_impl_jvcicn = kotlin_kotlin.$_$.m3;
30
- var CoroutineImpl = kotlin_kotlin.$_$.v9;
31
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
32
- var initMetadataForCoroutine = kotlin_kotlin.$_$.va;
30
+ var CoroutineImpl = kotlin_kotlin.$_$.y9;
31
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.i9;
32
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.ya;
33
33
  //endregion
34
34
  //region block: pre-declaration
35
35
  initMetadataForClass(SignatureKeyPair, 'SignatureKeyPair');
@@ -85,15 +85,15 @@
85
85
  var crypto_secretstream_xchacha20poly1305_KEYBYTES;
86
86
  var crypto_secretstream_xchacha20poly1305_ABYTES;
87
87
  function SignatureKeyPair(publicKey, secretKey) {
88
- this.tn_1 = publicKey;
89
- this.un_1 = secretKey;
88
+ this.vn_1 = publicKey;
89
+ this.wn_1 = secretKey;
90
90
  }
91
91
  protoOf(SignatureKeyPair).toString = function () {
92
- return 'SignatureKeyPair(publicKey=' + UByteArray__toString_impl_ukpl97(this.tn_1) + ', secretKey=' + UByteArray__toString_impl_ukpl97(this.un_1) + ')';
92
+ return 'SignatureKeyPair(publicKey=' + UByteArray__toString_impl_ukpl97(this.vn_1) + ', secretKey=' + UByteArray__toString_impl_ukpl97(this.wn_1) + ')';
93
93
  };
94
94
  protoOf(SignatureKeyPair).hashCode = function () {
95
- var result = UByteArray__hashCode_impl_ip8jx2(this.tn_1);
96
- result = imul(result, 31) + UByteArray__hashCode_impl_ip8jx2(this.un_1) | 0;
95
+ var result = UByteArray__hashCode_impl_ip8jx2(this.vn_1);
96
+ result = imul(result, 31) + UByteArray__hashCode_impl_ip8jx2(this.wn_1) | 0;
97
97
  return result;
98
98
  };
99
99
  protoOf(SignatureKeyPair).equals = function (other) {
@@ -102,9 +102,9 @@
102
102
  if (!(other instanceof SignatureKeyPair))
103
103
  return false;
104
104
  var tmp0_other_with_cast = other instanceof SignatureKeyPair ? other : THROW_CCE();
105
- if (!equals(this.tn_1, tmp0_other_with_cast.tn_1))
105
+ if (!equals(this.vn_1, tmp0_other_with_cast.vn_1))
106
106
  return false;
107
- if (!equals(this.un_1, tmp0_other_with_cast.un_1))
107
+ if (!equals(this.wn_1, tmp0_other_with_cast.wn_1))
108
108
  return false;
109
109
  return true;
110
110
  };
@@ -119,7 +119,7 @@
119
119
  set_sodiumLoaded(true);
120
120
  // Inline function 'kotlin.Companion.success' call
121
121
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
122
- $continuation.r9(tmp$ret$0);
122
+ $continuation.t9(tmp$ret$0);
123
123
  return Unit_instance;
124
124
  };
125
125
  }
@@ -127,13 +127,13 @@
127
127
  return function (e) {
128
128
  // Inline function 'kotlin.Companion.failure' call
129
129
  var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(e));
130
- $continuation.r9(tmp$ret$0);
130
+ $continuation.t9(tmp$ret$0);
131
131
  return Unit_instance;
132
132
  };
133
133
  }
134
134
  function JsSodiumLoader() {
135
135
  }
136
- protoOf(JsSodiumLoader).vn = function ($completion) {
136
+ protoOf(JsSodiumLoader).xn = function ($completion) {
137
137
  var safe = SafeContinuation_init_$Create$(intercepted($completion));
138
138
  if (!getSodiumLoaded()) {
139
139
  var tmp = ready;
@@ -142,9 +142,9 @@
142
142
  } else {
143
143
  // Inline function 'kotlin.Companion.success' call
144
144
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
145
- safe.r9(tmp$ret$0);
145
+ safe.t9(tmp$ret$0);
146
146
  }
147
- return safe.y9();
147
+ return safe.aa();
148
148
  };
149
149
  var JsSodiumLoader_instance;
150
150
  function JsSodiumLoader_getInstance() {
@@ -186,48 +186,48 @@
186
186
  var sodiumLoaded;
187
187
  function $initializeCOROUTINE$(_this__u8e3s4, resultContinuation) {
188
188
  CoroutineImpl.call(this, resultContinuation);
189
- this.eo_1 = _this__u8e3s4;
189
+ this.go_1 = _this__u8e3s4;
190
190
  }
191
- protoOf($initializeCOROUTINE$).o9 = function () {
192
- var suspendResult = this.i9_1;
191
+ protoOf($initializeCOROUTINE$).q9 = function () {
192
+ var suspendResult = this.k9_1;
193
193
  $sm: do
194
194
  try {
195
- var tmp = this.g9_1;
195
+ var tmp = this.i9_1;
196
196
  switch (tmp) {
197
197
  case 0:
198
- this.h9_1 = 2;
199
- this.g9_1 = 1;
200
- suspendResult = JsSodiumLoader_instance.vn(this);
198
+ this.j9_1 = 2;
199
+ this.i9_1 = 1;
200
+ suspendResult = JsSodiumLoader_instance.xn(this);
201
201
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
202
202
  return suspendResult;
203
203
  }
204
204
 
205
205
  continue $sm;
206
206
  case 1:
207
- this.eo_1.fo_1 = true;
207
+ this.go_1.ho_1 = true;
208
208
  return Unit_instance;
209
209
  case 2:
210
- throw this.j9_1;
210
+ throw this.l9_1;
211
211
  }
212
212
  } catch ($p) {
213
213
  var e = $p;
214
- if (this.h9_1 === 2) {
214
+ if (this.j9_1 === 2) {
215
215
  throw e;
216
216
  } else {
217
- this.g9_1 = this.h9_1;
218
- this.j9_1 = e;
217
+ this.i9_1 = this.j9_1;
218
+ this.l9_1 = e;
219
219
  }
220
220
  }
221
221
  while (true);
222
222
  };
223
223
  function LibsodiumInitializer() {
224
- this.fo_1 = false;
224
+ this.ho_1 = false;
225
225
  }
226
- protoOf(LibsodiumInitializer).go = function ($completion) {
226
+ protoOf(LibsodiumInitializer).io = function ($completion) {
227
227
  var tmp = new $initializeCOROUTINE$(this, $completion);
228
- tmp.i9_1 = Unit_instance;
229
- tmp.j9_1 = null;
230
- return tmp.o9();
228
+ tmp.k9_1 = Unit_instance;
229
+ tmp.l9_1 = null;
230
+ return tmp.q9();
231
231
  };
232
232
  var LibsodiumInitializer_instance;
233
233
  function LibsodiumInitializer_getInstance() {
@@ -241,24 +241,24 @@
241
241
  }
242
242
  function Signature() {
243
243
  }
244
- protoOf(Signature).ho = function () {
244
+ protoOf(Signature).jo = function () {
245
245
  var keypair = getSodium().crypto_sign_keypair();
246
246
  var tmp = keypair.publicKey;
247
247
  var tmp_0 = toUByteArray(tmp instanceof Uint8Array ? tmp : THROW_CCE());
248
248
  var tmp_1 = keypair.privateKey;
249
249
  return new SignatureKeyPair(tmp_0, toUByteArray(tmp_1 instanceof Uint8Array ? tmp_1 : THROW_CCE()));
250
250
  };
251
- protoOf(Signature).io = function (seed) {
251
+ protoOf(Signature).ko = function (seed) {
252
252
  var keypair = getSodium().crypto_sign_seed_keypair(toUInt8Array(seed));
253
253
  var tmp = keypair.publicKey;
254
254
  var tmp_0 = toUByteArray(tmp instanceof Uint8Array ? tmp : THROW_CCE());
255
255
  var tmp_1 = keypair.privateKey;
256
256
  return new SignatureKeyPair(tmp_0, toUByteArray(tmp_1 instanceof Uint8Array ? tmp_1 : THROW_CCE()));
257
257
  };
258
- protoOf(Signature).jo = function (message, secretKey) {
258
+ protoOf(Signature).lo = function (message, secretKey) {
259
259
  return toUByteArray(getSodium().crypto_sign_detached(toUInt8Array(message), toUInt8Array(secretKey)));
260
260
  };
261
- protoOf(Signature).ko = function (signature, message, publicKey) {
261
+ protoOf(Signature).mo = function (signature, message, publicKey) {
262
262
  var verificationResult = getSodium().crypto_sign_verify_detached(toUInt8Array(signature), toUInt8Array(message), toUInt8Array(publicKey));
263
263
  if (verificationResult === false) {
264
264
  throw new InvalidSignatureException();
@@ -1,12 +1,12 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var Unit_instance = kotlin_kotlin.$_$.k5;
4
+ var Unit_instance = kotlin_kotlin.$_$.l5;
5
5
  var VOID = kotlin_kotlin.$_$.h;
6
- var protoOf = kotlin_kotlin.$_$.vb;
7
- var toIntOrNull = kotlin_kotlin.$_$.me;
8
- var toBoolean = kotlin_kotlin.$_$.ie;
9
- var initMetadataForClass = kotlin_kotlin.$_$.ta;
6
+ var protoOf = kotlin_kotlin.$_$.yb;
7
+ var toIntOrNull = kotlin_kotlin.$_$.pe;
8
+ var toBoolean = kotlin_kotlin.$_$.le;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.wa;
10
10
  //endregion
11
11
  //region block: pre-declaration
12
12
  initMetadataForClass(StorageSettings, 'StorageSettings', StorageSettings);
@@ -20,46 +20,46 @@
20
20
  tmp = delegate;
21
21
  }
22
22
  delegate = tmp;
23
- this.h6g_1 = delegate;
23
+ this.k6g_1 = delegate;
24
24
  }
25
25
  protoOf(StorageSettings).e2 = function () {
26
- return this.h6g_1.clear();
26
+ return this.k6g_1.clear();
27
27
  };
28
- protoOf(StorageSettings).q2o = function (key) {
29
- return this.h6g_1.removeItem(key);
28
+ protoOf(StorageSettings).t2o = function (key) {
29
+ return this.k6g_1.removeItem(key);
30
30
  };
31
- protoOf(StorageSettings).i6g = function (key) {
31
+ protoOf(StorageSettings).l6g = function (key) {
32
32
  // Inline function 'com.russhwolf.settings.get' call
33
- return !(this.h6g_1.getItem(key) == null);
33
+ return !(this.k6g_1.getItem(key) == null);
34
34
  };
35
- protoOf(StorageSettings).j6g = function (key, value) {
36
- var tmp0 = this.h6g_1;
35
+ protoOf(StorageSettings).m6g = function (key, value) {
36
+ var tmp0 = this.k6g_1;
37
37
  // Inline function 'com.russhwolf.settings.set' call
38
38
  var value_0 = value.toString();
39
39
  tmp0.setItem(key, value_0);
40
40
  };
41
- protoOf(StorageSettings).k6g = function (key) {
41
+ protoOf(StorageSettings).n6g = function (key) {
42
42
  // Inline function 'com.russhwolf.settings.get' call
43
- var tmp0_safe_receiver = this.h6g_1.getItem(key);
43
+ var tmp0_safe_receiver = this.k6g_1.getItem(key);
44
44
  return tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
45
45
  };
46
- protoOf(StorageSettings).l6g = function (key, value) {
46
+ protoOf(StorageSettings).o6g = function (key, value) {
47
47
  // Inline function 'com.russhwolf.settings.set' call
48
- this.h6g_1.setItem(key, value);
48
+ this.k6g_1.setItem(key, value);
49
49
  };
50
- protoOf(StorageSettings).m6g = function (key) {
50
+ protoOf(StorageSettings).p6g = function (key) {
51
51
  // Inline function 'com.russhwolf.settings.get' call
52
- return this.h6g_1.getItem(key);
52
+ return this.k6g_1.getItem(key);
53
53
  };
54
- protoOf(StorageSettings).n6g = function (key, value) {
55
- var tmp0 = this.h6g_1;
54
+ protoOf(StorageSettings).q6g = function (key, value) {
55
+ var tmp0 = this.k6g_1;
56
56
  // Inline function 'com.russhwolf.settings.set' call
57
57
  var value_0 = value.toString();
58
58
  tmp0.setItem(key, value_0);
59
59
  };
60
- protoOf(StorageSettings).o6g = function (key) {
60
+ protoOf(StorageSettings).r6g = function (key) {
61
61
  // Inline function 'com.russhwolf.settings.get' call
62
- var tmp0_safe_receiver = this.h6g_1.getItem(key);
62
+ var tmp0_safe_receiver = this.k6g_1.getItem(key);
63
63
  return tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);
64
64
  };
65
65
  //region block: exports