ibm-watson
Advanced tools
Comparing version 4.5.2 to 4.5.3
@@ -7,7 +7,2 @@ "use strict"; | ||
function getSdkHeaders(serviceName, serviceVersion, operationId) { | ||
// disable analytics headers in the browser - they cause cors issues | ||
var isBrowser = typeof window !== 'undefined'; | ||
if (isBrowser) { | ||
return {}; | ||
} | ||
var sdkName = 'watson-apis-node-sdk'; | ||
@@ -14,0 +9,0 @@ var sdkVersion = pkg.version; |
{ | ||
"name": "ibm-watson", | ||
"version": "4.5.2", | ||
"version": "4.5.3", | ||
"description": "Client library to use the IBM Watson Services", | ||
@@ -121,2 +121,5 @@ "repository": { | ||
}, | ||
"browser": { | ||
"./lib/common": "./lib/common.browser" | ||
}, | ||
"husky": { | ||
@@ -123,0 +126,0 @@ "hooks": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
76
5569057
97648