glitch-javascript-sdk 0.3.9 → 0.4.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.
@@ -8,6 +8,7 @@ declare class Config {
8
8
  private static _baseUrl;
9
9
  private static _authToken;
10
10
  private static _community;
11
+ private static _rootDomain;
11
12
  private static _baseUrlLocked;
12
13
  /**
13
14
  * Set the configuration
@@ -35,6 +36,14 @@ declare class Config {
35
36
  * @param community The object of the community
36
37
  */
37
38
  static setCommunity(community: Record<string, any>): void;
39
+ /**
40
+ * Sets the root level domain so data can accessed across
41
+ * multiple subdomains
42
+ *
43
+ * @param domain The domain ie: example.com
44
+ */
45
+ static setRootDomain(domain: string): void;
46
+ static getRootDomain(): string;
38
47
  /**
39
48
  * Gets base url
40
49
  */