@aws-sdk/eventstream-serde-universal
Advanced tools
Comparing version 3.78.0 to 3.109.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13) | ||
**Note:** Version bump only for package @aws-sdk/eventstream-serde-universal | ||
# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26) | ||
@@ -8,0 +16,0 @@ |
@@ -12,6 +12,4 @@ import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@aws-sdk/types"; | ||
constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); | ||
deserialize<T>(body: AsyncIterable<Uint8Array>, deserializer: (input: { | ||
[event: string]: Message; | ||
}) => Promise<T>): AsyncIterable<T>; | ||
deserialize<T>(body: AsyncIterable<Uint8Array>, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>; | ||
serialize<T>(input: AsyncIterable<T>, serializer: (event: T) => Message): AsyncIterable<Uint8Array>; | ||
} |
@@ -5,9 +5,5 @@ import { EventStreamMarshaller as EventMarshaller } from "@aws-sdk/eventstream-marshaller"; | ||
eventMarshaller: EventMarshaller; | ||
deserializer: (input: { | ||
[name: string]: Message; | ||
}) => Promise<T>; | ||
deserializer: (input: Record<string, Message>) => Promise<T>; | ||
toUtf8: Encoder; | ||
}; | ||
export declare function getUnmarshalledStream<T extends { | ||
[key: string]: any; | ||
}>(source: AsyncIterable<Uint8Array>, options: UnmarshalledStreamOptions<T>): AsyncIterable<T>; | ||
export declare function getUnmarshalledStream<T extends Record<string, any>>(source: AsyncIterable<Uint8Array>, options: UnmarshalledStreamOptions<T>): AsyncIterable<T>; |
@@ -12,6 +12,4 @@ import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@aws-sdk/types"; | ||
constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); | ||
deserialize<T>(body: AsyncIterable<Uint8Array>, deserializer: (input: { | ||
[event: string]: Message; | ||
}) => Promise<T>): AsyncIterable<T>; | ||
deserialize<T>(body: AsyncIterable<Uint8Array>, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>; | ||
serialize<T>(input: AsyncIterable<T>, serializer: (event: T) => Message): AsyncIterable<Uint8Array>; | ||
} |
@@ -5,9 +5,5 @@ import { EventStreamMarshaller as EventMarshaller } from "@aws-sdk/eventstream-marshaller"; | ||
eventMarshaller: EventMarshaller; | ||
deserializer: (input: { | ||
[name: string]: Message; | ||
}) => Promise<T>; | ||
deserializer: (input: Record<string, Message>) => Promise<T>; | ||
toUtf8: Encoder; | ||
}; | ||
export declare function getUnmarshalledStream<T extends { | ||
[key: string]: any; | ||
}>(source: AsyncIterable<Uint8Array>, options: UnmarshalledStreamOptions<T>): AsyncIterable<T>; | ||
export declare function getUnmarshalledStream<T extends Record<string, any>>(source: AsyncIterable<Uint8Array>, options: UnmarshalledStreamOptions<T>): AsyncIterable<T>; |
{ | ||
"name": "@aws-sdk/eventstream-serde-universal", | ||
"version": "3.78.0", | ||
"version": "3.109.0", | ||
"scripts": { | ||
@@ -22,8 +22,8 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/eventstream-marshaller": "3.78.0", | ||
"@aws-sdk/types": "3.78.0", | ||
"@aws-sdk/eventstream-marshaller": "3.109.0", | ||
"@aws-sdk/types": "3.109.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@aws-sdk/util-utf8-node": "3.55.0", | ||
"@aws-sdk/util-utf8-node": "3.109.0", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -30,0 +30,0 @@ "@types/node": "^10.0.0", |
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
55971
585
+ Added@aws-sdk/eventstream-marshaller@3.109.0(transitive)
+ Added@aws-sdk/types@3.109.0(transitive)
+ Added@aws-sdk/util-hex-encoding@3.109.0(transitive)
- Removed@aws-sdk/eventstream-marshaller@3.78.0(transitive)
- Removed@aws-sdk/types@3.78.0(transitive)
- Removed@aws-sdk/util-hex-encoding@3.58.0(transitive)
Updated@aws-sdk/types@3.109.0