@doordeck/doordeck-headless-sdk 0.118.0 → 0.119.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.
package/README.md CHANGED
@@ -7,21 +7,22 @@ We are publishing the packages to multiple repositories:
7
7
  | Platform | Repository |
8
8
  |:---------------------------:|------------------------------------------------------------------------------------------------------------------------|
9
9
  | Multiplatform, Android, JVM | [Maven central](https://central.sonatype.com/namespace/com.doordeck.headless.sdk) |
10
- | iOS, macOS | [Cocoapods](https://cocoapods.org/pods/DoordeckSDK), [SPM](https://github.com/doordeck/doordeck-headless-sdk-spm) |
10
+ | iOS, macOS, watchOS | [Cocoapods](https://cocoapods.org/pods/DoordeckSDK), [SPM](https://github.com/doordeck/doordeck-headless-sdk-spm) |
11
11
  | JS | [NPM](https://www.npmjs.com/package/@doordeck/doordeck-headless-sdk) |
12
12
  | Windows | [NuGet](https://www.nuget.org/packages/Doordeck.Headless.Sdk), [PyPi](https://pypi.org/project/doordeck-headless-sdk/) |
13
13
 
14
14
  ## Supported platforms
15
15
  The SDK supports a range of targets for different platforms:
16
16
 
17
- | Platform | Target | Language |
18
- |:--------:|-------------------------------------------|-------------------|
19
- | Android | `android` | `Java`, `Kotlin` |
20
- | JVM | `jvm` | `Java`, `Kotlin` |
21
- | iOS | `iosX64`, `iosArm64`, `iosSimulatorArm64` | `Swift` |
22
- | macOS | `macosArm64` | `Swift` |
23
- | JS | `jsNode`, `jsBrowser` | `JavaScript` |
24
- | Windows | `mingwX64` | `C#`, `Python` |
17
+ | Platform | Target | Language |
18
+ |:--------:|-------------------------------------------------------|----------------------------|
19
+ | Android | `android` | `Java`, `Kotlin` |
20
+ | JVM | `jvm` | `Java`, `Kotlin` |
21
+ | iOS | `iosX64`, `iosArm64`, `iosSimulatorArm64` | `Swift`, `Objective-C` |
22
+ | macOS | `macosArm64` | `Swift`, `Objective-C` |
23
+ | watchOS | `watchosX64`, `watchosArm64`, `watchosSimulatorArm64` | `Swift`, `Objective-C` |
24
+ | JS | `jsNode`, `jsBrowser` | `JavaScript`, `TypeScript` |
25
+ | Windows | `mingwX64` | `C#`, `Python` |
25
26
 
26
27
  ## Getting started
27
28
  To start using the Doordeck Headless SDK, refer to the [documentation index](https://developer.doordeck.com/docs/category/kotlin-multiplatform-sdk) for detailed setup and usage instructions tailored to your platform.
@@ -365,7 +365,7 @@
365
365
  return tmp;
366
366
  }
367
367
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
368
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
368
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithUtcOffset, WithTime]);
369
369
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
370
370
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
371
371
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -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';
@@ -206,6 +206,11 @@
206
206
  initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
207
207
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
208
208
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
209
+ function close$default(cause, $super) {
210
+ cause = cause === VOID ? null : cause;
211
+ return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
212
+ }
213
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
209
214
  function cancel$default_0(cause, $super) {
210
215
  cause = cause === VOID ? null : cause;
211
216
  var tmp;
@@ -218,12 +223,7 @@
218
223
  return tmp;
219
224
  }
220
225
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
221
- function close$default(cause, $super) {
222
- cause = cause === VOID ? null : cause;
223
- return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
224
- }
225
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
226
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
226
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
227
227
  initMetadataForClass(WaiterEB, 'WaiterEB');
228
228
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
229
229
  initMetadataForObject(Factory, 'Factory');
@@ -233,7 +233,7 @@
233
233
  initMetadataForClass(ChannelResult, 'ChannelResult');
234
234
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
235
235
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
236
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
236
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
237
237
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
238
238
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
239
239
  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.118.0",
3
+ "version": "0.119.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "webpack": "5.94.0",