Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acuris/eventstore-api

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acuris/eventstore-api - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

1

dist/EventSource.d.ts

@@ -23,2 +23,3 @@ import { Observable } from "rxjs";

}
export declare function useBatchWriter<T>(batchWriter: EventBatchWriter, block: (eventBatch: EventBatch) => Promise<T>): Promise<T>;
export interface EventBatch {

@@ -25,0 +26,0 @@ writeEvent(stream: StreamId, events: NewEvent[], expectedEventNumber?: number): Promise<void>;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmptyStreamEventNumber = void 0;
exports.EmptyStreamEventNumber = exports.useBatchWriter = void 0;
function useBatchWriter(batchWriter, block) {
const writer = batchWriter.begin();
return block(writer).finally(() => writer.close());
}
exports.useBatchWriter = useBatchWriter;
exports.EmptyStreamEventNumber = -1;

2

package.json
{
"name": "@acuris/eventstore-api",
"private": false,
"version": "1.2.1",
"version": "1.2.2",
"description": "API for accessing event stores",

@@ -6,0 +6,0 @@ "keywords": [

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