@doordeck/doordeck-headless-sdk 0.190.0 → 0.193.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.
@@ -1,23 +1,23 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.xb;
4
+ var protoOf = kotlin_kotlin.$_$.vb;
5
5
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
6
- var isInterface = kotlin_kotlin.$_$.pb;
7
- var Unit_instance = kotlin_kotlin.$_$.b5;
8
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
9
- var initMetadataForObject = kotlin_kotlin.$_$.gb;
6
+ var isInterface = kotlin_kotlin.$_$.nb;
7
+ var Unit_instance = kotlin_kotlin.$_$.z4;
8
+ var initMetadataForClass = kotlin_kotlin.$_$.ya;
9
+ var initMetadataForObject = kotlin_kotlin.$_$.eb;
10
10
  var VOID = kotlin_kotlin.$_$.b;
11
11
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
12
- var charSequenceLength = kotlin_kotlin.$_$.oa;
13
- var initMetadataForInterface = kotlin_kotlin.$_$.eb;
14
- var getStringHashCode = kotlin_kotlin.$_$.ya;
15
- var THROW_CCE = kotlin_kotlin.$_$.vf;
16
- var toList = kotlin_kotlin.$_$.h8;
17
- var Enum = kotlin_kotlin.$_$.mf;
18
- var objectCreate = kotlin_kotlin.$_$.wb;
19
- var stackTraceToString = kotlin_kotlin.$_$.wg;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
12
+ var charSequenceLength = kotlin_kotlin.$_$.ma;
13
+ var initMetadataForInterface = kotlin_kotlin.$_$.cb;
14
+ var getStringHashCode = kotlin_kotlin.$_$.wa;
15
+ var THROW_CCE = kotlin_kotlin.$_$.tf;
16
+ var toList = kotlin_kotlin.$_$.f8;
17
+ var Enum = kotlin_kotlin.$_$.kf;
18
+ var objectCreate = kotlin_kotlin.$_$.ub;
19
+ var stackTraceToString = kotlin_kotlin.$_$.ug;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.sg;
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.q(this.x5s(severity)).q(' ');
44
+ sb.q(this.f5s(severity)).q(' ');
45
45
  }
46
46
  var tmp_1;
47
47
  var tmp_2 = tag;
@@ -53,7 +53,7 @@
53
53
  tmp_1 = false;
54
54
  }
55
55
  if (tmp_1) {
56
- sb.q(this.v5s(tag)).q(' ');
56
+ sb.q(this.d5s(tag)).q(' ');
57
57
  }
58
58
  sb.q(_Message___get_message__impl__3t69n4(message));
59
59
  return sb.toString();
@@ -74,26 +74,26 @@
74
74
  }
75
75
  var DEFAULT_MIN_SEVERITY;
76
76
  function BaseLogger(config) {
77
- this.p5s_1 = config;
77
+ this.x5r_1 = config;
78
78
  }
