@wix/sdk-types 1.12.7 → 1.12.8

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
@@ -250,8 +250,8 @@ type Includes<Value extends readonly any[], Item> =
250
250
  @category Utilities
251
251
  */
252
252
  type IsEqual<A, B> =
253
- (<G>() => G extends A ? 1 : 2) extends
254
- (<G>() => G extends B ? 1 : 2)
253
+ (<G>() => G extends A & G | G ? 1 : 2) extends
254
+ (<G>() => G extends B & G | G ? 1 : 2)
255
255
  ? true
256
256
  : false;
257
257
 
package/build/index.d.ts CHANGED
@@ -250,8 +250,8 @@ type Includes<Value extends readonly any[], Item> =
250
250
  @category Utilities
251
251
  */
252
252
  type IsEqual<A, B> =
253
- (<G>() => G extends A ? 1 : 2) extends
254
- (<G>() => G extends B ? 1 : 2)
253
+ (<G>() => G extends A & G | G ? 1 : 2) extends
254
+ (<G>() => G extends B & G | G ? 1 : 2)
255
255
  ? true
256
256
  : false;
257
257
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.12.7",
3
+ "version": "1.12.8",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -35,7 +35,7 @@
35
35
  "eslint": "^8.57.1",
36
36
  "eslint-config-sdk": "0.0.0",
37
37
  "tsup": "^7.3.0",
38
- "type-fest": "^4.30.1",
38
+ "type-fest": "^4.31.0",
39
39
  "typescript": "^5.7.2"
40
40
  },
41
41
  "eslintConfig": {
@@ -58,5 +58,5 @@
58
58
  "wallaby": {
59
59
  "autoDetect": true
60
60
  },
61
- "falconPackageHash": "1d5ea1e3d90533d784cc16e97f4952a1e08c8b337bc5f52a20104589"
61
+ "falconPackageHash": "63b5f65cadbdc43d77cb40e3bcfb19670a4185b479de5316ea38bf58"
62
62
  }