solfaces 2.1.2 → 2.3.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.
Files changed (72) hide show
  1. package/README.md +61 -35
  2. package/SKILL.md +4 -5
  3. package/dist/agent/index.cjs +14 -15
  4. package/dist/agent/index.js +4 -5
  5. package/dist/agent/mcp-server.cjs +333 -339
  6. package/dist/{chunk-5DT27HMT.js → chunk-2KW35VRI.js} +3 -3
  7. package/dist/{chunk-5DT27HMT.js.map → chunk-2KW35VRI.js.map} +1 -1
  8. package/dist/{chunk-4YFZ4W2Y.cjs → chunk-BI3GHRKQ.cjs} +22 -23
  9. package/dist/chunk-BI3GHRKQ.cjs.map +1 -0
  10. package/dist/{chunk-DRUSCLEF.js → chunk-MYUSB4LA.js} +28 -8
  11. package/dist/chunk-MYUSB4LA.js.map +1 -0
  12. package/dist/{chunk-3CE7Q44S.js → chunk-N5GDLCCL.js} +324 -110
  13. package/dist/chunk-N5GDLCCL.js.map +1 -0
  14. package/dist/{chunk-66PSL4YO.js → chunk-O2IIBSQH.js} +9 -10
  15. package/dist/chunk-O2IIBSQH.js.map +1 -0
  16. package/dist/{chunk-6QRDULAO.cjs → chunk-PCSRDAWQ.cjs} +28 -7
  17. package/dist/chunk-PCSRDAWQ.cjs.map +1 -0
  18. package/dist/{chunk-WIXGHS77.cjs → chunk-T7HEUW2O.cjs} +6 -6
  19. package/dist/{chunk-WIXGHS77.cjs.map → chunk-T7HEUW2O.cjs.map} +1 -1
  20. package/dist/{chunk-N5DDJ3WQ.js → chunk-UTT764K6.js} +10 -9
  21. package/dist/{chunk-N5DDJ3WQ.js.map → chunk-UTT764K6.js.map} +1 -1
  22. package/dist/{chunk-F54WHRCE.cjs → chunk-W2U6ITMR.cjs} +328 -110
  23. package/dist/chunk-W2U6ITMR.cjs.map +1 -0
  24. package/dist/{chunk-XXJJH56O.cjs → chunk-YGD7EQEX.cjs} +10 -9
  25. package/dist/{chunk-XXJJH56O.cjs.map → chunk-YGD7EQEX.cjs.map} +1 -1
  26. package/dist/core/index.cjs +43 -44
  27. package/dist/core/index.d.cts +39 -5
  28. package/dist/core/index.d.ts +39 -5
  29. package/dist/core/index.js +2 -3
  30. package/dist/index.cjs +61 -58
  31. package/dist/index.d.cts +3 -3
  32. package/dist/index.d.ts +3 -3
  33. package/dist/index.js +5 -6
  34. package/dist/names/index.cjs +9 -9
  35. package/dist/names/index.d.cts +4 -2
  36. package/dist/names/index.d.ts +4 -2
  37. package/dist/names/index.js +1 -1
  38. package/dist/react/index.cjs +112 -125
  39. package/dist/react/index.cjs.map +1 -1
  40. package/dist/react/index.d.cts +23 -1
  41. package/dist/react/index.d.ts +23 -1
  42. package/dist/react/index.js +96 -109
  43. package/dist/react/index.js.map +1 -1
  44. package/dist/solfaces.cdn.global.js +2 -2
  45. package/dist/solfaces.cdn.global.js.map +1 -1
  46. package/dist/themes/index.cjs +18 -14
  47. package/dist/themes/index.d.cts +30 -4
  48. package/dist/themes/index.d.ts +30 -4
  49. package/dist/themes/index.js +1 -1
  50. package/dist/traits-D4tbtZIr.d.cts +259 -0
  51. package/dist/traits-D4tbtZIr.d.ts +259 -0
  52. package/dist/vanilla/index.cjs +6 -7
  53. package/dist/vanilla/index.cjs.map +1 -1
  54. package/dist/vanilla/index.d.cts +1 -1
  55. package/dist/vanilla/index.d.ts +1 -1
  56. package/dist/vanilla/index.js +2 -3
  57. package/dist/vanilla/index.js.map +1 -1
  58. package/package.json +4 -1
  59. package/python/solfaces.py +108 -122
  60. package/reference/integrations.md +1 -1
  61. package/dist/chunk-3CE7Q44S.js.map +0 -1
  62. package/dist/chunk-4YFZ4W2Y.cjs.map +0 -1
  63. package/dist/chunk-66PSL4YO.js.map +0 -1
  64. package/dist/chunk-6QRDULAO.cjs.map +0 -1
  65. package/dist/chunk-CKHLRORB.js +0 -239
  66. package/dist/chunk-CKHLRORB.js.map +0 -1
  67. package/dist/chunk-DRUSCLEF.js.map +0 -1
  68. package/dist/chunk-F54WHRCE.cjs.map +0 -1
  69. package/dist/chunk-TYTBYDQU.cjs +0 -244
  70. package/dist/chunk-TYTBYDQU.cjs.map +0 -1
  71. package/dist/traits-sfe7rM9C.d.cts +0 -106
  72. package/dist/traits-sfe7rM9C.d.ts +0 -106
