@toa.io/extensions.realtime 1.0.0-alpha.300 → 1.0.0-alpha.301
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/components/realtime.streams/source/create.ts +2 -2
- package/components/realtime.streams/source/lib/index.ts +2 -2
- package/components/realtime.streams/source/push.ts +1 -1
- package/components/realtime.streams/types/index.d.ts +3 -3
- package/package.json +6 -6
- package/transpiled/Composition.d.ts +1 -1
- package/transpiled/Factory.d.ts +1 -1
- package/transpiled/Realtime.d.ts +1 -1
- package/transpiled/Routes.d.ts +2 -3
- package/transpiled/Routes.js.map +1 -1
- package/transpiled/index.d.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Readable } from 'node:stream'
|
|
2
2
|
import { type Operation } from '@toa.io/bridges.node'
|
|
3
|
-
import {
|
|
4
|
-
import { Stream, Stash } from './lib/index.
|
|
3
|
+
import type { Context } from '../types/index.d.ts'
|
|
4
|
+
import { Stream, Stash } from './lib/index.ts'
|
|
5
5
|
|
|
6
6
|
export class Effect implements Operation {
|
|
7
7
|
private readonly streams = new Map<string, Stream>()
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Stash } from './Stash.
|
|
2
|
-
export { Stream } from './Stream.
|
|
1
|
+
export { Stash } from './Stash.ts'
|
|
2
|
+
export { Stream } from './Stream.ts'
|
|
@@ -4,9 +4,9 @@ export * from './toa.d.ts'
|
|
|
4
4
|
|
|
5
5
|
import type { Logs } from '@toa.io/extensions.telemetry'
|
|
6
6
|
import type { Stash as Redis } from '@toa.io/extensions.stash'
|
|
7
|
-
import type { Configuration } from './toa.
|
|
8
|
-
import type { Stream } from '../source/lib/Stream.
|
|
9
|
-
import type { Stash } from '../source/lib/Stash.
|
|
7
|
+
import type { Configuration } from './toa.d.ts'
|
|
8
|
+
import type { Stream } from '../source/lib/Stream.ts'
|
|
9
|
+
import type { Stash } from '../source/lib/Stash.ts'
|
|
10
10
|
|
|
11
11
|
/** What this component keeps between calls: the streams it serves, and what backs them. */
|
|
12
12
|
export interface Context {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/extensions.realtime",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.301",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Toa Realtime",
|
|
6
6
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"!**/.env*"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@toa.io/core": "1.0.0-alpha.
|
|
30
|
-
"@toa.io/definitions": "1.0.0-alpha.
|
|
31
|
-
"@toa.io/generic": "1.0.0-alpha.
|
|
32
|
-
"openspan": "1.0.0-alpha.
|
|
29
|
+
"@toa.io/core": "1.0.0-alpha.301",
|
|
30
|
+
"@toa.io/definitions": "1.0.0-alpha.301",
|
|
31
|
+
"@toa.io/generic": "1.0.0-alpha.301",
|
|
32
|
+
"openspan": "1.0.0-alpha.301"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"transpile": "npx tsc && npx tsc -p ./components/realtime.streams",
|
|
36
36
|
"features": "TSX_TSCONFIG_PATH=features/steps/tsconfig.json NODE_OPTIONS=--import=tsx cucumber-js"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "cc49bc90efd35464b2ad7803246786c607a44685"
|
|
39
39
|
}
|
package/transpiled/Factory.d.ts
CHANGED
package/transpiled/Realtime.d.ts
CHANGED
package/transpiled/Routes.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
2
|
import { Connector } from '@toa.io/core';
|
|
3
|
-
|
|
4
|
-
import type { Host } from './Factory.
|
|
3
|
+
export type { Route } from '@toa.io/definitions/extensions.realtime';
|
|
4
|
+
import type { Host } from './Factory.ts';
|
|
5
5
|
export declare class Routes extends Connector {
|
|
6
6
|
events: Events;
|
|
7
7
|
private readonly host;
|
|
@@ -14,4 +14,3 @@ declare class Events extends Readable {
|
|
|
14
14
|
constructor();
|
|
15
15
|
_read(): void;
|
|
16
16
|
}
|
|
17
|
-
export type { Route };
|
package/transpiled/Routes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Routes.js","sourceRoot":"","sources":["../source/Routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"Routes.js","sourceRoot":"","sources":["../source/Routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAK7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IAC5B,MAAM,GAAG,IAAI,MAAM,EAAE,CAAA;IAEX,IAAI,CAAM;IAE3B,YAAmB,IAAU;QAC3B,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAEO,MAAM,CAAC,IAAI;QACjB,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAE7C,IAAI,KAAK,KAAK,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,6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 +1,2 @@
|
|
|
1
|
-
export { Factory } from './Factory.
|
|
2
|
-
export { components } from './Composition.
|
|
1
|
+
export { Factory } from './Factory.ts';
|
|
2
|
+
export { components } from './Composition.ts';
|