@droidsolutions-oss/amqp-ts 2.5.0 → 2.6.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.
Files changed (60) hide show
  1. package/README.md +23 -16
  2. package/lib/AmqpProperties.d.ts +81 -0
  3. package/lib/AmqpProperties.js +3 -0
  4. package/lib/AmqpProperties.js.map +1 -0
  5. package/lib/Binding.d.ts +18 -0
  6. package/lib/Binding.js +112 -0
  7. package/lib/Binding.js.map +1 -0
  8. package/lib/Connection/Connection.d.ts +109 -0
  9. package/lib/Connection/Connection.js +346 -0
  10. package/lib/Connection/Connection.js.map +1 -0
  11. package/lib/Connection/ConnectionMetrics.d.ts +7 -0
  12. package/lib/Connection/ConnectionMetrics.js +3 -0
  13. package/lib/Connection/ConnectionMetrics.js.map +1 -0
  14. package/lib/Connection/ReconnectStrategy.d.ts +4 -0
  15. package/lib/Connection/ReconnectStrategy.js +3 -0
  16. package/lib/Connection/ReconnectStrategy.js.map +1 -0
  17. package/lib/Connection/Topology.d.ts +19 -0
  18. package/lib/Connection/Topology.js +3 -0
  19. package/lib/Connection/Topology.js.map +1 -0
  20. package/lib/Exchange/DeclarationOptions.d.ts +20 -0
  21. package/lib/Exchange/DeclarationOptions.js +3 -0
  22. package/lib/Exchange/DeclarationOptions.js.map +1 -0
  23. package/lib/Exchange/Exchange.d.ts +94 -0
  24. package/lib/Exchange/Exchange.js +279 -0
  25. package/lib/Exchange/Exchange.js.map +1 -0
  26. package/lib/Exchange/ExchangeType.d.ts +6 -0
  27. package/lib/Exchange/ExchangeType.js +3 -0
  28. package/lib/Exchange/ExchangeType.js.map +1 -0
  29. package/lib/Exchange/InitializeResult.d.ts +3 -0
  30. package/lib/Exchange/InitializeResult.js +3 -0
  31. package/lib/Exchange/InitializeResult.js.map +1 -0
  32. package/lib/LoggerFactory.d.ts +48 -0
  33. package/lib/LoggerFactory.js +13 -0
  34. package/lib/LoggerFactory.js.map +1 -0
  35. package/lib/Message.d.ts +52 -0
  36. package/lib/Message.js +125 -0
  37. package/lib/Message.js.map +1 -0
  38. package/lib/Queue/DeclarationOptions.d.ts +18 -0
  39. package/lib/Queue/DeclarationOptions.js +3 -0
  40. package/lib/Queue/DeclarationOptions.js.map +1 -0
  41. package/lib/Queue/DeleteResult.d.ts +3 -0
  42. package/lib/Queue/DeleteResult.js +3 -0
  43. package/lib/Queue/DeleteResult.js.map +1 -0
  44. package/lib/Queue/InitializeResult.d.ts +5 -0
  45. package/lib/Queue/InitializeResult.js +3 -0
  46. package/lib/Queue/InitializeResult.js.map +1 -0
  47. package/lib/Queue/Queue.d.ts +107 -0
  48. package/lib/Queue/Queue.js +339 -0
  49. package/lib/Queue/Queue.js.map +1 -0
  50. package/lib/Queue/StartConsumerResult.d.ts +5 -0
  51. package/lib/Queue/StartConsumerResult.js +3 -0
  52. package/lib/Queue/StartConsumerResult.js.map +1 -0
  53. package/lib/amqp-ts.d.ts +9 -0
  54. package/lib/amqp-ts.js +21 -0
  55. package/lib/amqp-ts.js.map +1 -0
  56. package/lib/index.d.ts +14 -0
  57. package/lib/index.js +14 -0
  58. package/lib/index.js.map +1 -0
  59. package/package.json +36 -28
  60. package/CHANGELOG.md +0 -159
