@rotorsoft/act 2.2.6 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUYNNDDE7cjs = require('../chunk-UYNNDDE7.cjs');
5
- require('../chunk-XJZ2PKJH.cjs');
4
+ var _chunkEXXHQ7CScjs = require('../chunk-EXXHQ7CS.cjs');
5
+ require('../chunk-XSLQYVIG.cjs');
6
6
 
7
7
 
8
- var _chunk4GA3CHQWcjs = require('../chunk-4GA3CHQW.cjs');
8
+ var _chunk253TSECAcjs = require('../chunk-253TSECA.cjs');
9
9
 
10
10
  // src/test/sandbox.ts
11
11
  var _vitest = require('vitest');
12
12
  async function sandbox(builder, options = {}) {
13
- const store = options.store ? await options.store() : new (0, _chunkUYNNDDE7cjs.InMemoryStore)();
14
- const cache = options.cache ? await options.cache() : new (0, _chunkUYNNDDE7cjs.InMemoryCache)();
13
+ const store = options.store ? await options.store() : new (0, _chunkEXXHQ7CScjs.InMemoryStore)();
14
+ const cache = options.cache ? await options.cache() : new (0, _chunkEXXHQ7CScjs.InMemoryCache)();
15
15
  await store.seed();
16
16
  let app;
17
17
  try {
@@ -25,7 +25,7 @@ async function sandbox(builder, options = {}) {
25
25
  throw error;
26
26
  }
27
27
  let _disposed;
28
- const dispose = /* @__PURE__ */ _chunk4GA3CHQWcjs.__name.call(void 0, () => {
28
+ const dispose = /* @__PURE__ */ _chunk253TSECAcjs.__name.call(void 0, () => {
29
29
  if (!_disposed) {
30
30
  _disposed = (async () => {
31
31
  await app.shutdown();
@@ -37,10 +37,10 @@ async function sandbox(builder, options = {}) {
37
37
  }, "dispose");
38
38
  return { app, store, cache, dispose };
39
39
  }
40
- _chunk4GA3CHQWcjs.__name.call(void 0, sandbox, "sandbox");
40
+ _chunk253TSECAcjs.__name.call(void 0, sandbox, "sandbox");
41
41
  function fixture(builder, defaults = {}) {
42
42
  return _vitest.test.extend({
43
- app: /* @__PURE__ */ _chunk4GA3CHQWcjs.__name.call(void 0, async ({}, use) => {
43
+ app: /* @__PURE__ */ _chunk253TSECAcjs.__name.call(void 0, async ({}, use) => {
44
44
  const ctx = await sandbox(builder, defaults);
45
45
  try {
46
46
  await use(ctx.app);
@@ -50,7 +50,7 @@ function fixture(builder, defaults = {}) {
50
50
  }, "app")
51
51
  });
52
52
  }
53
- _chunk4GA3CHQWcjs.__name.call(void 0, fixture, "fixture");
53
+ _chunk253TSECAcjs.__name.call(void 0, fixture, "fixture");
54
54
 
55
55
 
56
56
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  InMemoryCache,
3
3
  InMemoryStore
4
- } from "../chunk-SJJVHRME.js";
5
- import "../chunk-KTMIRM5Z.js";
4
+ } from "../chunk-VJ726W5R.js";
5
+ import "../chunk-5DXXAR7D.js";
6
6
  import {
7
7
  __name
8
- } from "../chunk-ROC62MEU.js";
8
+ } from "../chunk-HU7KBNJ7.js";
9
9
 
10
10
  // src/test/sandbox.ts
11
11
  import { test } from "vitest";
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
 
29
- var _chunk4GA3CHQWcjs = require('../chunk-4GA3CHQW.cjs');
29
+ var _chunk253TSECAcjs = require('../chunk-253TSECA.cjs');
30
30
 
31
31
 
32
32
 
@@ -55,5 +55,5 @@ var _chunk4GA3CHQWcjs = require('../chunk-4GA3CHQW.cjs');
55
55
 
56
56
 
57
57
 
58
- exports.ActorSchema = _chunk4GA3CHQWcjs.ActorSchema; exports.CausationEventSchema = _chunk4GA3CHQWcjs.CausationEventSchema; exports.CommittedMetaSchema = _chunk4GA3CHQWcjs.CommittedMetaSchema; exports.ConcurrencyError = _chunk4GA3CHQWcjs.ConcurrencyError; exports.DEFAULT_LANE = _chunk4GA3CHQWcjs.DEFAULT_LANE; exports.DEFAULT_MAX_SUBSCRIBED_STREAMS = _chunk4GA3CHQWcjs.DEFAULT_MAX_SUBSCRIBED_STREAMS; exports.DEFAULT_QUERY_STREAMS_LIMIT = _chunk4GA3CHQWcjs.DEFAULT_QUERY_STREAMS_LIMIT; exports.DEFAULT_SETTLE_DEBOUNCE_MS = _chunk4GA3CHQWcjs.DEFAULT_SETTLE_DEBOUNCE_MS; exports.DeferSignal = _chunk4GA3CHQWcjs.DeferSignal; exports.Environments = _chunk4GA3CHQWcjs.Environments; exports.Errors = _chunk4GA3CHQWcjs.Errors; exports.EventMetaSchema = _chunk4GA3CHQWcjs.EventMetaSchema; exports.ExitCodes = _chunk4GA3CHQWcjs.ExitCodes; exports.LogLevels = _chunk4GA3CHQWcjs.LogLevels; exports.NonRetryableError = _chunk4GA3CHQWcjs.NonRetryableError; exports.PreconditionError = _chunk4GA3CHQWcjs.PreconditionError; exports.QuerySchema = _chunk4GA3CHQWcjs.QuerySchema; exports.REDACTED = _chunk4GA3CHQWcjs.REDACTED; exports.SHREDDED = _chunk4GA3CHQWcjs.SHREDDED; exports.SNAP_EVENT = _chunk4GA3CHQWcjs.SNAP_EVENT; exports.StoreError = _chunk4GA3CHQWcjs.StoreError; exports.StreamClosedError = _chunk4GA3CHQWcjs.StreamClosedError; exports.TOMBSTONE_EVENT = _chunk4GA3CHQWcjs.TOMBSTONE_EVENT; exports.TargetSchema = _chunk4GA3CHQWcjs.TargetSchema; exports.ValidationError = _chunk4GA3CHQWcjs.ValidationError; exports.ZodEmpty = _chunk4GA3CHQWcjs.ZodEmpty; exports.sensitive = _chunk4GA3CHQWcjs.sensitive;
58
+ exports.ActorSchema = _chunk253TSECAcjs.ActorSchema; exports.CausationEventSchema = _chunk253TSECAcjs.CausationEventSchema; exports.CommittedMetaSchema = _chunk253TSECAcjs.CommittedMetaSchema; exports.ConcurrencyError = _chunk253TSECAcjs.ConcurrencyError; exports.DEFAULT_LANE = _chunk253TSECAcjs.DEFAULT_LANE; exports.DEFAULT_MAX_SUBSCRIBED_STREAMS = _chunk253TSECAcjs.DEFAULT_MAX_SUBSCRIBED_STREAMS; exports.DEFAULT_QUERY_STREAMS_LIMIT = _chunk253TSECAcjs.DEFAULT_QUERY_STREAMS_LIMIT; exports.DEFAULT_SETTLE_DEBOUNCE_MS = _chunk253TSECAcjs.DEFAULT_SETTLE_DEBOUNCE_MS; exports.DeferSignal = _chunk253TSECAcjs.DeferSignal; exports.Environments = _chunk253TSECAcjs.Environments; exports.Errors = _chunk253TSECAcjs.Errors; exports.EventMetaSchema = _chunk253TSECAcjs.EventMetaSchema; exports.ExitCodes = _chunk253TSECAcjs.ExitCodes; exports.LogLevels = _chunk253TSECAcjs.LogLevels; exports.NonRetryableError = _chunk253TSECAcjs.NonRetryableError; exports.PreconditionError = _chunk253TSECAcjs.PreconditionError; exports.QuerySchema = _chunk253TSECAcjs.QuerySchema; exports.REDACTED = _chunk253TSECAcjs.REDACTED; exports.SHREDDED = _chunk253TSECAcjs.SHREDDED; exports.SNAP_EVENT = _chunk253TSECAcjs.SNAP_EVENT; exports.StoreError = _chunk253TSECAcjs.StoreError; exports.StreamClosedError = _chunk253TSECAcjs.StreamClosedError; exports.TOMBSTONE_EVENT = _chunk253TSECAcjs.TOMBSTONE_EVENT; exports.TargetSchema = _chunk253TSECAcjs.TargetSchema; exports.ValidationError = _chunk253TSECAcjs.ValidationError; exports.ZodEmpty = _chunk253TSECAcjs.ZodEmpty; exports.sensitive = _chunk253TSECAcjs.sensitive;
59
59
  //# sourceMappingURL=index.cjs.map
@@ -26,7 +26,7 @@ import {
26
26
  ValidationError,
27
27
  ZodEmpty,
28
28
  sensitive
29
- } from "../chunk-ROC62MEU.js";
29
+ } from "../chunk-HU7KBNJ7.js";
30
30
  export {
31
31
  ActorSchema,
32
32
  CausationEventSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rotorsoft/act",
3
3
  "type": "module",
4
- "version": "2.2.6",
4
+ "version": "2.3.1",
5
5
  "description": "act core library",
6
6
  "keywords": [
7
7
  "typescript",