@event-driven-io/emmett 0.11.0 → 0.11.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.
- package/dist/chunk-7MFB6DXR.js +1 -0
- package/dist/chunk-7MFB6DXR.js.map +1 -0
- package/dist/chunk-F6WLSL2L.mjs +1 -0
- package/dist/chunk-F6WLSL2L.mjs.map +1 -0
- package/dist/chunk-ICUQU74F.js +2 -0
- package/dist/chunk-ICUQU74F.js.map +1 -0
- package/dist/chunk-QFEG5DNU.mjs +1 -0
- package/dist/chunk-QFEG5DNU.mjs.map +1 -0
- package/dist/chunk-WBBEOT2P.mjs +2 -0
- package/dist/chunk-WBBEOT2P.mjs.map +1 -0
- package/dist/chunk-YGTOG7JR.js +1 -0
- package/dist/chunk-YGTOG7JR.js.map +1 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/messageBus/index.d.mts +1 -1
- package/dist/messageBus/index.d.ts +1 -1
- package/dist/messageBus/index.js +1 -1
- package/dist/messageBus/index.js.map +1 -1
- package/dist/messageBus/index.mjs +1 -1
- package/dist/messageBus/index.mjs.map +1 -1
- package/dist/streaming/index.js +1 -1
- package/dist/streaming/index.mjs +1 -1
- package/dist/subscriptions/index.js +2 -1
- package/dist/subscriptions/index.mjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";//# sourceMappingURL=chunk-7MFB6DXR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-F6WLSL2L.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkE7KI3V22js = require('./chunk-E7KI3V22.js');var p=()=>{let t=new Map,d=[];return{send:async e=>{let n=t.get(e.type);if(n===void 0||n.length===0)throw new (0, _chunkE7KI3V22js.k)(`No handler registered for command ${e.type}!`);let s=n[0];await s(e)},publish:async e=>{let n=_nullishCoalesce(t.get(e.type), () => ([]));for(let s of n)await s(e)},schedule:(e,n)=>{d=[...d,{message:e,options:n}]},handle:(e,...n)=>{let s=[...t.keys()].filter(o=>n.includes(o));if(s.length>0)throw new (0, _chunkE7KI3V22js.k)(`Cannot register handler for commands ${s.join(", ")} as they're already registered!`);for(let o of n)t.set(o,[e])},subscribe(e,...n){for(let s of n)t.has(s)||t.set(s,[]),t.set(s,[..._nullishCoalesce(t.get(s), () => ([])),e])},dequeue:()=>{let e=d;return d=[],e}}};exports.a = p;
|
|
2
|
+
//# sourceMappingURL=chunk-ICUQU74F.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/messageBus/index.ts"],"names":["getInMemoryMessageBus","allHandlers","pendingMessages","command","handlers","EmmettError","commandHandler","event","handler","message","when","commandTypes","alreadyRegistered","registered","commandType","eventHandler","eventTypes","eventType","pending"],"mappings":"wCAyEO,IAAMA,EAAwB,IAEN,CAC7B,IAAMC,EAAc,IAAI,IACpBC,EAAsC,CAAC,EAE3C,MAAO,CACL,KAAM,MACJC,GACkB,CAClB,IAAMC,EAAWH,EAAY,IAAIE,EAAQ,IAAI,EAE7C,GAAIC,IAAa,QAAaA,EAAS,SAAW,EAChD,MAAM,IAAIC,EACR,qCAAqCF,EAAQ,IAAI,GACnD,EAEF,IAAMG,EAAiBF,EAAS,CAAC,EAEjC,MAAME,EAAeH,CAAO,CAC9B,EAEA,QAAS,MACPI,GACkB,CAClB,IAAMH,EAAWH,EAAY,IAAIM,EAAM,IAAI,GAAK,CAAC,EAEjD,QAAWC,KAAWJ,EAGpB,MAFqBI,EAEFD,CAAK,CAE5B,EAEA,SAAU,CACRE,EACAC,IACS,CACTR,EAAkB,CAAC,GAAGA,EAAiB,CAAE,QAAAO,EAAS,QAASC,CAAK,CAAC,CACnE,EAEA,OAAQ,CACNJ,KACGK,IACM,CACT,IAAMC,EAAoB,CAAC,GAAGX,EAAY,KAAK,CAAC,EAAE,OAAQY,GACxDF,EAAa,SAASE,CAAU,CAClC,EAEA,GAAID,EAAkB,OAAS,EAC7B,MAAM,IAAIP,EACR,wCAAwCO,EAAkB,KAAK,IAAI,CAAC,iCACtE,EACF,QAAWE,KAAeH,EACxBV,EAAY,IAAIa,EAAa,CAACR,CAAgC,CAAC,CAEnE,EAEA,UACES,KACGC,EACG,CACN,QAAWC,KAAaD,EACjBf,EAAY,IAAIgB,CAAS,GAAGhB,EAAY,IAAIgB,EAAW,CAAC,CAAC,EAE9DhB,EAAY,IAAIgB,EAAW,CACzB,GAAIhB,EAAY,IAAIgB,CAAS,GAAK,CAAC,EACnCF,CACF,CAAC,CAEL,EAEA,QAAS,IAA0B,CACjC,IAAMG,EAAUhB,EAChB,OAAAA,EAAkB,CAAC,EACZgB,CACT,CACF,CACF","sourcesContent":["import { EmmettError } from '../errors';\nimport {\n type Command,\n type CommandTypeOf,\n type Event,\n type EventTypeOf,\n} from '../typing';\n\nexport interface CommandSender {\n send<CommandType extends Command = Command>(\n command: CommandType,\n ): Promise<void>;\n}\n\nexport interface EventsPublisher {\n publish<EventType extends Event = Event>(event: EventType): Promise<void>;\n}\n\nexport type ScheduleOptions = { afterInMs: number } | { at: Date };\n\nexport interface MessageScheduler<CommandOrEvent extends Command | Event> {\n schedule<MessageType extends CommandOrEvent>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void;\n}\n\nexport interface CommandBus extends CommandSender, MessageScheduler<Command> {}\n\nexport interface EventBus extends EventsPublisher, MessageScheduler<Event> {}\n\nexport interface MessageBus extends CommandBus, EventBus {\n schedule<MessageType extends Command | Event>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void;\n}\n\ntype CommandHandler<CommandType extends Command = Command> = (\n command: CommandType,\n) => Promise<void> | void;\n\nexport interface CommandProcessor {\n handle<CommandType extends Command>(\n commandHandler: CommandHandler<CommandType>,\n ...commandTypes: CommandTypeOf<CommandType>[]\n ): void;\n}\n\ntype EventHandler<EventType extends Event = Event> = (\n event: EventType,\n) => Promise<void> | void;\n\nexport interface EventProcessor {\n subscribe<EventType extends Event>(\n eventHandler: EventHandler<EventType>,\n ...eventTypes: EventTypeOf<EventType>[]\n ): void;\n}\n\nexport type ScheduledMessage = {\n message: Event | Command;\n options?: ScheduleOptions;\n};\n\nexport interface ScheduledMessageProcessor {\n dequeue(): ScheduledMessage[];\n}\n\nexport type MessageHandler = CommandHandler | EventHandler;\n\nexport type MessageProcessor = EventProcessor | CommandProcessor;\n\nexport const getInMemoryMessageBus = (): MessageBus &\n MessageProcessor &\n ScheduledMessageProcessor => {\n const allHandlers = new Map<string, MessageHandler[]>();\n let pendingMessages: ScheduledMessage[] = [];\n\n return {\n send: async <CommandType extends Command = Command>(\n command: CommandType,\n ): Promise<void> => {\n const handlers = allHandlers.get(command.type);\n\n if (handlers === undefined || handlers.length === 0)\n throw new EmmettError(\n `No handler registered for command ${command.type}!`,\n );\n\n const commandHandler = handlers[0] as CommandHandler<CommandType>;\n\n await commandHandler(command);\n },\n\n publish: async <EventType extends Event = Event>(\n event: EventType,\n ): Promise<void> => {\n const handlers = allHandlers.get(event.type) ?? [];\n\n for (const handler of handlers) {\n const eventHandler = handler as EventHandler<EventType>;\n\n await eventHandler(event);\n }\n },\n\n schedule: <MessageType extends Command | Event>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void => {\n pendingMessages = [...pendingMessages, { message, options: when }];\n },\n\n handle: <CommandType extends Command>(\n commandHandler: CommandHandler<CommandType>,\n ...commandTypes: CommandTypeOf<CommandType>[]\n ): void => {\n const alreadyRegistered = [...allHandlers.keys()].filter((registered) =>\n commandTypes.includes(registered),\n );\n\n if (alreadyRegistered.length > 0)\n throw new EmmettError(\n `Cannot register handler for commands ${alreadyRegistered.join(', ')} as they're already registered!`,\n );\n for (const commandType of commandTypes) {\n allHandlers.set(commandType, [commandHandler as MessageHandler]);\n }\n },\n\n subscribe<EventType extends Event>(\n eventHandler: EventHandler<EventType>,\n ...eventTypes: EventTypeOf<EventType>[]\n ): void {\n for (const eventType of eventTypes) {\n if (!allHandlers.has(eventType)) allHandlers.set(eventType, []);\n\n allHandlers.set(eventType, [\n ...(allHandlers.get(eventType) ?? []),\n eventHandler as MessageHandler,\n ]);\n }\n },\n\n dequeue: (): ScheduledMessage[] => {\n const pending = pendingMessages;\n pendingMessages = [];\n return pending;\n },\n };\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-QFEG5DNU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{k as a}from"./chunk-KLLSLLHN.mjs";var p=()=>{let t=new Map,d=[];return{send:async e=>{let n=t.get(e.type);if(n===void 0||n.length===0)throw new a(`No handler registered for command ${e.type}!`);let s=n[0];await s(e)},publish:async e=>{let n=t.get(e.type)??[];for(let s of n)await s(e)},schedule:(e,n)=>{d=[...d,{message:e,options:n}]},handle:(e,...n)=>{let s=[...t.keys()].filter(o=>n.includes(o));if(s.length>0)throw new a(`Cannot register handler for commands ${s.join(", ")} as they're already registered!`);for(let o of n)t.set(o,[e])},subscribe(e,...n){for(let s of n)t.has(s)||t.set(s,[]),t.set(s,[...t.get(s)??[],e])},dequeue:()=>{let e=d;return d=[],e}}};export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WBBEOT2P.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/messageBus/index.ts"],"sourcesContent":["import { EmmettError } from '../errors';\nimport {\n type Command,\n type CommandTypeOf,\n type Event,\n type EventTypeOf,\n} from '../typing';\n\nexport interface CommandSender {\n send<CommandType extends Command = Command>(\n command: CommandType,\n ): Promise<void>;\n}\n\nexport interface EventsPublisher {\n publish<EventType extends Event = Event>(event: EventType): Promise<void>;\n}\n\nexport type ScheduleOptions = { afterInMs: number } | { at: Date };\n\nexport interface MessageScheduler<CommandOrEvent extends Command | Event> {\n schedule<MessageType extends CommandOrEvent>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void;\n}\n\nexport interface CommandBus extends CommandSender, MessageScheduler<Command> {}\n\nexport interface EventBus extends EventsPublisher, MessageScheduler<Event> {}\n\nexport interface MessageBus extends CommandBus, EventBus {\n schedule<MessageType extends Command | Event>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void;\n}\n\ntype CommandHandler<CommandType extends Command = Command> = (\n command: CommandType,\n) => Promise<void> | void;\n\nexport interface CommandProcessor {\n handle<CommandType extends Command>(\n commandHandler: CommandHandler<CommandType>,\n ...commandTypes: CommandTypeOf<CommandType>[]\n ): void;\n}\n\ntype EventHandler<EventType extends Event = Event> = (\n event: EventType,\n) => Promise<void> | void;\n\nexport interface EventProcessor {\n subscribe<EventType extends Event>(\n eventHandler: EventHandler<EventType>,\n ...eventTypes: EventTypeOf<EventType>[]\n ): void;\n}\n\nexport type ScheduledMessage = {\n message: Event | Command;\n options?: ScheduleOptions;\n};\n\nexport interface ScheduledMessageProcessor {\n dequeue(): ScheduledMessage[];\n}\n\nexport type MessageHandler = CommandHandler | EventHandler;\n\nexport type MessageProcessor = EventProcessor | CommandProcessor;\n\nexport const getInMemoryMessageBus = (): MessageBus &\n MessageProcessor &\n ScheduledMessageProcessor => {\n const allHandlers = new Map<string, MessageHandler[]>();\n let pendingMessages: ScheduledMessage[] = [];\n\n return {\n send: async <CommandType extends Command = Command>(\n command: CommandType,\n ): Promise<void> => {\n const handlers = allHandlers.get(command.type);\n\n if (handlers === undefined || handlers.length === 0)\n throw new EmmettError(\n `No handler registered for command ${command.type}!`,\n );\n\n const commandHandler = handlers[0] as CommandHandler<CommandType>;\n\n await commandHandler(command);\n },\n\n publish: async <EventType extends Event = Event>(\n event: EventType,\n ): Promise<void> => {\n const handlers = allHandlers.get(event.type) ?? [];\n\n for (const handler of handlers) {\n const eventHandler = handler as EventHandler<EventType>;\n\n await eventHandler(event);\n }\n },\n\n schedule: <MessageType extends Command | Event>(\n message: MessageType,\n when?: ScheduleOptions,\n ): void => {\n pendingMessages = [...pendingMessages, { message, options: when }];\n },\n\n handle: <CommandType extends Command>(\n commandHandler: CommandHandler<CommandType>,\n ...commandTypes: CommandTypeOf<CommandType>[]\n ): void => {\n const alreadyRegistered = [...allHandlers.keys()].filter((registered) =>\n commandTypes.includes(registered),\n );\n\n if (alreadyRegistered.length > 0)\n throw new EmmettError(\n `Cannot register handler for commands ${alreadyRegistered.join(', ')} as they're already registered!`,\n );\n for (const commandType of commandTypes) {\n allHandlers.set(commandType, [commandHandler as MessageHandler]);\n }\n },\n\n subscribe<EventType extends Event>(\n eventHandler: EventHandler<EventType>,\n ...eventTypes: EventTypeOf<EventType>[]\n ): void {\n for (const eventType of eventTypes) {\n if (!allHandlers.has(eventType)) allHandlers.set(eventType, []);\n\n allHandlers.set(eventType, [\n ...(allHandlers.get(eventType) ?? []),\n eventHandler as MessageHandler,\n ]);\n }\n },\n\n dequeue: (): ScheduledMessage[] => {\n const pending = pendingMessages;\n pendingMessages = [];\n return pending;\n },\n };\n};\n"],"mappings":"yCAyEO,IAAMA,EAAwB,IAEN,CAC7B,IAAMC,EAAc,IAAI,IACpBC,EAAsC,CAAC,EAE3C,MAAO,CACL,KAAM,MACJC,GACkB,CAClB,IAAMC,EAAWH,EAAY,IAAIE,EAAQ,IAAI,EAE7C,GAAIC,IAAa,QAAaA,EAAS,SAAW,EAChD,MAAM,IAAIC,EACR,qCAAqCF,EAAQ,IAAI,GACnD,EAEF,IAAMG,EAAiBF,EAAS,CAAC,EAEjC,MAAME,EAAeH,CAAO,CAC9B,EAEA,QAAS,MACPI,GACkB,CAClB,IAAMH,EAAWH,EAAY,IAAIM,EAAM,IAAI,GAAK,CAAC,EAEjD,QAAWC,KAAWJ,EAGpB,MAFqBI,EAEFD,CAAK,CAE5B,EAEA,SAAU,CACRE,EACAC,IACS,CACTR,EAAkB,CAAC,GAAGA,EAAiB,CAAE,QAAAO,EAAS,QAASC,CAAK,CAAC,CACnE,EAEA,OAAQ,CACNJ,KACGK,IACM,CACT,IAAMC,EAAoB,CAAC,GAAGX,EAAY,KAAK,CAAC,EAAE,OAAQY,GACxDF,EAAa,SAASE,CAAU,CAClC,EAEA,GAAID,EAAkB,OAAS,EAC7B,MAAM,IAAIP,EACR,wCAAwCO,EAAkB,KAAK,IAAI,CAAC,iCACtE,EACF,QAAWE,KAAeH,EACxBV,EAAY,IAAIa,EAAa,CAACR,CAAgC,CAAC,CAEnE,EAEA,UACES,KACGC,EACG,CACN,QAAWC,KAAaD,EACjBf,EAAY,IAAIgB,CAAS,GAAGhB,EAAY,IAAIgB,EAAW,CAAC,CAAC,EAE9DhB,EAAY,IAAIgB,EAAW,CACzB,GAAIhB,EAAY,IAAIgB,CAAS,GAAK,CAAC,EACnCF,CACF,CAAC,CAEL,EAEA,QAAS,IAA0B,CACjC,IAAMG,EAAUhB,EAChB,OAAAA,EAAkB,CAAC,EACZgB,CACT,CACF,CACF","names":["getInMemoryMessageBus","allHandlers","pendingMessages","command","handlers","EmmettError","commandHandler","event","handler","message","when","commandTypes","alreadyRegistered","registered","commandType","eventHandler","eventTypes","eventType","pending"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";//# sourceMappingURL=chunk-YGTOG7JR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,12 @@ export { DeciderCommandHandler } from './commandHandling/handleCommandWithDecide
|
|
|
3
3
|
export { ConcurrencyError, EmmettError, ErrorConstructor, IllegalStateError, NotFoundError, ValidationError, isErrorConstructor } from './errors/index.mjs';
|
|
4
4
|
export { A as AggregateStreamOptions, b as AggregateStreamResult, c as AppendToStreamOptions, d as AppendToStreamResult, D as DefaultStreamVersionType, E as EventStore, e as ExpectedStreamVersion, g as ExpectedStreamVersionGeneral, f as ExpectedStreamVersionWithValue, j as ExpectedVersionConflictError, N as NO_CONCURRENCY_CHECK, R as ReadStreamOptions, a as ReadStreamResult, h as STREAM_DOES_NOT_EXIST, S as STREAM_EXISTS, i as assertExpectedVersionMatchesCurrent, m as matchesExpectedVersion } from './eventStore-CdmvM2NC.mjs';
|
|
5
5
|
export { EventHandler, getInMemoryEventStore } from './eventStore/inMemoryEventStore.mjs';
|
|
6
|
+
export { CommandBus, CommandProcessor, CommandSender, EventBus, EventProcessor, EventsPublisher, MessageBus, MessageHandler, MessageProcessor, MessageScheduler, ScheduleOptions, ScheduledMessage, ScheduledMessageProcessor, getInMemoryMessageBus } from './messageBus/index.mjs';
|
|
6
7
|
export { JSONParser, Mapper, MapperArgs, ParseError, ParseOptions, StringifyOptions } from './serialization/json/JSONParser.mjs';
|
|
8
|
+
export { concatUint8Arrays } from './streaming/binaryArrays.mjs';
|
|
9
|
+
export { collectStream } from './streaming/collect.mjs';
|
|
10
|
+
export { BinaryJsonDecoder, CompositeDecoder, Decoder, DefaultDecoder, JsonDecoder, ObjectDecoder, StringDecoder } from './streaming/decoders/index.mjs';
|
|
11
|
+
export { restream } from './streaming/restream.mjs';
|
|
7
12
|
export { ArgumentMatcher, AssertionError, MockedFunction, argMatches, argValue, assertDeepEqual, assertEqual, assertFails, assertFalse, assertIsNotNull, assertIsNull, assertMatches, assertNotEqual, assertOk, assertThat, assertThatArray, assertThrows, assertTrue, isSubset, verifyThat } from './testing/assertions.mjs';
|
|
8
13
|
export { DeciderSpecfication, DeciderSpecification, ThenThrows } from './testing/deciderSpecification.mjs';
|
|
9
14
|
export { TestEventStream, WrapEventStore } from './testing/wrapEventStore.mjs';
|
|
@@ -14,3 +19,5 @@ export { merge } from './utils/merge.mjs';
|
|
|
14
19
|
export { ValidationErrors, assertNotEmptyString, assertPositiveNumber, assertUnsignedBigInt, isNumber, isString } from './validation/index.mjs';
|
|
15
20
|
export { DeepReadonly, Mutable } from './typing/deepReadonly.mjs';
|
|
16
21
|
export { formatDateToUtcYYYYMMDD, isValidYYYYMMDD, parseDateFromUtcYYYYMMDD } from './validation/dates.mjs';
|
|
22
|
+
import 'web-streams-polyfill';
|
|
23
|
+
import 'async-retry';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,12 @@ export { DeciderCommandHandler } from './commandHandling/handleCommandWithDecide
|
|
|
3
3
|
export { ConcurrencyError, EmmettError, ErrorConstructor, IllegalStateError, NotFoundError, ValidationError, isErrorConstructor } from './errors/index.js';
|
|
4
4
|
export { A as AggregateStreamOptions, b as AggregateStreamResult, c as AppendToStreamOptions, d as AppendToStreamResult, D as DefaultStreamVersionType, E as EventStore, e as ExpectedStreamVersion, g as ExpectedStreamVersionGeneral, f as ExpectedStreamVersionWithValue, j as ExpectedVersionConflictError, N as NO_CONCURRENCY_CHECK, R as ReadStreamOptions, a as ReadStreamResult, h as STREAM_DOES_NOT_EXIST, S as STREAM_EXISTS, i as assertExpectedVersionMatchesCurrent, m as matchesExpectedVersion } from './eventStore-BovqZT1r.js';
|
|
5
5
|
export { EventHandler, getInMemoryEventStore } from './eventStore/inMemoryEventStore.js';
|
|
6
|
+
export { CommandBus, CommandProcessor, CommandSender, EventBus, EventProcessor, EventsPublisher, MessageBus, MessageHandler, MessageProcessor, MessageScheduler, ScheduleOptions, ScheduledMessage, ScheduledMessageProcessor, getInMemoryMessageBus } from './messageBus/index.js';
|
|
6
7
|
export { JSONParser, Mapper, MapperArgs, ParseError, ParseOptions, StringifyOptions } from './serialization/json/JSONParser.js';
|
|
8
|
+
export { concatUint8Arrays } from './streaming/binaryArrays.js';
|
|
9
|
+
export { collectStream } from './streaming/collect.js';
|
|
10
|
+
export { BinaryJsonDecoder, CompositeDecoder, Decoder, DefaultDecoder, JsonDecoder, ObjectDecoder, StringDecoder } from './streaming/decoders/index.js';
|
|
11
|
+
export { restream } from './streaming/restream.js';
|
|
7
12
|
export { ArgumentMatcher, AssertionError, MockedFunction, argMatches, argValue, assertDeepEqual, assertEqual, assertFails, assertFalse, assertIsNotNull, assertIsNull, assertMatches, assertNotEqual, assertOk, assertThat, assertThatArray, assertThrows, assertTrue, isSubset, verifyThat } from './testing/assertions.js';
|
|
8
13
|
export { DeciderSpecfication, DeciderSpecification, ThenThrows } from './testing/deciderSpecification.js';
|
|
9
14
|
export { TestEventStream, WrapEventStore } from './testing/wrapEventStore.js';
|
|
@@ -14,3 +19,5 @@ export { merge } from './utils/merge.js';
|
|
|
14
19
|
export { ValidationErrors, assertNotEmptyString, assertPositiveNumber, assertUnsignedBigInt, isNumber, isString } from './validation/index.js';
|
|
15
20
|
export { DeepReadonly, Mutable } from './typing/deepReadonly.js';
|
|
16
21
|
export { formatDateToUtcYYYYMMDD, isValidYYYYMMDD, parseDateFromUtcYYYYMMDD } from './validation/dates.js';
|
|
22
|
+
import 'web-streams-polyfill';
|
|
23
|
+
import 'async-retry';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-BNCTLP4B.js');var _chunkTNX525X5js = require('./chunk-TNX525X5.js');var _chunkOIDX2JMHjs = require('./chunk-OIDX2JMH.js');var _chunkVCCKNYOYjs = require('./chunk-VCCKNYOY.js');require('./chunk-6IATZUYD.js');var _chunkPVFUNWT6js = require('./chunk-PVFUNWT6.js');var _chunkFE73T2NSjs = require('./chunk-FE73T2NS.js');var _chunk3JE5DUJ2js = require('./chunk-3JE5DUJ2.js');require('./chunk-ZLASBJGR.js');var _chunkMHB2JU4Ujs = require('./chunk-MHB2JU4U.js');require('./chunk-7FJXUW3D.js');require('./chunk-5BGN2FV4.js');var _chunkKQAFRLJ2js = require('./chunk-KQAFRLJ2.js');var _chunkUFUSYJWUjs = require('./chunk-UFUSYJWU.js');require('./chunk-LOJ6A4AJ.js');require('./chunk-AU2WZCER.js');var _chunkLYKEARRWjs = require('./chunk-LYKEARRW.js');require('./chunk-F7QRI2VL.js');var _chunkTNJCS5RVjs = require('./chunk-TNJCS5RV.js');var _chunkPRYQOCWYjs = require('./chunk-PRYQOCWY.js');require('./chunk-2452BJTJ.js');var _chunk74HCODMEjs = require('./chunk-74HCODME.js');require('./chunk-IJGC6SHP.js');var _chunkVY2C2KCWjs = require('./chunk-VY2C2KCW.js');var _chunkE7KI3V22js = require('./chunk-E7KI3V22.js');exports.AssertionError = _chunkVCCKNYOYjs.a; exports.CommandHandler = _chunkPRYQOCWYjs.a; exports.ConcurrencyError = _chunkE7KI3V22js.l; exports.DeciderCommandHandler = _chunkTNJCS5RVjs.a; exports.DeciderSpecification = _chunkOIDX2JMHjs.a; exports.EmmettError = _chunkE7KI3V22js.k; exports.ExpectedVersionConflictError = _chunkVY2C2KCWjs.f; exports.IllegalStateError = _chunkE7KI3V22js.n; exports.JSONParser = _chunkLYKEARRWjs.b; exports.NO_CONCURRENCY_CHECK = _chunkVY2C2KCWjs.c; exports.NotFoundError = _chunkE7KI3V22js.o; exports.ParseError = _chunkLYKEARRWjs.a; exports.STREAM_DOES_NOT_EXIST = _chunkVY2C2KCWjs.b; exports.STREAM_EXISTS = _chunkVY2C2KCWjs.a; exports.ValidationError = _chunkE7KI3V22js.m; exports.ValidationErrors = _chunkE7KI3V22js.d; exports.WrapEventStore = _chunkTNX525X5js.a; exports.accept = _chunkUFUSYJWUjs.h; exports.argMatches = _chunkVCCKNYOYjs.p; exports.argValue = _chunkVCCKNYOYjs.o; exports.assertDeepEqual = _chunkVCCKNYOYjs.f; exports.assertEqual = _chunkVCCKNYOYjs.k; exports.assertExpectedVersionMatchesCurrent = _chunkVY2C2KCWjs.e; exports.assertFails = _chunkVCCKNYOYjs.c; exports.assertFalse = _chunkVCCKNYOYjs.h; exports.assertIsNotNull = _chunkVCCKNYOYjs.m; exports.assertIsNull = _chunkVCCKNYOYjs.n; exports.assertMatches = _chunkVCCKNYOYjs.e; exports.assertNotEmptyString = _chunkE7KI3V22js.g; exports.assertNotEqual = _chunkVCCKNYOYjs.l; exports.assertOk = _chunkVCCKNYOYjs.j; exports.assertPositiveNumber = _chunkE7KI3V22js.h; exports.assertThat = _chunkVCCKNYOYjs.g; exports.assertThatArray = _chunkVCCKNYOYjs.r; exports.assertThrows = _chunkVCCKNYOYjs.d; exports.assertTrue = _chunkVCCKNYOYjs.i; exports.assertUnsignedBigInt = _chunkE7KI3V22js.i; exports.command = _chunkMHB2JU4Ujs.a; exports.complete = _chunkUFUSYJWUjs.e; exports.deepEquals = _chunkPVFUNWT6js.a; exports.error = _chunkUFUSYJWUjs.g; exports.event = _chunkKQAFRLJ2js.a; exports.formatDateToUtcYYYYMMDD = _chunkE7KI3V22js.a; exports.getInMemoryEventStore = _chunk74HCODMEjs.a; exports.ignore = _chunkUFUSYJWUjs.f; exports.isEquatable = _chunkPVFUNWT6js.b; exports.isErrorConstructor = _chunkE7KI3V22js.j; exports.isNumber = _chunkE7KI3V22js.e; exports.isString = _chunkE7KI3V22js.f; exports.isSubset = _chunkVCCKNYOYjs.b; exports.isValidYYYYMMDD = _chunkE7KI3V22js.b; exports.matchesExpectedVersion = _chunkVY2C2KCWjs.d; exports.merge = _chunk3JE5DUJ2js.a; exports.parseDateFromUtcYYYYMMDD = _chunkE7KI3V22js.c; exports.publish = _chunkUFUSYJWUjs.c; exports.reply = _chunkUFUSYJWUjs.a; exports.schedule = _chunkUFUSYJWUjs.d; exports.send = _chunkUFUSYJWUjs.b; exports.sum = _chunkFE73T2NSjs.a; exports.verifyThat = _chunkVCCKNYOYjs.q;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7MFB6DXR.js');require('./chunk-BP5RXRGL.js');var _chunk7ZSJY377js = require('./chunk-7ZSJY377.js');var _chunkG6LPI3PAjs = require('./chunk-G6LPI3PA.js');var _chunk2E7KSKKIjs = require('./chunk-2E7KSKKI.js');var _chunk5JZKD7CBjs = require('./chunk-5JZKD7CB.js');var _chunkZIBX4FPGjs = require('./chunk-ZIBX4FPG.js');var _chunkFNYJ62ROjs = require('./chunk-FNYJ62RO.js');require('./chunk-YGTOG7JR.js');require('./chunk-BNCTLP4B.js');var _chunkTNX525X5js = require('./chunk-TNX525X5.js');var _chunkOIDX2JMHjs = require('./chunk-OIDX2JMH.js');var _chunkVCCKNYOYjs = require('./chunk-VCCKNYOY.js');require('./chunk-6IATZUYD.js');var _chunkPVFUNWT6js = require('./chunk-PVFUNWT6.js');var _chunkFE73T2NSjs = require('./chunk-FE73T2NS.js');var _chunk3JE5DUJ2js = require('./chunk-3JE5DUJ2.js');var _chunkICUQU74Fjs = require('./chunk-ICUQU74F.js');require('./chunk-ZLASBJGR.js');var _chunkMHB2JU4Ujs = require('./chunk-MHB2JU4U.js');require('./chunk-7FJXUW3D.js');require('./chunk-5BGN2FV4.js');var _chunkKQAFRLJ2js = require('./chunk-KQAFRLJ2.js');var _chunkUFUSYJWUjs = require('./chunk-UFUSYJWU.js');require('./chunk-LOJ6A4AJ.js');require('./chunk-AU2WZCER.js');var _chunkLYKEARRWjs = require('./chunk-LYKEARRW.js');var _chunk4K5I5WJGjs = require('./chunk-4K5I5WJG.js');var _chunkUHJAD4TUjs = require('./chunk-UHJAD4TU.js');require('./chunk-F7QRI2VL.js');var _chunkTNJCS5RVjs = require('./chunk-TNJCS5RV.js');var _chunkPRYQOCWYjs = require('./chunk-PRYQOCWY.js');require('./chunk-2452BJTJ.js');var _chunk74HCODMEjs = require('./chunk-74HCODME.js');require('./chunk-IJGC6SHP.js');var _chunkVY2C2KCWjs = require('./chunk-VY2C2KCW.js');var _chunkE7KI3V22js = require('./chunk-E7KI3V22.js');exports.AssertionError = _chunkVCCKNYOYjs.a; exports.BinaryJsonDecoder = _chunk2E7KSKKIjs.a; exports.CommandHandler = _chunkPRYQOCWYjs.a; exports.CompositeDecoder = _chunkG6LPI3PAjs.a; exports.ConcurrencyError = _chunkE7KI3V22js.l; exports.DeciderCommandHandler = _chunkTNJCS5RVjs.a; exports.DeciderSpecification = _chunkOIDX2JMHjs.a; exports.DefaultDecoder = _chunkG6LPI3PAjs.b; exports.EmmettError = _chunkE7KI3V22js.k; exports.ExpectedVersionConflictError = _chunkVY2C2KCWjs.f; exports.IllegalStateError = _chunkE7KI3V22js.n; exports.JSONParser = _chunkLYKEARRWjs.b; exports.JsonDecoder = _chunk5JZKD7CBjs.a; exports.NO_CONCURRENCY_CHECK = _chunkVY2C2KCWjs.c; exports.NotFoundError = _chunkE7KI3V22js.o; exports.ObjectDecoder = _chunkZIBX4FPGjs.a; exports.ParseError = _chunkLYKEARRWjs.a; exports.STREAM_DOES_NOT_EXIST = _chunkVY2C2KCWjs.b; exports.STREAM_EXISTS = _chunkVY2C2KCWjs.a; exports.StringDecoder = _chunkFNYJ62ROjs.a; exports.ValidationError = _chunkE7KI3V22js.m; exports.ValidationErrors = _chunkE7KI3V22js.d; exports.WrapEventStore = _chunkTNX525X5js.a; exports.accept = _chunkUFUSYJWUjs.h; exports.argMatches = _chunkVCCKNYOYjs.p; exports.argValue = _chunkVCCKNYOYjs.o; exports.assertDeepEqual = _chunkVCCKNYOYjs.f; exports.assertEqual = _chunkVCCKNYOYjs.k; exports.assertExpectedVersionMatchesCurrent = _chunkVY2C2KCWjs.e; exports.assertFails = _chunkVCCKNYOYjs.c; exports.assertFalse = _chunkVCCKNYOYjs.h; exports.assertIsNotNull = _chunkVCCKNYOYjs.m; exports.assertIsNull = _chunkVCCKNYOYjs.n; exports.assertMatches = _chunkVCCKNYOYjs.e; exports.assertNotEmptyString = _chunkE7KI3V22js.g; exports.assertNotEqual = _chunkVCCKNYOYjs.l; exports.assertOk = _chunkVCCKNYOYjs.j; exports.assertPositiveNumber = _chunkE7KI3V22js.h; exports.assertThat = _chunkVCCKNYOYjs.g; exports.assertThatArray = _chunkVCCKNYOYjs.r; exports.assertThrows = _chunkVCCKNYOYjs.d; exports.assertTrue = _chunkVCCKNYOYjs.i; exports.assertUnsignedBigInt = _chunkE7KI3V22js.i; exports.collectStream = _chunkUHJAD4TUjs.a; exports.command = _chunkMHB2JU4Ujs.a; exports.complete = _chunkUFUSYJWUjs.e; exports.concatUint8Arrays = _chunk4K5I5WJGjs.a; exports.deepEquals = _chunkPVFUNWT6js.a; exports.error = _chunkUFUSYJWUjs.g; exports.event = _chunkKQAFRLJ2js.a; exports.formatDateToUtcYYYYMMDD = _chunkE7KI3V22js.a; exports.getInMemoryEventStore = _chunk74HCODMEjs.a; exports.getInMemoryMessageBus = _chunkICUQU74Fjs.a; exports.ignore = _chunkUFUSYJWUjs.f; exports.isEquatable = _chunkPVFUNWT6js.b; exports.isErrorConstructor = _chunkE7KI3V22js.j; exports.isNumber = _chunkE7KI3V22js.e; exports.isString = _chunkE7KI3V22js.f; exports.isSubset = _chunkVCCKNYOYjs.b; exports.isValidYYYYMMDD = _chunkE7KI3V22js.b; exports.matchesExpectedVersion = _chunkVY2C2KCWjs.d; exports.merge = _chunk3JE5DUJ2js.a; exports.parseDateFromUtcYYYYMMDD = _chunkE7KI3V22js.c; exports.publish = _chunkUFUSYJWUjs.c; exports.reply = _chunkUFUSYJWUjs.a; exports.restream = _chunk7ZSJY377js.a; exports.schedule = _chunkUFUSYJWUjs.d; exports.send = _chunkUFUSYJWUjs.b; exports.sum = _chunkFE73T2NSjs.a; exports.verifyThat = _chunkVCCKNYOYjs.q;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./chunk-AHXBZPOE.mjs";import{a as
|
|
1
|
+
import"./chunk-F6WLSL2L.mjs";import"./chunk-FVA6ACSC.mjs";import{a as T}from"./chunk-ZV7YVTI7.mjs";import{a as R,b as S}from"./chunk-TKIRQ76T.mjs";import{a as N}from"./chunk-HKNRGZN2.mjs";import{a as P}from"./chunk-MR2WVMFM.mjs";import{a as Q}from"./chunk-S3C5CKD5.mjs";import{a as O}from"./chunk-VTWTSAHB.mjs";import"./chunk-QFEG5DNU.mjs";import"./chunk-AHXBZPOE.mjs";import{a as ko}from"./chunk-N6X7QWHP.mjs";import{a as jo}from"./chunk-EYIJ7ZKY.mjs";import{a as Y,b as Z,c as _,d as $,e as oo,f as ro,g as eo,h as fo,i as mo,j as po,k as to,l as xo,m as ao,n as bo,o as co,p as go,q as ho,r as io}from"./chunk-ZFBWMZ55.mjs";import"./chunk-3DH3DSMC.mjs";import{a as U,b as V}from"./chunk-B7NWWHCY.mjs";import{a as W}from"./chunk-OBA6MZMG.mjs";import{a as X}from"./chunk-YKFEDBH4.mjs";import{a as I}from"./chunk-WBBEOT2P.mjs";import"./chunk-YWRV75GA.mjs";import{a as y}from"./chunk-JDYZZRJE.mjs";import"./chunk-3LYVXI5R.mjs";import"./chunk-DOHUIBZQ.mjs";import{a as z}from"./chunk-YGYVF7JI.mjs";import{a as A,b as B,c as C,d as D,e as E,f as F,g as G,h as H}from"./chunk-GNUOGYD6.mjs";import"./chunk-DIW552TK.mjs";import"./chunk-7JLAVMM3.mjs";import{a as J,b as K}from"./chunk-PKL7KGJ3.mjs";import{a as L}from"./chunk-WCQF2QY4.mjs";import{a as M}from"./chunk-7LENV63T.mjs";import"./chunk-XLZS42HB.mjs";import{a as w}from"./chunk-NXFNVBXL.mjs";import{a as v}from"./chunk-POWQ3BZ6.mjs";import"./chunk-45ODDXOQ.mjs";import{a as u}from"./chunk-JVPAJ3FU.mjs";import"./chunk-D24KLTN5.mjs";import{a as j,b as k,c as l,d as n,e as q,f as s}from"./chunk-HKDMOB55.mjs";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i}from"./chunk-KLLSLLHN.mjs";export{Y as AssertionError,N as BinaryJsonDecoder,v as CommandHandler,R as CompositeDecoder,d as ConcurrencyError,w as DeciderCommandHandler,jo as DeciderSpecification,S as DefaultDecoder,c as EmmettError,s as ExpectedVersionConflictError,h as IllegalStateError,K as JSONParser,P as JsonDecoder,l as NO_CONCURRENCY_CHECK,i as NotFoundError,Q as ObjectDecoder,J as ParseError,k as STREAM_DOES_NOT_EXIST,j as STREAM_EXISTS,O as StringDecoder,g as ValidationError,f as ValidationErrors,ko as WrapEventStore,H as accept,go as argMatches,co as argValue,ro as assertDeepEqual,to as assertEqual,q as assertExpectedVersionMatchesCurrent,_ as assertFails,fo as assertFalse,ao as assertIsNotNull,bo as assertIsNull,oo as assertMatches,t as assertNotEmptyString,xo as assertNotEqual,po as assertOk,x as assertPositiveNumber,eo as assertThat,io as assertThatArray,$ as assertThrows,mo as assertTrue,a as assertUnsignedBigInt,M as collectStream,y as command,E as complete,L as concatUint8Arrays,U as deepEquals,G as error,z as event,o as formatDateToUtcYYYYMMDD,u as getInMemoryEventStore,I as getInMemoryMessageBus,F as ignore,V as isEquatable,b as isErrorConstructor,m as isNumber,p as isString,Z as isSubset,r as isValidYYYYMMDD,n as matchesExpectedVersion,X as merge,e as parseDateFromUtcYYYYMMDD,C as publish,A as reply,T as restream,D as schedule,B as send,W as sum,ho as verifyThat};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -41,4 +41,4 @@ type MessageHandler = CommandHandler | EventHandler;
|
|
|
41
41
|
type MessageProcessor = EventProcessor | CommandProcessor;
|
|
42
42
|
declare const getInMemoryMessageBus: () => MessageBus & MessageProcessor & ScheduledMessageProcessor;
|
|
43
43
|
|
|
44
|
-
export { type CommandBus, type
|
|
44
|
+
export { type CommandBus, type CommandProcessor, type CommandSender, type EventBus, type EventProcessor, type EventsPublisher, type MessageBus, type MessageHandler, type MessageProcessor, type MessageScheduler, type ScheduleOptions, type ScheduledMessage, type ScheduledMessageProcessor, getInMemoryMessageBus };
|
|
@@ -41,4 +41,4 @@ type MessageHandler = CommandHandler | EventHandler;
|
|
|
41
41
|
type MessageProcessor = EventProcessor | CommandProcessor;
|
|
42
42
|
declare const getInMemoryMessageBus: () => MessageBus & MessageProcessor & ScheduledMessageProcessor;
|
|
43
43
|
|
|
44
|
-
export { type CommandBus, type
|
|
44
|
+
export { type CommandBus, type CommandProcessor, type CommandSender, type EventBus, type EventProcessor, type EventsPublisher, type MessageBus, type MessageHandler, type MessageProcessor, type MessageScheduler, type ScheduleOptions, type ScheduledMessage, type ScheduledMessageProcessor, getInMemoryMessageBus };
|
package/dist/messageBus/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkICUQU74Fjs = require('../chunk-ICUQU74F.js');require('../chunk-ZLASBJGR.js');require('../chunk-MHB2JU4U.js');require('../chunk-7FJXUW3D.js');require('../chunk-5BGN2FV4.js');require('../chunk-KQAFRLJ2.js');require('../chunk-UFUSYJWU.js');require('../chunk-E7KI3V22.js');exports.getInMemoryMessageBus = _chunkICUQU74Fjs.a;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-YWRV75GA.mjs";import"../chunk-JDYZZRJE.mjs";import"../chunk-3LYVXI5R.mjs";import"../chunk-DOHUIBZQ.mjs";import"../chunk-YGYVF7JI.mjs";import"../chunk-GNUOGYD6.mjs";import
|
|
1
|
+
import{a}from"../chunk-WBBEOT2P.mjs";import"../chunk-YWRV75GA.mjs";import"../chunk-JDYZZRJE.mjs";import"../chunk-3LYVXI5R.mjs";import"../chunk-DOHUIBZQ.mjs";import"../chunk-YGYVF7JI.mjs";import"../chunk-GNUOGYD6.mjs";import"../chunk-KLLSLLHN.mjs";export{a as getInMemoryMessageBus};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/streaming/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-BP5RXRGL.js');var _chunk7ZSJY377js = require('../chunk-7ZSJY377.js');var _chunkG6LPI3PAjs = require('../chunk-G6LPI3PA.js');var _chunk2E7KSKKIjs = require('../chunk-2E7KSKKI.js');var _chunk5JZKD7CBjs = require('../chunk-5JZKD7CB.js');var _chunkZIBX4FPGjs = require('../chunk-ZIBX4FPG.js');var _chunkFNYJ62ROjs = require('../chunk-FNYJ62RO.js');var _chunk4K5I5WJGjs = require('../chunk-4K5I5WJG.js');var _chunkUHJAD4TUjs = require('../chunk-UHJAD4TU.js');exports.BinaryJsonDecoder = _chunk2E7KSKKIjs.a; exports.CompositeDecoder = _chunkG6LPI3PAjs.a; exports.DefaultDecoder = _chunkG6LPI3PAjs.b; exports.JsonDecoder = _chunk5JZKD7CBjs.a; exports.ObjectDecoder = _chunkZIBX4FPGjs.a; exports.StringDecoder = _chunkFNYJ62ROjs.a; exports.collectStream = _chunkUHJAD4TUjs.a; exports.concatUint8Arrays = _chunk4K5I5WJGjs.a; exports.restream = _chunk7ZSJY377js.a;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7MFB6DXR.js');require('../chunk-BP5RXRGL.js');var _chunk7ZSJY377js = require('../chunk-7ZSJY377.js');var _chunkG6LPI3PAjs = require('../chunk-G6LPI3PA.js');var _chunk2E7KSKKIjs = require('../chunk-2E7KSKKI.js');var _chunk5JZKD7CBjs = require('../chunk-5JZKD7CB.js');var _chunkZIBX4FPGjs = require('../chunk-ZIBX4FPG.js');var _chunkFNYJ62ROjs = require('../chunk-FNYJ62RO.js');var _chunk4K5I5WJGjs = require('../chunk-4K5I5WJG.js');var _chunkUHJAD4TUjs = require('../chunk-UHJAD4TU.js');exports.BinaryJsonDecoder = _chunk2E7KSKKIjs.a; exports.CompositeDecoder = _chunkG6LPI3PAjs.a; exports.DefaultDecoder = _chunkG6LPI3PAjs.b; exports.JsonDecoder = _chunk5JZKD7CBjs.a; exports.ObjectDecoder = _chunkZIBX4FPGjs.a; exports.StringDecoder = _chunkFNYJ62ROjs.a; exports.collectStream = _chunkUHJAD4TUjs.a; exports.concatUint8Arrays = _chunk4K5I5WJGjs.a; exports.restream = _chunk7ZSJY377js.a;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/streaming/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-FVA6ACSC.mjs";import{a}from"../chunk-ZV7YVTI7.mjs";import{a as
|
|
1
|
+
import"../chunk-F6WLSL2L.mjs";import"../chunk-FVA6ACSC.mjs";import{a as i}from"../chunk-ZV7YVTI7.mjs";import{a as g,b as h}from"../chunk-TKIRQ76T.mjs";import{a as c}from"../chunk-HKNRGZN2.mjs";import{a as e}from"../chunk-MR2WVMFM.mjs";import{a as f}from"../chunk-S3C5CKD5.mjs";import{a as d}from"../chunk-VTWTSAHB.mjs";import{a}from"../chunk-WCQF2QY4.mjs";import{a as b}from"../chunk-7LENV63T.mjs";export{c as BinaryJsonDecoder,g as CompositeDecoder,h as DefaultDecoder,e as JsonDecoder,f as ObjectDecoder,d as StringDecoder,b as collectStream,a as concatUint8Arrays,i as restream};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict";require('../chunk-YGTOG7JR.js');
|
|
2
|
+
//# sourceMappingURL=index.js.map
|