mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-05-28 07:31:19 +00:00
bump versions
This commit is contained in:
parent
10a397a033
commit
abe02c9f76
@ -11,19 +11,19 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@fluencelabs/aqua": "^0.7.2-306",
|
||||
"@fluencelabs/aqua": "^0.9.1-374",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"ts-node": "^10.7.0",
|
||||
"typescript": "^4.6.3"
|
||||
"ts-node": "^10.9.1s",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluencelabs/fluence": "^0.23.0",
|
||||
"@fluencelabs/fluence": "^0.27.5",
|
||||
"@fluencelabs/fluence-network-environment": "1.0.13",
|
||||
"@types/sqlite3": "^3.1.8",
|
||||
"base64-js": "^1.5.1",
|
||||
"ethers": "^5.5.4",
|
||||
"ethers": "^5.0.8",
|
||||
"ethers-eip712": "^0.2.0",
|
||||
"got": "^11.8.2",
|
||||
"sqlite3": "^5.0.2"
|
||||
"sqlite3": "^5.1.4"
|
||||
}
|
||||
}
|
||||
|
@ -3,24 +3,24 @@
|
||||
* 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.7.2-303
|
||||
* Aqua version: 0.9.1-374
|
||||
*
|
||||
*/
|
||||
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
||||
import { FluencePeer } from '@fluencelabs/fluence';
|
||||
import type { CallParams$$ } from '@fluencelabs/fluence/dist/internal/compilerSupport/v4'
|
||||
import {
|
||||
CallParams,
|
||||
callFunction,
|
||||
registerService,
|
||||
} from '@fluencelabs/fluence/dist/internal/compilerSupport/v3';
|
||||
callFunction$$,
|
||||
registerService$$,
|
||||
} from '@fluencelabs/fluence/dist/internal/compilerSupport/v4';
|
||||
|
||||
|
||||
// Services
|
||||
|
||||
export interface DataProviderDef {
|
||||
delete_records: (password: string, callParams: CallParams<'password'>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
get_record: (signnature: string, callParams: CallParams<'signnature'>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
get_record_count: (callParams: CallParams<null>) => number | Promise<number>;
|
||||
get_records: (callParams: CallParams<null>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
delete_records: (password: string, callParams: CallParams$$<'password'>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
get_record: (signnature: string, callParams: CallParams$$<'signnature'>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
get_record_count: (callParams: CallParams$$<null>) => number | Promise<number>;
|
||||
get_records: (callParams: CallParams$$<null>) => { stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; } | Promise<{ stderr: string; stdout: { eip712_doc: string; eip_validation: boolean; event_address: string; peer_id: string; signature: number; signed_response: string; timestamp: number; ts_validation: boolean; }[]; }>;
|
||||
}
|
||||
export function registerDataProvider(service: DataProviderDef): void;
|
||||
export function registerDataProvider(serviceId: string, service: DataProviderDef): void;
|
||||
@ -29,7 +29,7 @@ export function registerDataProvider(peer: FluencePeer, serviceId: string, servi
|
||||
|
||||
|
||||
export function registerDataProvider(...args: any) {
|
||||
registerService(
|
||||
registerService$$(
|
||||
args,
|
||||
{
|
||||
"defaultServiceId" : "snapshot",
|
||||
@ -258,8 +258,8 @@ export function registerDataProvider(...args: any) {
|
||||
|
||||
|
||||
export interface EIPValidatorDef {
|
||||
eip712_validation_string: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => { stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; } | Promise<{ stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; }>;
|
||||
eip712_validation_url: (eip_str: string, peer_id: string, callParams: CallParams<'eip_str' | 'peer_id'>) => { stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; } | Promise<{ stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; }>;
|
||||
eip712_validation_string: (eip_str: string, peer_id: string, callParams: CallParams$$<'eip_str' | 'peer_id'>) => { stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; } | Promise<{ stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; }>;
|
||||
eip712_validation_url: (eip_str: string, peer_id: string, callParams: CallParams$$<'eip_str' | 'peer_id'>) => { stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; } | Promise<{ stderr: string; stdout: { signature: string; validation: { eip_validation: boolean; peer_id: string; timestamp: number; ts_validation: boolean; }; }; }>;
|
||||
}
|
||||
export function registerEIPValidator(service: EIPValidatorDef): void;
|
||||
export function registerEIPValidator(serviceId: string, service: EIPValidatorDef): void;
|
||||
@ -268,7 +268,7 @@ export function registerEIPValidator(peer: FluencePeer, serviceId: string, servi
|
||||
|
||||
|
||||
export function registerEIPValidator(...args: any) {
|
||||
registerService(
|
||||
registerService$$(
|
||||
args,
|
||||
{
|
||||
"defaultServiceId" : "snapshot",
|
||||
@ -472,7 +472,7 @@ export function validate_from_url(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "validate_from_url",
|
||||
@ -616,7 +616,7 @@ export function get_count(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "get_count",
|
||||
@ -723,7 +723,7 @@ export function get_record(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "get_record",
|
||||
@ -881,7 +881,7 @@ export function delete_records(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "delete_records",
|
||||
@ -1039,7 +1039,7 @@ export function validate(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "validate",
|
||||
@ -1183,7 +1183,7 @@ export function get_records(...args: any) {
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||
)
|
||||
`
|
||||
return callFunction(
|
||||
return callFunction$$(
|
||||
args,
|
||||
{
|
||||
"functionName" : "get_records",
|
||||
|
Loading…
x
Reference in New Issue
Block a user