Comparing version 6.0.0-alpha.14 to 6.0.0-alpha.15
{ | ||
"name": "avsc", | ||
"version": "6.0.0-alpha.14", | ||
"version": "6.0.0-alpha.15", | ||
"description": "Avro for JavaScript", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/mtth/avsc", |
@@ -77,3 +77,3 @@ // Note: These typings are incomplete (https://github.com/mtth/avsc/pull/134). | ||
type Codec = (buffer: Buffer, callback: Callback<Buffer>) => void; | ||
type Codec = (buffer: Uint8Array, callback: Callback<Uint8Array>) => void; | ||
@@ -96,3 +96,3 @@ interface CodecOptions { | ||
writeHeader: boolean | 'always' | 'never' | 'auto'; | ||
syncMarker: Buffer; | ||
syncMarker: Uint8Array; | ||
} | ||
@@ -187,9 +187,9 @@ | ||
compare(val1: any, val2: any): number; | ||
compareBuffers(buf1: Buffer, buf2: Buffer): number; | ||
compareBuffers(buf1: Uint8Array, buf2: Uint8Array): number; | ||
createResolver(type: Type): Resolver; | ||
decode(buf: Buffer, pos?: number, resolver?: Resolver): { value: any, offset: number}; | ||
encode(val: any, buf: Buffer, pos?: number): number; | ||
decode(buf: Uint8Array, pos?: number, resolver?: Resolver): { value: any, offset: number}; | ||
encode(val: any, buf: Uint8Array, pos?: number): number; | ||
equals(type: Type): boolean; | ||
fingerprint(algorithm?: string): Buffer; | ||
fromBuffer(buffer: Buffer, resolver?: Resolver, noCheck?: boolean): any; | ||
fingerprint(algorithm?: string): Uint8Array; | ||
fromBuffer(buffer: Uint8Array, resolver?: Resolver, noCheck?: boolean): any; | ||
fromString(str: string): any; | ||
@@ -200,3 +200,3 @@ inspect(): string; | ||
schema(opts?: Partial<SchemaOptions>): Schema; | ||
toBuffer(value: any): Buffer; | ||
toBuffer(value: any): Uint8Array; | ||
toJSON(): object; | ||
@@ -203,0 +203,0 @@ toString(val?: any): string; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190861