amqp-extension 4.0.0-beta.3 → 4.0.0
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/CHANGELOG.md +24 -0
- package/dist/config/module.js +1 -2
- package/dist/consume/utils.js +1 -2
- package/dist/exchange/utils.js +2 -3
- package/package.json +15 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# [4.0.0](https://github.com/Tada5hi/amqp-extension/compare/v3.3.0...v4.0.0) (2025-03-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump amqplib from 0.10.3 to 0.10.4 ([#368](https://github.com/Tada5hi/amqp-extension/issues/368)) ([dae6c84](https://github.com/Tada5hi/amqp-extension/commit/dae6c840ad69e74a6c5dc37ea7f0fbb6c8ea1bae))
|
|
7
|
+
* **deps:** bump smob from 1.4.1 to 1.5.0 ([#334](https://github.com/Tada5hi/amqp-extension/issues/334)) ([0b2935a](https://github.com/Tada5hi/amqp-extension/commit/0b2935af145d4844510c19b6d3f9d23ac0e3386a))
|
|
8
|
+
* **deps:** bump the minorandpatch group with 10 updates ([#428](https://github.com/Tada5hi/amqp-extension/issues/428)) ([3ffb425](https://github.com/Tada5hi/amqp-extension/commit/3ffb425c3ff7e987791d80172fe4166a3b9f7dc5))
|
|
9
|
+
* **deps:** bump uuid from 9.0.1 to 11.1.0 in the majorprod group ([#426](https://github.com/Tada5hi/amqp-extension/issues/426)) ([2c6bdc0](https://github.com/Tada5hi/amqp-extension/commit/2c6bdc095aeb6760467d0eed678fe2b4cd421f70))
|
|
10
|
+
* ensure (n)ack is send on same channel ([ab7026f](https://github.com/Tada5hi/amqp-extension/commit/ab7026f4e65f9cff33cb509dc25a77b72ddc25f1))
|
|
11
|
+
* only ack message if noAck option is false ([d6102e3](https://github.com/Tada5hi/amqp-extension/commit/d6102e3df431c6710257b5bdf59c8e99672e7df6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* adjusted test suite ([a5cc771](https://github.com/Tada5hi/amqp-extension/commit/a5cc7714a141d671d1e97ed67216df0ffc53af49))
|
|
17
|
+
* change publish/consume signature ([ff316ec](https://github.com/Tada5hi/amqp-extension/commit/ff316ec27ac1077c7a6949ea5e5adf6ad1e5e5f5))
|
|
18
|
+
* initial refactoring of config, consume- &p publish-behaviour ([1102aa8](https://github.com/Tada5hi/amqp-extension/commit/1102aa8a8b000336312d89c92434d8c77e7a0424))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* public api changed
|
|
24
|
+
|
|
1
25
|
# [4.0.0-beta.3](https://github.com/Tada5hi/amqp-extension/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2024-06-12)
|
|
2
26
|
|
|
3
27
|
|
package/dist/config/module.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* view the LICENSE file that was distributed with this source code.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.buildConfig =
|
|
9
|
+
exports.buildConfig = buildConfig;
|
|
10
10
|
const exchange_1 = require("../exchange");
|
|
11
11
|
function buildConfig(input) {
|
|
12
12
|
return {
|
|
@@ -21,4 +21,3 @@ function buildConfig(input) {
|
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
exports.buildConfig = buildConfig;
|
package/dist/consume/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isConsumeHandlers =
|
|
3
|
+
exports.isConsumeHandlers = isConsumeHandlers;
|
|
4
4
|
const smob_1 = require("smob");
|
|
5
5
|
function isConsumeHandlers(input) {
|
|
6
6
|
if (!(0, smob_1.isObject)(input)) {
|
|
@@ -14,4 +14,3 @@ function isConsumeHandlers(input) {
|
|
|
14
14
|
}
|
|
15
15
|
return true;
|
|
16
16
|
}
|
|
17
|
-
exports.isConsumeHandlers = isConsumeHandlers;
|
package/dist/exchange/utils.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isDefaultExchange = isDefaultExchange;
|
|
4
|
+
exports.isExchange = isExchange;
|
|
4
5
|
const smob_1 = require("smob");
|
|
5
6
|
const constants_1 = require("./constants");
|
|
6
7
|
function isDefaultExchange(input) {
|
|
7
8
|
return typeof input === 'undefined' || input === constants_1.ExchangeType.DIRECT;
|
|
8
9
|
}
|
|
9
|
-
exports.isDefaultExchange = isDefaultExchange;
|
|
10
10
|
function isExchange(input) {
|
|
11
11
|
return (0, smob_1.isObject)(input) &&
|
|
12
12
|
typeof input.type === 'string';
|
|
13
13
|
}
|
|
14
|
-
exports.isExchange = isExchange;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amqp-extension",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "An amqp extension with functions and utility functions to consume and publish queue messages.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -35,28 +35,27 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Tada5hi/amqp-extension#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@types/amqplib": "^0.10.
|
|
38
|
+
"@types/amqplib": "^0.10.7",
|
|
39
39
|
"amqp-connection-manager": "^4.1.14",
|
|
40
|
-
"amqplib": "^0.10.
|
|
40
|
+
"amqplib": "^0.10.7",
|
|
41
41
|
"smob": "^1.5.0",
|
|
42
|
-
"uuid": "^
|
|
42
|
+
"uuid": "^11.1.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tada5hi/commitlint-config": "^1.
|
|
46
|
-
"@tada5hi/eslint-config-typescript": "^1.2.
|
|
47
|
-
"@tada5hi/semantic-release": "^0.3.
|
|
48
|
-
"@tada5hi/tsconfig": "^0.
|
|
49
|
-
"@types/jest": "^29.5.
|
|
50
|
-
"@types/node": "^
|
|
51
|
-
"@types/uuid": "^9.0.8",
|
|
45
|
+
"@tada5hi/commitlint-config": "^1.2.4",
|
|
46
|
+
"@tada5hi/eslint-config-typescript": "^1.2.15",
|
|
47
|
+
"@tada5hi/semantic-release": "^0.3.2",
|
|
48
|
+
"@tada5hi/tsconfig": "^0.6.0",
|
|
49
|
+
"@types/jest": "^29.5.14",
|
|
50
|
+
"@types/node": "^22.13.14",
|
|
52
51
|
"cross-env": "^7.0.3",
|
|
53
52
|
"envix": "^1.5.0",
|
|
54
53
|
"eslint": "^8.57.0",
|
|
55
|
-
"husky": "^
|
|
54
|
+
"husky": "^9.1.7",
|
|
56
55
|
"jest": "^29.7.0",
|
|
57
|
-
"semantic-release": "^
|
|
58
|
-
"testcontainers": "^10.
|
|
59
|
-
"ts-jest": "^29.
|
|
60
|
-
"typescript": "^5.
|
|
56
|
+
"semantic-release": "^24.2.3",
|
|
57
|
+
"testcontainers": "^10.23.0",
|
|
58
|
+
"ts-jest": "^29.3.0",
|
|
59
|
+
"typescript": "^5.8.2"
|
|
61
60
|
}
|
|
62
61
|
}
|