ezlogs-nextjs 0.4.1 → 0.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/README.md +21 -10
- package/dist/actors/index.d.cts +1 -1
- package/dist/actors/index.d.ts +1 -1
- package/dist/{chunk-B7SH6V7M.js → chunk-GI6BM4MR.js} +2 -1
- package/dist/{chunk-VROC3BO3.cjs → chunk-GMHOUAKD.cjs} +12 -12
- package/dist/{chunk-2X6IZ2JX.js → chunk-MHBS5FEP.js} +2 -2
- package/dist/{chunk-ULFJOPQ2.cjs → chunk-MMLQXSSD.cjs} +2 -1
- package/dist/{chunk-SH5NGIX3.js → chunk-NINIAL7M.js} +1 -1
- package/dist/{chunk-LMG2SNTF.cjs → chunk-NX4EL7BY.cjs} +4 -4
- package/dist/{chunk-ZSFJ3UQV.cjs → chunk-PS4U2GFJ.cjs} +5 -5
- package/dist/{chunk-GILAKFP7.cjs → chunk-R6IWVTX3.cjs} +21 -21
- package/dist/{chunk-KCCKURJW.js → chunk-U22T7QYY.js} +3 -3
- package/dist/{chunk-DLUZRHHW.js → chunk-YMIGZYFH.js} +1 -1
- package/dist/{chunk-OJKWSUMK.cjs → chunk-YXZZNZG6.cjs} +9 -9
- package/dist/{chunk-H4K5QDXE.js → chunk-Z2TM3LGG.js} +1 -1
- package/dist/{configuration-Pshqvpkk.d.cts → configuration-CJ5yKVlP.d.cts} +2 -1
- package/dist/{configuration-Pshqvpkk.d.ts → configuration-CJ5yKVlP.d.ts} +2 -1
- package/dist/db/drizzle.cjs +3 -3
- package/dist/db/drizzle.js +2 -2
- package/dist/db/postgres-js.cjs +4 -4
- package/dist/db/postgres-js.js +2 -2
- package/dist/db/prisma.cjs +12 -12
- package/dist/db/prisma.js +2 -2
- package/dist/db/supabase.cjs +11 -11
- package/dist/db/supabase.js +2 -2
- package/dist/index.cjs +156 -119
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +62 -25
- package/dist/jobs/bullmq.cjs +16 -16
- package/dist/jobs/bullmq.js +4 -4
- package/dist/jobs/inngest.cjs +17 -17
- package/dist/jobs/inngest.js +4 -4
- package/dist/jobs/supabase-queues.cjs +9 -9
- package/dist/jobs/supabase-queues.js +4 -4
- package/dist/jobs/trigger.cjs +7 -7
- package/dist/jobs/trigger.js +4 -4
- package/dist/jobs/upstash-workflow.cjs +15 -15
- package/dist/jobs/upstash-workflow.js +4 -4
- package/dist/triggers/index.cjs +16 -16
- package/dist/triggers/index.js +5 -5
- package/package.json +1 -1
package/dist/triggers/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
3
|
+
var chunkNX4EL7BY_cjs = require('../chunk-NX4EL7BY.cjs');
|
|
4
|
+
var chunkPS4U2GFJ_cjs = require('../chunk-PS4U2GFJ.cjs');
|
|
5
|
+
var chunkGMHOUAKD_cjs = require('../chunk-GMHOUAKD.cjs');
|
|
6
|
+
require('../chunk-YXZZNZG6.cjs');
|
|
7
|
+
var chunkMMLQXSSD_cjs = require('../chunk-MMLQXSSD.cjs');
|
|
8
8
|
var chunkTWTG5ILJ_cjs = require('../chunk-TWTG5ILJ.cjs');
|
|
9
9
|
require('../chunk-ZDSQYCYV.cjs');
|
|
10
10
|
var promises = require('fs/promises');
|
|
@@ -125,7 +125,7 @@ function skipReason(tableName, hasAuthColumns) {
|
|
|
125
125
|
for (const [pattern, reason] of NAMED_SKIPS) {
|
|
126
126
|
if (typeof pattern === "string" ? tableName === pattern : pattern.test(tableName)) return reason;
|
|
127
127
|
}
|
|
128
|
-
if (
|
|
128
|
+
if (chunkMMLQXSSD_cjs.AUTH_SESSION_TABLE_NAMES.test(tableName) && (hasAuthColumns !== false || /verif/i.test(tableName))) {
|
|
129
129
|
return "auth / session store (has token, expiry or session-data columns)";
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
@@ -332,43 +332,43 @@ function parseEnvEntries(text) {
|
|
|
332
332
|
|
|
333
333
|
Object.defineProperty(exports, "patchPgClient", {
|
|
334
334
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkNX4EL7BY_cjs.patchPgClient; }
|
|
336
336
|
});
|
|
337
337
|
Object.defineProperty(exports, "applyDatabaseContext", {
|
|
338
338
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkPS4U2GFJ_cjs.applyDatabaseContext; }
|
|
340
340
|
});
|
|
341
341
|
Object.defineProperty(exports, "getDatabaseContext", {
|
|
342
342
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkPS4U2GFJ_cjs.getDatabaseContext; }
|
|
344
344
|
});
|
|
345
345
|
Object.defineProperty(exports, "withDatabaseContext", {
|
|
346
346
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkPS4U2GFJ_cjs.withDatabaseContext; }
|
|
348
348
|
});
|
|
349
349
|
Object.defineProperty(exports, "detectTriggerTrackedTables", {
|
|
350
350
|
enumerable: true,
|
|
351
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkGMHOUAKD_cjs.detectTriggerTrackedTables; }
|
|
352
352
|
});
|
|
353
353
|
Object.defineProperty(exports, "emitAuditRows", {
|
|
354
354
|
enumerable: true,
|
|
355
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkGMHOUAKD_cjs.emitAuditRows; }
|
|
356
356
|
});
|
|
357
357
|
Object.defineProperty(exports, "flushAuditLog", {
|
|
358
358
|
enumerable: true,
|
|
359
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkGMHOUAKD_cjs.flushAuditLog; }
|
|
360
360
|
});
|
|
361
361
|
Object.defineProperty(exports, "pruneAuditLog", {
|
|
362
362
|
enumerable: true,
|
|
363
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkGMHOUAKD_cjs.pruneAuditLog; }
|
|
364
364
|
});
|
|
365
365
|
Object.defineProperty(exports, "readAuditRows", {
|
|
366
366
|
enumerable: true,
|
|
367
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkGMHOUAKD_cjs.readAuditRows; }
|
|
368
368
|
});
|
|
369
369
|
Object.defineProperty(exports, "sweepAuditLog", {
|
|
370
370
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkGMHOUAKD_cjs.sweepAuditLog; }
|
|
372
372
|
});
|
|
373
373
|
exports.buildTrackingSql = buildTrackingSql;
|
|
374
374
|
exports.detectEngine = detectEngine;
|
package/dist/triggers/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { patchPgClient } from '../chunk-
|
|
2
|
-
export { applyDatabaseContext, getDatabaseContext, withDatabaseContext } from '../chunk-
|
|
3
|
-
export { detectTriggerTrackedTables, emitAuditRows, flushAuditLog, pruneAuditLog, readAuditRows, sweepAuditLog } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { AUTH_SESSION_TABLE_NAMES } from '../chunk-
|
|
1
|
+
export { patchPgClient } from '../chunk-Z2TM3LGG.js';
|
|
2
|
+
export { applyDatabaseContext, getDatabaseContext, withDatabaseContext } from '../chunk-YMIGZYFH.js';
|
|
3
|
+
export { detectTriggerTrackedTables, emitAuditRows, flushAuditLog, pruneAuditLog, readAuditRows, sweepAuditLog } from '../chunk-MHBS5FEP.js';
|
|
4
|
+
import '../chunk-NINIAL7M.js';
|
|
5
|
+
import { AUTH_SESSION_TABLE_NAMES } from '../chunk-GI6BM4MR.js';
|
|
6
6
|
import { logger } from '../chunk-FCFVIRQF.js';
|
|
7
7
|
import '../chunk-SIAA4J6H.js';
|
|
8
8
|
import { readFile } from 'fs/promises';
|
package/package.json
CHANGED