@wix/sdk-types 1.13.0 → 1.13.1

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
@@ -6,7 +6,7 @@ type HostModule<T, H extends Host> = {
6
6
  };
7
7
  type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
8
8
  type Host<Environment = unknown> = {
9
- channel: {
9
+ channel?: {
10
10
  observeState(callback: (props: unknown, environment: Environment) => unknown): {
11
11
  disconnect: () => void;
12
12
  } | Promise<{
package/build/index.d.ts CHANGED
@@ -6,7 +6,7 @@ type HostModule<T, H extends Host> = {
6
6
  };
7
7
  type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
8
8
  type Host<Environment = unknown> = {
9
- channel: {
9
+ channel?: {
10
10
  observeState(callback: (props: unknown, environment: Environment) => unknown): {
11
11
  disconnect: () => void;
12
12
  } | Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -31,12 +31,12 @@
31
31
  "@wix/monitoring-types": "^0.1.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^20.17.10",
34
+ "@types/node": "^20.17.12",
35
35
  "eslint": "^8.57.1",
36
36
  "eslint-config-sdk": "0.0.0",
37
37
  "tsup": "^7.3.0",
38
- "type-fest": "^4.31.0",
39
- "typescript": "^5.7.2"
38
+ "type-fest": "^4.32.0",
39
+ "typescript": "^5.7.3"
40
40
  },
41
41
  "eslintConfig": {
42
42
  "extends": "sdk"
@@ -58,5 +58,5 @@
58
58
  "wallaby": {
59
59
  "autoDetect": true
60
60
  },
61
- "falconPackageHash": "d5217e053bcbd31cbd1e1df8a6961bd38ab9ab0a5d54fd9ac456c89c"
61
+ "falconPackageHash": "6cfca460db3292dd9820a45f294e2848f8029f6f2e8df8f4927420d6"
62
62
  }