@toa.io/extensions.realtime 1.0.0-alpha.291 → 1.0.0-alpha.292

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.
@@ -7,7 +7,10 @@ import * as stage from '@toa.io/userland/stage'
7
7
  import { type Component } from '@toa.io/core'
8
8
  import type { Request } from '@toa.io/core/types'
9
9
  import { timeout } from '@toa.io/generic'
10
- import { parse as parseRoutes, type Declaration } from '../../source/extension.js'
10
+ import {
11
+ parse as parseRoutes,
12
+ type Declaration
13
+ } from '@toa.io/definitions/extensions.realtime'
11
14
  import { Realtime } from './Realtime.js'
12
15
 
13
16
  const { after, before, binding, given, when } = tsflow
@@ -5,7 +5,7 @@ import { environment } from '@toa.io/generic'
5
5
  import tsflow from 'cucumber-tsflow'
6
6
 
7
7
  import { Factory } from '../../source/index.js'
8
- import type { Route } from '../../source/extension.js'
8
+ import type { Route } from '@toa.io/definitions/extensions.realtime'
9
9
 
10
10
  const { after, binding } = tsflow
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/extensions.realtime",
3
- "version": "1.0.0-alpha.291",
3
+ "version": "1.0.0-alpha.292",
4
4
  "type": "module",
5
5
  "description": "Toa Realtime",
6
6
  "author": "temich <tema.gurtovoy@gmail.com>",
@@ -18,13 +18,14 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@toa.io/core": "1.0.0-alpha.291",
22
- "@toa.io/generic": "1.0.0-alpha.291",
21
+ "@toa.io/core": "1.0.0-alpha.292",
22
+ "@toa.io/definitions": "1.0.0-alpha.292",
23
+ "@toa.io/generic": "1.0.0-alpha.292",
23
24
  "openspan": "1.0.0-alpha.286"
24
25
  },
25
26
  "scripts": {
26
27
  "transpile": "npx tsc && npx tsc -p ./components/realtime.streams",
27
28
  "features": "TSX_TSCONFIG_PATH=features/steps/tsconfig.json NODE_OPTIONS=--import=tsx cucumber-js"
28
29
  },
29
- "gitHead": "bcd8d8d07bd3e64fc826af8719472404662cc37f"
30
+ "gitHead": "0f6aa3ad9dbec86bb632a7975ea61d1dde1d8fc5"
30
31
  }
package/source/Routes.ts CHANGED
@@ -3,7 +3,7 @@ import { console } from 'openspan'
3
3
  import { Connector } from '@toa.io/core'
4
4
  import { Receiver } from './Receiver.js'
5
5
  import { environment } from '@toa.io/generic'
6
- import type { Route } from './extension.js'
6
+ import type { Route } from '@toa.io/definitions/extensions.realtime'
7
7
  import type { Host } from './Factory.js'
8
8
 
9
9
  export class Routes extends Connector {
package/source/index.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export { Factory } from './Factory.js'
2
- export * from './extension.js'
2
+ export { components } from './Composition.js'
@@ -1,6 +1,6 @@
1
1
  import { Readable } from 'node:stream';
2
2
  import { Connector } from '@toa.io/core';
3
- import type { Route } from './extension.js';
3
+ import type { Route } from '@toa.io/definitions/extensions.realtime';
4
4
  import type { Host } from './Factory.js';
5
5
  export declare class Routes extends Connector {
6
6
  events: Events;
@@ -1,2 +1,2 @@
1
1
  export { Factory } from './Factory.js';
2
- export * from './extension.js';
2
+ export { components } from './Composition.js';
@@ -1,3 +1,3 @@
1
1
  export { Factory } from './Factory.js';
2
- export * from './extension.js';
2
+ export { components } from './Composition.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA"}