mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-05-02 11:52:14 +00:00
Updat aqua and fluence js in client peer
This commit is contained in:
parent
35bb9a4e11
commit
a91d951da2
@ -11,13 +11,13 @@
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@fluencelabs/aqua": "^0.3.1-231",
|
||||
"@fluencelabs/aqua": "^0.4.0-235",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "^4.4.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluencelabs/fluence": "0.14.1",
|
||||
"@fluencelabs/fluence": "^0.14.2",
|
||||
"@fluencelabs/fluence-network-environment": "1.0.10",
|
||||
"@types/sqlite3": "^3.1.7",
|
||||
"base64-js": "^1.5.1",
|
||||
|
@ -3,7 +3,7 @@
|
||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||
* Aqua version: 0.3.2-SNAPSHOT
|
||||
* Aqua version: 0.4.0-235
|
||||
*
|
||||
*/
|
||||
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
||||
@ -17,8 +17,8 @@ import {
|
||||
// Services
|
||||
|
||||
export interface ProVoValidationDef {
|
||||
eip712_validation_string: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => string;
|
||||
eip712_validation_url: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => string;
|
||||
eip712_validation_string: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => string | Promise<string>;
|
||||
eip712_validation_url: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => string | Promise<string>;
|
||||
}
|
||||
export function registerProVoValidation(service: ProVoValidationDef): void;
|
||||
export function registerProVoValidation(serviceId: string, service: ProVoValidationDef): void;
|
||||
@ -80,8 +80,8 @@ export function registerProVoValidation(...args: any) {
|
||||
|
||||
|
||||
export interface DataProviderDef {
|
||||
get_record: (snapshot_id: number, callParams: CallParams<'snapshot_id'>) => { snapshot_id: number; };
|
||||
get_records: (callParams: CallParams<null>) => { snapshot_id: number; }[];
|
||||
get_record: (snapshot_id: number, callParams: CallParams<'snapshot_id'>) => { snapshot_id: number; } | Promise<{ snapshot_id: number; }>;
|
||||
get_records: (callParams: CallParams<null>) => { snapshot_id: number; }[] | Promise<{ snapshot_id: number; }[]>;
|
||||
}
|
||||
export function registerDataProvider(service: DataProviderDef): void;
|
||||
export function registerDataProvider(serviceId: string, service: DataProviderDef): void;
|
||||
|
Loading…
x
Reference in New Issue
Block a user