@aws-crypto/decrypt-node
Advanced tools
Comparing version 3.0.3 to 3.1.0
@@ -30,2 +30,3 @@ /// <reference types="node" /> | ||
readonly writableCorked: number; | ||
allowHalfOpen: boolean; | ||
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void; | ||
@@ -45,3 +46,5 @@ _writev?(chunks: { | ||
uncork(): void; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
@@ -62,3 +65,3 @@ readonly readableEnded: boolean; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(oldStream: NodeJS.ReadableStream): any; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
@@ -126,11 +129,11 @@ destroy(error?: Error | undefined): void; | ||
} | undefined): T; | ||
off(event: string | symbol, listener: (...args: any[]) => void): any; | ||
off(eventName: string | symbol, listener: (...args: any[]) => void): any; | ||
removeAllListeners(event?: string | symbol | undefined): any; | ||
setMaxListeners(n: number): any; | ||
getMaxListeners(): number; | ||
listeners(event: string | symbol): Function[]; | ||
rawListeners(event: string | symbol): Function[]; | ||
listenerCount(event: string | symbol): number; | ||
listeners(eventName: string | symbol): Function[]; | ||
rawListeners(eventName: string | symbol): Function[]; | ||
listenerCount(eventName: string | symbol): number; | ||
eventNames(): (string | symbol)[]; | ||
}; | ||
//# sourceMappingURL=decipher_stream.d.ts.map |
@@ -12,3 +12,3 @@ "use strict"; | ||
const fromUtf8 = (input) => Buffer.from(input, 'utf8'); | ||
const aadUtility = serialize_1.aadFactory(fromUtf8); | ||
const aadUtility = (0, serialize_1.aadFactory)(fromUtf8); | ||
const PortableTransformWithType = readable_stream_1.Transform; | ||
@@ -27,3 +27,3 @@ const ioTick = async () => new Promise((resolve) => setImmediate(resolve)); | ||
/* Precondition: The source must be a VerifyStream to emit the required events. */ | ||
material_management_node_1.needs(source instanceof verify_stream_1.VerifyStream, 'Unsupported source'); | ||
(0, material_management_node_1.needs)(source instanceof verify_stream_1.VerifyStream, 'Unsupported source'); | ||
source | ||
@@ -41,5 +41,5 @@ .once('DecipherInfo', (info) => { | ||
/* Precondition: decipherInfo must be set before BodyInfo is sent. */ | ||
material_management_node_1.needs(decipherInfo, 'Malformed State.'); | ||
(0, material_management_node_1.needs)(decipherInfo, 'Malformed State.'); | ||
/* Precondition: Ciphertext must not be flowing before a BodyHeader is processed. */ | ||
material_management_node_1.needs(!decipherState.decipher, 'Malformed State.'); | ||
(0, material_management_node_1.needs)(!decipherState.decipher, 'Malformed State.'); | ||
const { messageId, contentType, getDecipher } = decipherInfo; | ||
@@ -57,3 +57,3 @@ const aadString = aadUtility.messageAADContentString({ | ||
/* Precondition: BodyHeader must be parsed before frame data. */ | ||
material_management_node_1.needs(decipherState.decipher, 'Malformed State.'); | ||
(0, material_management_node_1.needs)(decipherState.decipher, 'Malformed State.'); | ||
decipherState.contentLength -= chunk.length; | ||
@@ -65,3 +65,3 @@ /* Precondition: Only content should be transformed, so the lengths must always match. | ||
*/ | ||
material_management_node_1.needs(decipherState.contentLength >= 0, 'Lengths do not match'); | ||
(0, material_management_node_1.needs)(decipherState.contentLength >= 0, 'Lengths do not match'); | ||
const { content } = decipherState; | ||
@@ -101,3 +101,3 @@ content.push(chunk); | ||
*/ | ||
material_management_node_1.needs(frameComplete || contentLength === 0, 'AuthTag before frame.'); | ||
(0, material_management_node_1.needs)(frameComplete || contentLength === 0, 'AuthTag before frame.'); | ||
/* Precondition UNTESTED: I must have received all content for this frame. | ||
@@ -113,3 +113,3 @@ * Both contentLength and frameComplete are private variables. | ||
*/ | ||
material_management_node_1.needs(contentLength === 0, 'Lengths do not match'); | ||
(0, material_management_node_1.needs)(contentLength === 0, 'Lengths do not match'); | ||
// flush content from state. | ||
@@ -167,2 +167,2 @@ decipherState = {}; | ||
exports.getDecipherStream = getDecipherStream; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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CommitmentPolicy[commitmentPolicy], 'Invalid commitment policy.'); | ||
(0, material_management_node_1.needs)(material_management_node_1.CommitmentPolicy[commitmentPolicy], 'Invalid commitment policy.'); | ||
/* Precondition: node buildDecrypt needs a valid maxEncryptedDataKeys. */ | ||
material_management_node_1.needs(maxEncryptedDataKeys === false || maxEncryptedDataKeys >= 1, 'Invalid maxEncryptedDataKeys value.'); | ||
(0, material_management_node_1.needs)(maxEncryptedDataKeys === false || maxEncryptedDataKeys >= 1, 'Invalid maxEncryptedDataKeys value.'); | ||
const clientOptions = { | ||
@@ -39,2 +39,2 @@ commitmentPolicy, | ||
decryptUnsignedMessageStream({}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVjcnlwdF9jbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGVjcnlwdF9jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7OztBQUV0QyxxREFBaUQ7QUFDakQsdUNBQW9DO0FBQ3BDLG1GQUs2QztBQVM3QyxTQUFnQixZQUFZLENBQzFCLFVBQXFELEVBQUU7SUFVdkQsTUFBTSxFQUNKLGdCQUFnQixHQUFHLDJDQUFnQixDQUFDLCtCQUErQixFQUNuRSxvQkFBb0IsR0FBRyxLQUFLLEdBQzdCLEdBQUcsT0FBTyxPQUFPLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLGdCQUFnQixFQUFFLE9BQU8sRUFBRSxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUE7SUFFekUscUVBQXFFO0lBQ3JFLGdDQUFLLENBQUMsMkNBQWdCLENBQUMsZ0JBQWdCLENBQUMsRUFBRSw0QkFBNEIsQ0FBQyxDQUFBO0lBQ3ZFLHlFQUF5RTtJQUN6RSxnQ0FBSyxDQUNILG9CQUFvQixLQUFLLEtBQUss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0FtREM7QUFFRCxhQUFhO0FBQ2IsTUFBTSxFQUFFLDRCQUE0QixFQUFFLGFBQWEsRUFBRSxPQUFPLEVBQUUsR0FBRyxZQUFZLEVBQUUsQ0FBQTtBQUMvRSw0QkFBNEIsQ0FBQyxFQUFTLENBQUMsQ0FBQSJ9 |
@@ -24,3 +24,3 @@ "use strict"; | ||
const verifyStream = new verify_stream_1.VerifyStream({ maxBodySize }); | ||
const decipherStream = decipher_stream_1.getDecipherStream(); | ||
const decipherStream = (0, decipher_stream_1.getDecipherStream)(); | ||
const stream = new duplexify_1.default(parseHeaderStream, decipherStream); | ||
@@ -31,3 +31,3 @@ /* pipeline will _either_ stream.destroy or the callback. | ||
*/ | ||
readable_stream_1.pipeline(parseHeaderStream, verifyStream, decipherStream, new readable_stream_1.PassThrough(), (err) => { | ||
(0, readable_stream_1.pipeline)(parseHeaderStream, verifyStream, decipherStream, new readable_stream_1.PassThrough(), (err) => { | ||
if (err) | ||
@@ -41,2 +41,2 @@ stream.emit('error', err); | ||
exports._decryptStream = _decryptStream; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVjcnlwdF9zdHJlYW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGVjcnlwdF9zdHJlYW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7OztBQUV0QyxtRkFJNkM7QUFDN0MsK0RBQXlEO0FBQ3pELG1EQUE4QztBQUM5Qyx1REFBcUQ7QUFFckQsMERBQWlDO0FBR2pDLGFBQWE7QUFDYixxREFBdUQ7QUFFdkQsU0FBZ0IsY0FBYyxDQUM1QixpQkFBb0MsRUFDcEMsR0FBdUMsRUFDdkMsRUFBRSxXQUFXLEtBQTJCLEVBQUU7SUFFMUMsMkRBQTJEO0lBQzNELEdBQUc7UUFDRCxHQUFHLFlBQVksc0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HQUFHLENBQUMsQ0FBQTtJQUNwQyxDQUFDLENBQ0YsQ0FBQTtJQUVELHdCQUF3QjtJQUN4QixpQkFBaUIsQ0FBQyxJQUFJLENBQUMsZUFBZSxFQUFFLENBQUMsTUFBTSxFQUFFLEVBQUUsQ0FDakQsTUFBTSxDQUFDLElBQUksQ0FBQyxlQUFlLEVBQUUsTUFBTSxDQUFDLENBQ3JDLENBQUE7SUFFRCxPQUFPLE1BQU0sQ0FBQTtBQUNmLENBQUM7QUF4Q0Qsd0NBd0NDIn0= |
@@ -10,3 +10,3 @@ "use strict"; | ||
async function _decrypt(decryptParameters, cmm, ciphertext, { encoding, maxBodySize } = {}) { | ||
const stream = decrypt_stream_1._decryptStream(decryptParameters, cmm, { | ||
const stream = (0, decrypt_stream_1._decryptStream)(decryptParameters, cmm, { | ||
maxBodySize, | ||
@@ -45,5 +45,5 @@ }); | ||
return new Promise((resolve, reject) => { | ||
readable_stream_1.finished(stream, (err) => (err ? reject(err) : resolve())); | ||
(0, readable_stream_1.finished)(stream, (err) => (err ? reject(err) : resolve())); | ||
}); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVjcnlwdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kZWNyeXB0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvRUFBb0U7QUFDcEUsc0NBQXNDOzs7QUFNdEMscURBQWlEO0FBR2pELGFBQWE7QUFDYixxREFBMEM7QUFjbkMsS0FBSyxVQUFVLFFBQVEsQ0FDNUIsaUJBQW9DLEVBQ3BDLEdBQXVDLEVBQ3ZDLFVBQTJFLEVBQzNFLEVBQUUsUUFBUSxFQUFFLFdBQVcsS0FBcUIsRUFBRTtJQUU5QyxNQUFNLE1BQU0sR0FBRywrQkFBYyxDQUFDLGlCQUFpQixFQUFFLEdBQUcsRUFBRTtRQUNwRCxXQU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sRUFBRSxDQUFDLEdBQVUsRUFBRSxFQUFFLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQyxDQUFBO0lBQ25FLENBQUMsQ0FBQyxDQUFBO0FBQ0osQ0FBQyJ9 |
@@ -11,3 +11,3 @@ "use strict"; | ||
const toUtf8 = (input) => Buffer.from(input.buffer, input.byteOffset, input.byteLength).toString('utf8'); | ||
const deserialize = serialize_1.deserializeFactory(toUtf8, material_management_node_1.NodeAlgorithmSuite); | ||
const deserialize = (0, serialize_1.deserializeFactory)(toUtf8, material_management_node_1.NodeAlgorithmSuite); | ||
const PortableTransformWithType = readable_stream_1.Transform; | ||
@@ -23,8 +23,8 @@ class ParseHeaderStream extends PortableTransformWithType { | ||
/* Precondition: ParseHeaderStream needs a valid commitmentPolicy. */ | ||
material_management_node_1.needs(material_management_node_1.CommitmentPolicy[commitmentPolicy], 'Invalid commitment policy.'); | ||
(0, material_management_node_1.needs)(material_management_node_1.CommitmentPolicy[commitmentPolicy], 'Invalid commitment policy.'); | ||
/* Precondition: ParseHeaderStream needs a valid signaturePolicy. */ | ||
material_management_node_1.needs(material_management_node_1.SignaturePolicy[signaturePolicy], 'Invalid signature policy.'); | ||
(0, material_management_node_1.needs)(material_management_node_1.SignaturePolicy[signaturePolicy], 'Invalid signature policy.'); | ||
// buildDecrypt defaults this to false for backwards compatibility, so this is satisfied | ||
/* Precondition: ParseHeaderStream needs a valid maxEncryptedDataKeys. */ | ||
material_management_node_1.needs(maxEncryptedDataKeys === false || maxEncryptedDataKeys >= 1, 'Invalid maxEncryptedDataKeys value.'); | ||
(0, material_management_node_1.needs)(maxEncryptedDataKeys === false || maxEncryptedDataKeys >= 1, 'Invalid maxEncryptedDataKeys value.'); | ||
Object.defineProperty(this, 'materialsManager', { | ||
@@ -83,3 +83,3 @@ value: cmm, | ||
_headerState.buffer = Buffer.alloc(0); // clear the Buffer... | ||
const { getDecipherInfo, getVerify, dispose } = material_management_node_1.getDecryptionHelper(material); | ||
const { getDecipherInfo, getVerify, dispose } = (0, material_management_node_1.getDecryptionHelper)(material); | ||
const getDecipher = getDecipherInfo(messageId, | ||
@@ -145,2 +145,2 @@ /* This is sub-optimal. | ||
exports.ParseHeaderStream = ParseHeaderStream; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfaGVhZGVyX3N0cmVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYXJzZV9oZWFkZXJfc3RyZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvRUFBb0U7QUFDcEUsc0NBQXNDOzs7QUFFdEMsYUFBYTtBQUNiLHFEQUFnRTtBQUVoRSxtRkFVNkM7QUFDN0MscURBQTJFO0FBRzNFLE1BQU0sTUFBTSxHQUFHLENBQUMsS0FBaUIsRUFBRSxFQUFFLENBQ25DLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sRUFBRSxLQUFLLENBQUMsVUFBVSxFQUFFLEtBQUssQ0FBQyxVQUFVLENBQUMsQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLENBQUE7QUFDaEYsTUFBTSxXQUFXLEdBQUcsOEJBQWtCLENBQUMsTUFBTSxFQUFFLDZDQUFrQixDQUFDLENBQUE7QUFDbEUsTUFBTSx5QkFBeUIsR0FBRywyQkFFcEIsQ0FBQTtBQU9kLE1BQWEsaUJBQWtCLFNBQVEseUJBQXlCO0lBQ3RELGdCQUFnQixDQUF1QjtJQUN2QyxnQkFBZ0IsQ0FBbUI7SUFDbkMsZUFBZSxDQUFrQjtJQUNqQyxvQkFBb0IsQ0FBaUI7SUFDckMsWUFBWSxDQUFhO0lBQ2pDLFlBQ0UsZUFBZ0MsRUFDaEMsRU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24,5 +24,5 @@ /// <reference types="node" /> | ||
push(chunk: any, encoding?: BufferEncoding): boolean; | ||
_flush(callback: (err?: Error) => void): void; | ||
_flush(callback: (err?: Error | any | unknown) => void): void; | ||
} | ||
export {}; | ||
//# sourceMappingURL=verify_stream.d.ts.map |
@@ -26,3 +26,3 @@ "use strict"; | ||
/* Precondition: VerifyStream requires maxBodySize must be falsey or a number. */ | ||
material_management_node_1.needs(!maxBodySize || typeof maxBodySize === 'number', 'Unsupported MaxBodySize.'); | ||
(0, material_management_node_1.needs)(!maxBodySize || typeof maxBodySize === 'number', 'Unsupported MaxBodySize.'); | ||
Object.defineProperty(this, '_maxBodySize', { | ||
@@ -34,3 +34,3 @@ value: maxBodySize, | ||
/* Precondition: The source must a ParseHeaderStream emit the required events. */ | ||
material_management_node_1.needs(source instanceof parse_header_stream_1.ParseHeaderStream, 'Unsupported source'); | ||
(0, material_management_node_1.needs)(source instanceof parse_header_stream_1.ParseHeaderStream, 'Unsupported source'); | ||
source.once('VerifyInfo', (verifyInfo) => { | ||
@@ -47,3 +47,3 @@ const { getDecipher, verify, headerInfo, dispose } = verifyInfo; | ||
verify.update(rawHeader); | ||
verify.update(serialize_1.serializeMessageHeaderAuth({ | ||
verify.update((0, serialize_1.serializeMessageHeaderAuth)({ | ||
headerIv, | ||
@@ -74,3 +74,3 @@ headerAuthTag, | ||
/* Precondition: VerifyInfo must have initialized the stream. */ | ||
material_management_node_1.needs(this._headerInfo, 'VerifyStream not configured, VerifyInfo event not yet received.'); | ||
(0, material_management_node_1.needs)(this._headerInfo, 'VerifyStream not configured, VerifyInfo event not yet received.'); | ||
// BodyHeader | ||
@@ -82,3 +82,3 @@ const state = this._verifyState; | ||
const frameBuffer = Buffer.concat([buffer, chunk]); | ||
const frameHeader = serialize_1.decodeBodyHeader(frameBuffer, this._headerInfo, 0); | ||
const frameHeader = (0, serialize_1.decodeBodyHeader)(frameBuffer, this._headerInfo, 0); | ||
if (!frameHeader) { | ||
@@ -93,3 +93,3 @@ // Need more data | ||
*/ | ||
material_management_node_1.needs(!this._maxBodySize || this._maxBodySize >= frameHeader.contentLength, 'maxBodySize exceeded.'); | ||
(0, material_management_node_1.needs)(!this._maxBodySize || this._maxBodySize >= frameHeader.contentLength, 'maxBodySize exceeded.'); | ||
/* Keeping track of the sequence number myself. */ | ||
@@ -103,3 +103,3 @@ state.sequenceNumber += 1; | ||
*/ | ||
material_management_node_1.needs(frameHeader.sequenceNumber === state.sequenceNumber, 'Encrypted body sequence out of order.'); | ||
(0, material_management_node_1.needs)(frameHeader.sequenceNumber === state.sequenceNumber, 'Encrypted body sequence out of order.'); | ||
if (this._verify) { | ||
@@ -211,7 +211,7 @@ this._verify.update(frameBuffer.slice(0, frameHeader.readPos)); | ||
/* Precondition: The signature must be well formed. */ | ||
const { buffer, byteOffset, byteLength } = serialize_1.deserializeSignature(signatureInfo); | ||
const { buffer, byteOffset, byteLength } = (0, serialize_1.deserializeSignature)(signatureInfo); | ||
const signature = Buffer.from(buffer, byteOffset, byteLength); | ||
const isVerified = this._verify.awsCryptoVerify(signature); | ||
/* Postcondition: The signature must be valid. */ | ||
material_management_node_1.needs(isVerified, 'Invalid Signature'); | ||
(0, material_management_node_1.needs)(isVerified, 'Invalid Signature'); | ||
callback(); | ||
@@ -225,2 +225,2 @@ } | ||
exports.VerifyStream = VerifyStream; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaWZ5X3N0cmVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy92ZXJpZnlfc3RyZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvRUFBb0U7QUFDcEUsc0NBQXNDOzs7QUFFdEMsYUFBYTtBQUNiLHFEQUFnRTtBQUVoRSxtRkFJNkM7QUFDN0MscURBTThCO0FBQzlCLCtEQUF5RDtBQUl6RCxNQUFNLHlCQUF5QixHQUFHLDJC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FDVixRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUE7U0FDWjtJQUNILENBQUM7Q0FDRjtBQW5QRCxvQ0FtUEMifQ== |
@@ -30,2 +30,3 @@ /// <reference types="node" /> | ||
readonly writableCorked: number; | ||
allowHalfOpen: boolean; | ||
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void; | ||
@@ -45,3 +46,5 @@ _writev?(chunks: { | ||
uncork(): void; | ||
readonly readableAborted: boolean; | ||
readable: boolean; | ||
readonly readableDidRead: boolean; | ||
readonly readableEncoding: BufferEncoding | null; | ||
@@ -62,3 +65,3 @@ readonly readableEnded: boolean; | ||
unshift(chunk: any, encoding?: BufferEncoding | undefined): void; | ||
wrap(oldStream: NodeJS.ReadableStream): any; | ||
wrap(stream: NodeJS.ReadableStream): any; | ||
push(chunk: any, encoding?: BufferEncoding | undefined): boolean; | ||
@@ -126,11 +129,11 @@ destroy(error?: Error | undefined): void; | ||
} | undefined): T; | ||
off(event: string | symbol, listener: (...args: any[]) => void): any; | ||
off(eventName: string | symbol, listener: (...args: any[]) => void): any; | ||
removeAllListeners(event?: string | symbol | undefined): any; | ||
setMaxListeners(n: number): any; | ||
getMaxListeners(): number; | ||
listeners(event: string | symbol): Function[]; | ||
rawListeners(event: string | symbol): Function[]; | ||
listenerCount(event: string | symbol): number; | ||
listeners(eventName: string | symbol): Function[]; | ||
rawListeners(eventName: string | symbol): Function[]; | ||
listenerCount(eventName: string | symbol): number; | ||
eventNames(): (string | symbol)[]; | ||
}; | ||
//# sourceMappingURL=decipher_stream.d.ts.map |
@@ -24,5 +24,5 @@ /// <reference types="node" /> | ||
push(chunk: any, encoding?: BufferEncoding): boolean; | ||
_flush(callback: (err?: Error) => void): void; | ||
_flush(callback: (err?: Error | any | unknown) => void): void; | ||
} | ||
export {}; | ||
//# sourceMappingURL=verify_stream.d.ts.map |
@@ -213,2 +213,2 @@ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
} | ||
//# sour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9BQU8sUUFBUSxDQUFDLElBQUksS0FBSyxDQUFDLG9CQUFvQixDQUFDLENBQUMsQ0FBQTtRQUMzRSxvR0FBb0c7UUFDcEcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPO1lBQUUsT0FBTyxRQUFRLEVBQUUsQ0FBQTtRQUNwQyxJQUFJO1lBQ0YsTUFBTSxFQUFFLGFBQWEsRUFBRSxHQUFHLElBQUksQ0FBQyxZQUFZLENBQUE7WUFDM0Msc0RBQXNEO1lBQ3RELE1BQU0sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFVBQVUsRUFBRSxHQUN0QyxvQkFBb0IsQ0FBQyxhQUFhLENBQUMsQ0FBQTtZQUNyQyxNQUFNLFNBQVMsR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxVQUFVLEVBQUUsVUFBVSxDQUFDLENBQUE7WUFDN0QsTUFBTSxVQUFVLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxlQUFlLENBQUMsU0FBUyxDQUFDLENBQUE7WUFDMUQsaURBQWlEO1lBQ2pELEtBQUssQ0FBQyxVQUFVLEVBQUUsbUJBQW1CLENBQUMsQ0FBQTtZQUN0QyxRQUFRLEVBQUUsQ0FBQTtTQUNYO1FBQUMsT0FBTyxDQUFDLEVBQUU7WUFDVixRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUE7U0FDWjtJQUNILENBQUM7Q0FDRiJ9 |
{ | ||
"name": "@aws-crypto/decrypt-node", | ||
"version": "3.0.3", | ||
"version": "3.1.0", | ||
"scripts": { | ||
@@ -21,4 +21,4 @@ "prepublishOnly": "npm run build", | ||
"dependencies": { | ||
"@aws-crypto/material-management-node": "^3.0.3", | ||
"@aws-crypto/serialize": "^3.0.0", | ||
"@aws-crypto/material-management-node": "^3.1.0", | ||
"@aws-crypto/serialize": "^3.1.0", | ||
"@types/duplexify": "^3.6.0", | ||
@@ -36,3 +36,3 @@ "duplexify": "^4.1.1", | ||
], | ||
"gitHead": "6ba9add3e0aea196ae4cb298709cb80725a9404c" | ||
"gitHead": "1bc8957ce9378767d3fca65ae5310c130384e075" | ||
} |
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
158726
1692