@wix/sdk-types 1.9.3 → 1.10.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/build/index.d.mts CHANGED
@@ -16,6 +16,14 @@ type Host<Environment = unknown> = {
16
16
  * Optional bast url to use for API requests, for example `www.wixapis.com`
17
17
  */
18
18
  apiBaseUrl?: string;
19
+ /**
20
+ * Possible data to be provided by every host, for cross cutting concerns
21
+ * like internationalization, billing, etc.
22
+ */
23
+ essentials?: {
24
+ language?: string;
25
+ locale?: string;
26
+ };
19
27
  };
20
28
 
21
29
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
package/build/index.d.ts CHANGED
@@ -16,6 +16,14 @@ type Host<Environment = unknown> = {
16
16
  * Optional bast url to use for API requests, for example `www.wixapis.com`
17
17
  */
18
18
  apiBaseUrl?: string;
19
+ /**
20
+ * Possible data to be provided by every host, for cross cutting concerns
21
+ * like internationalization, billing, etc.
22
+ */
23
+ essentials?: {
24
+ language?: string;
25
+ locale?: string;
26
+ };
19
27
  };
20
28
 
21
29
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.9.3",
3
+ "version": "1.10.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -58,5 +58,5 @@
58
58
  "wallaby": {
59
59
  "autoDetect": true
60
60
  },
61
- "falconPackageHash": "037724abaa77c16479505ad19a179b0dcda4784bc935776ecae8304f"
61
+ "falconPackageHash": "e6cc451461c597b46119d4e2f907a40ddd00fda884e5b191e0af9d1b"
62
62
  }