@doordeck/doordeck-headless-sdk 0.107.0 → 0.109.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.
Files changed (26) hide show
  1. package/README.md +2 -2
  2. package/kotlin/Kermit-kermit-core.js +44 -44
  3. package/kotlin/Kermit-kermit.js +4 -4
  4. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1393 -1393
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +10 -10
  6. package/kotlin/doordeck-sdk.js +9596 -9786
  7. package/kotlin/kotlin-kotlin-stdlib.js +6 -6
  8. package/kotlin/kotlinx-coroutines-core.js +855 -844
  9. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
  10. package/kotlin/kotlinx-io-kotlinx-io-core.js +630 -428
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1738 -1742
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1399 -1399
  13. package/kotlin/ktor-ktor-client-ktor-client-core.js +1895 -1895
  14. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +245 -241
  15. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +135 -135
  16. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +658 -658
  17. package/kotlin/ktor-ktor-http-ktor-http-cio.js +329 -329
  18. package/kotlin/ktor-ktor-http.js +677 -677
  19. package/kotlin/ktor-ktor-io.js +976 -888
  20. package/kotlin/ktor-ktor-shared-ktor-events.js +5 -5
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
  22. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +133 -133
  23. package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
  24. package/kotlin/ktor-ktor-shared-ktor-websockets.js +38 -38
  25. package/kotlin/ktor-ktor-utils.js +644 -644
  26. package/package.json +1 -1
@@ -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';