@zodic/shared 0.0.406 → 0.0.408

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/app/api/index.ts CHANGED
@@ -719,9 +719,7 @@ export const Api = (env: BackendBindings) => ({
719
719
  },
720
720
  config: {
721
721
  webhook_config: {
722
- endpoint:
723
- 'https://zodic-backend.lucdelbel.workers.dev/api/webhook/faceswap',
724
- // secret: '',
722
+ endpoint: `${env.API_BASE_URL}/api/webhook/faceswap`,
725
723
  },
726
724
  },
727
725
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.406",
3
+ "version": "0.0.408",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -30,7 +30,6 @@ export type CentralBindings = {
30
30
  ARCHETYPE_POPULATION_QUEUE: Queue;
31
31
  FACESWAP_QUEUE: Queue;
32
32
  PAYMENT_QUEUE: Queue;
33
- PROMPT_PERSONALIZE_COSMIC_MIRROR_LEONARDO_PROMPT: string;
34
33
  AI: Ai;
35
34
  DB: D1Database;
36
35
  DRIZZLE: DrizzleD1Database;
@@ -51,8 +50,6 @@ export type CentralBindings = {
51
50
  REDIRECT_PREFIX: string;
52
51
  ASTROLOGY_WESTERN_USER_ID: string;
53
52
  ASTROLOGY_WESTERN_API_KEY: string;
54
- ASTROLOGY_PDF_USER_ID: string;
55
- ASTROLOGY_PDF_API_KEY: string;
56
53
  PIAPI_API_KEY: string;
57
54
  DEEPSEEK_API_KEY: string;
58
55
  TOGETHER_API_KEY: string;
@@ -85,7 +82,6 @@ export type BackendBindings = Env &
85
82
  | 'LEONARDO_API_KEY'
86
83
  | 'KV_ASTRO'
87
84
  | 'KV_CONCEPT_FAILURES'
88
- | 'PROMPT_PERSONALIZE_COSMIC_MIRROR_LEONARDO_PROMPT'
89
85
  | 'DB'
90
86
  | 'JWT_SECRET'
91
87
  | 'GOOGLE_API_KEY'
@@ -96,8 +92,6 @@ export type BackendBindings = Env &
96
92
  | 'REDIRECT_PREFIX'
97
93
  | 'ASTROLOGY_WESTERN_API_KEY'
98
94
  | 'ASTROLOGY_WESTERN_USER_ID'
99
- | 'ASTROLOGY_PDF_API_KEY'
100
- | 'ASTROLOGY_PDF_USER_ID'
101
95
  | 'AI'
102
96
  | 'PIAPI_API_KEY'
103
97
  | 'CONCEPT_GENERATION_QUEUE'
@@ -466,7 +466,8 @@ export const buildLLMMessages = (env: BackendBindings) => ({
466
466
  }): ChatMessages => [
467
467
  {
468
468
  role: 'system',
469
- content: env.PROMPT_PERSONALIZE_COSMIC_MIRROR_LEONARDO_PROMPT,
469
+ content:
470
+ "Given a prompt made to generate an image on leonardo ai, hair traits and skin color description, imbue those traits in the prompt, making the character to present them. The prompt must remain below 1500 characters including spaces, thatw's mandatory.",
470
471
  },
471
472
  {
472
473
  role: 'user',