@wix/sdk-types 1.12.5 → 1.12.7

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
@@ -1,3 +1,5 @@
1
+ import { MonitoringClient } from '@wix/monitoring-types';
2
+
1
3
  type HostModule<T, H extends Host> = {
2
4
  __type: 'host';
3
5
  create(host: H): T;
@@ -20,6 +22,10 @@ type Host<Environment = unknown> = {
20
22
  * Optional bast url to use for API requests, for example `www.wixapis.com`
21
23
  */
22
24
  apiBaseUrl?: string;
25
+ /**
26
+ * Optional function to get a monitoring client
27
+ */
28
+ getMonitoringClient?: () => MonitoringClient;
23
29
  /**
24
30
  * Possible data to be provided by every host, for cross cutting concerns
25
31
  * like internationalization, billing, etc.
package/build/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { MonitoringClient } from '@wix/monitoring-types';
2
+
1
3
  type HostModule<T, H extends Host> = {
2
4
  __type: 'host';
3
5
  create(host: H): T;
@@ -20,6 +22,10 @@ type Host<Environment = unknown> = {
20
22
  * Optional bast url to use for API requests, for example `www.wixapis.com`
21
23
  */
22
24
  apiBaseUrl?: string;
25
+ /**
26
+ * Optional function to get a monitoring client
27
+ */
28
+ getMonitoringClient?: () => MonitoringClient;
23
29
  /**
24
30
  * Possible data to be provided by every host, for cross cutting concerns
25
31
  * like internationalization, billing, etc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.12.5",
3
+ "version": "1.12.7",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -27,17 +27,17 @@
27
27
  "lint-staged": {
28
28
  "*.{js,ts}": "yarn lint"
29
29
  },
30
+ "dependencies": {
31
+ "@wix/monitoring-types": "^0.1.0"
32
+ },
30
33
  "devDependencies": {
31
- "@types/node": "^20.17.9",
34
+ "@types/node": "^20.17.10",
32
35
  "eslint": "^8.57.1",
33
36
  "eslint-config-sdk": "0.0.0",
34
37
  "tsup": "^7.3.0",
35
- "type-fest": "^4.29.0",
38
+ "type-fest": "^4.30.1",
36
39
  "typescript": "^5.7.2"
37
40
  },
38
- "yoshiFlowLibrary": {
39
- "buildEsmWithBabel": true
40
- },
41
41
  "eslintConfig": {
42
42
  "extends": "sdk"
43
43
  },
@@ -58,5 +58,5 @@
58
58
  "wallaby": {
59
59
  "autoDetect": true
60
60
  },
61
- "falconPackageHash": "0d2624979aa91d2fdf561413936058ec3500f8622d610fd50c7cc8da"
61
+ "falconPackageHash": "1d5ea1e3d90533d784cc16e97f4952a1e08c8b337bc5f52a20104589"
62
62
  }