@platformatic/sql-events
Advanced tools
Comparing version 0.16.0 to 0.17.0
@@ -5,2 +5,3 @@ 'use strict' | ||
const fp = require('fastify-plugin') | ||
const camelcase = require('camelcase') | ||
const { PassThrough } = require('stream') | ||
@@ -30,3 +31,3 @@ const MQEmitterRedis = require('mqemitter-redis') | ||
} | ||
const primaryKey = entity.primaryKeys.values().next().value | ||
const primaryKey = camelcase(entity.primaryKeys.values().next().value) | ||
mapper.addEntityHooks(entityName, { | ||
@@ -33,0 +34,0 @@ async save (original, data) { |
{ | ||
"name": "@platformatic/sql-events", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "Emit events via MQEmitter", | ||
@@ -17,12 +17,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"fastify": "^4.10.2", | ||
"ioredis": "^5.2.4", | ||
"fastify": "^4.13.0", | ||
"ioredis": "^5.3.1", | ||
"snazzy": "^9.0.0", | ||
"standard": "^17.0.0", | ||
"tap": "^16.3.2", | ||
"tsd": "^0.25.0", | ||
"@platformatic/sql-mapper": "0.16.0" | ||
"tap": "^16.3.4", | ||
"tsd": "^0.26.0", | ||
"@platformatic/sql-mapper": "0.17.0" | ||
}, | ||
"dependencies": { | ||
"fastify-plugin": "^4.4.0", | ||
"camelcase": "^6.3.0", | ||
"fastify-plugin": "^4.5.0", | ||
"mqemitter": "^5.0.0", | ||
@@ -29,0 +30,0 @@ "mqemitter-redis": "^5.0.0" |
42624
12
1128
4
+ Addedcamelcase@^6.3.0
+ Addedcamelcase@6.3.0(transitive)
Updatedfastify-plugin@^4.5.0