@azure/data-tables
Advanced tools
Comparing version 1.0.0-alpha.20201211.1 to 1.0.0-alpha.20201215.1
@@ -8,2 +8,3 @@ /* | ||
*/ | ||
export {}; | ||
//# sourceMappingURL=index.js.map |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export {}; | ||
//# sourceMappingURL=generatedModels.js.map |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export {}; | ||
//# sourceMappingURL=models.js.map |
@@ -147,5 +147,5 @@ // Copyright (c) Microsoft Corporation. | ||
} | ||
const status = Number.parseInt(statusMatch[1]); | ||
if (!Number.isInteger(status)) { | ||
throw new Error(`Expected sub-response status to be an integer ${status}`); | ||
const subResponseStatus = Number.parseInt(statusMatch[1]); | ||
if (!Number.isInteger(subResponseStatus)) { | ||
throw new Error(`Expected sub-response status to be an integer ${subResponseStatus}`); | ||
} | ||
@@ -159,3 +159,3 @@ const bodyMatch = subResponse.match(/\{(.*)\}/); | ||
const message = ((_a = error.message) === null || _a === void 0 ? void 0 : _a.value) || "One of the batch operations failed"; | ||
throw new RestError(message, error.code, status, batchResponse.request, batchResponse); | ||
throw new RestError(message, error.code, subResponseStatus, batchResponse.request, batchResponse); | ||
} | ||
@@ -165,3 +165,3 @@ } | ||
const rowKeyMatch = subResponse.match(/RowKey='(.*)'/); | ||
return Object.assign(Object.assign({ status }, ((rowKeyMatch === null || rowKeyMatch === void 0 ? void 0 : rowKeyMatch.length) === 2 && { rowKey: rowKeyMatch[1] })), ((etagMatch === null || etagMatch === void 0 ? void 0 : etagMatch.length) === 2 && { etag: etagMatch[1] })); | ||
return Object.assign(Object.assign({ status: subResponseStatus }, ((rowKeyMatch === null || rowKeyMatch === void 0 ? void 0 : rowKeyMatch.length) === 2 && { rowKey: rowKeyMatch[1] })), ((etagMatch === null || etagMatch === void 0 ? void 0 : etagMatch.length) === 2 && { etag: etagMatch[1] })); | ||
}); | ||
@@ -168,0 +168,0 @@ return { |
@@ -9,3 +9,3 @@ // Copyright (c) Microsoft Corporation. | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type | ||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/explicit-module-boundary-types | ||
export function fromAccountConnectionString(_connectionString, _options) { | ||
@@ -12,0 +12,0 @@ throw new Error("Account connection string is only supported in Node.js environment"); |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export {}; | ||
//# sourceMappingURL=internalModels.js.map |
{ | ||
"name": "@azure/data-tables", | ||
"version": "1.0.0-alpha.20201211.1", | ||
"version": "1.0.0-alpha.20201215.1", | ||
"description": "An isomorphic client library for the Azure Tables service.", | ||
@@ -91,3 +91,3 @@ "sdk-type": "client", | ||
"downlevel-dts": "~0.4.0", | ||
"eslint": "^6.1.0", | ||
"eslint": "^7.15.0", | ||
"inherits": "^2.0.3", | ||
@@ -114,3 +114,3 @@ "karma": "^5.1.0", | ||
"sinon": "^9.0.2", | ||
"typescript": "~3.9.3", | ||
"typescript": "4.1.2", | ||
"util": "^0.12.1", | ||
@@ -117,0 +117,0 @@ "dotenv": "^8.2.0", |
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 too big to display
Sorry, the diff of this file is not supported yet
863048
9505