@aws-crypto/decrypt-node
Advanced tools
Comparing version 3.2.0 to 3.2.2
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { GetDecipher } from '@aws-crypto/material-management-node'; | ||
@@ -18,5 +20,5 @@ import { ContentType } from '@aws-crypto/serialize'; | ||
_onBodyHeader: ({ iv, contentLength, sequenceNumber, isFinalFrame, }: BodyInfo) => void; | ||
_transform(chunk: any, _encoding: string, callback: (err?: Error | undefined) => void): void; | ||
_transform(chunk: any, _encoding: string, callback: (err?: Error) => void): void; | ||
_read(size: number): void; | ||
_onAuthTag: (authTag: Buffer, next: (err?: Error | undefined) => void) => Promise<void>; | ||
_onAuthTag: (authTag: Buffer, next: (err?: Error) => void) => Promise<void>; | ||
_destroy(): void; | ||
@@ -41,84 +43,112 @@ _flush(callback: import("stream").TransformCallback): void; | ||
setDefaultEncoding(encoding: BufferEncoding): any; | ||
end(cb?: (() => void) | undefined): void; | ||
end(chunk: any, cb?: (() => void) | undefined): void; | ||
end(chunk: any, encoding?: BufferEncoding | undefined, cb?: (() => void) | undefined): void; | ||
end(cb?: (() => void) | undefined): any; | ||
end(chunk: any, cb?: (() => void) | undefined): any; | ||
end(chunk: any, encoding?: BufferEncoding | undefined, cb?: (() => void) | undefined): any; | ||
cork(): void; | ||
uncork(): void; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
readonly readableEnded: boolean; | ||
readonly readableFlowing: boolean | null; | ||
readonly readableHighWaterMark: number; | ||
readonly readableLength: number; | ||
readonly readableObjectMode: boolean; | ||
destroyed: boolean; | ||
_construct?(callback: (error?: Error | null | undefined) => void): void; | ||
read(size?: number | undefined): any; | ||
setEncoding(encoding: BufferEncoding): any; | ||
pause(): any; | ||
resume(): any; | ||
isPaused(): boolean; | ||
unpipe(destination?: NodeJS.WritableStream | undefined): any; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
destroy(error?: Error | undefined): void; | ||
addListener(event: "close", listener: () => void): any; | ||
addListener(event: "data", listener: (chunk: any) => void): any; | ||
addListener(event: "drain", listener: () => void): any; | ||
addListener(event: "end", listener: () => void): any; | ||
addListener(event: "error", listener: (err: Error) => void): any; | ||
addListener(event: "finish", listener: () => void): any; | ||
addListener(event: "pause", listener: () => void): any; | ||
addListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
addListener(event: "readable", listener: () => void): any; | ||
addListener(event: "resume", listener: () => void): any; | ||
addListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
addListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
emit(event: "close"): boolean; | ||
emit(event: "data", chunk: any): boolean; | ||
emit(event: "drain"): boolean; | ||
emit(event: "end"): boolean; | ||
emit(event: "error", err: Error): boolean; | ||
emit(event: "finish"): boolean; | ||
emit(event: "pause"): boolean; | ||
emit(event: "pipe", src: import("stream").Readable): boolean; | ||
emit(event: "readable"): boolean; | ||
emit(event: "resume"): boolean; | ||
emit(event: "unpipe", src: import("stream").Readable): boolean; | ||
emit(event: string | symbol, ...args: any[]): boolean; | ||
on(event: "close", listener: () => void): any; | ||
on(event: "data", listener: (chunk: any) => void): any; | ||
on(event: "drain", listener: () => void): any; | ||
on(event: "end", listener: () => void): any; | ||
on(event: "error", listener: (err: Error) => void): any; | ||
on(event: "finish", listener: () => void): any; | ||
on(event: "pause", listener: () => void): any; | ||
on(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
on(event: "readable", listener: () => void): any; | ||
on(event: "resume", listener: () => void): any; | ||
on(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
on(event: string | symbol, listener: (...args: any[]) => void): any; | ||
once(event: "close", listener: () => void): any; | ||
once(event: "data", listener: (chunk: any) => void): any; | ||
once(event: "drain", listener: () => void): any; | ||
once(event: "end", listener: () => void): any; | ||
once(event: "error", listener: (err: Error) => void): any; | ||
once(event: "finish", listener: () => void): any; | ||
once(event: "pause", listener: () => void): any; | ||
once(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
once(event: "readable", listener: () => void): any; | ||
once(event: "resume", listener: () => void): any; | ||
once(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
once(event: string | symbol, listener: (...args: any[]) => void): any; | ||
prependListener(event: "close", listener: () => void): any; | ||
prependListener(event: "data", listener: (chunk: any) => void): any; | ||
prependListener(event: "drain", listener: () => void): any; | ||
prependListener(event: "end", listener: () => void): any; | ||
prependListener(event: "error", listener: (err: Error) => void): any; | ||
prependListener(event: "finish", listener: () => void): any; | ||
prependListener(event: "pause", listener: () => void): any; | ||
prependListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
prependListener(event: "readable", listener: () => void): any; | ||
prependListener(event: "resume", listener: () => void): any; | ||
prependListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
prependListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
prependOnceListener(event: "close", listener: () => void): any; | ||
prependOnceListener(event: "data", listener: (chunk: any) => void): any; | ||
prependOnceListener(event: "drain", listener: () => void): any; | ||
prependOnceListener(event: "end", listener: () => void): any; | ||
prependOnceListener(event: "error", listener: (err: Error) => void): any; | ||
prependOnceListener(event: "finish", listener: () => void): any; | ||
prependOnceListener(event: "pause", listener: () => void): any; | ||
prependOnceListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
prependOnceListener(event: "readable", listener: () => void): any; | ||
prependOnceListener(event: "resume", listener: () => void): any; | ||
prependOnceListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
removeListener(event: "close", listener: () => void): any; | ||
removeListener(event: "data", listener: (chunk: any) => void): any; | ||
removeListener(event: "drain", listener: () => void): any; | ||
removeListener(event: "end", listener: () => void): any; | ||
removeListener(event: "error", listener: (err: Error) => void): any; | ||
removeListener(event: "finish", listener: () => void): any; | ||
removeListener(event: "pause", listener: () => void): any; | ||
removeListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
removeListener(event: "readable", listener: () => void): any; | ||
removeListener(event: "resume", listener: () => void): any; | ||
removeListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
removeListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
readonly readableEnded: boolean; | ||
readonly readableFlowing: boolean | null; | ||
readonly readableHighWaterMark: number; | ||
readonly readableLength: number; | ||
readonly readableObjectMode: boolean; | ||
destroyed: boolean; | ||
_construct?(callback: (error?: Error | null | undefined) => void): void; | ||
read(size?: number | undefined): any; | ||
setEncoding(encoding: BufferEncoding): any; | ||
pause(): any; | ||
resume(): any; | ||
isPaused(): boolean; | ||
unpipe(destination?: NodeJS.WritableStream | undefined): any; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
destroy(error?: Error | undefined): any; | ||
[Symbol.asyncIterator](): AsyncIterableIterator<any>; | ||
@@ -125,0 +155,0 @@ pipe<T extends NodeJS.WritableStream>(destination: T, options?: { |
import { _decryptStream } from './decrypt_stream'; | ||
import { _decrypt } from './decrypt'; | ||
import { CommitmentPolicy, ClientOptions } from '@aws-crypto/material-management-node'; | ||
declare type CurryFirst<fn extends (...a: any[]) => any> = fn extends (_: any, ...tail: infer TAIL) => any ? TAIL : never; | ||
type CurryFirst<fn extends (...a: any[]) => any> = fn extends (_: any, ...tail: infer TAIL) => any ? TAIL : never; | ||
export declare function buildDecrypt(options?: CommitmentPolicy | Partial<ClientOptions>): { | ||
@@ -6,0 +6,0 @@ decryptUnsignedMessageStream: (...args: CurryFirst<typeof _decryptStream>) => ReturnType<typeof _decryptStream>; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { NodeMaterialsManager, KeyringNode } from '@aws-crypto/material-management-node'; | ||
@@ -3,0 +5,0 @@ import { DecryptParameters } from './types'; |
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
import { HeaderInfo } from '@aws-crypto/serialize'; | ||
declare type AWSVerify = ReturnType<GetVerify>; | ||
type AWSVerify = ReturnType<GetVerify>; | ||
declare const PortableTransformWithType: new (...args: any[]) => Transform; | ||
@@ -8,0 +8,0 @@ export interface VerifyInfo { |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { GetDecipher } from '@aws-crypto/material-management-node'; | ||
@@ -18,5 +20,5 @@ import { ContentType } from '@aws-crypto/serialize'; | ||
_onBodyHeader: ({ iv, contentLength, sequenceNumber, isFinalFrame, }: BodyInfo) => void; | ||
_transform(chunk: any, _encoding: string, callback: (err?: Error | undefined) => void): void; | ||
_transform(chunk: any, _encoding: string, callback: (err?: Error) => void): void; | ||
_read(size: number): void; | ||
_onAuthTag: (authTag: Buffer, next: (err?: Error | undefined) => void) => Promise<void>; | ||
_onAuthTag: (authTag: Buffer, next: (err?: Error) => void) => Promise<void>; | ||
_destroy(): void; | ||
@@ -41,84 +43,112 @@ _flush(callback: import("stream").TransformCallback): void; | ||
setDefaultEncoding(encoding: BufferEncoding): any; | ||
end(cb?: (() => void) | undefined): void; | ||
end(chunk: any, cb?: (() => void) | undefined): void; | ||
end(chunk: any, encoding?: BufferEncoding | undefined, cb?: (() => void) | undefined): void; | ||
end(cb?: (() => void) | undefined): any; | ||
end(chunk: any, cb?: (() => void) | undefined): any; | ||
end(chunk: any, encoding?: BufferEncoding | undefined, cb?: (() => void) | undefined): any; | ||
cork(): void; | ||
uncork(): void; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
readonly readableEnded: boolean; | ||
readonly readableFlowing: boolean | null; | ||
readonly readableHighWaterMark: number; | ||
readonly readableLength: number; | ||
readonly readableObjectMode: boolean; | ||
destroyed: boolean; | ||
_construct?(callback: (error?: Error | null | undefined) => void): void; | ||
read(size?: number | undefined): any; | ||
setEncoding(encoding: BufferEncoding): any; | ||
pause(): any; | ||
resume(): any; | ||
isPaused(): boolean; | ||
unpipe(destination?: NodeJS.WritableStream | undefined): any; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
destroy(error?: Error | undefined): void; | ||
addListener(event: "close", listener: () => void): any; | ||
addListener(event: "data", listener: (chunk: any) => void): any; | ||
addListener(event: "drain", listener: () => void): any; | ||
addListener(event: "end", listener: () => void): any; | ||
addListener(event: "error", listener: (err: Error) => void): any; | ||
addListener(event: "finish", listener: () => void): any; | ||
addListener(event: "pause", listener: () => void): any; | ||
addListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
addListener(event: "readable", listener: () => void): any; | ||
addListener(event: "resume", listener: () => void): any; | ||
addListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
addListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
emit(event: "close"): boolean; | ||
emit(event: "data", chunk: any): boolean; | ||
emit(event: "drain"): boolean; | ||
emit(event: "end"): boolean; | ||
emit(event: "error", err: Error): boolean; | ||
emit(event: "finish"): boolean; | ||
emit(event: "pause"): boolean; | ||
emit(event: "pipe", src: import("stream").Readable): boolean; | ||
emit(event: "readable"): boolean; | ||
emit(event: "resume"): boolean; | ||
emit(event: "unpipe", src: import("stream").Readable): boolean; | ||
emit(event: string | symbol, ...args: any[]): boolean; | ||
on(event: "close", listener: () => void): any; | ||
on(event: "data", listener: (chunk: any) => void): any; | ||
on(event: "drain", listener: () => void): any; | ||
on(event: "end", listener: () => void): any; | ||
on(event: "error", listener: (err: Error) => void): any; | ||
on(event: "finish", listener: () => void): any; | ||
on(event: "pause", listener: () => void): any; | ||
on(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
on(event: "readable", listener: () => void): any; | ||
on(event: "resume", listener: () => void): any; | ||
on(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
on(event: string | symbol, listener: (...args: any[]) => void): any; | ||
once(event: "close", listener: () => void): any; | ||
once(event: "data", listener: (chunk: any) => void): any; | ||
once(event: "drain", listener: () => void): any; | ||
once(event: "end", listener: () => void): any; | ||
once(event: "error", listener: (err: Error) => void): any; | ||
once(event: "finish", listener: () => void): any; | ||
once(event: "pause", listener: () => void): any; | ||
once(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
once(event: "readable", listener: () => void): any; | ||
once(event: "resume", listener: () => void): any; | ||
once(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
once(event: string | symbol, listener: (...args: any[]) => void): any; | ||
prependListener(event: "close", listener: () => void): any; | ||
prependListener(event: "data", listener: (chunk: any) => void): any; | ||
prependListener(event: "drain", listener: () => void): any; | ||
prependListener(event: "end", listener: () => void): any; | ||
prependListener(event: "error", listener: (err: Error) => void): any; | ||
prependListener(event: "finish", listener: () => void): any; | ||
prependListener(event: "pause", listener: () => void): any; | ||
prependListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
prependListener(event: "readable", listener: () => void): any; | ||
prependListener(event: "resume", listener: () => void): any; | ||
prependListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
prependListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
prependOnceListener(event: "close", listener: () => void): any; | ||
prependOnceListener(event: "data", listener: (chunk: any) => void): any; | ||
prependOnceListener(event: "drain", listener: () => void): any; | ||
prependOnceListener(event: "end", listener: () => void): any; | ||
prependOnceListener(event: "error", listener: (err: Error) => void): any; | ||
prependOnceListener(event: "finish", listener: () => void): any; | ||
prependOnceListener(event: "pause", listener: () => void): any; | ||
prependOnceListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
prependOnceListener(event: "readable", listener: () => void): any; | ||
prependOnceListener(event: "resume", listener: () => void): any; | ||
prependOnceListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
removeListener(event: "close", listener: () => void): any; | ||
removeListener(event: "data", listener: (chunk: any) => void): any; | ||
removeListener(event: "drain", listener: () => void): any; | ||
removeListener(event: "end", listener: () => void): any; | ||
removeListener(event: "error", listener: (err: Error) => void): any; | ||
removeListener(event: "finish", listener: () => void): any; | ||
removeListener(event: "pause", listener: () => void): any; | ||
removeListener(event: "pipe", listener: (src: import("stream").Readable) => void): any; | ||
removeListener(event: "readable", listener: () => void): any; | ||
removeListener(event: "resume", listener: () => void): any; | ||
removeListener(event: "unpipe", listener: (src: import("stream").Readable) => void): any; | ||
removeListener(event: string | symbol, listener: (...args: any[]) => void): any; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
readonly readableEnded: boolean; | ||
readonly readableFlowing: boolean | null; | ||
readonly readableHighWaterMark: number; | ||
readonly readableLength: number; | ||
readonly readableObjectMode: boolean; | ||
destroyed: boolean; | ||
_construct?(callback: (error?: Error | null | undefined) => void): void; | ||
read(size?: number | undefined): any; | ||
setEncoding(encoding: BufferEncoding): any; | ||
pause(): any; | ||
resume(): any; | ||
isPaused(): boolean; | ||
unpipe(destination?: NodeJS.WritableStream | undefined): any; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
destroy(error?: Error | undefined): any; | ||
[Symbol.asyncIterator](): AsyncIterableIterator<any>; | ||
@@ -125,0 +155,0 @@ pipe<T extends NodeJS.WritableStream>(destination: T, options?: { |
import { _decryptStream } from './decrypt_stream'; | ||
import { _decrypt } from './decrypt'; | ||
import { CommitmentPolicy, ClientOptions } from '@aws-crypto/material-management-node'; | ||
declare type CurryFirst<fn extends (...a: any[]) => any> = fn extends (_: any, ...tail: infer TAIL) => any ? TAIL : never; | ||
type CurryFirst<fn extends (...a: any[]) => any> = fn extends (_: any, ...tail: infer TAIL) => any ? TAIL : never; | ||
export declare function buildDecrypt(options?: CommitmentPolicy | Partial<ClientOptions>): { | ||
@@ -6,0 +6,0 @@ decryptUnsignedMessageStream: (...args: CurryFirst<typeof _decryptStream>) => ReturnType<typeof _decryptStream>; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { NodeMaterialsManager, KeyringNode } from '@aws-crypto/material-management-node'; | ||
@@ -3,0 +5,0 @@ import { DecryptParameters } from './types'; |
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
import { HeaderInfo } from '@aws-crypto/serialize'; | ||
declare type AWSVerify = ReturnType<GetVerify>; | ||
type AWSVerify = ReturnType<GetVerify>; | ||
declare const PortableTransformWithType: new (...args: any[]) => Transform; | ||
@@ -8,0 +8,0 @@ export interface VerifyInfo { |
{ | ||
"name": "@aws-crypto/decrypt-node", | ||
"version": "3.2.0", | ||
"version": "3.2.2", | ||
"scripts": { | ||
@@ -21,4 +21,4 @@ "prepublishOnly": "npm run build", | ||
"dependencies": { | ||
"@aws-crypto/material-management-node": "^3.2.0", | ||
"@aws-crypto/serialize": "^3.2.0", | ||
"@aws-crypto/material-management-node": "^3.2.2", | ||
"@aws-crypto/serialize": "^3.2.2", | ||
"@types/duplexify": "^3.6.0", | ||
@@ -36,3 +36,3 @@ "duplexify": "^4.1.1", | ||
], | ||
"gitHead": "7928be0e92615386490756d2372636b59b34dcd8" | ||
"gitHead": "c97442ae9f1c35c918eb07549c137fb736eef811" | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
163676
52
1763