@fgiova/fastify-sqs-consumer 2.0.0 → 2.0.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/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +4 -1
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/index.mjs +5 -0
- package/package.json +4 -4
package/dist/cjs/index.d.ts
CHANGED
|
@@ -19,5 +19,5 @@ declare function sqsConsumerPlugin(fastify: FastifyInstance, options: {
|
|
|
19
19
|
parallelExecution?: boolean;
|
|
20
20
|
sqs?: MiniSQSClient;
|
|
21
21
|
}[], done: (err?: Error) => void): void;
|
|
22
|
-
declare const
|
|
23
|
-
export
|
|
22
|
+
export declare const fastifyPlugin: typeof sqsConsumerPlugin;
|
|
23
|
+
export default fastifyPlugin;
|
package/dist/cjs/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.fastifyPlugin = void 0;
|
|
5
7
|
const node_crypto_1 = require("node:crypto");
|
|
6
8
|
const sqs_consumer_1 = require("@fgiova/sqs-consumer");
|
|
7
9
|
const fastify_plugin_1 = __importDefault(require("fastify-plugin"));
|
|
@@ -88,7 +90,8 @@ function sqsConsumerPlugin(fastify, options, done) {
|
|
|
88
90
|
});
|
|
89
91
|
done();
|
|
90
92
|
}
|
|
91
|
-
|
|
93
|
+
exports.fastifyPlugin = (0, fastify_plugin_1.default)(sqsConsumerPlugin, {
|
|
92
94
|
name: "fastify-sqs-consumer",
|
|
93
95
|
fastify: ">=5.x",
|
|
94
96
|
});
|
|
97
|
+
exports.default = exports.fastifyPlugin;
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -19,5 +19,5 @@ declare function sqsConsumerPlugin(fastify: FastifyInstance, options: {
|
|
|
19
19
|
parallelExecution?: boolean;
|
|
20
20
|
sqs?: MiniSQSClient;
|
|
21
21
|
}[], done: (err?: Error) => void): void;
|
|
22
|
-
declare const
|
|
23
|
-
export
|
|
22
|
+
export declare const fastifyPlugin: typeof sqsConsumerPlugin;
|
|
23
|
+
export default fastifyPlugin;
|
package/dist/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgiova/fastify-sqs-consumer",
|
|
3
3
|
"description": "sqs-consumer fastify plugin",
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
4
|
+
"version": "2.0.1",
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
|
+
"types": "./dist/cjs/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"typescript": "^5.1.6"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@fgiova/sqs-consumer": "^2.1.
|
|
86
|
+
"@fgiova/sqs-consumer": "^2.1.3",
|
|
87
87
|
"fastify-plugin": "^5.0.1"
|
|
88
88
|
}
|
|
89
89
|
}
|