@q9labsai/facehash 4.1.16 → 5.0.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.
@@ -1,4 +1,4 @@
1
1
  export type { FacehashNativeProps } from "./FacehashNative.js";
2
2
  export { FacehashNative } from "./FacehashNative.js";
3
3
  export type { CreateFacehashSceneOptions, EyeAnchor, FaceGeometry, FacehashBlinkTiming, FacehashBlinkTimings, FacehashData, FacehashPose, FacehashProjection, FacehashScene, FaceType, Intensity3D, Variant } from "./core/index.js";
4
- export { DEFAULT_COLORS, FACE_GEOMETRIES, computeFacehash, createFacehashScene, getColor } from "./core/index.js";
4
+ export { DEFAULT_COLORS, FACE_GEOMETRIES, computeFacehash, createFacehashScene, getColor, getForegroundColor } from "./core/index.js";
@@ -137,5 +137,6 @@ export {
137
137
  FacehashNative,
138
138
  computeFacehash,
139
139
  createFacehashScene,
140
- getColor
140
+ getColor,
141
+ getForegroundColor
141
142
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q9labsai/facehash",
3
- "version": "4.1.16",
3
+ "version": "5.0.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,7 +79,7 @@
79
79
  "dev": "tsup ./src/index.ts ./src/react.ts ./src/index.native.ts --format esm --out-dir ./dist --platform browser --external react --external react-dom --external react-native --external react-native-svg --watch",
80
80
  "test": "pnpm run test:declarations",
81
81
  "test:declarations": "node --test scripts/rewrite-declaration-specifiers.node.mjs",
82
- "check-types": "tsc --noEmit",
82
+ "check-types": "tsc-rs --noEmit",
83
83
  "lint": "pnpm exec oxfmt --check . && tsc --noEmit"
84
84
  }
85
85
  }