@doordeck/doordeck-headless-sdk 0.198.0 → 0.199.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.
@@ -914,7 +914,7 @@
914
914
  initMetadataForClass(TileLocksResponse, 'TileLocksResponse');
915
915
  //endregion
916
916
  function ProjectVersion() {
917
- this.p66_1 = '0.198.0';
917
+ this.p66_1 = '0.199.0';
918
918
  }
919
919
  var ProjectVersion_instance;
920
920
  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';
@@ -280,7 +280,7 @@
280
280
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
281
281
  initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
282
282
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
283
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
283
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
284
284
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
285
285
  initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
286
286
  initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.198.0",
3
+ "version": "0.199.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "types": "kotlin/doordeck-sdk.d.ts",
6
6
  "devDependencies": {