@sockethub/client 5.0.0-alpha.24 → 5.0.0-alpha.25
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 +3 -3
- package/dist/sockethub-client.browser.js +200 -142
- package/dist/sockethub-client.d.ts +5 -5
- package/dist/sockethub-client.js +204 -159
- package/dist/sockethub-client.min.js +25 -25
- package/package.json +3 -3
|
@@ -31,7 +31,7 @@ interface PlatformRegistrySchemas {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface PlatformRegistryEntry {
|
|
33
33
|
id: string;
|
|
34
|
-
|
|
34
|
+
apiVersion: number;
|
|
35
35
|
contextUrl: string;
|
|
36
36
|
contextVersion: string;
|
|
37
37
|
schemaVersion: string;
|
|
@@ -39,7 +39,7 @@ export interface PlatformRegistryEntry {
|
|
|
39
39
|
schemas: PlatformRegistrySchemas;
|
|
40
40
|
}
|
|
41
41
|
export interface PlatformRegistryPayload {
|
|
42
|
-
|
|
42
|
+
apiVersion?: number;
|
|
43
43
|
fingerprint?: string;
|
|
44
44
|
unchanged?: boolean;
|
|
45
45
|
contexts?: {
|
|
@@ -51,14 +51,14 @@ export interface PlatformRegistryPayload {
|
|
|
51
51
|
export interface ClientReadyInfo {
|
|
52
52
|
state: "ready";
|
|
53
53
|
reason: ReadyReason;
|
|
54
|
-
|
|
54
|
+
apiVersion: number;
|
|
55
55
|
contexts: {
|
|
56
56
|
as: string;
|
|
57
57
|
sockethub: string;
|
|
58
58
|
};
|
|
59
59
|
platforms: Array<{
|
|
60
60
|
id: string;
|
|
61
|
-
|
|
61
|
+
apiVersion: number;
|
|
62
62
|
contextUrl: string;
|
|
63
63
|
contextVersion: string;
|
|
64
64
|
schemaVersion: string;
|
|
@@ -151,7 +151,7 @@ export default class SockethubClient {
|
|
|
151
151
|
private platformRegistry;
|
|
152
152
|
private asContextUrl?;
|
|
153
153
|
private sockethubContextUrl?;
|
|
154
|
-
private
|
|
154
|
+
private apiVersion?;
|
|
155
155
|
private initState;
|
|
156
156
|
private hasReadyOnce;
|
|
157
157
|
private initCycle?;
|