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.9 to 0.1.0-alpha.11

1

dist/index.d.ts
export * from './libs/types';
export * from './libs/event-id';
export * from './libs/event-store';
export * from './libs/aggregate';
export * from './libs/aggregate-factory';

@@ -6,4 +6,5 @@ "use strict";

tslib_1.__exportStar(require("./libs/event-id"), exports);
tslib_1.__exportStar(require("./libs/event-store"), exports);
tslib_1.__exportStar(require("./libs/aggregate"), exports);
tslib_1.__exportStar(require("./libs/aggregate-factory"), exports);
//# sourceMappingURL=index.js.map

9

dist/libs/aggregate-factory.js

@@ -19,3 +19,3 @@ "use strict";

async load(id, opts) {
const _id = id.toString('base64');
const _id = id.toString('hex');
let promise = this.cache.get(_id);

@@ -31,4 +31,9 @@ if (!promise) {

this.cache.set(_id, promise);
return promise;
}
return promise;
const aggregate = await promise;
if (!(opts === null || opts === void 0 ? void 0 : opts.noReload)) {
await aggregate.reload(opts);
}
return aggregate;
}

@@ -35,0 +40,0 @@ }

{
"name": "@arque/core",
"version": "0.1.0-alpha.9",
"version": "0.1.0-alpha.11",
"description": "The Event Sourcing library.",
"author": "rogermadjos <roger@hov.co>",
"homepage": "https://github.com/rogermadjos/arque#readme",
"author": "Scale Technologies",
"homepage": "https://github.com/ScaleTechnologies/arque#README.md",
"license": "MIT",

@@ -14,6 +14,6 @@ "main": "dist/index.js",

"type": "git",
"url": "git+https://github.com/rogermadjos/arque.git"
"url": "git+https://github.com/ScaleTechnologies/arque.git"
},
"bugs": {
"url": "https://github.com/rogermadjos/arque/issues"
"url": "https://github.com/ScaleTechnologies/arque/issues"
},

@@ -34,3 +34,3 @@ "scripts": {

},
"gitHead": "a7d2e512aac47fc0e78122140e5082013d2b3315"
"gitHead": "d1d3bf6dd528d86b4378e145361211befdcd5eb1"
}

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