core-3nweb-client-lib 0.20.5 → 0.20.6
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,6 +1,6 @@
|
|
|
1
1
|
import { Caller, ExposedServices } from "../ipc-via-protobuf/connector";
|
|
2
2
|
import { ClientCAPsWraps, CAPsExposures } from "./generic";
|
|
3
3
|
declare type W3N = web3n.caps.common.W3N;
|
|
4
|
-
export declare function exposeW3N<T extends W3N>(coreSide: ExposedServices, w3n: T, extraCAPs?: CAPsExposures<T
|
|
4
|
+
export declare function exposeW3N<T extends W3N>(coreSide: ExposedServices, w3n: T, extraCAPs?: Exclude<CAPsExposures<T>, CAPsExposures<W3N>>): void;
|
|
5
5
|
export declare function makeW3Nclient<T extends W3N>(clientSide: Caller, extraCAPs?: Exclude<ClientCAPsWraps<T>, ClientCAPsWraps<W3N>>): T;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExposedServices, Caller } from "../ipc-via-protobuf/connector";
|
|
2
2
|
import { ClientCAPsWraps, CAPsExposures } from "./generic";
|
|
3
3
|
declare type W3N = web3n.startup.W3N;
|
|
4
|
-
export declare function exposeStartupW3N<T extends W3N>(coreSide: ExposedServices, w3n: T, extraCAPs?: CAPsExposures<T
|
|
4
|
+
export declare function exposeStartupW3N<T extends W3N>(coreSide: ExposedServices, w3n: T, extraCAPs?: Exclude<CAPsExposures<T>, CAPsExposures<W3N>>): void;
|
|
5
5
|
export declare function makeStartupW3Nclient<T extends W3N>(clientSide: Caller, extraCAPs?: Exclude<ClientCAPsWraps<T>, ClientCAPsWraps<W3N>>): W3N;
|
|
6
6
|
export {};
|