79
- protoOf(BaseLogger).d3f = function () {
80
- return this.p5s_1;
79
+ protoOf(BaseLogger).l3e = function () {
80
+ return this.x5r_1;
81
81
  };
82
- protoOf(BaseLogger).q5s = function () {
82
+ protoOf(BaseLogger).y5r = function () {
83
83
  // Inline function 'kotlin.let' call
84
- var it = this.d3f();
84
+ var it = this.l3e();
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).r5s = function (severity, tag, throwable, message) {
90
+ protoOf(BaseLogger).z5r = function (severity, tag, throwable, message) {
91
91
  // Inline function 'kotlin.collections.forEach' call
92
- var _iterator__ex2g4s = this.d3f().s5s().t();
92
+ var _iterator__ex2g4s = this.l3e().a5s().t();
93
93
  while (_iterator__ex2g4s.u()) {
94
94
  var element = _iterator__ex2g4s.v();
95
- if (element.u5s(tag, severity)) {
96
- element.t5s(severity, message, tag, throwable);
95
+ if (element.c5s(tag, severity)) {
96
+ element.b5s(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).u5s = function (tag, severity) {
109
+ protoOf(LogWriter).c5s = function (tag, severity) {
110
110
  return true;
111
111
  };
112
112
  function NoTagFormatter() {
113
113
  }
114
- protoOf(NoTagFormatter).v5s = function (tag) {
114
+ protoOf(NoTagFormatter).d5s = function (tag) {
115
115
  return '';
116
116
  };
117
- protoOf(NoTagFormatter).w5s = function (severity, tag, message) {
117
+ protoOf(NoTagFormatter).e5s = 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.y5s_1 : THROW_CCE())))
147
+ if (!($this === (other instanceof Tag ? other.g5s_1 : THROW_CCE())))
148
148
  return false;
149
149
  return true;
150
150
  }
151
151
  function Tag(tag) {
152
- this.y5s_1 = tag;
152
+ this.g5s_1 = tag;
153
153
  }
154
154
  protoOf(Tag).toString = function () {
155
- return Tag__toString_impl_tvevk7(this.y5s_1);
155
+ return Tag__toString_impl_tvevk7(this.g5s_1);
156
156
  };
157
157
  protoOf(Tag).hashCode = function () {
158
- return Tag__hashCode_impl_848yrc(this.y5s_1);
158
+ return Tag__hashCode_impl_848yrc(this.g5s_1);
159
159
  };
160
160
  protoOf(Tag).equals = function (other) {
161
- return Tag__equals_impl_6ocp5g(this.y5s_1, other);
161
+ return Tag__equals_impl_6ocp5g(this.g5s_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.z5s(minSeverity);
175
+ this_0.h5s(minSeverity);
176
176
  return this_0;
177
177
  }
178
178
  var Severity_Verbose_instance;
@@ -222,11 +222,11 @@
222
222
  }
223
223
  function ConsoleWriter(messageStringFormatter, console) {
224
224
  LogWriter.call(this);
225
- this.a5t_1 = messageStringFormatter;
226
- this.b5t_1 = console;
225
+ this.i5s_1 = messageStringFormatter;
226
+ this.j5s_1 = console;
227
227
  }
228
- protoOf(ConsoleWriter).t5s = function (severity, message, tag, throwable) {
229
- var output = this.a5t_1.w5s(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
228
+ protoOf(ConsoleWriter).b5s = function (severity, message, tag, throwable) {
229
+ var output = this.i5s_1.e5s(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
230
230
  if (throwable == null)
231
231
  null;
232
232
  else {
@@ -236,17 +236,17 @@
236
236
  switch (severity.a1_1) {
237
237
  case 5:
238
238
  case 4:
239
- this.b5t_1.c5t(output);
239
+ this.j5s_1.k5s(output);
240
240
  break;
241
241
  case 3:
242
- this.b5t_1.d2q(output);
242
+ this.j5s_1.l2p(output);
243
243
  break;
244
244
  case 2:
245
- this.b5t_1.d5t(output);
245
+ this.j5s_1.l5s(output);
246
246
  break;
247
247
  case 1:
248
248
  case 0:
249
- this.b5t_1.e4v(output);
249
+ this.j5s_1.m4u(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.e5t_1 = get_DEFAULT_MIN_SEVERITY();
258
- this.f5t_1 = logWriters;
257
+ this.m5s_1 = get_DEFAULT_MIN_SEVERITY();
258
+ this.n5s_1 = logWriters;
259
259
  }
260
- protoOf(JsMutableLoggerConfig).z5s = function (_set____db54di) {
261
- this.e5t_1 = _set____db54di;
260
+ protoOf(JsMutableLoggerConfig).h5s = function (_set____db54di) {
261
+ this.m5s_1 = _set____db54di;
262
262
  };
263
- protoOf(JsMutableLoggerConfig).g5t = function () {
264
- return this.e5t_1;
263
+ protoOf(JsMutableLoggerConfig).o5s = function () {
264
+ return this.m5s_1;
265
265
  };
266
- protoOf(JsMutableLoggerConfig).s5s = function () {
267
- return this.f5t_1;
266
+ protoOf(JsMutableLoggerConfig).a5s = function () {
267
+ return this.n5s_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).c5t = function (output) {
278
+ protoOf(ConsoleActual).k5s = function (output) {
279
279
  console.error(output);
280
280
  };
281
- protoOf(ConsoleActual).d2q = function (output) {
281
+ protoOf(ConsoleActual).l2p = function (output) {
282
282
  console.warn(output);
283
283
  };
284
- protoOf(ConsoleActual).d5t = function (output) {
284
+ protoOf(ConsoleActual).l5s = function (output) {
285
285
  console.info(output);
286
286
  };
287
- protoOf(ConsoleActual).e4v = function (output) {
287
+ protoOf(ConsoleActual).m4u = 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).x5s = formatSeverity;
296
- protoOf(DefaultFormatter).x5s = formatSeverity;
297
- protoOf(DefaultFormatter).v5s = formatTag;
298
- protoOf(DefaultFormatter).w5s = formatMessage;
295
+ protoOf(NoTagFormatter).f5s = formatSeverity;
296
+ protoOf(DefaultFormatter).f5s = formatSeverity;
297
+ protoOf(DefaultFormatter).d5s = formatTag;
298
+ protoOf(DefaultFormatter).e5s = formatMessage;
299
299
  //endregion
300
300
  //region block: init
301
301
  NoTagFormatter_instance = new NoTagFormatter();
@@ -2,13 +2,13 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.d;
5
- var listOf = kotlin_kotlin.$_$.l7;
5
+ var listOf = kotlin_kotlin.$_$.j7;
6
6
  var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.c;
7
- var protoOf = kotlin_kotlin.$_$.xb;
8
- var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
7
+ var protoOf = kotlin_kotlin.$_$.vb;
8
+ var initMetadataForCompanion = kotlin_kotlin.$_$.za;
9
9
  var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
10
10
  var VOID = kotlin_kotlin.$_$.b;
11
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.ya;
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).j5t = function () {
21
+ protoOf(Companion).r5s = 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.l5t_1 = tag;
34
+ this.t5s_1 = tag;
35
35
  }
36
- protoOf(Logger).j5t = function () {
37
- return this.l5t_1;
36
+ protoOf(Logger).r5s = function () {
37
+ return this.t5s_1;
38
38
  };
39
39
  function get_defaultTag() {
40
40
  return defaultTag;
@@ -1,12 +1,12 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var Unit_instance = kotlin_kotlin.$_$.b5;
4
+ var Unit_instance = kotlin_kotlin.$_$.z4;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.xb;
7
- var toIntOrNull = kotlin_kotlin.$_$.oe;
8
- var toBoolean = kotlin_kotlin.$_$.ke;
9
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
6
+ var protoOf = kotlin_kotlin.$_$.vb;
7
+ var toIntOrNull = kotlin_kotlin.$_$.me;
8
+ var toBoolean = kotlin_kotlin.$_$.ie;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.ya;
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.h5s_1 = delegate;
23
+ this.p5r_1 = delegate;
24
24
  }
25
25
  protoOf(StorageSettings).t2 = function () {
26
- return this.h5s_1.clear();
26
+ return this.p5r_1.clear();
27
27
  };
28
- protoOf(StorageSettings).z2l = function (key) {
29
- return this.h5s_1.removeItem(key);
28
+ protoOf(StorageSettings).h2l = function (key) {
29
+ return this.p5r_1.removeItem(key);
30
30
  };
31
- protoOf(StorageSettings).i5s = function (key) {
31
+ protoOf(StorageSettings).q5r = function (key) {
32
32
  // Inline function 'com.russhwolf.settings.get' call
33
- return !(this.h5s_1.getItem(key) == null);
33
+ return !(this.p5r_1.getItem(key) == null);
34
34
  };
35
- protoOf(StorageSettings).j5s = function (key, value) {
36
- var tmp0 = this.h5s_1;
35
+ protoOf(StorageSettings).r5r = function (key, value) {
36
+ var tmp0 = this.p5r_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).k5s = function (key) {
41
+ protoOf(StorageSettings).s5r = function (key) {
42
42
  // Inline function 'com.russhwolf.settings.get' call
43
- var tmp0_safe_receiver = this.h5s_1.getItem(key);
43
+ var tmp0_safe_receiver = this.p5r_1.getItem(key);
44
44
  return tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
45
45
  };
46
- protoOf(StorageSettings).l5s = function (key, value) {
46
+ protoOf(StorageSettings).t5r = function (key, value) {
47
47
  // Inline function 'com.russhwolf.settings.set' call
48
- this.h5s_1.setItem(key, value);
48
+ this.p5r_1.setItem(key, value);
49
49
  };
50
- protoOf(StorageSettings).m5s = function (key) {
50
+ protoOf(StorageSettings).u5r = function (key) {
51
51
  // Inline function 'com.russhwolf.settings.get' call
52
- return this.h5s_1.getItem(key);
52
+ return this.p5r_1.getItem(key);
53
53
  };
54
- protoOf(StorageSettings).n5s = function (key, value) {
55
- var tmp0 = this.h5s_1;
54
+ protoOf(StorageSettings).v5r = function (key, value) {
55
+ var tmp0 = this.p5r_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).o5s = function (key) {
60
+ protoOf(StorageSettings).w5r = function (key) {
61
61
  // Inline function 'com.russhwolf.settings.get' call
62
- var tmp0_safe_receiver = this.h5s_1.getItem(key);
62
+ var tmp0_safe_receiver = this.p5r_1.getItem(key);
63
63
  return tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);
64
64
  };
65
65
  //region block: exports
@@ -928,6 +928,7 @@ export declare namespace com.doordeck.multiplatform.sdk.crypto {
928
928
  namespace $metadata$ {
929
929
  abstract class constructor {
930
930
  generateKeyPair(): com.doordeck.multiplatform.sdk.model.data.Crypto.KeyPair;
931
+ generateKeyPairFromBytes(publicKey: Int8Array, privateKey: Int8Array): com.doordeck.multiplatform.sdk.model.data.Crypto.KeyPair;
931
932
  isCertificateInvalidOrExpired(base64Certificate: string): boolean;
932
933
  private constructor();
933
934
  }