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

ddd-es-node

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddd-es-node - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

16

dist/src/runtime/es.js

@@ -37,7 +37,13 @@ "use strict";

const USE_DYNAMO_DB = !(/false/i.test((process.env.USE_DYNAMO_DB || 'false')));
const esCongig = USE_DYNAMO_DB ? {
type: 'dynamodb',
useUndispatchedEventsTable: false
} : {};
const es = (eventstore(esCongig));
let esConfig = {};
if (USE_DYNAMO_DB) {
esConfig = {
type: 'dynamodb',
useUndispatchedEventsTable: false
};
}
if (process.env.RAW_ES_CONFIG) {
esConfig = JSON.parse(process.env.USE_DYNAMO_DB + '');
}
const es = (eventstore(esConfig));
es.init();

@@ -44,0 +50,0 @@ const hydrateEventStream = (events) => {

{
"name": "ddd-es-node",
"version": "0.0.9",
"version": "0.0.10",
"description": "ddd-es-node",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -65,7 +65,13 @@ import {

const esCongig : Object = USE_DYNAMO_DB ? {
type:'dynamodb',
useUndispatchedEventsTable: false
} : {};
const es : EventStoreLib.EventStoreType = ((<EventStoreLib.EventStoreTypeFactory>eventstore)(esCongig));
let esConfig : Object = {};
if(USE_DYNAMO_DB) {
esConfig = {
type:'dynamodb',
useUndispatchedEventsTable: false
};
}
if(process.env.RAW_ES_CONFIG) {
esConfig = JSON.parse(process.env.USE_DYNAMO_DB + '');
}
const es : EventStoreLib.EventStoreType = ((<EventStoreLib.EventStoreTypeFactory>eventstore)(esConfig));
es.init();

@@ -72,0 +78,0 @@

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