@olane/o-protocol 0.6.12 → 0.7.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RequestParams, JSONRPCRequest } from "../json-rpc";
|
|
2
2
|
import { oProtocolMethods } from "../enums";
|
|
3
|
-
|
|
3
|
+
import { Stream } from "@olane/o-config";
|
|
4
|
+
export interface oRouterRequestInterface extends JSONRPCRequest {
|
|
4
5
|
method: oProtocolMethods.ROUTE;
|
|
5
6
|
params: RequestParams & {
|
|
6
7
|
address: string;
|
|
@@ -8,5 +9,6 @@ export interface oRouterRequest extends JSONRPCRequest {
|
|
|
8
9
|
[key: string]: unknown;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
12
|
+
stream?: Stream;
|
|
11
13
|
}
|
|
12
14
|
//# sourceMappingURL=o-router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-router.d.ts","sourceRoot":"","sources":["../../src/router/o-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"o-router.d.ts","sourceRoot":"","sources":["../../src/router/o-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,MAAM,EAAE,gBAAgB,CAAC,KAAK,CAAC;IAC/B,MAAM,EAAE,aAAa,GAAG;QACtB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE;YACP,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/package.json
CHANGED
package/schema/v1.0.0/schema.ts
CHANGED
|
@@ -118,7 +118,7 @@ export interface oAddress {
|
|
|
118
118
|
protocol: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export interface
|
|
121
|
+
export interface oRouterRequestInterface extends JSONRPCRequest {
|
|
122
122
|
method: oProtocolMethods.ROUTE;
|
|
123
123
|
params: RequestParams & {
|
|
124
124
|
address: string;
|
package/src/router/o-router.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { RequestParams, JSONRPCRequest } from "../json-rpc";
|
|
2
2
|
import { oProtocolMethods } from "../enums";
|
|
3
|
+
import { Stream } from "@olane/o-config";
|
|
3
4
|
|
|
4
|
-
export interface
|
|
5
|
+
export interface oRouterRequestInterface extends JSONRPCRequest {
|
|
5
6
|
method: oProtocolMethods.ROUTE;
|
|
6
7
|
params: RequestParams & {
|
|
7
8
|
address: string;
|
|
@@ -9,4 +10,5 @@ export interface oRouterRequest extends JSONRPCRequest {
|
|
|
9
10
|
[key: string]: unknown;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
13
|
+
stream?: Stream;
|
|
12
14
|
}
|