@kentico/kontent-core
Advanced tools
Comparing version 9.4.0 to 9.5.0
@@ -17,3 +17,3 @@ "use strict"; | ||
header: this.sdkVersionHeader, | ||
value: info.host + ";" + info.name + ";" + info.version | ||
value: "".concat(info.host, ";").concat(info.name, ";").concat(info.version) | ||
}; | ||
@@ -20,0 +20,0 @@ }; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -318,3 +318,3 @@ "use strict"; | ||
cancel: function (cancelMessage) { | ||
return canceler(retry_helper_1.retryHelper.requestCancelledMessagePrefix + ": " + (cancelMessage !== null && cancelMessage !== void 0 ? cancelMessage : 'User cancel')); | ||
return canceler("".concat(retry_helper_1.retryHelper.requestCancelledMessagePrefix, ": ").concat(cancelMessage !== null && cancelMessage !== void 0 ? cancelMessage : 'User cancel')); | ||
}, | ||
@@ -349,3 +349,3 @@ token: token | ||
// retry request | ||
console.warn("Retry attempt '" + (data.retryAttempt + 1) + "' from a maximum of '" + retryResult_1.maxRetries + "' retries. Request url: '" + data.url + "'"); | ||
console.warn("Retry attempt '".concat(data.retryAttempt + 1, "' from a maximum of '").concat(retryResult_1.maxRetries, "' retries. Request url: '").concat(data.url, "'")); | ||
return [4 /*yield*/, runWithRetryAsync({ | ||
@@ -361,3 +361,3 @@ call: data.call, | ||
if (data.functionsConfig.logErrorsToConsole) { | ||
console.error("Executing '" + data.url + "' failed. Request was retried '" + data.retryAttempt + "' times. ", error_1); | ||
console.error("Executing '".concat(data.url, "' failed. Request was retried '").concat(data.retryAttempt, "' times. "), error_1); | ||
} | ||
@@ -364,0 +364,0 @@ throw error_1; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -6,5 +6,5 @@ "use strict"; | ||
host: 'npmjs.com', | ||
version: '9.4.0', | ||
version: '9.5.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
export const sdkInfo = { | ||
host: 'npmjs.com', | ||
version: '9.4.0', | ||
version: '9.5.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
@@ -14,3 +14,3 @@ var HeaderHelper = /** @class */ (function () { | ||
header: this.sdkVersionHeader, | ||
value: info.host + ";" + info.name + ";" + info.version | ||
value: "".concat(info.host, ";").concat(info.name, ";").concat(info.version) | ||
}; | ||
@@ -17,0 +17,0 @@ }; |
@@ -275,3 +275,3 @@ import { __awaiter, __generator } from "tslib"; | ||
cancel: function (cancelMessage) { | ||
return canceler(retryHelper.requestCancelledMessagePrefix + ": " + (cancelMessage !== null && cancelMessage !== void 0 ? cancelMessage : 'User cancel')); | ||
return canceler("".concat(retryHelper.requestCancelledMessagePrefix, ": ").concat(cancelMessage !== null && cancelMessage !== void 0 ? cancelMessage : 'User cancel')); | ||
}, | ||
@@ -305,3 +305,3 @@ token: token | ||
// retry request | ||
console.warn("Retry attempt '" + (data.retryAttempt + 1) + "' from a maximum of '" + retryResult_1.maxRetries + "' retries. Request url: '" + data.url + "'"); | ||
console.warn("Retry attempt '".concat(data.retryAttempt + 1, "' from a maximum of '").concat(retryResult_1.maxRetries, "' retries. Request url: '").concat(data.url, "'")); | ||
return [4 /*yield*/, runWithRetryAsync({ | ||
@@ -317,3 +317,3 @@ call: data.call, | ||
if (data.functionsConfig.logErrorsToConsole) { | ||
console.error("Executing '" + data.url + "' failed. Request was retried '" + data.retryAttempt + "' times. ", error_1); | ||
console.error("Executing '".concat(data.url, "' failed. Request was retried '").concat(data.retryAttempt, "' times. "), error_1); | ||
} | ||
@@ -320,0 +320,0 @@ throw error_1; |
export var sdkInfo = { | ||
host: 'npmjs.com', | ||
version: '9.4.0', | ||
version: '9.5.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("kontentCore",[],t):"object"==typeof exports?exports.kontentCore=t():e.kontentCore=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),s=r(26),o=r(372),a=r(327),i=r(97),u=r(109),c=r(985),f=r(61),l=r(655),p=r(263);e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,y=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete y["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+x)}var b=i(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?u(v.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};s((function(e){t(e),g()}),(function(e){r(e),g()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(b,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(f("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(f("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var R=(e.withCredentials||c(b))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;R&&(y[e.xsrfHeaderName]=R)}"setRequestHeader"in v&&n.forEach(y,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete y[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),v.send(h)}))}},609:(e,t,r)=>{"use strict";var n=r(867),s=r(849),o=r(321),a=r(185),i=function e(t){var r=new o(t),i=s(o.prototype.request,r);return n.extend(i,o.prototype,r),n.extend(i,r),i.create=function(r){return e(a(t,r))},i}(r(655));i.Axios=o,i.Cancel=r(263),i.CancelToken=r(972),i.isCancel=r(502),i.VERSION=r(288).version,i.all=function(e){return Promise.all(e)},i.spread=r(713),i.isAxiosError=r(268),e.exports=i,e.exports.default=i},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),s=r(327),o=r(782),a=r(572),i=r(185),u=r(875),c=u.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=i(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var s,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!n){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(o),s=Promise.resolve(e);f.length;)s=s.then(f.shift(),f.shift());return s}for(var l=e;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(e){d(e);break}}try{s=a(l)}catch(e){return Promise.reject(e)}for(;o.length;)s=s.then(o.shift(),o.shift());return s},f.prototype.getUri=function(e){return e=i(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=f},782:(e,t,r)=>{"use strict";var n=r(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,r)=>{"use strict";var n=r(793),s=r(303);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,s,o){var a=new Error(e);return n(a,t,r,s,o)}},572:(e,t,r)=>{"use strict";var n=r(867),s=r(527),o=r(502),a=r(655),i=r(263);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,s){return e.config=t,r&&(e.code=r),e.request=n,e.response=s,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={};function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return s(void 0,t[e])}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(void 0,t[r])}function u(r){return r in t?s(e[r],t[r]):r in e?s(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,s=t(e);n.isUndefined(s)&&t!==u||(r[e]=s)})),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var s=r.config.validateStatus;r.status&&s&&!s(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),s=r(655);e.exports=function(e,t,r){var o=this||s;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},655:(e,t,r)=>{"use strict";var n=r(867),s=r(16),o=r(481),a={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(448)),u),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c},288:e=>{e.exports={version:"0.24.0"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(s(t)+"="+s(e))})))})),o=a.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,s,o,a){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(s)&&i.push("path="+s),n.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function s(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=s(window.location.href),function(t){var r=n.isString(t)?s(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&s.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(288).version,s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};s.transitional=function(e,t,r){function s(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(s(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var i=e[o],u=void 0===i||a(i,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:s}},867:(e,t,r)=>{"use strict";var n=r(849),s=Object.prototype.toString;function o(e){return"[object Array]"===s.call(e)}function a(e){return void 0===e}function i(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===s.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===s.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:i,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===s.call(e)},isFile:function(e){return"[object File]"===s.call(e)},isBlob:function(e){return"[object Blob]"===s.call(e)},isFunction:c,isStream:function(e){return i(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,s=arguments.length;n<s;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,s){e[s]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{EnumHelper:()=>a,HeaderHelper:()=>s,HttpDebugger:()=>h,HttpService:()=>C,Parameters:()=>l,RetryHelper:()=>c,TestHttpService:()=>A,UrlHelper:()=>e,createCancelToken:()=>b,deletehWithRetryAsync:()=>x,enumHelper:()=>i,extractHeadersFromAxiosResponse:()=>u,getWithRetryAsync:()=>m,headerHelper:()=>o,httpDebugger:()=>y,patchWithRetryAsync:()=>w,postWithRetryAsync:()=>g,putWithRetryAsync:()=>v,retryHelper:()=>f,urlHelper:()=>t});class e{addOptionsToUrl(e,t){return t&&t.forEach((t=>{e.indexOf("?")>-1?e+="&":e+="?",e+=t.getParam()})),e}}const t=new e;class s{sdkVersionHeader="X-KC-SDKID";getSdkIdHeader(e){return{header:this.sdkVersionHeader,value:`${e.host};${e.name};${e.version}`}}}const o=new s;class a{getAllNames(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(r);return t}getAllValues(e){return Object.keys(e).map((t=>e[t]))}getEnumFromValue(e,t){try{if(!t)return;if(this.isNumeric(t))return e[t];const r=this.getAllValues(e).find((e=>e.toLowerCase()===t.toString().toLowerCase()));if(!r)return;return r}catch(e){return}}getEnumFromName(e,t){const r=this.getAllNames(e);for(const n of r)if(n.toLowerCase()===t.toLowerCase())return e[n]}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const i=new a;function u(e){const t=[];for(const r of Object.keys(e.headers))t.push({header:r,value:e.headers[r]});return t}class c{requestCancelledMessagePrefix="Request cancelled";retryAfterHeaderName="Retry-After";defaultRetryStatusCodes=[408,429,500,502,503,504];defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)};getRetryErrorResult(e){if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const t=e.retryStrategy.maxAttempts??this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=t)return{canRetry:!1,retryInMs:0,maxRetries:t};const r=this.tryGetRetryAfterInMsFromError(e.error);return r?{canRetry:!0,retryInMs:r,maxRetries:t}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs(e.retryStrategy.addJitter??this.defaultRetryStrategy.addJitter,e.retryStrategy.deltaBackoffMs??this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:t}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,t){const r=e.getTime(),n=(new Date).getTime()-r;return{canRetry:n<t,differenceInMs:n}}getNextWaitTimeMs(e,t,r){if(!e)return t*Math.pow(2,r);const n=.8*t,s=1.2*t*Math.pow(2,r);return this.randomNumberFromInterval(n,s)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const t=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(t,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const t=this.tryGetAxiosError(e);if(!t||!t.response)return;const r=u(t.response).find((e=>e.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase()));return r?1e3*+r.value:void 0}canRetryStatusCode(e,t){return t.includes(e)}getStatusCodeFromError(e){const t=this.tryGetAxiosError(e);return t&&t.response?t.response.status:0}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const t=e.originalError;return t&&t.isAxiosError?t:void 0}randomNumberFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)}}const f=new c;var l;!function(e){e.CustomParameter=class{name;value;constructor(e,t){if(this.name=e,this.value=t,!e)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}}(l||(l={}));var p=r(669),d=r.n(p);class h{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const y=new h;async function m(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.get(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function g(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.post(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function v(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.put(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function w(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.patch(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function x(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.delete(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}function b(){let e;return{cancel:t=>e(`${f.requestCancelledMessagePrefix}: ${t??"User cancel"}`),token:new(d().CancelToken)((t=>{e=t}))}}async function S(e){try{return await e.call(e.retryAttempt)}catch(t){const r=f.getRetryErrorResult({error:t,retryAttempt:e.retryAttempt,retryStrategy:e.retryStrategy});if(r.canRetry)return y.debugRetryHttpRequest(),await new Promise((e=>setTimeout(e,r.retryInMs))),console.warn(`Retry attempt '${e.retryAttempt+1}' from a maximum of '${r.maxRetries}' retries. Request url: '${e.url}'`),await S({call:e.call,retryStrategy:e.retryStrategy,retryAttempt:e.retryAttempt+1,url:e.url,functionsConfig:e.functionsConfig});throw e.functionsConfig.logErrorsToConsole&&console.error(`Executing '${e.url}' failed. Request was retried '${e.retryAttempt}' times. `,t),t}}function R(e,t){const r={};return e.forEach((e=>{r[e.header]=e.value})),t&&(e.find((e=>e.header.toLowerCase()==="Content-Type".toLowerCase()))||(r["Content-Type"]="application/json")),r}class C{opts;axiosInstance;functionsConfig;constructor(e){this.opts=e,this.axiosInstance=d().create(e?.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}async getAsync(e,t){return await m(this.axiosInstance,e,this.functionsConfig,t)}async postAsync(e,t){return await g(this.axiosInstance,e,this.functionsConfig,t)}async putAsync(e,t){return await v(this.axiosInstance,e,this.functionsConfig,t)}async patchAsync(e,t){return await w(this.axiosInstance,e,this.functionsConfig,t)}async deleteAsync(e,t){return await x(this.axiosInstance,e,this.functionsConfig,t)}createCancelToken(){return b()}getFunctionsConfig(){return{logErrorsToConsole:this.opts?.logErrorsToConsole??!0}}}class A{response=void 0;error=void 0;constructor(e){Object.assign(this,e)}getAsync(e,t){return this.resolveTestCall()}postAsync(e,t){return this.resolveTestCall()}putAsync(e,t){return this.resolveTestCall()}patchAsync(e,t){return this.resolveTestCall()}deleteAsync(e,t){return this.resolveTestCall()}createCancelToken(){return{cancel:()=>{},token:void 0}}resolveTestCall(){return new Promise(((e,t)=>{throw this.response&&e(this.response),this.error&&t(this.error),Error("Missing test data")}))}}})(),n})()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("kontentCore",[],t):"object"==typeof exports?exports.kontentCore=t():e.kontentCore=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),s=r(26),o=r(372),a=r(327),i=r(97),u=r(109),c=r(985),f=r(61),l=r(874),p=r(263);e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,y=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete y["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+x)}var b=i(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?u(v.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};s((function(e){t(e),g()}),(function(e){r(e),g()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(b,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(f("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(f("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var R=(e.withCredentials||c(b))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;R&&(y[e.xsrfHeaderName]=R)}"setRequestHeader"in v&&n.forEach(y,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete y[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),v.send(h)}))}},609:(e,t,r)=>{"use strict";var n=r(867),s=r(849),o=r(321),a=r(185),i=function e(t){var r=new o(t),i=s(o.prototype.request,r);return n.extend(i,o.prototype,r),n.extend(i,r),i.create=function(r){return e(a(t,r))},i}(r(546));i.Axios=o,i.Cancel=r(263),i.CancelToken=r(972),i.isCancel=r(502),i.VERSION=r(288).version,i.all=function(e){return Promise.all(e)},i.spread=r(713),i.isAxiosError=r(268),e.exports=i,e.exports.default=i},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),s=r(327),o=r(782),a=r(572),i=r(185),u=r(875),c=u.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=i(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!s){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(f),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var p=t;n.length;){var d=n.shift(),h=n.shift();try{p=d(p)}catch(e){h(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;f.length;)o=o.then(f.shift(),f.shift());return o},f.prototype.getUri=function(e){return e=i(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=f},782:(e,t,r)=>{"use strict";var n=r(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,r)=>{"use strict";var n=r(793),s=r(303);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,s,o){var a=new Error(e);return n(a,t,r,s,o)}},572:(e,t,r)=>{"use strict";var n=r(867),s=r(527),o=r(502),a=r(546),i=r(263);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,s){return e.config=t,r&&(e.code=r),e.request=n,e.response=s,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={};function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return s(void 0,t[e])}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(void 0,t[r])}function u(r){return r in t?s(e[r],t[r]):r in e?s(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,s=t(e);n.isUndefined(s)&&t!==u||(r[e]=s)})),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var s=r.config.validateStatus;r.status&&s&&!s(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),s=r(546);e.exports=function(e,t,r){var o=this||s;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},546:(e,t,r)=>{"use strict";var n=r(867),s=r(16),o=r(481),a=r(874),i={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,f={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(448)),c),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){f.headers[e]=n.merge(i)})),e.exports=f},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.26.1"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(s(t)+"="+s(e))})))})),o=a.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,s,o,a){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(s)&&i.push("path="+s),n.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function s(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=s(window.location.href),function(t){var r=n.isString(t)?s(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&s.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(288).version,s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};s.transitional=function(e,t,r){function s(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(s(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var i=e[o],u=void 0===i||a(i,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:s}},867:(e,t,r)=>{"use strict";var n=r(849),s=Object.prototype.toString;function o(e){return Array.isArray(e)}function a(e){return void 0===e}function i(e){return"[object ArrayBuffer]"===s.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function f(e){return"[object Function]"===s.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}e.exports={isArray:o,isArrayBuffer:i,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===s.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&i(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===s.call(e)},isFile:function(e){return"[object File]"===s.call(e)},isBlob:function(e){return"[object Blob]"===s.call(e)},isFunction:f,isStream:function(e){return u(e)&&f(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===s.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,s=arguments.length;n<s;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,s){e[s]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{EnumHelper:()=>a,HeaderHelper:()=>s,HttpDebugger:()=>h,HttpService:()=>C,Parameters:()=>l,RetryHelper:()=>c,TestHttpService:()=>A,UrlHelper:()=>e,createCancelToken:()=>b,deletehWithRetryAsync:()=>x,enumHelper:()=>i,extractHeadersFromAxiosResponse:()=>u,getWithRetryAsync:()=>m,headerHelper:()=>o,httpDebugger:()=>y,patchWithRetryAsync:()=>w,postWithRetryAsync:()=>g,putWithRetryAsync:()=>v,retryHelper:()=>f,urlHelper:()=>t});class e{addOptionsToUrl(e,t){return t&&t.forEach((t=>{e.indexOf("?")>-1?e+="&":e+="?",e+=t.getParam()})),e}}const t=new e;class s{sdkVersionHeader="X-KC-SDKID";getSdkIdHeader(e){return{header:this.sdkVersionHeader,value:`${e.host};${e.name};${e.version}`}}}const o=new s;class a{getAllNames(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(r);return t}getAllValues(e){return Object.keys(e).map((t=>e[t]))}getEnumFromValue(e,t){try{if(!t)return;if(this.isNumeric(t))return e[t];const r=this.getAllValues(e).find((e=>e.toLowerCase()===t.toString().toLowerCase()));if(!r)return;return r}catch(e){return}}getEnumFromName(e,t){const r=this.getAllNames(e);for(const n of r)if(n.toLowerCase()===t.toLowerCase())return e[n]}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const i=new a;function u(e){const t=[];for(const r of Object.keys(e.headers))t.push({header:r,value:e.headers[r]});return t}class c{requestCancelledMessagePrefix="Request cancelled";retryAfterHeaderName="Retry-After";defaultRetryStatusCodes=[408,429,500,502,503,504];defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)};getRetryErrorResult(e){if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const t=e.retryStrategy.maxAttempts??this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=t)return{canRetry:!1,retryInMs:0,maxRetries:t};const r=this.tryGetRetryAfterInMsFromError(e.error);return r?{canRetry:!0,retryInMs:r,maxRetries:t}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs(e.retryStrategy.addJitter??this.defaultRetryStrategy.addJitter,e.retryStrategy.deltaBackoffMs??this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:t}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,t){const r=e.getTime(),n=(new Date).getTime()-r;return{canRetry:n<t,differenceInMs:n}}getNextWaitTimeMs(e,t,r){if(!e)return t*Math.pow(2,r);const n=.8*t,s=1.2*t*Math.pow(2,r);return this.randomNumberFromInterval(n,s)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const t=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(t,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const t=this.tryGetAxiosError(e);if(!t||!t.response)return;const r=u(t.response).find((e=>e.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase()));return r?1e3*+r.value:void 0}canRetryStatusCode(e,t){return t.includes(e)}getStatusCodeFromError(e){const t=this.tryGetAxiosError(e);return t&&t.response?t.response.status:0}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const t=e.originalError;return t&&t.isAxiosError?t:void 0}randomNumberFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)}}const f=new c;var l;!function(e){e.CustomParameter=class{name;value;constructor(e,t){if(this.name=e,this.value=t,!e)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}}(l||(l={}));var p=r(669),d=r.n(p);class h{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const y=new h;async function m(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.get(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function g(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.post(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function v(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.put(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function w(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.patch(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function x(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.delete(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}function b(){let e;return{cancel:t=>e(`${f.requestCancelledMessagePrefix}: ${t??"User cancel"}`),token:new(d().CancelToken)((t=>{e=t}))}}async function S(e){try{return await e.call(e.retryAttempt)}catch(t){const r=f.getRetryErrorResult({error:t,retryAttempt:e.retryAttempt,retryStrategy:e.retryStrategy});if(r.canRetry)return y.debugRetryHttpRequest(),await new Promise((e=>setTimeout(e,r.retryInMs))),console.warn(`Retry attempt '${e.retryAttempt+1}' from a maximum of '${r.maxRetries}' retries. Request url: '${e.url}'`),await S({call:e.call,retryStrategy:e.retryStrategy,retryAttempt:e.retryAttempt+1,url:e.url,functionsConfig:e.functionsConfig});throw e.functionsConfig.logErrorsToConsole&&console.error(`Executing '${e.url}' failed. Request was retried '${e.retryAttempt}' times. `,t),t}}function R(e,t){const r={};return e.forEach((e=>{r[e.header]=e.value})),t&&(e.find((e=>e.header.toLowerCase()==="Content-Type".toLowerCase()))||(r["Content-Type"]="application/json")),r}class C{opts;axiosInstance;functionsConfig;constructor(e){this.opts=e,this.axiosInstance=d().create(e?.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}async getAsync(e,t){return await m(this.axiosInstance,e,this.functionsConfig,t)}async postAsync(e,t){return await g(this.axiosInstance,e,this.functionsConfig,t)}async putAsync(e,t){return await v(this.axiosInstance,e,this.functionsConfig,t)}async patchAsync(e,t){return await w(this.axiosInstance,e,this.functionsConfig,t)}async deleteAsync(e,t){return await x(this.axiosInstance,e,this.functionsConfig,t)}createCancelToken(){return b()}getFunctionsConfig(){return{logErrorsToConsole:this.opts?.logErrorsToConsole??!0}}}class A{response=void 0;error=void 0;constructor(e){Object.assign(this,e)}getAsync(e,t){return this.resolveTestCall()}postAsync(e,t){return this.resolveTestCall()}putAsync(e,t){return this.resolveTestCall()}patchAsync(e,t){return this.resolveTestCall()}deleteAsync(e,t){return this.resolveTestCall()}createCancelToken(){return{cancel:()=>{},token:void 0}}resolveTestCall(){return new Promise(((e,t)=>{throw this.response&&e(this.response),this.error&&t(this.error),Error("Missing test data")}))}}})(),n})()})); | ||
//# sourceMappingURL=kontent-core.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":72091,"parsedSize":104624,"gzipSize":19568,"groups":[{"label":"lib","path":"./lib","statSize":21740,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8329,"groups":[{"id":"./lib/helpers/enum.helper.ts","label":"enum.helper.ts","path":"./lib/helpers/enum.helper.ts","statSize":1503},{"id":"./lib/helpers/header.helper.ts","label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":437},{"id":"./lib/helpers/headers-helper.ts","label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":296},{"id":"./lib/helpers/index.ts","label":"index.ts","path":"./lib/helpers/index.ts","statSize":165},{"id":"./lib/helpers/retry-helper.ts","label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5327},{"id":"./lib/helpers/url.helper.ts","label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":601}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":12430,"groups":[{"id":"./lib/http/http.debugger.ts","label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":375},{"id":"./lib/http/http.functions.ts","label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":9429},{"id":"./lib/http/http.models.ts","label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":12},{"id":"./lib/http/http.service.ts","label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":1366},{"id":"./lib/http/ihttp.service.ts","label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":12},{"id":"./lib/http/index.ts","label":"index.ts","path":"./lib/http/index.ts","statSize":206},{"id":"./lib/http/test-http.service.ts","label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1030}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":98,"parsedSize":104624,"gzipSize":19568},{"label":"models","path":"./lib/models","statSize":883,"groups":[{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":92},{"id":"./lib/models/isdk-info.ts","label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":12},{"id":"./lib/models/parameters.ts","label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":767},{"id":"./lib/models/url.models.ts","label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":12}],"parsedSize":0,"gzipSize":0}],"parsedSize":104624,"gzipSize":19568},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50351,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50311,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6954,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6954}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":"./node_modules/axios/lib/cancel/Cancel.js","label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14698,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4221},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/createError.js","label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":"./node_modules/axios/lib/core/enhanceError.js","label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/defaults.js","label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3582},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":"./node_modules/axios/lib/env/data.js","label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11587,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] | ||
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":72190,"parsedSize":105230,"gzipSize":19607,"groups":[{"label":"lib","path":"./lib","statSize":21740,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8329,"groups":[{"id":"./lib/helpers/enum.helper.ts","label":"enum.helper.ts","path":"./lib/helpers/enum.helper.ts","statSize":1503},{"id":"./lib/helpers/header.helper.ts","label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":437},{"id":"./lib/helpers/headers-helper.ts","label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":296},{"id":"./lib/helpers/index.ts","label":"index.ts","path":"./lib/helpers/index.ts","statSize":165},{"id":"./lib/helpers/retry-helper.ts","label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5327},{"id":"./lib/helpers/url.helper.ts","label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":601}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":12430,"groups":[{"id":"./lib/http/http.debugger.ts","label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":375},{"id":"./lib/http/http.functions.ts","label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":9429},{"id":"./lib/http/http.models.ts","label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":12},{"id":"./lib/http/http.service.ts","label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":1366},{"id":"./lib/http/ihttp.service.ts","label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":12},{"id":"./lib/http/index.ts","label":"index.ts","path":"./lib/http/index.ts","statSize":206},{"id":"./lib/http/test-http.service.ts","label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1030}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":98,"parsedSize":105230,"gzipSize":19607},{"label":"models","path":"./lib/models","statSize":883,"groups":[{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":92},{"id":"./lib/models/isdk-info.ts","label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":12},{"id":"./lib/models/parameters.ts","label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":767},{"id":"./lib/models/url.models.ts","label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":12}],"parsedSize":0,"gzipSize":0}],"parsedSize":105230,"gzipSize":19607},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50450,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50410,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6978,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6978}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":"./node_modules/axios/lib/cancel/Cancel.js","label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14712,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4237},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/createError.js","label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":"./node_modules/axios/lib/core/enhanceError.js","label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":3687,"groups":[{"id":"./node_modules/axios/lib/defaults/index.js","label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":3567},{"id":"./node_modules/axios/lib/defaults/transitional.js","label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":"./node_modules/axios/lib/env/data.js","label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11615,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8859}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] |
@@ -1,1 +0,1 @@ | ||
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":72043,"parsedSize":25955,"gzipSize":8222,"groups":[{"label":"lib","path":"./lib","statSize":21692,"groups":[{"id":208,"label":"index.ts + 13 modules (concatenated)","path":"./lib/index.ts + 13 modules (concatenated)","statSize":21692,"parsedSize":25955,"gzipSize":8222,"concatenated":true,"groups":[{"label":"lib","path":"./lib/index.ts + 13 modules (concatenated)/lib","statSize":21692,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/index.ts","statSize":98,"parsedSize":117,"gzipSize":37,"inaccurateSizes":true},{"label":"helpers","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers","statSize":8329,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/index.ts","statSize":165,"parsedSize":197,"gzipSize":62,"inaccurateSizes":true},{"id":null,"label":"url.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/url.helper.ts","statSize":601,"parsedSize":719,"gzipSize":227,"inaccurateSizes":true},{"id":null,"label":"header.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/header.helper.ts","statSize":437,"parsedSize":522,"gzipSize":165,"inaccurateSizes":true},{"id":null,"label":"enum.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/enum.helper.ts","statSize":1503,"parsedSize":1798,"gzipSize":569,"inaccurateSizes":true},{"id":null,"label":"retry-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/retry-helper.ts","statSize":5327,"parsedSize":6373,"gzipSize":2019,"inaccurateSizes":true},{"id":null,"label":"headers-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/headers-helper.ts","statSize":296,"parsedSize":354,"gzipSize":112,"inaccurateSizes":true}],"parsedSize":9965,"gzipSize":3156,"inaccurateSizes":true},{"label":"models","path":"./lib/index.ts + 13 modules (concatenated)/lib/models","statSize":859,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/index.ts","statSize":92,"parsedSize":110,"gzipSize":34,"inaccurateSizes":true},{"id":null,"label":"parameters.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/parameters.ts","statSize":767,"parsedSize":917,"gzipSize":290,"inaccurateSizes":true}],"parsedSize":1027,"gzipSize":325,"inaccurateSizes":true},{"label":"http","path":"./lib/index.ts + 13 modules (concatenated)/lib/http","statSize":12406,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/index.ts","statSize":206,"parsedSize":246,"gzipSize":78,"inaccurateSizes":true},{"id":null,"label":"http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.service.ts","statSize":1366,"parsedSize":1634,"gzipSize":517,"inaccurateSizes":true},{"id":null,"label":"http.functions.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.functions.ts","statSize":9429,"parsedSize":11282,"gzipSize":3573,"inaccurateSizes":true},{"id":null,"label":"http.debugger.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.debugger.ts","statSize":375,"parsedSize":448,"gzipSize":142,"inaccurateSizes":true},{"id":null,"label":"test-http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/test-http.service.ts","statSize":1030,"parsedSize":1232,"gzipSize":390,"inaccurateSizes":true}],"parsedSize":14844,"gzipSize":4702,"inaccurateSizes":true}],"parsedSize":25955,"gzipSize":8222,"inaccurateSizes":true}]}],"parsedSize":25955,"gzipSize":8222},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50351,"groups":[{"id":669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50311,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6954,"groups":[{"id":448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6954}],"parsedSize":0,"gzipSize":0},{"id":609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":263,"label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14698,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4221},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":97,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":61,"label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":481,"label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":26,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":655,"label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3582},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":288,"label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11587,"groups":[{"id":849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":16,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":713,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] | ||
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":72142,"parsedSize":25903,"gzipSize":8215,"groups":[{"label":"lib","path":"./lib","statSize":21692,"groups":[{"id":208,"label":"index.ts + 13 modules (concatenated)","path":"./lib/index.ts + 13 modules (concatenated)","statSize":21692,"parsedSize":25903,"gzipSize":8215,"concatenated":true,"groups":[{"label":"lib","path":"./lib/index.ts + 13 modules (concatenated)/lib","statSize":21692,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/index.ts","statSize":98,"parsedSize":117,"gzipSize":37,"inaccurateSizes":true},{"label":"helpers","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers","statSize":8329,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/index.ts","statSize":165,"parsedSize":197,"gzipSize":62,"inaccurateSizes":true},{"id":null,"label":"url.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/url.helper.ts","statSize":601,"parsedSize":717,"gzipSize":227,"inaccurateSizes":true},{"id":null,"label":"header.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/header.helper.ts","statSize":437,"parsedSize":521,"gzipSize":165,"inaccurateSizes":true},{"id":null,"label":"enum.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/enum.helper.ts","statSize":1503,"parsedSize":1794,"gzipSize":569,"inaccurateSizes":true},{"id":null,"label":"retry-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/retry-helper.ts","statSize":5327,"parsedSize":6361,"gzipSize":2017,"inaccurateSizes":true},{"id":null,"label":"headers-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/headers-helper.ts","statSize":296,"parsedSize":353,"gzipSize":112,"inaccurateSizes":true}],"parsedSize":9945,"gzipSize":3154,"inaccurateSizes":true},{"label":"models","path":"./lib/index.ts + 13 modules (concatenated)/lib/models","statSize":859,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/index.ts","statSize":92,"parsedSize":109,"gzipSize":34,"inaccurateSizes":true},{"id":null,"label":"parameters.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/parameters.ts","statSize":767,"parsedSize":915,"gzipSize":290,"inaccurateSizes":true}],"parsedSize":1025,"gzipSize":325,"inaccurateSizes":true},{"label":"http","path":"./lib/index.ts + 13 modules (concatenated)/lib/http","statSize":12406,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/index.ts","statSize":206,"parsedSize":245,"gzipSize":78,"inaccurateSizes":true},{"id":null,"label":"http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.service.ts","statSize":1366,"parsedSize":1631,"gzipSize":517,"inaccurateSizes":true},{"id":null,"label":"http.functions.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.functions.ts","statSize":9429,"parsedSize":11259,"gzipSize":3570,"inaccurateSizes":true},{"id":null,"label":"http.debugger.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.debugger.ts","statSize":375,"parsedSize":447,"gzipSize":142,"inaccurateSizes":true},{"id":null,"label":"test-http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/test-http.service.ts","statSize":1030,"parsedSize":1229,"gzipSize":390,"inaccurateSizes":true}],"parsedSize":14814,"gzipSize":4698,"inaccurateSizes":true}],"parsedSize":25903,"gzipSize":8215,"inaccurateSizes":true}]}],"parsedSize":25903,"gzipSize":8215},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50450,"groups":[{"id":669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50410,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6978,"groups":[{"id":448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6978}],"parsedSize":0,"gzipSize":0},{"id":609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":263,"label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14712,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4237},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":97,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":61,"label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":481,"label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":26,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":3687,"groups":[{"id":546,"label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":3567},{"id":874,"label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":288,"label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11615,"groups":[{"id":849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":16,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":713,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8859}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] |
@@ -5,4 +5,4 @@ | ||
host: 'npmjs.com', | ||
version: '9.4.0', | ||
version: '9.5.0', | ||
name: '@kentico/kontent-core' | ||
}; |
{ | ||
"name": "@kentico/kontent-core", | ||
"version": "9.4.0", | ||
"version": "9.5.0", | ||
"repository": { | ||
@@ -20,4 +20,4 @@ "type": "git", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm5/index.js", | ||
"es2015": "./dist/esm/index.js", | ||
"module": "./dist/es5/index.js", | ||
"es2015": "./dist/es2015/index.js", | ||
"types": "./dist/cjs/index.d.ts", | ||
@@ -56,13 +56,13 @@ "standard-version": { | ||
"dependencies": { | ||
"axios": "0.24.0" | ||
"axios": "0.26.1" | ||
}, | ||
"devDependencies": { | ||
"@types/jasmine": "3.10.2", | ||
"@types/node": "16.11.10", | ||
"@types/jasmine": "4.0.0", | ||
"@types/node": "17.0.22", | ||
"colors": "1.4.0", | ||
"core-js": "3.19.1", | ||
"jasmine-core": "3.10.1", | ||
"core-js": "3.21.1", | ||
"jasmine-core": "4.0.1", | ||
"jasmine-spec-reporter": "7.0.0", | ||
"karma": "6.3.9", | ||
"karma-chrome-launcher": "3.1.0", | ||
"karma": "6.3.17", | ||
"karma-chrome-launcher": "3.1.1", | ||
"karma-cli": "2.0.0", | ||
@@ -72,15 +72,15 @@ "karma-jasmine": "4.0.1", | ||
"karma-sourcemap-loader": "0.3.8", | ||
"karma-typescript": "5.5.2", | ||
"karma-typescript-es6-transform": "5.5.2", | ||
"karma-typescript": "5.5.3", | ||
"karma-typescript-es6-transform": "5.5.3", | ||
"karma-webpack": "5.0.0", | ||
"mocha": "9.1.3", | ||
"mocha": "9.2.2", | ||
"standard-version": "9.3.2", | ||
"ts-loader": "9.2.6", | ||
"ts-node": "10.4.0", | ||
"ts-loader": "9.2.8", | ||
"ts-node": "10.7.0", | ||
"tslint": "6.1.3", | ||
"typescript": "4.4.4", | ||
"webpack": "5.64.4", | ||
"typescript": "4.6.2", | ||
"webpack": "5.70.0", | ||
"webpack-bundle-analyzer": "4.5.0", | ||
"webpack-cli": "4.9.1" | ||
"webpack-cli": "4.9.2" | ||
} | ||
} |
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 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 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
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 too big to display
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
1710204
31381
202
+ Addedaxios@0.26.1(transitive)
- Removedaxios@0.24.0(transitive)
Updatedaxios@0.26.1