@doordeck/doordeck-headless-sdk 0.184.0 → 0.186.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 +60 -60
  2. package/kotlin/Kermit-kermit.js +7 -7
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +43 -43
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
  5. package/kotlin/Signum-internals.js +6 -0
  6. package/kotlin/doordeck-sdk.d.ts +798 -674
  7. package/kotlin/doordeck-sdk.js +12518 -12528
  8. package/kotlin/kotlin-kotlin-stdlib.js +3968 -3525
  9. package/kotlin/kotlinx-atomicfu.js +22 -22
  10. package/kotlin/kotlinx-coroutines-core.js +2334 -2339
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +59 -59
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +532 -532
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1980 -1979
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1589 -1589
  15. package/kotlin/ktor-ktor-client-auth.js +471 -473
  16. package/kotlin/ktor-ktor-client-content-negotiation.js +244 -245
  17. package/kotlin/ktor-ktor-client-core.js +3207 -3212
  18. package/kotlin/ktor-ktor-client-logging.js +1319 -1319
  19. package/kotlin/ktor-ktor-events.js +11 -11
  20. package/kotlin/ktor-ktor-http-cio.js +575 -575
  21. package/kotlin/ktor-ktor-http.js +950 -950
  22. package/kotlin/ktor-ktor-io.js +1120 -1124
  23. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
  24. package/kotlin/ktor-ktor-serialization-kotlinx.js +272 -272
  25. package/kotlin/ktor-ktor-serialization.js +122 -122
  26. package/kotlin/ktor-ktor-utils.js +977 -977
  27. package/kotlin/ktor-ktor-websockets.js +61 -61
  28. package/package.json +4 -4
@@ -1,23 +1,23 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.ac;
4
+ var protoOf = kotlin_kotlin.$_$.cc;
5
5
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
6
- var isInterface = kotlin_kotlin.$_$.qb;
6
+ var isInterface = kotlin_kotlin.$_$.tb;
7
7
  var Unit_instance = kotlin_kotlin.$_$.b5;
8
- var initMetadataForClass = kotlin_kotlin.$_$.bb;
9
- var initMetadataForObject = kotlin_kotlin.$_$.hb;
8
+ var initMetadataForClass = kotlin_kotlin.$_$.eb;
9
+ var initMetadataForObject = kotlin_kotlin.$_$.kb;
10
10
  var VOID = kotlin_kotlin.$_$.b;
11
11
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
12
- var charSequenceLength = kotlin_kotlin.$_$.qa;
13
- var initMetadataForInterface = kotlin_kotlin.$_$.fb;
14
- var getStringHashCode = kotlin_kotlin.$_$.za;
15
- var THROW_CCE = kotlin_kotlin.$_$.zf;
12
+ var charSequenceLength = kotlin_kotlin.$_$.ta;
13
+ var initMetadataForInterface = kotlin_kotlin.$_$.ib;
14
+ var getStringHashCode = kotlin_kotlin.$_$.cb;
15
+ var THROW_CCE = kotlin_kotlin.$_$.bg;
16
16
  var toList = kotlin_kotlin.$_$.h8;
17
- var Enum = kotlin_kotlin.$_$.pf;
18
- var objectCreate = kotlin_kotlin.$_$.zb;
19
- var stackTraceToString = kotlin_kotlin.$_$.ah;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.yg;
17
+ var Enum = kotlin_kotlin.$_$.rf;
18
+ var objectCreate = kotlin_kotlin.$_$.bc;
19
+ var stackTraceToString = kotlin_kotlin.$_$.ch;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ah;
21
21
  //endregion
22
22
  //region block: pre-declaration
23
23
  initMetadataForClass(BaseLogger, 'BaseLogger');
@@ -41,7 +41,7 @@
41
41
  }
42
42
  var sb = StringBuilder_init_$Create$();
43
43
  if (!(severity == null)) {
44
- sb.f8(this.o5t(severity)).f8(' ');
44
+ sb.q(this.a5t(severity)).q(' ');
45
45
  }
46
46
  var tmp_1;
47
47
  var tmp_2 = tag;
@@ -53,9 +53,9 @@
53
53
  tmp_1 = false;
54
54
  }
55
55
  if (tmp_1) {
56
- sb.f8(this.m5t(tag)).f8(' ');
56
+ sb.q(this.y5s(tag)).q(' ');
57
57
  }
