@develit-io/backend-sdk 9.4.1 → 9.4.3
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/middlewares.mjs +2 -2
- package/package.json +5 -5
package/dist/middlewares.mjs
CHANGED
|
@@ -192,7 +192,7 @@ const logger = () => {
|
|
|
192
192
|
context.set("auditLog", {
|
|
193
193
|
requestId
|
|
194
194
|
});
|
|
195
|
-
await context.env.
|
|
195
|
+
await context.env.ACTIVITY_SERVICE.processAuditLog({
|
|
196
196
|
type: "REQUEST",
|
|
197
197
|
method: requestLog.method,
|
|
198
198
|
path: requestLog.path,
|
|
@@ -227,7 +227,7 @@ const logger = () => {
|
|
|
227
227
|
const rawUserMetaDataString = identityContext?.user?.rawUserMetaData;
|
|
228
228
|
const rawUserMetaData = rawUserMetaDataString ? JSON.parse(rawUserMetaDataString) : null;
|
|
229
229
|
const auditLogContext = context.get("auditLog");
|
|
230
|
-
await context.env.
|
|
230
|
+
await context.env.ACTIVITY_SERVICE.processAuditLog({
|
|
231
231
|
type: "RESPONSE",
|
|
232
232
|
method: responseLog.method,
|
|
233
233
|
path: responseLog.path,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-io/backend-sdk",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.3",
|
|
4
4
|
"description": "Develit Backend SDK",
|
|
5
5
|
"author": "Develit.io",
|
|
6
6
|
"license": "ISC",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@cloudflare/workers-types": "4.20251121.0",
|
|
38
|
-
"comment-json": "^4.
|
|
38
|
+
"comment-json": "^4.5.0",
|
|
39
39
|
"drizzle-kit": "^0.31.8",
|
|
40
40
|
"drizzle-orm": "^0.44.7",
|
|
41
41
|
"superjson": "^2.2.5"
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@develit-io/general-codes": "^1.14.0",
|
|
45
45
|
"cloudflare": "^5.2.0",
|
|
46
|
-
"zod": "^4.1
|
|
46
|
+
"zod": "^4.2.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"hono": "^4.
|
|
50
|
-
"zod": "^4.1
|
|
49
|
+
"hono": "^4.11.1",
|
|
50
|
+
"zod": "^4.2.1"
|
|
51
51
|
}
|
|
52
52
|
}
|