@doordeck/doordeck-headless-sdk 0.80.0 → 0.82.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.
@@ -48,6 +48,12 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
+ if (typeof String.prototype.startsWith === 'undefined') {
52
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
53
+ position = position || 0;
54
+ return this.lastIndexOf(searchString, position) === position;
55
+ }});
56
+ }
51
57
  if (typeof String.prototype.endsWith === 'undefined') {
52
58
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
53
59
  var subjectString = this.toString();
@@ -59,12 +65,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
59
65
  return lastIndex !== -1 && lastIndex === position;
60
66
  }});
61
67
  }
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
- }});
67
- }
68
68
  //endregion
69
69
  (function (_) {
70
70
  'use strict';
@@ -198,6 +198,11 @@
198
198
  initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
199
199
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
200
200
  initMetadataForCoroutine($sendCOROUTINE$3, CoroutineImpl);
201
+ function close$default(cause, $super) {
202
+ cause = cause === VOID ? null : cause;
203
+ return $super === VOID ? this.a15(cause) : $super.a15.call(this, cause);
204
+ }
205
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
201
206
  function cancel$default_0(cause, $super) {
202
207
  cause = cause === VOID ? null : cause;
203
208
  var tmp;
@@ -210,12 +215,7 @@
210
215
  return tmp;
211
216
  }
212
217
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
213
- function close$default(cause, $super) {
214
- cause = cause === VOID ? null : cause;
215
- return $super === VOID ? this.a15(cause) : $super.a15.call(this, cause);
216
- }
217
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
218
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
218
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
219
219
  initMetadataForClass(WaiterEB, 'WaiterEB');
220
220
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
221
221
  initMetadataForObject(Factory, 'Factory');
@@ -225,7 +225,7 @@
225
225
  initMetadataForClass(ChannelResult, 'ChannelResult');
226
226
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
227
227
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
228
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
228
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
229
229
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
230
230
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
231
231
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.80.0",
3
+ "version": "0.82.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "typescript": "5.5.4",