58
- sb.f8(_Message___get_message__impl__3t69n4(message));
58
+ sb.q(_Message___get_message__impl__3t69n4(message));
59
59
  return sb.toString();
60
60
  }
61
61
  initMetadataForInterface(MessageStringFormatter, 'MessageStringFormatter');
@@ -74,26 +74,26 @@
74
74
  }
75
75
  var DEFAULT_MIN_SEVERITY;
76
76
  function BaseLogger(config) {
77
- this.g5t_1 = config;
77
+ this.s5s_1 = config;
78
78
  }
79
- protoOf(BaseLogger).u3f = function () {
80
- return this.g5t_1;
79
+ protoOf(BaseLogger).g3f = function () {
80
+ return this.s5s_1;
81
81
  };
82
- protoOf(BaseLogger).h5t = function () {
82
+ protoOf(BaseLogger).t5s = function () {
83
83
  // Inline function 'kotlin.let' call
84
- var it = this.u3f();
84
+ var it = this.g3f();
85
85
  if (!isInterface(it, MutableLoggerConfig)) {
86
86
  throw IllegalStateException_init_$Create$('Logger config is not mutable');
87
87
  }
88
88
  return it;
89
89
  };
90
- protoOf(BaseLogger).i5t = function (severity, tag, throwable, message) {
90
+ protoOf(BaseLogger).u5s = function (severity, tag, throwable, message) {
91
91
  // Inline function 'kotlin.collections.forEach' call
92
- var _iterator__ex2g4s = this.u3f().j5t().r();
93
- while (_iterator__ex2g4s.s()) {
94
- var element = _iterator__ex2g4s.t();
95
- if (element.l5t(tag, severity)) {
96
- element.k5t(severity, message, tag, throwable);
92
+ var _iterator__ex2g4s = this.g3f().v5s().t();
93
+ while (_iterator__ex2g4s.u()) {
94
+ var element = _iterator__ex2g4s.v();
95
+ if (element.x5s(tag, severity)) {
96
+ element.w5s(severity, message, tag, throwable);
97
97
  }
98
98
  }
99
99
  };
@@ -106,15 +106,15 @@
106
106
  }
107
107
  function LogWriter() {
108
108
  }
109
- protoOf(LogWriter).l5t = function (tag, severity) {
109
+ protoOf(LogWriter).x5s = function (tag, severity) {
110
110
  return true;
111
111
  };
112
112
  function NoTagFormatter() {
113
113
  }
114
- protoOf(NoTagFormatter).m5t = function (tag) {
114
+ protoOf(NoTagFormatter).y5s = function (tag) {
115
115
  return '';
116
116
  };
117
- protoOf(NoTagFormatter).n5t = function (severity, tag, message) {
117
+ protoOf(NoTagFormatter).z5s = function (severity, tag, message) {
118
118
  return formatMessage.call(this, severity, null, message);
119
119
  };
120
120
  var NoTagFormatter_instance;
@@ -144,21 +144,21 @@
144
144
  function Tag__equals_impl_6ocp5g($this, other) {
145
145
  if (!(other instanceof Tag))
146
146
  return false;
147
- if (!($this === (other instanceof Tag ? other.p5t_1 : THROW_CCE())))
147
+ if (!($this === (other instanceof Tag ? other.b5t_1 : THROW_CCE())))
148
148
  return false;
149
149
  return true;
150
150
  }
151
151
  function Tag(tag) {
152
- this.p5t_1 = tag;
152
+ this.b5t_1 = tag;
153
153
  }
154
154
  protoOf(Tag).toString = function () {
155
- return Tag__toString_impl_tvevk7(this.p5t_1);
155
+ return Tag__toString_impl_tvevk7(this.b5t_1);
156
156
  };
157
157
  protoOf(Tag).hashCode = function () {
158
- return Tag__hashCode_impl_848yrc(this.p5t_1);
158
+ return Tag__hashCode_impl_848yrc(this.b5t_1);
159
159
  };
160
160
  protoOf(Tag).equals = function (other) {
161
- return Tag__equals_impl_6ocp5g(this.p5t_1, other);
161
+ return Tag__equals_impl_6ocp5g(this.b5t_1, other);
162
162
  };
163
163
  function _Message___init__impl__p3e8y6(message) {
164
164
  return message;
@@ -172,7 +172,7 @@
172
172
  minSeverity = minSeverity === VOID ? get_DEFAULT_MIN_SEVERITY() : minSeverity;
173
173
  // Inline function 'kotlin.also' call
174
174
  var this_0 = mutableLoggerConfigInit_0(toList(logWriters));
175
- this_0.q5t(minSeverity);
175
+ this_0.c5t(minSeverity);
176
176
  return this_0;
177
177
  }
178
178
  var Severity_Verbose_instance;
@@ -222,31 +222,31 @@
222
222
  }
223
223
  function ConsoleWriter(messageStringFormatter, console) {
224
224
  LogWriter.call(this);
225
- this.r5t_1 = messageStringFormatter;
226
- this.s5t_1 = console;
225
+ this.d5t_1 = messageStringFormatter;
226
+ this.e5t_1 = console;
227
227
  }
228
- protoOf(ConsoleWriter).k5t = function (severity, message, tag, throwable) {
229
- var output = this.r5t_1.n5t(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
228
+ protoOf(ConsoleWriter).w5s = function (severity, message, tag, throwable) {
229
+ var output = this.d5t_1.z5s(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
230
230
  if (throwable == null)
231
231
  null;
232
232
  else {
233
233
  // Inline function 'kotlin.let' call
234
234
  output = output + (' ' + stackTraceToString(throwable));
235
235
  }
236
- switch (severity.s2_1) {
236
+ switch (severity.a1_1) {
237
237
  case 5:
238
238
  case 4:
239
- this.s5t_1.t5t(output);
239
+ this.e5t_1.f5t(output);
240
240
  break;
241
241
  case 3:
242
- this.s5t_1.u2q(output);
242
+ this.e5t_1.g2q(output);
243
243
  break;
244
244
  case 2:
245
- this.s5t_1.u5t(output);
245
+ this.e5t_1.g5t(output);
246
246
  break;
247
247
  case 1:
248
248
  case 0:
249
- this.s5t_1.v4v(output);
249
+ this.e5t_1.h4v(output);
250
250
  break;
251
251
  default:
252
252
  noWhenBranchMatchedException();
@@ -254,17 +254,17 @@
254
254
  }
255
255
  };
256
256
  function JsMutableLoggerConfig(logWriters) {
257
- this.v5t_1 = get_DEFAULT_MIN_SEVERITY();
258
- this.w5t_1 = logWriters;
257
+ this.h5t_1 = get_DEFAULT_MIN_SEVERITY();
258
+ this.i5t_1 = logWriters;
259
259
  }
260
- protoOf(JsMutableLoggerConfig).q5t = function (_set____db54di) {
261
- this.v5t_1 = _set____db54di;
262
- };
263
- protoOf(JsMutableLoggerConfig).x5t = function () {
264
- return this.v5t_1;
260
+ protoOf(JsMutableLoggerConfig).c5t = function (_set____db54di) {
261
+ this.h5t_1 = _set____db54di;
265
262
  };
266
263
  protoOf(JsMutableLoggerConfig).j5t = function () {
267
- return this.w5t_1;
264
+ return this.h5t_1;
265
+ };
266
+ protoOf(JsMutableLoggerConfig).v5s = function () {
267
+ return this.i5t_1;
268
268
  };
269
269
  function mutableLoggerConfigInit_0(logWriters) {
270
270
  return new JsMutableLoggerConfig(logWriters);
@@ -275,16 +275,16 @@
275
275
  }
276
276
  function ConsoleActual() {
277
277
  }
278
- protoOf(ConsoleActual).t5t = function (output) {
278
+ protoOf(ConsoleActual).f5t = function (output) {
279
279
  console.error(output);
280
280
  };
281
- protoOf(ConsoleActual).u2q = function (output) {
281
+ protoOf(ConsoleActual).g2q = function (output) {
282
282
  console.warn(output);
283
283
  };
284
- protoOf(ConsoleActual).u5t = function (output) {
284
+ protoOf(ConsoleActual).g5t = function (output) {
285
285
  console.info(output);
286
286
  };
287
- protoOf(ConsoleActual).v4v = function (output) {
287
+ protoOf(ConsoleActual).h4v = function (output) {
288
288
  console.log(output);
289
289
  };
290
290
  var ConsoleActual_instance;
@@ -292,10 +292,10 @@
292
292
  return ConsoleActual_instance;
293
293
  }
294
294
  //region block: post-declaration
295
- protoOf(NoTagFormatter).o5t = formatSeverity;
296
- protoOf(DefaultFormatter).o5t = formatSeverity;
297
- protoOf(DefaultFormatter).m5t = formatTag;
298
- protoOf(DefaultFormatter).n5t = formatMessage;
295
+ protoOf(NoTagFormatter).a5t = formatSeverity;
296
+ protoOf(DefaultFormatter).a5t = formatSeverity;
297
+ protoOf(DefaultFormatter).y5s = formatTag;
298
+ protoOf(DefaultFormatter).z5s = formatMessage;
299
299
  //endregion
300
300
  //region block: init
301
301
  NoTagFormatter_instance = new NoTagFormatter();
@@ -4,11 +4,11 @@
4
4
  var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.d;
5
5
  var listOf = kotlin_kotlin.$_$.l7;
6
6
  var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.c;
7
- var protoOf = kotlin_kotlin.$_$.ac;
8
- var initMetadataForCompanion = kotlin_kotlin.$_$.cb;
7
+ var protoOf = kotlin_kotlin.$_$.cc;
8
+ var initMetadataForCompanion = kotlin_kotlin.$_$.fb;
9
9
  var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
10
10
  var VOID = kotlin_kotlin.$_$.b;
11
- var initMetadataForClass = kotlin_kotlin.$_$.bb;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.eb;
12
12
  //endregion
13
13
  //region block: pre-declaration
14
14
  initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
@@ -18,7 +18,7 @@
18
18
  Companion_instance = this;
19
19
  Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
20
20
  }
21
- protoOf(Companion).a5u = function () {
21
+ protoOf(Companion).m5t = 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.c5u_1 = tag;
34
+ this.o5t_1 = tag;
35
35
  }
36
- protoOf(Logger).a5u = function () {
37
- return this.c5u_1;
36
+ protoOf(Logger).m5t = function () {
37
+ return this.o5t_1;
38
38
  };
39
39
  function get_defaultTag() {
40
40
  return defaultTag;
@@ -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.$_$.c3;
8
- var protoOf = kotlin_kotlin.$_$.ac;
8
+ var protoOf = kotlin_kotlin.$_$.cc;
9
9
  var UByteArray__hashCode_impl_ip8jx2 = kotlin_kotlin.$_$.y2;
10
- var THROW_CCE = kotlin_kotlin.$_$.zf;
11
- var equals = kotlin_kotlin.$_$.ua;
12
- var initMetadataForClass = kotlin_kotlin.$_$.bb;
13
- var RuntimeException = kotlin_kotlin.$_$.yf;
10
+ var THROW_CCE = kotlin_kotlin.$_$.bg;
11
+ var equals = kotlin_kotlin.$_$.xa;
12
+ var initMetadataForClass = kotlin_kotlin.$_$.eb;
13
+ var RuntimeException = kotlin_kotlin.$_$.ag;
14
14
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
15
- var captureStack = kotlin_kotlin.$_$.la;
15
+ var captureStack = kotlin_kotlin.$_$.oa;
16
16
  var Unit_instance = kotlin_kotlin.$_$.b5;
17
17
  var Companion_instance = kotlin_kotlin.$_$.w4;
18
18
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n2;
19
- var createFailure = kotlin_kotlin.$_$.qg;
19
+ var createFailure = kotlin_kotlin.$_$.sg;
20
20
  var intercepted = kotlin_kotlin.$_$.w8;
21
21
  var SafeContinuation_init_$Create$ = kotlin_kotlin.$_$.a1;
22
- var initMetadataForObject = kotlin_kotlin.$_$.hb;
22
+ var initMetadataForObject = kotlin_kotlin.$_$.kb;
23
23
  var VOID = kotlin_kotlin.$_$.b;
24
24
  var _UByteArray___get_storage__impl__d4kctt = kotlin_kotlin.$_$.b3;
25
25
  var toTypedArray = kotlin_kotlin.$_$.o8;
26
- var println = kotlin_kotlin.$_$.m9;
26
+ var println = kotlin_kotlin.$_$.n9;
27
27
  var _UByteArray___init__impl__ip4y9n = kotlin_kotlin.$_$.w2;
28
28
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.s2;
29
29
  var UByteArray__set_impl_jvcicn = kotlin_kotlin.$_$.z2;
30
30
  var CoroutineImpl = kotlin_kotlin.$_$.j9;
31
31
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
32
- var initMetadataForCoroutine = kotlin_kotlin.$_$.db;
32
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.gb;
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.eo_1 = publicKey;
89
- this.fo_1 = secretKey;
88
+ this.qn_1 = publicKey;
89
+ this.rn_1 = secretKey;
90
90
  }
91
91
  protoOf(SignatureKeyPair).toString = function () {
92
- return 'SignatureKeyPair(publicKey=' + UByteArray__toString_impl_ukpl97(this.eo_1) + ', secretKey=' + UByteArray__toString_impl_ukpl97(this.fo_1) + ')';
92
+ return 'SignatureKeyPair(publicKey=' + UByteArray__toString_impl_ukpl97(this.qn_1) + ', secretKey=' + UByteArray__toString_impl_ukpl97(this.rn_1) + ')';
93
93
  };
94
94
  protoOf(SignatureKeyPair).hashCode = function () {
95
- var result = UByteArray__hashCode_impl_ip8jx2(this.eo_1);
96
- result = imul(result, 31) + UByteArray__hashCode_impl_ip8jx2(this.fo_1) | 0;
95
+ var result = UByteArray__hashCode_impl_ip8jx2(this.qn_1);
96
+ result = imul(result, 31) + UByteArray__hashCode_impl_ip8jx2(this.rn_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.eo_1, tmp0_other_with_cast.eo_1))
105
+ if (!equals(this.qn_1, tmp0_other_with_cast.qn_1))
106
106
  return false;
107
- if (!equals(this.fo_1, tmp0_other_with_cast.fo_1))
107
+ if (!equals(this.rn_1, tmp0_other_with_cast.rn_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.f9(tmp$ret$0);
122
+ $continuation.o9(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.f9(tmp$ret$0);
130
+ $continuation.o9(tmp$ret$0);
131
131
  return Unit_instance;
132
132
  };
133
133
  }
134
134
  function JsSodiumLoader() {
135
135
  }
136
- protoOf(JsSodiumLoader).go = function ($completion) {
136
+ protoOf(JsSodiumLoader).sn = 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.f9(tmp$ret$0);
145
+ safe.o9(tmp$ret$0);
146
146
  }
147
- return safe.m9();
147
+ return safe.v9();
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.po_1 = _this__u8e3s4;
189
+ this.bo_1 = _this__u8e3s4;
190
190
  }
191
- protoOf($initializeCOROUTINE$).c9 = function () {
192
- var suspendResult = this.w8_1;
191
+ protoOf($initializeCOROUTINE$).l9 = function () {
192
+ var suspendResult = this.f9_1;
193
193
  $sm: do
194
194
  try {
195
- var tmp = this.u8_1;
195
+ var tmp = this.d9_1;
196
196
  switch (tmp) {
197
197
  case 0:
198
- this.v8_1 = 2;
199
- this.u8_1 = 1;
200
- suspendResult = JsSodiumLoader_instance.go(this);
198
+ this.e9_1 = 2;
199
+ this.d9_1 = 1;
200
+ suspendResult = JsSodiumLoader_instance.sn(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.po_1.qo_1 = true;
207
+ this.bo_1.co_1 = true;
208
208
  return Unit_instance;
209
209
  case 2:
210
- throw this.x8_1;
210
+ throw this.g9_1;
211
211
  }
212
212
  } catch ($p) {
213
213
  var e = $p;
214
- if (this.v8_1 === 2) {
214
+ if (this.e9_1 === 2) {
215
215
  throw e;
216
216
  } else {
217
- this.u8_1 = this.v8_1;
218
- this.x8_1 = e;
217
+ this.d9_1 = this.e9_1;
218
+ this.g9_1 = e;
219
219
  }
220
220
  }
221
221
  while (true);
222
222
  };
223
223
  function LibsodiumInitializer() {
224
- this.qo_1 = false;
224
+ this.co_1 = false;
225
225
  }
226
- protoOf(LibsodiumInitializer).ro = function ($completion) {
226
+ protoOf(LibsodiumInitializer).do = function ($completion) {
227
227
  var tmp = new $initializeCOROUTINE$(this, $completion);
228
- tmp.w8_1 = Unit_instance;
229
- tmp.x8_1 = null;
230
- return tmp.c9();
228
+ tmp.f9_1 = Unit_instance;
229
+ tmp.g9_1 = null;
230
+ return tmp.l9();
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).so = function () {
244
+ protoOf(Signature).eo = 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).to = function (seed) {
251
+ protoOf(Signature).fo = 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).uo = function (message, secretKey) {
258
+ protoOf(Signature).go = function (message, secretKey) {
259
259
  return toUByteArray(getSodium().crypto_sign_detached(toUInt8Array(message), toUInt8Array(secretKey)));
260
260
  };
261
- protoOf(Signature).vo = function (signature, message, publicKey) {
261
+ protoOf(Signature).ho = 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();
@@ -3,10 +3,10 @@
3
3
  //region block: imports
4
4
  var Unit_instance = kotlin_kotlin.$_$.b5;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.ac;
7
- var toIntOrNull = kotlin_kotlin.$_$.re;
8
- var toBoolean = kotlin_kotlin.$_$.ne;
9
- var initMetadataForClass = kotlin_kotlin.$_$.bb;
6
+ var protoOf = kotlin_kotlin.$_$.cc;
7
+ var toIntOrNull = kotlin_kotlin.$_$.te;
8
+ var toBoolean = kotlin_kotlin.$_$.pe;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.eb;
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.y5s_1 = delegate;
23
+ this.k5s_1 = delegate;
24
24
  }
25
- protoOf(StorageSettings).b2 = function () {
26
- return this.y5s_1.clear();
25
+ protoOf(StorageSettings).t2 = function () {
26
+ return this.k5s_1.clear();
27
27
  };
28
- protoOf(StorageSettings).q2m = function (key) {
29
- return this.y5s_1.removeItem(key);
28
+ protoOf(StorageSettings).c2m = function (key) {
29
+ return this.k5s_1.removeItem(key);
30
30
  };
31
- protoOf(StorageSettings).z5s = function (key) {
31
+ protoOf(StorageSettings).l5s = function (key) {
32
32
  // Inline function 'com.russhwolf.settings.get' call
33
- return !(this.y5s_1.getItem(key) == null);
33
+ return !(this.k5s_1.getItem(key) == null);
34
34
  };
35
- protoOf(StorageSettings).a5t = function (key, value) {
36
- var tmp0 = this.y5s_1;
35
+ protoOf(StorageSettings).m5s = function (key, value) {
36
+ var tmp0 = this.k5s_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).b5t = function (key) {
41
+ protoOf(StorageSettings).n5s = function (key) {
42
42
  // Inline function 'com.russhwolf.settings.get' call
43
- var tmp0_safe_receiver = this.y5s_1.getItem(key);
43
+ var tmp0_safe_receiver = this.k5s_1.getItem(key);
44
44
  return tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
45
45
  };
46
- protoOf(StorageSettings).c5t = function (key, value) {
46
+ protoOf(StorageSettings).o5s = function (key, value) {
47
47
  // Inline function 'com.russhwolf.settings.set' call
48
- this.y5s_1.setItem(key, value);
48
+ this.k5s_1.setItem(key, value);
49
49
  };
50
- protoOf(StorageSettings).d5t = function (key) {
50
+ protoOf(StorageSettings).p5s = function (key) {
51
51
  // Inline function 'com.russhwolf.settings.get' call
52
- return this.y5s_1.getItem(key);
52
+ return this.k5s_1.getItem(key);
53
53
  };
54
- protoOf(StorageSettings).e5t = function (key, value) {
55
- var tmp0 = this.y5s_1;
54
+ protoOf(StorageSettings).q5s = function (key, value) {
55
+ var tmp0 = this.k5s_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).f5t = function (key) {
60
+ protoOf(StorageSettings).r5s = function (key) {
61
61
  // Inline function 'com.russhwolf.settings.get' call
62
- var tmp0_safe_receiver = this.y5s_1.getItem(key);
62
+ var tmp0_safe_receiver = this.k5s_1.getItem(key);
63
63
  return tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);
64
64
  };
65
65
  //region block: exports
@@ -0,0 +1,6 @@
1
+ (function (_) {
2
+ 'use strict';
3
+ //region block: pre-declaration
4
+ //endregion
5
+ return _;
6
+ }(module.exports));