@wireapp/api-client 26.10.4 → 26.10.5
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientCapabilityData } from './ClientCapabilityData';
|
|
2
2
|
import { PreKey } from '../auth/';
|
|
3
|
-
import { ClientClassification, ClientType, Location, MLSPublicKeyRecord } from './';
|
|
3
|
+
import { ClientCapability, ClientClassification, ClientType, Location, MLSPublicKeyRecord } from './';
|
|
4
4
|
type BaseUpdatePayload = ClientCapabilityData & {
|
|
5
5
|
label?: string;
|
|
6
6
|
};
|
|
@@ -15,6 +15,7 @@ type ProteusUpdatePayload = {
|
|
|
15
15
|
export type UpdateClientPayload = Partial<ProteusUpdatePayload | MLSUpdatePayload>;
|
|
16
16
|
export type CreateClientPayload = {
|
|
17
17
|
class: ClientClassification.DESKTOP | ClientClassification.PHONE | ClientClassification.TABLET;
|
|
18
|
+
capabilities?: ClientCapability[];
|
|
18
19
|
cookie: string;
|
|
19
20
|
label?: string;
|
|
20
21
|
lastkey: PreKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewClient.d.ts","sourceRoot":"","sources":["../../src/client/NewClient.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAC,oBAAoB,EAAE,UAAU,EAAE,QAAQ,EAAE,kBAAkB,EAAC,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"NewClient.d.ts","sourceRoot":"","sources":["../../src/client/NewClient.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAE,UAAU,EAA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