@aws-sdk/types
Advanced tools
Comparing version 3.160.0 to 3.162.0
@@ -51,2 +51,15 @@ import { Endpoint } from "./http"; | ||
/** | ||
* Declare ReadableStream in case dom.d.ts is not added to the tsconfig lib causing | ||
* ReadableStream interface is not defined. For developers with dom.d.ts added, | ||
* the ReadableStream interface will be merged correctly. | ||
* | ||
* This is also required for any clients with streaming interface where ReadableStream | ||
* type is also referred. The type is only declared here once since this @aws-sdk/types | ||
* is depended by all @aws-sdk packages. | ||
*/ | ||
declare global { | ||
export interface ReadableStream { | ||
} | ||
} | ||
/** | ||
* The interface contains mix-in utility functions to transfer the runtime-specific | ||
@@ -53,0 +66,0 @@ * stream implementation to specified format. Each stream can ONLY be transformed |
@@ -31,2 +31,7 @@ import { Endpoint } from "./http"; | ||
declare global { | ||
export interface ReadableStream { | ||
} | ||
} | ||
export interface SdkStreamMixin { | ||
@@ -33,0 +38,0 @@ transformToByteArray: () => Promise<Uint8Array>; |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.160.0", | ||
"version": "3.162.0", | ||
"main": "./dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist-es/index.js", |
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
170469
1893