@sockethub/client 5.0.0-alpha.23 → 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.
@@ -31,7 +31,7 @@ interface PlatformRegistrySchemas {
31
31
  */
32
32
  export interface PlatformRegistryEntry {
33
33
  id: string;
34
- version: string;
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
- version?: string;
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
- sockethubVersion: string;
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
- version: string;
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 sockethubVersion?;
154
+ private apiVersion?;
155
155
  private initState;
156
156
  private hasReadyOnce;
157
157
  private initCycle?;