@loonylabs/tti-middleware 1.1.0 → 1.2.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/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@loonylabs/tti-middleware",
3
- "version": "1.1.0",
4
- "description": "Provider-agnostic Text-to-Image middleware with GDPR compliance. Supports Google Cloud (Imagen, Gemini), Eden AI, and IONOS.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "dist",
9
- "LICENSE",
10
- "README.md",
11
- ".env.example"
12
- ],
13
- "scripts": {
14
- "build": "tsc",
15
- "test": "npm run test:unit",
16
- "test:unit": "jest --testPathPattern=tests/unit",
17
- "test:unit:watch": "jest --testPathPattern=tests/unit --watch",
18
- "test:unit:coverage": "jest --testPathPattern=tests/unit --coverage",
19
- "test:integration": "cross-env TTI_INTEGRATION_TESTS=true jest --testPathPattern=tests/integration",
20
- "test:ci": "jest --runInBand --ci --coverage --testPathPattern=tests/unit",
21
- "test:live": "TTI_INTEGRATION_TESTS=true jest tests/integration/*.integration.test.ts --testTimeout=120000",
22
- "test:manual": "ts-node scripts/manual-test-edenai.ts",
23
- "test:manual:google-cloud": "ts-node scripts/manual-test-google-cloud.ts",
24
- "lint": "eslint src/**/*.ts",
25
- "format": "prettier --write \"src/**/*.ts\"",
26
- "clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true})\"",
27
- "prepare": "npm run build",
28
- "prepublishOnly": "npm run clean && npm run build && npm run test"
29
- },
30
- "keywords": [
31
- "tti",
32
- "text-to-image",
33
- "image-generation",
34
- "ai",
35
- "vertex-ai",
36
- "google-cloud",
37
- "gemini",
38
- "imagen",
39
- "middleware",
40
- "provider-agnostic",
41
- "typescript",
42
- "gdpr",
43
- "dsgvo",
44
- "character-consistency"
45
- ],
46
- "author": "loonylabs-dev",
47
- "license": "MIT",
48
- "repository": {
49
- "type": "git",
50
- "url": "https://github.com/loonylabs-dev/tti-middleware.git"
51
- },
52
- "bugs": {
53
- "url": "https://github.com/loonylabs-dev/tti-middleware/issues"
54
- },
55
- "homepage": "https://github.com/loonylabs-dev/tti-middleware#readme",
56
- "peerDependencies": {
57
- "@google-cloud/aiplatform": ">=3.0.0",
58
- "@google/genai": ">=0.14.0"
59
- },
60
- "peerDependenciesMeta": {
61
- "@google-cloud/aiplatform": {
62
- "optional": true
63
- },
64
- "@google/genai": {
65
- "optional": true
66
- }
67
- },
68
- "devDependencies": {
69
- "@google-cloud/aiplatform": "^3.29.0",
70
- "@google/genai": "^0.14.0",
71
- "@types/jest": "^29.5.8",
72
- "@types/node": "^20.10.0",
73
- "@typescript-eslint/eslint-plugin": "^6.13.0",
74
- "@typescript-eslint/parser": "^6.13.0",
75
- "cross-env": "^10.1.0",
76
- "dotenv": "^17.2.3",
77
- "eslint": "^8.54.0",
78
- "jest": "^29.7.0",
79
- "prettier": "^3.1.0",
80
- "ts-jest": "^29.1.1",
81
- "ts-node": "^10.9.2",
82
- "typescript": "^5.3.2"
83
- },
84
- "engines": {
85
- "node": ">=18.0.0"
86
- },
87
- "publishConfig": {
88
- "access": "public"
89
- }
90
- }
1
+ {
2
+ "name": "@loonylabs/tti-middleware",
3
+ "version": "1.2.0",
4
+ "description": "Provider-agnostic Text-to-Image middleware with GDPR compliance. Supports Google Cloud (Imagen, Gemini), Eden AI, and IONOS.",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "LICENSE",
10
+ "README.md",
11
+ ".env.example"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "test": "npm run test:unit",
16
+ "test:unit": "jest --testPathPattern=tests/unit",
17
+ "test:unit:watch": "jest --testPathPattern=tests/unit --watch",
18
+ "test:unit:coverage": "jest --testPathPattern=tests/unit --coverage",
19
+ "test:integration": "cross-env TTI_INTEGRATION_TESTS=true jest --testPathPattern=tests/integration",
20
+ "test:ci": "jest --runInBand --ci --coverage --testPathPattern=tests/unit",
21
+ "test:live": "TTI_INTEGRATION_TESTS=true jest tests/integration/*.integration.test.ts --testTimeout=120000",
22
+ "test:manual": "ts-node scripts/manual-test-edenai.ts",
23
+ "test:manual:google-cloud": "ts-node scripts/manual-test-google-cloud.ts",
24
+ "lint": "eslint src/**/*.ts",
25
+ "format": "prettier --write \"src/**/*.ts\"",
26
+ "clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true})\"",
27
+ "prepare": "npm run build",
28
+ "prepublishOnly": "npm run clean && npm run build && npm run test"
29
+ },
30
+ "keywords": [
31
+ "tti",
32
+ "text-to-image",
33
+ "image-generation",
34
+ "ai",
35
+ "vertex-ai",
36
+ "google-cloud",
37
+ "gemini",
38
+ "imagen",
39
+ "middleware",
40
+ "provider-agnostic",
41
+ "typescript",
42
+ "gdpr",
43
+ "dsgvo",
44
+ "character-consistency"
45
+ ],
46
+ "author": "loonylabs-dev",
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/loonylabs-dev/tti-middleware.git"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/loonylabs-dev/tti-middleware/issues"
54
+ },
55
+ "homepage": "https://github.com/loonylabs-dev/tti-middleware#readme",
56
+ "peerDependencies": {
57
+ "@google-cloud/aiplatform": ">=3.0.0",
58
+ "@google/genai": ">=0.14.0"
59
+ },
60
+ "peerDependenciesMeta": {
61
+ "@google-cloud/aiplatform": {
62
+ "optional": true
63
+ },
64
+ "@google/genai": {
65
+ "optional": true
66
+ }
67
+ },
68
+ "devDependencies": {
69
+ "@google-cloud/aiplatform": "^3.29.0",
70
+ "@google/genai": "^0.14.0",
71
+ "@types/jest": "^29.5.8",
72
+ "@types/node": "^20.10.0",
73
+ "@typescript-eslint/eslint-plugin": "^6.13.0",
74
+ "@typescript-eslint/parser": "^6.13.0",
75
+ "cross-env": "^10.1.0",
76
+ "dotenv": "^17.2.3",
77
+ "eslint": "^8.54.0",
78
+ "jest": "^29.7.0",
79
+ "prettier": "^3.1.0",
80
+ "ts-jest": "^29.1.1",
81
+ "ts-node": "^10.9.2",
82
+ "typescript": "^5.3.2"
83
+ },
84
+ "engines": {
85
+ "node": ">=18.0.0"
86
+ },
87
+ "publishConfig": {
88
+ "access": "public"
89
+ }
90
+ }