@doordeck/doordeck-headless-sdk 0.203.0 → 0.204.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.203.0';
924
+ this.i68_1 = '0.204.0';
925
925
  }
926
926
  var ProjectVersion_instance;
927
927
  function ProjectVersion_getInstance() {
@@ -37,6 +37,17 @@ 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
+ }
40
51
  if (typeof Math.clz32 === 'undefined') {
41
52
  Math.clz32 = function (log, LN2) {
42
53
  return function (x) {
@@ -48,16 +59,11 @@ if (typeof Math.clz32 === 'undefined') {
48
59
  };
49
60
  }(Math.log, Math.LN2);
50
61
  }
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
- };
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
+ }});
61
67
  }
62
68
  if (typeof String.prototype.endsWith === 'undefined') {
63
69
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -70,12 +76,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
70
76
  return lastIndex !== -1 && lastIndex === position;
71
77
  }});
72
78
  }
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,6 +232,11 @@
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]);
235
240
  function cancel$default_0(cause, $super) {
236
241
  cause = cause === VOID ? null : cause;
237
242
  var tmp;
@@ -244,12 +249,7 @@
244
249
  return tmp;
245
250
  }
246
251
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
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]);
252
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [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, [ReceiveChannel, SendChannel], [1, 0]);
262
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [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 ReceiveChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
86
85
  var SendChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
86
+ var ReceiveChannel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
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, [ReceiveChannel, SendChannel], [1, 0]);
130
+ initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [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.203.0",
3
+ "version": "0.204.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "types": "kotlin/doordeck-sdk.d.ts",
6
6
  "devDependencies": {