@doordeck/doordeck-headless-sdk 0.48.0 → 0.50.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');
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -83,13 +83,22 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
83
83
|
export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
84
84
|
interface ContextManager {
|
|
85
85
|
setAuthToken(token: string): void;
|
|
86
|
+
getAuthToken(): Nullable<string>;
|
|
86
87
|
isAuthTokenAboutToExpire(): boolean;
|
|
87
88
|
setRefreshToken(token: string): void;
|
|
89
|
+
getRefreshToken(): Nullable<string>;
|
|
88
90
|
setFusionAuthToken(token: string): void;
|
|
91
|
+
getFusionAuthToken(): Nullable<string>;
|
|
89
92
|
setUserId(userId: string): void;
|
|
93
|
+
getUserId(): Nullable<string>;
|
|
94
|
+
setUserEmail(email: string): void;
|
|
95
|
+
getUserEmail(): Nullable<string>;
|
|
90
96
|
setCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
|
|
97
|
+
getCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
|
|
91
98
|
isCertificateChainAboutToExpire(): boolean;
|
|
92
99
|
setKeyPair(publicKey: Int8Array, privateKey: Int8Array): void;
|
|
100
|
+
getKeyPair(): Nullable<com.doordeck.multiplatform.sdk.api.model.Crypto.KeyPair>;
|
|
101
|
+
isKeyPairValid(): boolean;
|
|
93
102
|
setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, publicKey: Int8Array, privateKey: Int8Array): void;
|
|
94
103
|
setOperationContextJson(data: string): void;
|
|
95
104
|
setSecureStorageImpl(secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage): void;
|
|
@@ -1163,6 +1172,8 @@ export declare namespace com.doordeck.multiplatform.sdk.storage {
|
|
|
1163
1172
|
getPrivateKey(): Nullable<Int8Array>;
|
|
1164
1173
|
addUserId(userId: string): void;
|
|
1165
1174
|
getUserId(): Nullable<string>;
|
|
1175
|
+
addUserEmail(email: string): void;
|
|
1176
|
+
getUserEmail(): Nullable<string>;
|
|
1166
1177
|
addCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
|
|
1167
1178
|
getCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
|
|
1168
1179
|
clear(): void;
|