@aws-sdk/types
Advanced tools
Comparing version 3.370.0 to 3.378.0
@@ -1,22 +0,2 @@ | ||
import { RuntimeBlobTypes } from "./runtime-blob-types.node"; | ||
/** | ||
* @public | ||
* | ||
* A union of types that can be used as inputs for the service model | ||
* "blob" type when it represents the request's entire payload or body. | ||
* | ||
* For example, in Lambda::invoke, the payload is modeled as a blob type | ||
* and this union applies to it. | ||
* In contrast, in Lambda::createFunction the Zip file option is a blob type, | ||
* but is not the (entire) payload and this union does not apply. | ||
* | ||
* Note: not all types are signable by the standard SignatureV4 signer when | ||
* used as the request body. For example, in Node.js a Readable stream | ||
* is not signable by the default signer. | ||
* They are included in the union because it may work in some cases, | ||
* but the expected types are primarily string and Uint8Array. | ||
* | ||
* Additional details may be found in the internal | ||
* function "getPayloadHash" in the SignatureV4 module. | ||
*/ | ||
export type BlobTypes = string | ArrayBuffer | ArrayBufferView | Uint8Array | RuntimeBlobTypes; | ||
import { BlobTypes } from '@smithy/types'; | ||
export { BlobTypes }; |
@@ -1,7 +0,2 @@ | ||
import { RuntimeBlobTypes } from "./runtime-blob-types.node"; | ||
export type BlobTypes = | ||
| string | ||
| ArrayBuffer | ||
| ArrayBufferView | ||
| Uint8Array | ||
| RuntimeBlobTypes; | ||
import { BlobTypes } from "@smithy/types"; | ||
export { BlobTypes }; |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.370.0", | ||
"version": "3.378.0", | ||
"main": "./dist-cjs/index.js", | ||
@@ -44,3 +44,3 @@ "module": "./dist-es/index.js", | ||
"dependencies": { | ||
"@smithy/types": "^1.1.0", | ||
"@smithy/types": "^2.0.2", | ||
"tslib": "^2.5.0" | ||
@@ -47,0 +47,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
151
3
7
1
40549
847
+ Added@smithy/types@2.12.0(transitive)
- Removed@smithy/types@1.2.0(transitive)
Updated@smithy/types@^2.0.2