@loopholelabs/scale-signature
Advanced tools
Comparing version 0.1.8 to 0.2.0
@@ -9,12 +9,12 @@ export type NewSignature<T extends Signature> = () => T; | ||
export interface RuntimeContext { | ||
Read(b: Uint8Array): void; | ||
Read(b: Uint8Array): Error | undefined; | ||
Write(): Uint8Array; | ||
Error(e: Error): Uint8Array; | ||
Error(err: Error): Uint8Array; | ||
} | ||
export interface GuestContext { | ||
FromReadBuffer(): Error | undefined; | ||
ToWriteBuffer(): number[]; | ||
ErrorWriteBuffer(e: Error): number[]; | ||
FromReadBuffer(): Error; | ||
ErrorWriteBuffer(err: Error): number[]; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@loopholelabs/scale-signature", | ||
"version": "0.1.8", | ||
"version": "0.2.0", | ||
"description": "TypeScript version of the scale-signature.", | ||
@@ -5,0 +5,0 @@ "source": "index.ts", |
@@ -28,11 +28,11 @@ /* | ||
export interface RuntimeContext { | ||
Read(b: Uint8Array): void; | ||
Read(b: Uint8Array): Error | undefined; | ||
Write(): Uint8Array; | ||
Error(e: Error): Uint8Array; | ||
Error(err: Error): Uint8Array; | ||
} | ||
export interface GuestContext { | ||
FromReadBuffer(): Error | undefined; | ||
ToWriteBuffer(): number[]; | ||
ErrorWriteBuffer(e: Error): number[]; | ||
FromReadBuffer(): Error; | ||
ErrorWriteBuffer(err: Error): number[]; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64137