@arque/core
Advanced tools
Comparing version 0.9.1 to 0.10.1
@@ -1,2 +0,2 @@ | ||
/** build=2x */ | ||
/** build=8x */ | ||
export * from './libs/event-id'; | ||
@@ -3,0 +3,0 @@ export * from './libs/types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
/** build=2x */ | ||
/** build=8x */ | ||
tslib_1.__exportStar(require("./libs/event-id"), exports); | ||
@@ -6,0 +6,0 @@ tslib_1.__exportStar(require("./libs/types"), exports); |
@@ -5,3 +5,2 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const assert_1 = tslib_1.__importDefault(require("assert")); | ||
const debug_1 = tslib_1.__importDefault(require("debug")); | ||
@@ -38,3 +37,6 @@ const util_1 = require("util"); | ||
const handler = this.eventHandlers.get(event.type); | ||
(0, assert_1.default)(handler, `handler does not exist: event=${event.type}`); | ||
if (!handler) { | ||
this.logger.warn(`handler does not exist: type=${event.type}`); | ||
return; | ||
} | ||
const { handle } = handler; | ||
@@ -41,0 +43,0 @@ if (await this.store.checkProjectionCheckpoint({ projection: this.id, aggregate: event.aggregate })) { |
{ | ||
"name": "@arque/core", | ||
"version": "0.9.1", | ||
"version": "0.10.1", | ||
"description": "`arque` core library", | ||
@@ -22,3 +22,3 @@ "author": "ScaleForge", | ||
"build": "rimraf dist && tsc --project tsconfig.build.json", | ||
"prepublishOnly": "npm run build" | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -35,3 +35,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "edef4bb1ffc26aaec45041dc6c76c3c224aa75ac" | ||
"gitHead": "b981765e5aee0462e42000953c5ae297261f7831" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50551
821