@platformatic/sql-events
Advanced tools
Comparing version
@@ -0,1 +1,2 @@ | ||
/// <reference types="@platformatic/types" /> | ||
import { FastifyPluginAsync } from 'fastify' | ||
@@ -5,10 +6,6 @@ import { Readable } from 'stream' | ||
declare module 'fastify' { | ||
interface SQLMapperPluginInterface { | ||
declare module '@platformatic/types' { | ||
interface PlatformaticApp { | ||
subscribe: (topic: string | string[]) => Promise<Readable> | ||
} | ||
interface FastifyInstance { | ||
platformatic: SQLMapperPluginInterface | ||
} | ||
} | ||
@@ -15,0 +12,0 @@ |
{ | ||
"name": "@platformatic/sql-events", | ||
"version": "0.27.0", | ||
"version": "0.28.1", | ||
"description": "Emit events via MQEmitter", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"tsd": "^0.28.1", | ||
"@platformatic/sql-mapper": "0.27.0" | ||
"@platformatic/sql-mapper": "0.28.1" | ||
}, | ||
@@ -30,3 +30,4 @@ "dependencies": { | ||
"mqemitter": "^5.0.0", | ||
"mqemitter-redis": "^5.0.0" | ||
"mqemitter-redis": "^5.0.0", | ||
"@platformatic/types": "0.28.1" | ||
}, | ||
@@ -33,0 +34,0 @@ "tsd": { |
42632
0.02%5
25%1126
-0.18%+ Added
+ Added