tachyon-protocol 0.1.7 → 0.1.8
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 +8 -1
- package/dist/index.js +7142 -0
- package/dist/meta.json +5 -5
- package/dist/system/version/response.json +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -458,7 +458,7 @@ export type SystemVersionResponse =
|
|
|
458
458
|
command: "system/version/response";
|
|
459
459
|
status: "success";
|
|
460
460
|
data: {
|
|
461
|
-
tachyonVersion: "0.1.
|
|
461
|
+
tachyonVersion: "0.1.8";
|
|
462
462
|
versionParity: "major_mismatch" | "minor_mismatch" | "patch_mismatch" | "match" | "unknown";
|
|
463
463
|
};
|
|
464
464
|
}
|
|
@@ -924,3 +924,10 @@ export type ResponseData<S extends ServiceId, E extends ResponseEndpointId<S>> =
|
|
|
924
924
|
export type RemoveField<T, K extends string> = T extends { [P in K]: any } ? Omit<T, K> : never;
|
|
925
925
|
|
|
926
926
|
export type GetCommands<S extends ServiceId, E extends keyof Tachyon[S]> = Tachyon[S][E];
|
|
927
|
+
import { ErrorObject } from 'ajv';
|
|
928
|
+
|
|
929
|
+
declare function validateCommand<T extends {
|
|
930
|
+
command: string;
|
|
931
|
+
}>(command: T): T | ErrorObject<string, Record<string, any>, unknown>[];
|
|
932
|
+
|
|
933
|
+
export { validateCommand };
|