@doordeck/doordeck-headless-sdk 0.202.0 → 0.203.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.
@@ -921,7 +921,7 @@
921
921
  initMetadataForClass(TileLocksResponse, 'TileLocksResponse');
922
922
  //endregion
923
923
  function ProjectVersion() {
924
- this.i68_1 = '0.202.0';
924
+ this.i68_1 = '0.203.0';
925
925
  }
926
926
  var ProjectVersion_instance;
927
927
  function ProjectVersion_getInstance() {
@@ -37,17 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
- if (typeof Math.trunc === 'undefined') {
41
- Math.trunc = function (x) {
42
- if (isNaN(x)) {
43
- return NaN;
44
- }
45
- if (x > 0) {
46
- return Math.floor(x);
47
- }
48
- return Math.ceil(x);
49
- };
50
- }
51
40
  if (typeof Math.clz32 === 'undefined') {
52
41
  Math.clz32 = function (log, LN2) {
53
42
  return function (x) {
@@ -59,11 +48,16 @@ if (typeof Math.clz32 === 'undefined') {
59
48
  };
60
49
  }(Math.log, Math.LN2);
61
50
  }
62
- if (typeof String.prototype.startsWith === 'undefined') {
63
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
- position = position || 0;
65
- return this.lastIndexOf(searchString, position) === position;
66
- }});
51
+ if (typeof Math.trunc === 'undefined') {
52
+ Math.trunc = function (x) {
53
+ if (isNaN(x)) {
54
+ return NaN;
55
+ }
56
+ if (x > 0) {
57
+ return Math.floor(x);
58
+ }
59
+ return Math.ceil(x);
60
+ };
67
61
  }
68
62
  if (typeof String.prototype.endsWith === 'undefined') {
69
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
76
70
  return lastIndex !== -1 && lastIndex === position;
77
71
  }});
78
72
  }
73
+ if (typeof String.prototype.startsWith === 'undefined') {
74
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
75
+ position = position || 0;
76
+ return this.lastIndexOf(searchString, position) === position;
77
+ }});
78
+ }
79
79
  //endregion
80
80
  (function (_) {
81
81
  'use strict';
@@ -232,11 +232,6 @@
232
232
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
233
233
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
234
234
  initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
235
- function close$default(cause, $super) {
236
- cause = cause === VOID ? null : cause;
237
- return $super === VOID ? this.x1c(cause) : $super.x1c.call(this, cause);
238
- }
239
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
240
235
  function cancel$default_0(cause, $super) {
241
236
  cause = cause === VOID ? null : cause;
242
237
  var tmp;
@@ -249,7 +244,12 @@
249
244
  return tmp;
250
245
  }
251
246
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
252
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
247
+ function close$default(cause, $super) {
248
+ cause = cause === VOID ? null : cause;
249
+ return $super === VOID ? this.x1c(cause) : $super.x1c.call(this, cause);
250
+ }
251
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
252
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
253
253
  initMetadataForClass(WaiterEB, 'WaiterEB');
254
254
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
255
255
  initMetadataForObject(Factory, 'Factory');
@@ -259,7 +259,7 @@
259
259
  initMetadataForClass(ChannelResult, 'ChannelResult');
260
260
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
261
261
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
262
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
262
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
263
263
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
264
264
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
265
265
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
@@ -82,8 +82,8 @@
82
82
  var _ChannelResult___get_isClosed__impl__mg7kuu = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
83
83
  var close$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
84
84
  var cancel$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
85
- var SendChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
86
85
  var ReceiveChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
86
+ var SendChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
87
87
  var RuntimeException = kotlin_kotlin.$_$.gg;
88
88
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.b3;
89
89
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j1;
@@ -127,7 +127,7 @@
127
127
  initMetadataForClass(ChannelConfig, 'ChannelConfig');
128
128
  initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
129
129
  initMetadataForCompanion(Companion_4);
130
- initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
130
+ initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 0]);
131
131
  initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
132
132
  initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
133
133
  initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.202.0",
3
+ "version": "0.203.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "types": "kotlin/doordeck-sdk.d.ts",
6
6
  "devDependencies": {