wowok
Version:
Wowok Blockchain TypeScript API
1 lines • 925 B
JavaScript
import{MovePackageService}from'./move_package_service.js';import{stackIntercept}from'@protobuf-ts/runtime-rpc';export class MovePackageServiceClient{['_transport'];['typeName']=MovePackageService['typeName'];['methods']=MovePackageService['methods'];['options']=MovePackageService['options'];constructor(a){this['_transport']=a;}['getPackage'](a,b){const c=this['methods'][0x0],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getDatatype'](a,b){const c=this['methods'][0x1],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getFunction'](a,b){const c=this['methods'][0x2],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['listPackageVersions'](a,b){const c=this['methods'][0x3],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}}