@doordeck/doordeck-headless-sdk 0.47.0 → 0.49.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
|
@@ -9,7 +9,7 @@ We are publishing the packages to multiple repositories:
|
|
|
9
9
|
| Multiplatform, Android, JVM | [Maven central](https://central.sonatype.com/namespace/com.doordeck.headless.sdk) |
|
|
10
10
|
| iOS, macOS | [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
|
-
| Windows |
|
|
12
|
+
| Windows | [NuGet](https://www.nuget.org/packages/doordeck_headless_sdk) |
|
|
13
13
|
|
|
14
14
|
## Supported platforms
|
|
15
15
|
The SDK supports a range of targets for different platforms:
|
|
@@ -27,4 +27,4 @@ The SDK supports a range of targets for different platforms:
|
|
|
27
27
|
To start using the Doordeck Headless SDK, refer to the [documentation index](https://github.com/doordeck/doordeck-headless-sdk/blob/main/docs/01_INDEX.md#index) for detailed setup and usage instructions tailored to your platform.
|
|
28
28
|
|
|
29
29
|
## Samples
|
|
30
|
-
We provide samples for different targets, where you can see how the SDK can be used in fully functional projects. For more information, please see the [samples page](docs/15_SAMPLES.md).
|
|
30
|
+
We provide samples for different targets, where you can see how the SDK can be used in fully functional projects. For more information, please see the [samples page](https://github.com/doordeck/doordeck-headless-sdk/blob/main/docs/15_SAMPLES.md).
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
function addFormatStructureForTime(structure) {
|
|
282
282
|
this.u4v(structure);
|
|
283
283
|
}
|
|
284
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
284
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
285
285
|
function offsetHours$default(padding, $super) {
|
|
286
286
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
287
287
|
var tmp;
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
return tmp;
|
|
335
335
|
}
|
|
336
336
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
337
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime,
|
|
337
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
|
|
338
338
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
339
339
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
340
340
|
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';
|
|
@@ -193,6 +193,11 @@
|
|
|
193
193
|
initMetadataForCoroutine($hasNextCOROUTINE$6, CoroutineImpl);
|
|
194
194
|
initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
195
195
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
196
|
+
function close$default(cause, $super) {
|
|
197
|
+
cause = cause === VOID ? null : cause;
|
|
198
|
+
return $super === VOID ? this.i13(cause) : $super.i13.call(this, cause);
|
|
199
|
+
}
|
|
200
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
196
201
|
function cancel$default_0(cause, $super) {
|
|
197
202
|
cause = cause === VOID ? null : cause;
|
|
198
203
|
var tmp;
|
|
@@ -205,12 +210,7 @@
|
|
|
205
210
|
return tmp;
|
|
206
211
|
}
|
|
207
212
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
208
|
-
|
|
209
|
-
cause = cause === VOID ? null : cause;
|
|
210
|
-
return $super === VOID ? this.i13(cause) : $super.i13.call(this, cause);
|
|
211
|
-
}
|
|
212
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
213
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
213
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
214
214
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
215
215
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
216
216
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$19, CoroutineImpl);
|
|
243
243
|
initMetadataForCoroutine($completeCOROUTINE$20, CoroutineImpl);
|
|
244
244
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$21, CoroutineImpl);
|
|
245
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
245
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
246
246
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
247
247
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
|
|
248
248
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doordeck/doordeck-headless-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"main": "kotlin/doordeck-sdk.js",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"typescript": "5.5.4",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"peerDependencies": {},
|
|
23
23
|
"optionalDependencies": {},
|
|
24
24
|
"bundledDependencies": [],
|
|
25
|
-
"homepage": "https://www.doordeck.com
|
|
25
|
+
"homepage": "https://www.doordeck.com",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"author": {
|
|
28
28
|
"name": "Doordeck Limited"
|