@azure/core-client
Advanced tools
Comparing version 1.0.0-alpha.20210222.1 to 1.0.0-alpha.20210224.1
@@ -10,2 +10,3 @@ // Copyright (c) Microsoft Corporation. | ||
export { serializationPolicy, serializationPolicyName } from "./serializationPolicy"; | ||
import "@azure/core-asynciterator-polyfill"; | ||
//# sourceMappingURL=index.js.map |
@@ -345,7 +345,7 @@ // Copyright (c) Microsoft Corporation. | ||
if (objectType !== "string" && | ||
objectType !== "function" && | ||
typeof value.pipe !== "function" && | ||
!(value instanceof ArrayBuffer) && | ||
!ArrayBuffer.isView(value) && | ||
!(((_a = value === null || value === void 0 ? void 0 : value.constructor) === null || _a === void 0 ? void 0 : _a.name) === "Blob")) { | ||
throw new Error(`${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.`); | ||
throw new Error(`${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, or NodeJS.ReadableStream.`); | ||
} | ||
@@ -352,0 +352,0 @@ } |
{ | ||
"name": "@azure/core-client", | ||
"version": "1.0.0-alpha.20210222.1", | ||
"version": "1.0.0-alpha.20210224.1", | ||
"description": "Core library for interfacing with AutoRest generated code", | ||
@@ -80,2 +80,3 @@ "sdk-type": "client", | ||
"@azure/abort-controller": "^1.0.0", | ||
"@azure/core-asynciterator-polyfill": "^1.0.0", | ||
"@azure/core-auth": "^1.2.0", | ||
@@ -82,0 +83,0 @@ "@azure/core-https": "^1.0.0-alpha", |
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 too big to display
Sorry, the diff of this file is not supported yet
552848
5038
7
+ Added@azure/core-asynciterator-polyfill@1.0.2(transitive)