@@ -1,106 +0,0 @@
1
- interface SolFaceTraits {
2
- faceShape: number;
3
- skinColor: number;
4
- eyeStyle: number;
5
- eyeColor: number;
6
- eyebrows: number;
7
- nose: number;
8
- mouth: number;
9
- hairStyle: number;
10
- hairColor: number;
11
- accessory: number;
12
- bgColor: number;
13
- }
14
- interface SolFaceTheme {
15
- skinColors?: string[];
16
- eyeColors?: string[];
17
- hairColors?: string[];
18
- bgColors?: string[];
19
- mouthColor?: string;
20
- eyebrowColor?: string;
21
- accessoryColor?: string;
22
- eyeWhiteColor?: string;
23
- noseColor?: string;
24
- glassesColor?: string;
25
- earringColor?: string;
26
- headbandColor?: string;
27
- bgOpacity?: number;
28
- bgRadius?: number;
29
- border?: {
30
- color: string;
31
- width: number;
32
- };
33
- flat?: boolean;
34
- cheekEnabled?: boolean;
35
- cheekColor?: string;
36
- cheekOpacity?: number;
37
- skinOpacity?: number;
38
- shadowEnabled?: boolean;
39
- glowIntensity?: number;
40
- _pixel?: boolean;
41
- _pixelDensity?: number;
42
- _pixelRounded?: boolean;
43
- _pixelOutline?: boolean;
44
- _pixelOutlineColor?: string;
45
- _pixelOutlineWidth?: number;
46
- _pixelContrast?: number;
47
- _pixelSaturation?: number;
48
- _pixelBrightness?: number;
49
- _pixelScanlines?: boolean;
50
- _pixelScanlineOpacity?: number;
51
- _pixelScanlineSpacing?: number;
52
- _pixelGrid?: boolean;
53
- _pixelGridOpacity?: number;
54
- _pixelGridColor?: string;
55
- _pixelShadow?: boolean;
56
- _pixelShadowColor?: string;
57
- _pixelShadowOffset?: number;
58
- _glass?: boolean;
59
- _blurRadius?: number;
60
- _saturate?: number;
61
- _tintOpacity?: number;
62
- _tintColor?: string;
63
- _borderOpacity?: number;
64
- _borderWidth?: number;
65
- _borderColor?: string;
66
- _specularOpacity?: number;
67
- _specularColor?: string;
68
- _specularEnd?: number;
69
- _lightAngle?: number;
70
- _rimIntensity?: number;
71
- _shadow?: string;
72
- }
73
- interface RenderOptions {
74
- size?: number;
75
- theme?: SolFaceTheme;
76
- traitOverrides?: Partial<SolFaceTraits>;
77
- enableBlink?: boolean | {
78
- duration?: number;
79
- delay?: number;
80
- };
81
- className?: string;
82
- detail?: "full" | "simplified" | "auto";
83
- colorOverrides?: {
84
- skin?: string;
85
- eyes?: string;
86
- hair?: string;
87
- bg?: string;
88
- mouth?: string;
89
- eyebrow?: string;
90
- accessory?: string;
91
- nose?: string;
92
- eyeWhite?: string;
93
- };
94
- }
95
- declare const SKIN_COLORS: string[];
96
- declare const EYE_COLORS: string[];
97
- declare const HAIR_COLORS: string[];
98
- declare const BG_COLORS: string[];
99
- declare function generateTraits(walletAddress: string, overrides?: Partial<SolFaceTraits>): SolFaceTraits;
100
- declare function effectiveAccessory(traits: SolFaceTraits): number;
101
- declare function getTraitLabels(traits: SolFaceTraits): Record<string, string>;
102
- declare function traitHash(walletAddress: string): string;
103
- declare function resolveTheme(themeName?: string, themes?: Record<string, SolFaceTheme>): SolFaceTheme | undefined;
104
- declare function mergeTheme(base: SolFaceTheme | null | undefined, overrides: SolFaceTheme | null | undefined): SolFaceTheme | null;
105
-
106
- export { BG_COLORS as B, EYE_COLORS as E, HAIR_COLORS as H, type RenderOptions as R, SKIN_COLORS as S, type SolFaceTheme as a, type SolFaceTraits as b, getTraitLabels as c, effectiveAccessory as e, generateTraits as g, mergeTheme as m, resolveTheme as r, traitHash as t };