From c9c83b5e93b714a12f544e7cd0eb893ea71126df Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Thu, 3 Oct 2019 15:00:36 -0500 Subject: [PATCH 1/2] Fix atob browser bug --- sdk/cosmosdb/cosmos/src/utils/atob.browser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmosdb/cosmos/src/utils/atob.browser.ts b/sdk/cosmosdb/cosmos/src/utils/atob.browser.ts index af346b5f473..8a3e41d2ff8 100644 --- a/sdk/cosmosdb/cosmos/src/utils/atob.browser.ts +++ b/sdk/cosmosdb/cosmos/src/utils/atob.browser.ts @@ -1,4 +1,4 @@ -if ("function" === typeof atob) { +if ("function" !== typeof atob) { throw new Error("Your browser environment is missing the global `atob` function"); } From 840ecc9b5e07441c19952566e81fb40cb07ca500 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Thu, 3 Oct 2019 15:01:16 -0500 Subject: [PATCH 2/2] Version 3.3.3 --- sdk/cosmosdb/cosmos/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmosdb/cosmos/package.json b/sdk/cosmosdb/cosmos/package.json index aeac7e65b3d..c0edf59cbb0 100644 --- a/sdk/cosmosdb/cosmos/package.json +++ b/sdk/cosmosdb/cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@azure/cosmos", - "version": "3.3.2", + "version": "3.3.3", "description": "Microsoft Azure Cosmos DB Service Node.js SDK for SQL API", "sdk-type": "client", "keywords": [