@nodescript/protocomm
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -1,2 +0,2 @@ | ||
import { Event } from '@nodescript/event'; | ||
import { Event } from 'nanoevent'; | ||
export declare class ChannelEvent<T> extends Event<{ | ||
@@ -3,0 +3,0 @@ channel: string; |
@@ -1,4 +0,4 @@ | ||
import { Event } from '@nodescript/event'; | ||
import { Event } from 'nanoevent'; | ||
export class ChannelEvent extends Event { | ||
} | ||
//# sourceMappingURL=channel-event.js.map |
@@ -1,2 +0,2 @@ | ||
import { ObjectPropsDef } from '@nodescript/schema'; | ||
import { ObjectPropsDef } from 'airtight'; | ||
import { ChannelEvent } from './channel-event.js'; | ||
@@ -3,0 +3,0 @@ export interface EventPayload<T> { |
@@ -1,2 +0,2 @@ | ||
import { Schema } from '@nodescript/schema'; | ||
import { Schema } from 'airtight'; | ||
import { DomainDef, DomainEventDef, DomainMethodDef } from './domain.js'; | ||
@@ -3,0 +3,0 @@ export type ProtocolMethodDesc = { |
@@ -1,2 +0,2 @@ | ||
import { Schema } from '@nodescript/schema'; | ||
import { Schema } from 'airtight'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Convenience class for accessing static metadata for domains. |
@@ -1,2 +0,2 @@ | ||
import { Event } from '@nodescript/event'; | ||
import { Event } from 'nanoevent'; | ||
import { ChannelEvent } from './channel-event.js'; | ||
@@ -3,0 +3,0 @@ import { DomainMethod } from './domain.js'; |
@@ -1,2 +0,2 @@ | ||
import { Event } from '@nodescript/event'; | ||
import { Event } from 'nanoevent'; | ||
import { DomainMethodStat } from './domain.js'; | ||
@@ -3,0 +3,0 @@ import { ProtocolIndex } from './protocol.js'; |
@@ -1,2 +0,2 @@ | ||
import { Event } from '@nodescript/event'; | ||
import { Event } from 'nanoevent'; | ||
import { ChannelEvent } from './channel-event.js'; | ||
@@ -3,0 +3,0 @@ import { MethodNotFound } from './protocol.js'; |
@@ -1,2 +0,2 @@ | ||
import { Schema } from '@nodescript/schema'; | ||
import { Schema } from 'airtight'; | ||
export interface RpcError { | ||
@@ -3,0 +3,0 @@ name: string; |
@@ -1,2 +0,2 @@ | ||
import { Schema } from '@nodescript/schema'; | ||
import { Schema } from 'airtight'; | ||
export const RpcError = new Schema({ | ||
@@ -3,0 +3,0 @@ id: 'RpcError', |
{ | ||
"name": "@nodescript/protocomm", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"type": "module", | ||
@@ -32,4 +32,4 @@ "description": "Bi-directional transport-agnostic JSON-based messaging", | ||
"dependencies": { | ||
"@nodescript/event": "^2.1.1", | ||
"@nodescript/schema": "^5.2.2" | ||
"airtight": "^5.2.3", | ||
"nanoevent": "^1.0.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37980
+ Addedairtight@^5.2.3
+ Addednanoevent@^1.0.0
+ Addedairtight@5.7.2(transitive)
+ Addednanoevent@1.0.0(transitive)
- Removed@nodescript/event@^2.1.1
- Removed@nodescript/schema@^5.2.2
- Removed@nodescript/event@2.1.1(transitive)
- Removed@nodescript/schema@5.2.2(transitive)