tachyon-protocol 1.2.0 → 1.3.0
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/dist/index.d.ts +2 -7
- package/dist/index.js +1 -7112
- package/dist/validators.cjs +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EmptyObject, KeysOfUnion } from 'type-fest';
|
|
2
|
-
import Ajv from 'ajv';
|
|
3
2
|
|
|
4
3
|
declare const tachyonMeta: {
|
|
5
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.3.0";
|
|
6
5
|
readonly ids: {
|
|
7
6
|
readonly autohost: {
|
|
8
7
|
readonly slave: readonly ["request", "response"];
|
|
@@ -117,11 +116,7 @@ type GenericResponseCommand = {
|
|
|
117
116
|
reason: string;
|
|
118
117
|
});
|
|
119
118
|
|
|
120
|
-
|
|
121
|
-
commandId: string;
|
|
122
|
-
}>(command: T): Promise<Ajv.ValidateFunction<T>>;
|
|
123
|
-
|
|
124
|
-
export { Command, DataRequestId, EmptyRequestId, EndpointId, GenericRequestCommand, GenericResponseCommand, RequestCommand, RequestCommandId, RequestData, RequestEndpointId, RequestType, ResponseCommand, ResponseCommandId, ResponseData, ResponseEndpointId, ResponseOnlyEndpointId, ResponseType, ServiceId, SuccessResponseData, getValidator, tachyonMeta };
|
|
119
|
+
export { Command, DataRequestId, EmptyRequestId, EndpointId, GenericRequestCommand, GenericResponseCommand, RequestCommand, RequestCommandId, RequestData, RequestEndpointId, RequestType, ResponseCommand, ResponseCommandId, ResponseData, ResponseEndpointId, ResponseOnlyEndpointId, ResponseType, ServiceId, SuccessResponseData, tachyonMeta };
|
|
125
120
|
|
|
126
121
|
export type AutohostSlaveResponse =
|
|
127
122
|
| {
|