@fabric-es/fabric-cqrs
Version:
Hyperledger Fabric middleware for event sourcing and cqrs pattern
19 lines (18 loc) • 646 B
TypeScript
/// <reference types="node" />
import { Network } from 'fabric-network';
import { Observable } from 'rxjs';
import type { Commit } from '../types';
export declare const submitPrivateData: (fcn: string, args: string[], transientData: Record<string, Buffer>, options: {
network: Network;
}) => Promise<Record<string, Commit> & {
error?: any;
status?: string;
message?: string;
}>;
export declare const submitPrivateData$: (fcn: string, args: string[], transientData: Record<string, Buffer>, options: {
network: Network;
}) => Observable<Record<string, Commit> | {
error?: any;
status?: string;
message?: string;
}>;