Socket
Socket
Sign inDemoInstall

@arque/core

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arque/core - npm Package Compare versions

Comparing version 0.1.0-alpha.13 to 0.1.0-alpha.14

dist/libs/error.d.ts

1

dist/index.d.ts

@@ -0,1 +1,2 @@

export * from './libs/error';
export * from './libs/types';

@@ -2,0 +3,0 @@ export * from './libs/event-id';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./libs/error"), exports);
tslib_1.__exportStar(require("./libs/types"), exports);

@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./libs/event-id"), exports);

5

dist/libs/event-store.d.ts

@@ -24,3 +24,3 @@ /// <reference types="node" />

timestamp: Date;
events: Pick<Event, 'id' | 'type' | 'body'>[];
events: Pick<Event, 'id' | 'type' | 'body' | 'meta'>[];
}): Promise<Transaction>;

@@ -50,5 +50,2 @@ listEvents<TEvent = Event>(params: {

}
export declare class InvalidAggregateVersionError extends Error {
constructor(id: Buffer, version: number);
}
export declare class EventStore {

@@ -55,0 +52,0 @@ private readonly storageAdapter;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventStore = exports.InvalidAggregateVersionError = void 0;
class InvalidAggregateVersionError extends Error {
constructor(id, version) {
super(`invalid aggregate version: id=${id.toString('hex')} version=${version}`);
}
}
exports.InvalidAggregateVersionError = InvalidAggregateVersionError;
exports.EventStore = void 0;
class EventStore {

@@ -11,0 +5,0 @@ constructor(storageAdapter, streamAdapter, configurationStorageAdapter) {

{
"name": "@arque/core",
"version": "0.1.0-alpha.13",
"version": "0.1.0-alpha.14",
"description": "The Event Sourcing library.",

@@ -33,3 +33,3 @@ "author": "ScaleForge",

},
"gitHead": "a8dbb1dbd25b495e64c8dd65d52ae2a0229962ce"
"gitHead": "c3ebe93245e992c4c557d66802a65a3fc345832f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc