@commercetools/http-user-agent
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.CommercetoolsHttpUserAgent=r()}(this,function(){"use strict";function e(e){if(!e||0===Object.keys(e).length||!{}.hasOwnProperty.call(e,"name"))throw new Error("Missing required option `name`");var t=e.version?e.name+"/"+e.version:e.name,n=void 0;e.libraryName&&!e.libraryVersion?n=e.libraryName:e.libraryName&&e.libraryVersion&&(n=e.libraryName+"/"+e.libraryVersion);var o=void 0;e.contactUrl&&!e.contactEmail?o="(+"+e.contactUrl+")":!e.contactUrl&&e.contactEmail?o="(+"+e.contactEmail+")":e.contactUrl&&e.contactEmail&&(o="(+"+e.contactUrl+"; +"+e.contactEmail+")");return[t,r()?window.navigator.userAgent:"Node.js/"+process.version.slice(1)+" ("+process.platform+"; "+process.arch+")",n,o].filter(function(e){return Boolean(e)}).join(" ")}var r=new Function('try { return typeof window === "object" } catch (e) { return false }');return e}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.CommercetoolsHttpUserAgent=r()}(this,function(){"use strict";var e=new Function('try { return typeof window === "object" } catch (e) { return false }');return function(r){if(!r||0===Object.keys(r).length||!{}.hasOwnProperty.call(r,"name"))throw new Error("Missing required option `name`");var t=r.version?r.name+"/"+r.version:r.name,n=void 0;r.libraryName&&!r.libraryVersion?n=r.libraryName:r.libraryName&&r.libraryVersion&&(n=r.libraryName+"/"+r.libraryVersion);var o=void 0;return r.contactUrl&&!r.contactEmail?o="(+"+r.contactUrl+")":!r.contactUrl&&r.contactEmail?o="(+"+r.contactEmail+")":r.contactUrl&&r.contactEmail&&(o="(+"+r.contactUrl+"; +"+r.contactEmail+")"),[t,e()?window.navigator.userAgent:"Node.js/"+process.version.slice(1)+" ("+process.platform+"; "+process.arch+")",n,o].filter(function(e){return Boolean(e)}).join(" ")}}); | ||
//# sourceMappingURL=commercetools-http-user-agent.umd.min.js.map |
@@ -7,3 +7,3 @@ { | ||
"name": "@commercetools/http-user-agent", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Creates a proper HTTP User-Agent", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ # commercetools-http-user-agent | ||
https://commercetools.github.io/nodejs/docs/sdk/api/#http-user-agent | ||
https://commercetools.github.io/nodejs/sdk/api/httpUserAgent.html | ||
@@ -8,0 +8,0 @@ ## Install |
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
13617