package/CHANGELOG.md DELETED
@@ -1,159 +0,0 @@
1
- # [2.5.0](https://github.com/droidsolutions/amqp-ts/compare/v2.4.2...v2.5.0) (2021-07-15)
2
-
3
-
4
- ### Features
5
-
6
- * update amqplib to 0.8.0 ([9ef47cf](https://github.com/droidsolutions/amqp-ts/commit/9ef47cf36782b99ca069dfee73eb64add2a154c7))
7
-
8
- ## [2.4.2](https://github.com/droidsolutions/amqp-ts/compare/v2.4.1...v2.4.2) (2021-05-11)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * **deps:** run npm audit fix ([5fef092](https://github.com/droidsolutions/amqp-ts/commit/5fef0925f15d35719f609b36cd24bbcabb290e04))
14
-
15
- ## [2.4.1](https://github.com/droidsolutions/amqp-ts/compare/v2.4.0...v2.4.1) (2021-03-22)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * update typescript type for options in activateConsumer ([acfd9db](https://github.com/droidsolutions/amqp-ts/commit/acfd9dba949ca0add030ba800fa40c010dfab484))
21
-
22
- # [2.4.0](https://github.com/droidsolutions/amqp-ts/compare/v2.3.0...v2.4.0) (2021-03-22)
23
-
24
-
25
- ### Features
26
-
27
- * add message properties to consumer options ([6d73eb5](https://github.com/droidsolutions/amqp-ts/commit/6d73eb518144602abbfb8db20bf030076895ce9c))
28
-
29
- # [2.3.0](https://github.com/droidsolutions/amqp-ts/compare/v2.2.1...v2.3.0) (2021-03-12)
30
-
31
-
32
- ### Features
33
-
34
- * set Timestamp of message when not given by user ([b576a56](https://github.com/droidsolutions/amqp-ts/commit/b576a56dc273e4d6803a0bff7473bda9c4cbe3db))
35
-
36
- ## [2.2.1](https://github.com/droidsolutions/amqp-ts/compare/v2.2.0...v2.2.1) (2021-03-10)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * don't send auto reply when consumer handler does not return a value ([aa0a6e1](https://github.com/droidsolutions/amqp-ts/commit/aa0a6e1b7d2ba701f43fe6c29415f62e94aebad4))
42
-
43
- # [2.2.0](https://github.com/droidsolutions/amqp-ts/compare/v2.1.0...v2.2.0) (2021-03-09)
44
-
45
-
46
- ### Features
47
-
48
- * add declareQueueAsync and declareExchangeAsync ([0e52d9a](https://github.com/droidsolutions/amqp-ts/commit/0e52d9a071aafae540abc00a78b46bf51bcc9ce8))
49
-
50
- # [2.1.0](https://github.com/droidsolutions/amqp-ts/compare/v2.0.0...v2.1.0) (2021-03-03)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * check process.argv length before determining app name ([f7d0a18](https://github.com/droidsolutions/amqp-ts/commit/f7d0a18193e631bd3f4dfc4eb1ada889a36d8bd2)), closes [abreits/amqp-ts/#62](https://github.com/abreits/amqp-ts//issues/62)
56
-
57
-
58
- ### Features
59
-
60
- * add ExchangeType to prevent wrong exchange type ([e80a01e](https://github.com/droidsolutions/amqp-ts/commit/e80a01e98e7b773503f24009beda3ecb1291e3ce))
61
-
62
- # [2.0.0](https://github.com/droidsolutions/amqp-ts/compare/v1.3.2...v2.0.0) (2021-02-01)
63
-
64
-
65
- ### Code Refactoring
66
-
67
- * replac eunused options interface with amqplib interface ([679359c](https://github.com/droidsolutions/amqp-ts/commit/679359c2579d24b00ce3a74773353efe63632f09))
68
-
69
-
70
- ### BREAKING CHANGES
71
-
72
- * removes StartConsumerOptions export.
73
- * Queue.activateConsumer and Exchange.activateConsumer now takes the
74
- AmqpLib.Options.Consume interface
75
- instead of the StartConsumerOptions. The interfaces look the same so no special actions should be
76
- needed.
77
-
78
- Also adds JSDOC comments on public queue methods and properties.
79
-
80
- ## [1.3.2](https://github.com/droidsolutions/amqp-ts/compare/v1.3.1...v1.3.2) (2020-11-20)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * export ReconnectStrategy ([c9baa02](https://github.com/droidsolutions/amqp-ts/commit/c9baa0213c3b3068fbcb925f932c682bf46bb41a))
86
-
87
- ## [1.3.1](https://github.com/droidsolutions/amqp-ts/compare/v1.3.0...v1.3.1) (2020-10-15)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * suppress "content is not a buffer" ([284b492](https://github.com/droidsolutions/amqp-ts/commit/284b492ad4b3cd3491d809fcc01813ef50f224d2))
93
-
94
- # [1.3.0](https://github.com/droidsolutions/amqp-ts/compare/v1.2.1...v1.3.0) (2020-09-28)
95
-
96
-
97
- ### Features
98
-
99
- * emit jsdoc in transpiled js ([27c5619](https://github.com/droidsolutions/amqp-ts/commit/27c561917999edddc8cbab80e0a9216d11327d85))
100
-
101
- ## [1.2.1](https://github.com/droidsolutions/amqp-ts/compare/v1.2.0...v1.2.1) (2020-09-28)
102
-
103
-
104
- ### Bug Fixes
105
-
106
- * implement AmqpProperties for librrary consumers and add documentation ([e28d535](https://github.com/droidsolutions/amqp-ts/commit/e28d53538a722a89b6c0e7d8884506d686ffe6c3))
107
-
108
- # [1.2.0](https://github.com/droidsolutions/amqp-ts/compare/v1.1.1...v1.2.0) (2020-09-28)
109
-
110
-
111
- ### Features
112
-
113
- * add generic getJsonContent method to Message ([931d40e](https://github.com/droidsolutions/amqp-ts/commit/931d40eac304e67d9c0bd649495cec301e393563))
114
-
115
- ## [1.1.1](https://github.com/droidsolutions/amqp-ts/compare/v1.1.0...v1.1.1) (2020-09-28)
116
-
117
-
118
- ### Bug Fixes
119
-
120
- * re-export Amqp property type ([2b8b887](https://github.com/droidsolutions/amqp-ts/commit/2b8b887e45b69dcc6da65ef15e944b919fe26022))
121
-
122
- # [1.1.0](https://github.com/droidsolutions/amqp-ts/compare/v1.0.3...v1.1.0) (2020-09-28)
123
-
124
-
125
- ### Features
126
-
127
- * set type of Message properties ([b7c965c](https://github.com/droidsolutions/amqp-ts/commit/b7c965c64e24fe48ff34010f1089544a8d9e07dd))
128
- * **deps:** update amqplib to 0.6.0 ([8106b1c](https://github.com/droidsolutions/amqp-ts/commit/8106b1c0a2c8bd0dd2afaa3a34156d0c5dc224e7))
129
-
130
- ## [1.0.3](https://github.com/droidsolutions/amqp-ts/compare/v1.0.2...v1.0.3) (2020-05-25)
131
-
132
-
133
- ### Bug Fixes
134
-
135
- * update amqlib to 0.5.6 ([e254676](https://github.com/droidsolutions/amqp-ts/commit/e254676df29b9c8ce7e369bf58ba8c356f99d4bc))
136
-
137
- ## [1.0.2](https://github.com/droidsolutions/amqp-ts/compare/v1.0.1...v1.0.2) (2020-04-15)
138
-
139
-
140
- ### Bug Fixes
141
-
142
- * make message content public again ([8f19be1](https://github.com/droidsolutions/amqp-ts/commit/8f19be18ea0e591308ddfd72dcc5cc955133fa03))
143
- * make properties of Message public again ([7b3b6ef](https://github.com/droidsolutions/amqp-ts/commit/7b3b6efb24944eefa55c447c2573985bbfc4c1e2))
144
- * make type constructor arg for Exchange optional again ([6cbeae5](https://github.com/droidsolutions/amqp-ts/commit/6cbeae5296b4befa907352ff8e8dde77fb254d40))
145
-
146
- ## [1.0.1](https://github.com/droidsolutions/amqp-ts/compare/v1.0.0...v1.0.1) (2020-04-14)
147
-
148
-
149
- ### Bug Fixes
150
-
151
- * add publishConfig to mark to package public ([a97ba95](https://github.com/droidsolutions/amqp-ts/commit/a97ba95b18dc005af88af4e3c60ccf599bb4e867))
152
-
153
- # 1.0.0 (2020-04-14)
154
-
155
-
156
- ### Features
157
-
158
- * remove winston and add logger factory ([75c5cd1](https://github.com/droidsolutions/amqp-ts/commit/75c5cd131d0c5458e107c62a95d3c344e91bcf6e))
159
- * update amqplib to 0.5.5 ([ffc3d42](https://github.com/droidsolutions/amqp-ts/commit/ffc3d42583a965c4e2e6d313692054c965c3cc95))