wsp-ms-core 1.1.1 → 1.1.3
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/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -48,6 +48,7 @@ __export(src_exports, {
|
|
|
48
48
|
EventBusMysqlRepository: () => EventBusMysqlRepository,
|
|
49
49
|
EventManager: () => EventManager,
|
|
50
50
|
ExchangeRates: () => ExchangeRates,
|
|
51
|
+
ExternalError: () => ExternalError,
|
|
51
52
|
FatalError: () => FatalError,
|
|
52
53
|
HttpHealthCheckController: () => HttpHealthCheckController,
|
|
53
54
|
HttpNotFoundController: () => HttpNotFoundController,
|
|
@@ -340,6 +341,13 @@ var UsageError = class extends DomainError {
|
|
|
340
341
|
}
|
|
341
342
|
};
|
|
342
343
|
|
|
344
|
+
// src/domain/errors/ExternalError.ts
|
|
345
|
+
var ExternalError = class extends DomainError {
|
|
346
|
+
constructor(type, message = "") {
|
|
347
|
+
super(type, message);
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
|
|
343
351
|
// src/domain/events/DomainEvent.ts
|
|
344
352
|
var DomainEvent = class extends BaseEvent {
|
|
345
353
|
constructor(tenantUuid, version, type, payload, aggregateUuid, aggregateType) {
|
|
@@ -2073,6 +2081,7 @@ var ExchangeRates = class _ExchangeRates extends BaseObject {
|
|
|
2073
2081
|
EventBusMysqlRepository,
|
|
2074
2082
|
EventManager,
|
|
2075
2083
|
ExchangeRates,
|
|
2084
|
+
ExternalError,
|
|
2076
2085
|
FatalError,
|
|
2077
2086
|
HttpHealthCheckController,
|
|
2078
2087
|
HttpNotFoundController,
|