@vritti/api-sdk 0.1.7 → 0.2.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@vritti/api-sdk",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.2.1",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "repository": {
44
44
  "type": "git",
45
- "url": "git+https://github.com/vritti-hub/api-sdk.git"
45
+ "url": "git+https://github.com/vritti-ai-platforms/api-sdk.git"
46
46
  },
47
47
  "author": "Shashank Raju <shashank@vrittiai.com>",
48
48
  "license": "MIT",
@@ -50,19 +50,8 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "scripts": {
54
- "dev": "tsx --watch src/index.ts",
55
- "build": "tsup",
56
- "type-check": "tsc --noEmit",
57
- "test": "tsx --test 'src/**/*.test.ts'",
58
- "test:watch": "tsx --test --watch 'src/**/*.test.ts'",
59
- "check": "biome check --write .",
60
- "format": "biome format --write .",
61
- "lint": "biome lint .",
62
- "clean": "rm -rf dist",
63
- "prepublishOnly": "npm run type-check && npm run test && npm run build"
64
- },
65
53
  "dependencies": {
54
+ "@getbrevo/brevo": "^4.0.1",
66
55
  "drizzle-orm": "^1.0.0-beta.3-36e9b9e",
67
56
  "pg": "^8.16.0",
68
57
  "winston": "^3.11.0",
@@ -72,27 +61,55 @@
72
61
  "@nestjs/common": "^11.0.0",
73
62
  "@nestjs/config": "^3.0.0",
74
63
  "@nestjs/core": "^11.0.0",
75
- "@nestjs/jwt": "^10.0.0",
76
- "fastify": "5.6.2",
64
+ "@nestjs/jwt": "^11.0.0",
65
+ "@nestjs/swagger": "^8.0.0",
66
+ "class-transformer": "^0.5.0",
67
+ "class-validator": "^0.14.0",
68
+ "fastify": "5.7.4",
77
69
  "reflect-metadata": "^0.2.0",
78
70
  "rxjs": "^7.8.0"
79
71
  },
72
+ "peerDependenciesMeta": {
73
+ "@nestjs/swagger": {
74
+ "optional": true
75
+ },
76
+ "class-transformer": {
77
+ "optional": true
78
+ },
79
+ "class-validator": {
80
+ "optional": true
81
+ }
82
+ },
80
83
  "devDependencies": {
81
- "@biomejs/biome": "2.2.3",
84
+ "@biomejs/biome": "2.4.2",
82
85
  "@nestjs/common": "^11.0.1",
83
86
  "@nestjs/config": "^3.2.3",
84
87
  "@nestjs/core": "^11.0.1",
85
- "@nestjs/jwt": "^10.2.0",
88
+ "@nestjs/jwt": "^11.0.1",
89
+ "@nestjs/swagger": "^8.0.0",
86
90
  "@swc/core": "^1.13.5",
87
91
  "@types/jsonwebtoken": "^9.0.8",
88
92
  "@types/node": "^24.9.2",
89
93
  "@types/pg": "^8.16.0",
90
- "fastify": "5.6.2",
94
+ "class-transformer": "^0.5.0",
95
+ "class-validator": "^0.14.0",
96
+ "fastify": "5.7.4",
91
97
  "jsonwebtoken": "^9.0.2",
92
98
  "reflect-metadata": "^0.2.2",
93
99
  "rxjs": "^7.8.1",
94
100
  "tsup": "^8.5.0",
95
101
  "tsx": "^4.20.6",
96
102
  "typescript": "^5.9.3"
103
+ },
104
+ "scripts": {
105
+ "dev": "tsc --noEmit && tsx --watch src/index.ts",
106
+ "build": "tsc --noEmit && tsup",
107
+ "type-check": "tsc --noEmit",
108
+ "test": "tsx --test 'src/**/*.test.ts'",
109
+ "test:watch": "tsx --test --watch 'src/**/*.test.ts'",
110
+ "check": "biome check --write .",
111
+ "format": "biome format --write .",
112
+ "lint": "biome lint .",
113
+ "clean": "rm -rf dist"
97
114
  }
98
- }
115
+ }