@ambushsoftworks/nestjs-payments-graphql 0.7.0-rc.3 → 0.7.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 +15 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -28,7 +28,7 @@ prose for buried obligations. The marker was introduced in v0.4.0 and
|
|
|
28
28
|
|
|
29
29
|
## [Unreleased]
|
|
30
30
|
|
|
31
|
-
## [0.7.0] - 2026-09-
|
|
31
|
+
## [0.7.0] - 2026-09-20
|
|
32
32
|
|
|
33
33
|
> **Upgrade notes.** One optional database column, required only if you want
|
|
34
34
|
> the feature.
|
|
@@ -169,6 +169,20 @@ nothing, so consumers heard auto-pauses and never manual ones; and
|
|
|
169
169
|
`InvoiceNumberService` had a retry loop that ran once, a constant that meant
|
|
170
170
|
nothing, and an unreachable exception below it.
|
|
171
171
|
|
|
172
|
+
### Testing
|
|
173
|
+
- **+54 specs, 605 across 25 suites.** New: `e-transfer.service.spec.ts`, which
|
|
174
|
+
the service had gone without entirely — the code a client transcribes into a
|
|
175
|
+
bank's message field by hand had no test that it excludes the characters its
|
|
176
|
+
own comment claimed it excluded, and it did not.
|
|
177
|
+
- **Three test doubles were looser than the interfaces they stand for**, each
|
|
178
|
+
found only when something started depending on the real behaviour: the
|
|
179
|
+
auto-charge repository double had no `findById` though the interface requires
|
|
180
|
+
it, the payment-jobs email double resolved `undefined` where the real method
|
|
181
|
+
resolves a boolean, and `IPaymentRepository`'s double enforced the `Payment`
|
|
182
|
+
unique constraint but not its foreign key — which is why the unknown-invoice
|
|
183
|
+
webhook bug reached a consumer's production. A double that cannot fail for
|
|
184
|
+
the right reason is not a test.
|
|
185
|
+
|
|
172
186
|
### Changed
|
|
173
187
|
- **`strict` is on.** The audit filed it as a release-sized job; it was one
|
|
174
188
|
line. Every error came from `strictPropertyInitialization`, which GraphQL
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambushsoftworks/nestjs-payments-graphql",
|
|
3
|
-
"version": "0.7.0
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "NestJS payments module with GraphQL support — invoicing, payment processing, recurring billing, and email notifications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|