trade-safety 1.11.0 → 1.12.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.
- package/dist/components/DetailedResult/AISummarySection.d.ts +2 -2
- package/dist/components/DetailedResult/AISummarySection.d.ts.map +1 -1
- package/dist/components/PageHeader.d.ts.map +1 -1
- package/dist/i18n/translations.d.ts +27 -0
- package/dist/i18n/translations.d.ts.map +1 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1060 -339
- package/dist/index.mjs.map +1 -1
- package/dist/isChromatic-5i32AXac-BWePUv7P.js +2 -0
- package/dist/isChromatic-5i32AXac-BWePUv7P.js.map +1 -0
- package/dist/isChromatic-5i32AXac-CtZ5BKgh.mjs +8 -0
- package/dist/isChromatic-5i32AXac-CtZ5BKgh.mjs.map +1 -0
- package/dist/locale.js +19 -19
- package/dist/locale.mjs +33 -33
- package/dist/lottie-react.esm-BUHy0Xb6.mjs +6105 -0
- package/dist/lottie-react.esm-BUHy0Xb6.mjs.map +1 -0
- package/dist/lottie-react.esm-Bv7L41xK.js +257 -0
- package/dist/lottie-react.esm-Bv7L41xK.js.map +1 -0
- package/dist/repositories/TradeSafetyRepository.d.ts +10 -10
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -5,7 +5,7 @@ declare const tradeSafetyCheckResponseSchema: z.ZodObject<{
|
|
|
5
5
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
input_text: z.ZodString;
|
|
7
7
|
llm_analysis: z.ZodObject<{
|
|
8
|
-
ai_summary: z.ZodString
|
|
8
|
+
ai_summary: z.ZodArray<z.ZodString, "many">;
|
|
9
9
|
translation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
nuance_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
risk_signals: z.ZodArray<z.ZodObject<{
|
|
@@ -89,7 +89,7 @@ declare const tradeSafetyCheckResponseSchema: z.ZodObject<{
|
|
|
89
89
|
recommendation: z.ZodString;
|
|
90
90
|
emotional_support: z.ZodString;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
ai_summary: string;
|
|
92
|
+
ai_summary: string[];
|
|
93
93
|
risk_signals: {
|
|
94
94
|
title: string;
|
|
95
95
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -125,7 +125,7 @@ declare const tradeSafetyCheckResponseSchema: z.ZodObject<{
|
|
|
125
125
|
translation?: string | null | undefined;
|
|
126
126
|
nuance_explanation?: string | null | undefined;
|
|
127
127
|
}, {
|
|
128
|
-
ai_summary: string;
|
|
128
|
+
ai_summary: string[];
|
|
129
129
|
risk_signals: {
|
|
130
130
|
title: string;
|
|
131
131
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -173,7 +173,7 @@ declare const tradeSafetyCheckResponseSchema: z.ZodObject<{
|
|
|
173
173
|
safe_score: number;
|
|
174
174
|
input_text: string;
|
|
175
175
|
llm_analysis: {
|
|
176
|
-
ai_summary: string;
|
|
176
|
+
ai_summary: string[];
|
|
177
177
|
risk_signals: {
|
|
178
178
|
title: string;
|
|
179
179
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -221,7 +221,7 @@ declare const tradeSafetyCheckResponseSchema: z.ZodObject<{
|
|
|
221
221
|
safe_score: number;
|
|
222
222
|
input_text: string;
|
|
223
223
|
llm_analysis: {
|
|
224
|
-
ai_summary: string;
|
|
224
|
+
ai_summary: string[];
|
|
225
225
|
risk_signals: {
|
|
226
226
|
title: string;
|
|
227
227
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -296,7 +296,7 @@ export declare class TradeSafetyRepository extends BaseCrudRepository<TradeSafet
|
|
|
296
296
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
297
|
input_text: z.ZodString;
|
|
298
298
|
llm_analysis: z.ZodObject<{
|
|
299
|
-
ai_summary: z.ZodString
|
|
299
|
+
ai_summary: z.ZodArray<z.ZodString, "many">;
|
|
300
300
|
translation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
301
|
nuance_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
302
|
risk_signals: z.ZodArray<z.ZodObject<{
|
|
@@ -380,7 +380,7 @@ export declare class TradeSafetyRepository extends BaseCrudRepository<TradeSafet
|
|
|
380
380
|
recommendation: z.ZodString;
|
|
381
381
|
emotional_support: z.ZodString;
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
ai_summary: string;
|
|
383
|
+
ai_summary: string[];
|
|
384
384
|
risk_signals: {
|
|
385
385
|
title: string;
|
|
386
386
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -416,7 +416,7 @@ export declare class TradeSafetyRepository extends BaseCrudRepository<TradeSafet
|
|
|
416
416
|
translation?: string | null | undefined;
|
|
417
417
|
nuance_explanation?: string | null | undefined;
|
|
418
418
|
}, {
|
|
419
|
-
ai_summary: string;
|
|
419
|
+
ai_summary: string[];
|
|
420
420
|
risk_signals: {
|
|
421
421
|
title: string;
|
|
422
422
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -464,7 +464,7 @@ export declare class TradeSafetyRepository extends BaseCrudRepository<TradeSafet
|
|
|
464
464
|
safe_score: number;
|
|
465
465
|
input_text: string;
|
|
466
466
|
llm_analysis: {
|
|
467
|
-
ai_summary: string;
|
|
467
|
+
ai_summary: string[];
|
|
468
468
|
risk_signals: {
|
|
469
469
|
title: string;
|
|
470
470
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
|
@@ -512,7 +512,7 @@ export declare class TradeSafetyRepository extends BaseCrudRepository<TradeSafet
|
|
|
512
512
|
safe_score: number;
|
|
513
513
|
input_text: string;
|
|
514
514
|
llm_analysis: {
|
|
515
|
-
ai_summary: string;
|
|
515
|
+
ai_summary: string[];
|
|
516
516
|
risk_signals: {
|
|
517
517
|
title: string;
|
|
518
518
|
category: "payment" | "seller" | "platform" | "price" | "content";
|
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AACrD,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,QAAQ,GACR,UAAU,GACV,OAAO,GACP,SAAS,CAAC;AAEd,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAExD,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AAEX,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AACrD,MAAM,MAAM,YAAY,GACpB,SAAS,GACT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EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,mBAAmB,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,YAAY,CAAC;IAC5B,eAAe,EAAE,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;CAC1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trade-safety",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "React components for Trade Safety - K-pop merchandise trade safety analysis",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"framer-motion": "^11.2.3",
|
|
70
70
|
"i18next": "^23.11.4",
|
|
71
71
|
"i18next-resources-to-backend": "^1.2.1",
|
|
72
|
+
"lottie-react": "^2.4.1",
|
|
72
73
|
"react-i18next": "^14.1.1",
|
|
73
74
|
"react-icons": "^5.5.0",
|
|
74
75
|
"zod": "^3.23.8"
|