@doordeck/doordeck-headless-sdk 0.83.0 → 0.85.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 +1 -1
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2245 -1392
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +17 -17
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/doordeck-sdk.d.ts +27 -5
- package/kotlin/doordeck-sdk.js +8308 -8036
- package/kotlin/kotlin-kotlin-stdlib.js +392 -372
- package/kotlin/kotlinx-atomicfu.js +6 -6
- package/kotlin/kotlinx-coroutines-core.js +75 -75
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +17 -17
- package/kotlin/kotlinx-io-kotlinx-io-core.js +24 -24
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +303 -287
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +159 -159
- package/kotlin/ktor-ktor-client-ktor-client-core.js +79 -79
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +22 -22
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +27 -27
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +49 -49
- package/kotlin/ktor-ktor-http.js +101 -101
- package/kotlin/ktor-ktor-io.js +52 -52
- package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +1 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +35 -35
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +15 -15
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +17 -17
- package/kotlin/ktor-ktor-utils.js +92 -92
- package/package.json +1 -1
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var _sodium_init = $module$libsodium_sumo_a6nla1._sodium_init;
|
|
6
6
|
var ready = $module$libsodium_sumo_a6nla1.ready;
|
|
7
|
-
var UByteArray__toString_impl_ukpl97 = kotlin_kotlin.$_$.
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var UByteArray__hashCode_impl_ip8jx2 = kotlin_kotlin.$_$.
|
|
10
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
11
|
-
var equals = kotlin_kotlin.$_$.
|
|
12
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
13
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
14
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
15
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
16
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
7
|
+
var UByteArray__toString_impl_ukpl97 = kotlin_kotlin.$_$.p3;
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
9
|
+
var UByteArray__hashCode_impl_ip8jx2 = kotlin_kotlin.$_$.l3;
|
|
10
|
+
var THROW_CCE = kotlin_kotlin.$_$.of;
|
|
11
|
+
var equals = kotlin_kotlin.$_$.ka;
|
|
12
|
+
var initMetadataForClass = kotlin_kotlin.$_$.sa;
|
|
13
|
+
var RuntimeException = kotlin_kotlin.$_$.nf;
|
|
14
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.j2;
|
|
15
|
+
var captureStack = kotlin_kotlin.$_$.ca;
|
|
16
|
+
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
17
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ya;
|
|
18
18
|
var VOID = kotlin_kotlin.$_$.h;
|
|
19
|
-
var _UByteArray___get_storage__impl__d4kctt = kotlin_kotlin.$_$.
|
|
20
|
-
var toTypedArray = kotlin_kotlin.$_$.
|
|
21
|
-
var println = kotlin_kotlin.$_$.
|
|
22
|
-
var _UByteArray___init__impl__ip4y9n = kotlin_kotlin.$_$.
|
|
23
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
24
|
-
var UByteArray__set_impl_jvcicn = kotlin_kotlin.$_$.
|
|
19
|
+
var _UByteArray___get_storage__impl__d4kctt = kotlin_kotlin.$_$.o3;
|
|
20
|
+
var toTypedArray = kotlin_kotlin.$_$.z8;
|
|
21
|
+
var println = kotlin_kotlin.$_$.x9;
|
|
22
|
+
var _UByteArray___init__impl__ip4y9n = kotlin_kotlin.$_$.j3;
|
|
23
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.f3;
|
|
24
|
+
var UByteArray__set_impl_jvcicn = kotlin_kotlin.$_$.m3;
|
|
25
25
|
//endregion
|
|
26
26
|
//region block: pre-declaration
|
|
27
27
|
initMetadataForClass(SignatureKeyPair, 'SignatureKeyPair');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.h;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
7
|
+
var initMetadataForClass = kotlin_kotlin.$_$.sa;
|
|
8
8
|
//endregion
|
|
9
9
|
//region block: pre-declaration
|
|
10
10
|
initMetadataForClass(StorageSettings, 'StorageSettings', StorageSettings);
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
tmp = delegate;
|
|
19
19
|
}
|
|
20
20
|
delegate = tmp;
|
|
21
|
-
this.
|
|
21
|
+
this.d5n_1 = delegate;
|
|
22
22
|
}
|
|
23
23
|
protoOf(StorageSettings).e2 = function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.d5n_1.clear();
|
|
25
25
|
};
|
|
26
|
-
protoOf(StorageSettings).
|
|
26
|
+
protoOf(StorageSettings).e5n = function (key, value) {
|
|
27
27
|
// Inline function 'com.russhwolf.settings.set' call
|
|
28
|
-
this.
|
|
28
|
+
this.d5n_1.setItem(key, value);
|
|
29
29
|
};
|
|
30
|
-
protoOf(StorageSettings).
|
|
30
|
+
protoOf(StorageSettings).f5n = function (key) {
|
|
31
31
|
// Inline function 'com.russhwolf.settings.get' call
|
|
32
|
-
return this.
|
|
32
|
+
return this.d5n_1.getItem(key);
|
|
33
33
|
};
|
|
34
34
|
//region block: exports
|
|
35
35
|
_.$_$ = _.$_$ || {};
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -33,12 +33,13 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
33
33
|
}
|
|
34
34
|
export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
35
35
|
class SdkConfig {
|
|
36
|
-
constructor(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment> | undefined, cloudAuthToken: Nullable<string> | undefined, cloudRefreshToken: Nullable<string> | undefined, secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage);
|
|
36
|
+
constructor(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment> | undefined, cloudAuthToken: Nullable<string> | undefined, cloudRefreshToken: Nullable<string> | undefined, fusionHost: Nullable<string>, secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage);
|
|
37
37
|
get apiEnvironment(): Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
|
|
38
38
|
get cloudAuthToken(): Nullable<string>;
|
|
39
39
|
get cloudRefreshToken(): Nullable<string>;
|
|
40
|
+
get fusionHost(): Nullable<string>;
|
|
40
41
|
get secureStorage(): com.doordeck.multiplatform.sdk.storage.SecureStorage;
|
|
41
|
-
copy(apiEnvironment?: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>, cloudAuthToken?: Nullable<string>, cloudRefreshToken?: Nullable<string>, secureStorage?: com.doordeck.multiplatform.sdk.storage.SecureStorage): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
42
|
+
copy(apiEnvironment?: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>, cloudAuthToken?: Nullable<string>, cloudRefreshToken?: Nullable<string>, fusionHost?: Nullable<string>, secureStorage?: com.doordeck.multiplatform.sdk.storage.SecureStorage): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
42
43
|
toString(): string;
|
|
43
44
|
hashCode(): number;
|
|
44
45
|
equals(other: Nullable<any>): boolean;
|
|
@@ -49,6 +50,7 @@ export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
|
49
50
|
setApiEnvironment(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
50
51
|
setCloudAuthToken(cloudAuthToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
51
52
|
setCloudRefreshToken(cloudRefreshToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
53
|
+
setFusionHost(fusionHost: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
52
54
|
setSecureStorageOverride(secureStorage: Nullable<com.doordeck.multiplatform.sdk.storage.SecureStorage>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
53
55
|
build(): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
54
56
|
}
|
|
@@ -63,6 +65,8 @@ export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
|
63
65
|
isCloudAuthTokenAboutToExpire(): boolean;
|
|
64
66
|
setCloudRefreshToken(token: string): void;
|
|
65
67
|
getCloudRefreshToken(): Nullable<string>;
|
|
68
|
+
setFusionHost(host: string): void;
|
|
69
|
+
getFusionHost(): string;
|
|
66
70
|
setFusionAuthToken(token: string): void;
|
|
67
71
|
getFusionAuthToken(): Nullable<string>;
|
|
68
72
|
setUserId(userId: string): void;
|
|
@@ -309,7 +313,6 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
309
313
|
get name(): "DEV" | "STAGING" | "PROD";
|
|
310
314
|
get ordinal(): 0 | 1 | 2;
|
|
311
315
|
get cloudHost(): string;
|
|
312
|
-
get fusionHost(): string;
|
|
313
316
|
static values(): Array<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
|
|
314
317
|
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment;
|
|
315
318
|
}
|
|
@@ -419,6 +422,21 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
419
422
|
static get Companion(): {
|
|
420
423
|
};
|
|
421
424
|
}
|
|
425
|
+
class CCureController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
|
|
426
|
+
constructor(baseUrl: string, username: string, password: string, doorType: string, doorId: number);
|
|
427
|
+
get baseUrl(): string;
|
|
428
|
+
get username(): string;
|
|
429
|
+
get password(): string;
|
|
430
|
+
get doorType(): string;
|
|
431
|
+
get doorId(): number;
|
|
432
|
+
copy(baseUrl?: string, username?: string, password?: string, doorType?: string, doorId?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.CCureController;
|
|
433
|
+
toString(): string;
|
|
434
|
+
hashCode(): number;
|
|
435
|
+
equals(other: Nullable<any>): boolean;
|
|
436
|
+
readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
|
|
437
|
+
static get Companion(): {
|
|
438
|
+
};
|
|
439
|
+
}
|
|
422
440
|
class DemoController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
|
|
423
441
|
constructor(port?: number);
|
|
424
442
|
get port(): number;
|
|
@@ -486,11 +504,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
486
504
|
};
|
|
487
505
|
}
|
|
488
506
|
class PaxtonNet2Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
|
|
489
|
-
constructor(host: string, address: string, output: number);
|
|
507
|
+
constructor(host: string, username: string, password: string, address: string, output: number);
|
|
490
508
|
get host(): string;
|
|
509
|
+
get username(): string;
|
|
510
|
+
get password(): string;
|
|
491
511
|
get address(): string;
|
|
492
512
|
get output(): number;
|
|
493
|
-
copy(host?: string, address?: string, output?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.PaxtonNet2Controller;
|
|
513
|
+
copy(host?: string, username?: string, password?: string, address?: string, output?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.PaxtonNet2Controller;
|
|
494
514
|
toString(): string;
|
|
495
515
|
hashCode(): number;
|
|
496
516
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1719,6 +1739,8 @@ export declare namespace com.doordeck.multiplatform.sdk.storage {
|
|
|
1719
1739
|
getCloudAuthToken(): Nullable<string>;
|
|
1720
1740
|
addCloudRefreshToken(token: string): void;
|
|
1721
1741
|
getCloudRefreshToken(): Nullable<string>;
|
|
1742
|
+
setFusionHost(host: string): void;
|
|
1743
|
+
getFusionHost(): Nullable<string>;
|
|
1722
1744
|
addFusionAuthToken(token: string): void;
|
|
1723
1745
|
getFusionAuthToken(): Nullable<string>;
|
|
1724
1746
|
addPublicKey(byteArray: Int8Array): void;
|