@doordeck/doordeck-headless-sdk 0.148.0 → 0.150.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,43 +1,41 @@
1
- (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
1
+ (function (_, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.lb;
5
- var initMetadataForClass = kotlin_kotlin.$_$.la;
6
4
  var LockFreeLinkedListNode = kotlin_io_ktor_ktor_utils.$_$.g;
7
5
  var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
8
- var VOID = kotlin_kotlin.$_$.h;
6
+ var initMetadataForClass = kotlin_kotlin.$_$.za;
7
+ var VOID = kotlin_kotlin.$_$.b;
9
8
  var CopyOnWriteHashMap = kotlin_io_ktor_ktor_utils.$_$.e;
10
- var THROW_CCE = kotlin_kotlin.$_$.ff;
11
- var equals = kotlin_kotlin.$_$.ea;
12
- var addSuppressed = kotlin_kotlin.$_$.sf;
13
- var Unit_instance = kotlin_kotlin.$_$.f5;
9
+ var THROW_CCE = kotlin_kotlin.$_$.yf;
10
+ var equals = kotlin_kotlin.$_$.sa;
11
+ var addSuppressed = kotlin_kotlin.$_$.lg;
12
+ var Unit_instance = kotlin_kotlin.$_$.z4;
13
+ var protoOf = kotlin_kotlin.$_$.zb;
14
14
  //endregion
15
15
  //region block: pre-declaration
16
- initMetadataForClass(EventDefinition, 'EventDefinition', EventDefinition);
17
16
  initMetadataForClass(HandlerRegistration, 'HandlerRegistration', VOID, LockFreeLinkedListNode, [LockFreeLinkedListNode, DisposableHandle]);
18
17
  initMetadataForClass(Events, 'Events', Events);
18
+ initMetadataForClass(EventDefinition, 'EventDefinition', EventDefinition);
19
19
  //endregion
20
- function EventDefinition() {
21
- }
22
20
  function HandlerRegistration() {
23
21
  }
24
22
  function Events() {
25
- this.g3h_1 = new CopyOnWriteHashMap();
23
+ this.t2q_1 = new CopyOnWriteHashMap();
26
24
  }
27
- protoOf(Events).h3h = function (definition, value) {
25
+ protoOf(Events).u2q = function (definition, value) {
28
26
  var exception = null;
29
- var tmp0_safe_receiver = this.g3h_1.k2q(definition);
27
+ var tmp0_safe_receiver = this.t2q_1.v2m(definition);
30
28
  if (tmp0_safe_receiver == null)
31
29
  null;
32
30
  else {
33
31
  // Inline function 'io.ktor.util.internal.LockFreeLinkedListHead.forEach' call
34
- var tmp = tmp0_safe_receiver.j14();
32
+ var tmp = tmp0_safe_receiver.a17();
35
33
  var cur = tmp instanceof LockFreeLinkedListNode ? tmp : THROW_CCE();
36
34
  while (!equals(cur, tmp0_safe_receiver)) {
37
35
  if (cur instanceof HandlerRegistration) {
38
36
  var registration = cur;
39
37
  try {
40
- var tmp_0 = registration.j3h_1;
38
+ var tmp_0 = registration.w2q_1;
41
39
  (typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
42
40
  } catch ($p) {
43
41
  if ($p instanceof Error) {
@@ -59,7 +57,7 @@
59
57
  }
60
58
  }
61
59
  }
62
- cur = cur.j2r();
60
+ cur = cur.t2n();
63
61
  }
64
62
  }
65
63
  var tmp1_safe_receiver = exception;
@@ -70,10 +68,12 @@
70
68
  throw tmp1_safe_receiver;
71
69
  }
72
70
  };
71
+ function EventDefinition() {
72
+ }
73
73
  //region block: exports
74
74
  _.$_$ = _.$_$ || {};
75
75
  _.$_$.a = EventDefinition;
76
76
  _.$_$.b = Events;
77
77
  //endregion
78
78
  return _;
79
- }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-utils.js'), require('./kotlinx-coroutines-core.js')));
79
+ }(module.exports, require('./ktor-ktor-utils.js'), require('./kotlinx-coroutines-core.js'), require('./kotlin-kotlin-stdlib.js')));