diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cf2b75..aa3631a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] - xxxx-xx-xx +## [v1.19.0] - 2023-05-09 + ### Added - Add support for multi-asset fetching. [#170](https://github.com/sharetribe/flex-sdk-js/pull/170) @@ -276,8 +278,12 @@ See: https://www.npmjs.com/package/sharetribe-flex-sdk to prepare for publishing to NPM. Remember to check your existing imports! -[unreleased]: https://github.com/sharetribe/flex-sdk-js/compare/v1.16.0...HEAD +[unreleased]: https://github.com/sharetribe/flex-sdk-js/compare/v1.19.0...HEAD +[v1.19.0]: https://github.com/sharetribe/flex-sdk-js/compare/v1.18.1...v1.19.0] +[v1.18.1]: https://github.com/sharetribe/flex-sdk-js/compare/v1.18.0...v1.18.1] +[v1.18.0]: https://github.com/sharetribe/flex-sdk-js/compare/v1.17.0...v1.18.0] +[v1.17.0]: https://github.com/sharetribe/flex-sdk-js/compare/v1.16.0...v1.17.0] [v1.16.0]: https://github.com/sharetribe/flex-sdk-js/compare/v1.15.0...v1.16.0] [v1.15.0]: https://github.com/sharetribe/flex-sdk-js/compare/v1.14.1...v1.15.0 [v1.14.1]: https://github.com/sharetribe/flex-sdk-js/compare/v1.14.0...v1.14.1 diff --git a/build/sharetribe-flex-sdk-node.js b/build/sharetribe-flex-sdk-node.js index 2c37406..8be44f2 100644 --- a/build/sharetribe-flex-sdk-node.js +++ b/build/sharetribe-flex-sdk-node.js @@ -12745,7 +12745,7 @@ var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_) // CONCATENATED MODULE: ./src/version.js // Update this when updating package.json -var sdkVersion = '1.18.1'; +var sdkVersion = '1.19.0'; /* harmony default export */ var src_version = (sdkVersion); // CONCATENATED MODULE: ./src/runtime.js diff --git a/build/sharetribe-flex-sdk-web.js b/build/sharetribe-flex-sdk-web.js index 2839bd9..31a113c 100644 --- a/build/sharetribe-flex-sdk-web.js +++ b/build/sharetribe-flex-sdk-web.js @@ -5,4 +5,4 @@ * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license - */!function(i){if(void 0===(o="function"==typeof(n=i)?n.call(e,r,e,t):n)||(t.exports=o),!0,t.exports=i(),!!0){var c=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=c,a}}}((function(){function t(){for(var t=0,e={};t-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(6)(r(4),"Map");t.exports=n},function(t,e,r){var n=r(116),o=r(123),i=r(125),c=r(126),a=r(127);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(c)})),t.exports=u}).call(this,r(74))},function(t,e,r){var n=r(161);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},function(t,e,r){var n=r(44);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(6),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,r){var n=r(12),o=r(8);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(47))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(93),o=r(21);t.exports=function(t,e){return t&&n(t,e,o)}},function(t,e,r){(function(t){var n=r(4),o=r(98),i=e&&!e.nodeType&&e,c=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=c&&c.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||o;t.exports=s}).call(this,r(51)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){var n=r(99),o=r(53),i=r(100),c=i&&i.isTypedArray,a=c?o(c):n;t.exports=a},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(22),o=r(111),i=r(112),c=r(113),a=r(114),s=r(115);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=c,u.prototype.has=a,u.prototype.set=s,t.exports=u},function(t,e,r){var n=r(128),o=r(7);t.exports=function t(e,r,i,c,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,c,t,a))}},function(t,e,r){var n=r(58),o=r(131),i=r(59);t.exports=function(t,e,r,c,a,s){var u=1&r,g=t.length,p=e.length;if(g!=p&&!(u&&p>g))return!1;var l=s.get(t),f=s.get(e);if(l&&f)return l==e&&f==t;var h=-1,m=!0,d=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++h1)for(var r=1;r-1}},function(t,e,r){var n=r(23);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(22);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(22),o=r(36),i=r(37);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var c=r.__data__;if(!o||c.length<199)return c.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(c)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(117),o=r(22),i=r(36);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(118),o=r(119),i=r(120),c=r(121),a=r(122);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e0&&i(g)?r>1?t(g,r-1,i,c,a):n(a,g):c||(a[a.length]=g)}return a}},function(t,e,r){var n=r(15),o=r(32),i=r(2),c=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(c&&t&&t[c])}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(165),o=r(44),i=r(9),c=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=c},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var r=Date.now;t.exports=function(t){var e=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(54)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){t.exports=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o=200&&(p=s,l=!1,e=new n(e));t:for(;++g-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n=o?t:n(t,e,r)}},function(t,e){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n-1;);return r}},function(t,e,r){var n=r(182),o=r(183),i=r(184);t.exports=function(t){return o(t)?i(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")"+"?",u="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,c,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),g="(?:"+[i+n+"?",n,c,a,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+g+u,"g");t.exports=function(t){return t.match(p)||[]}},function(t,e,r){var n=r(68),o=r(16);t.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}},function(t,e,r){var n=r(17),o=r(16),i=r(21);t.exports=function(t){return function(e,r,c){var a=Object(e);if(!o(e)){var s=n(r,3);e=i(e),r=function(t){return s(a[t],t,a)}}var u=t(e,r,c);return u>-1?a[s?e[u]:u]:void 0}}},function(t,e,r){var n=r(70),o=r(17),i=r(188),c=Math.max;t.exports=function(t,e,r){var a=null==t?0:t.length;if(!a)return-1;var s=null==r?0:i(r);return s<0&&(s=c(a+s,0)),n(t,o(e,3),s)}},function(t,e,r){var n=r(189);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},function(t,e,r){var n=r(190);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,e,r){var n=r(191),o=r(8),i=r(28),c=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||s.test(t)?u(t.slice(2),r?2:8):c.test(t)?NaN:+t}},function(t,e,r){var n=r(71),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},function(t,e,r){var n=r(26),o=r(40);t.exports=function(t,e,r,i){return o(t,e,r(n(t,e)),i)}},function(t,e,r){var n=r(9);t.exports=function(t){return"function"==typeof t?t:n}},function(t,e,r){"use strict";var n=r(1),o=r(72),i=r(195),c=r(79);function a(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r}var s=a(r(41));s.Axios=i,s.create=function(t){return a(c(s.defaults,t))},s.Cancel=r(80),s.CancelToken=r(209),s.isCancel=r(78),s.all=function(t){return Promise.all(t)},s.spread=r(210),s.isAxiosError=r(211),t.exports=s,t.exports.default=s},function(t,e,r){"use strict";var n=r(1),o=r(73),i=r(196),c=r(197),a=r(79),s=r(207),u=s.validators;function g(t){this.defaults=t,this.interceptors={request:new i,response:new i}}g.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&s.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!n){var g=[c,void 0];for(Array.prototype.unshift.apply(g,r),g.concat(i),o=Promise.resolve(t);g.length;)o=o.then(g.shift(),g.shift());return o}for(var p=t;r.length;){var l=r.shift(),f=r.shift();try{p=l(p)}catch(t){f(t);break}}try{o=c(p)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},g.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){g.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){g.prototype[t]=function(e,r,n){return this.request(a(n||{},{method:t,url:e,data:r}))}})),t.exports=g},function(t,e,r){"use strict";var n=r(1);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,r){"use strict";var n=r(1),o=r(198),i=r(78),c=r(41);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||c.adapter)(t).then((function(e){return a(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(a(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,r){"use strict";var n=r(1),o=r(41);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},function(t,e,r){"use strict";var n=r(1);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},function(t,e,r){"use strict";var n=r(77);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,c){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===c&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,r){"use strict";var n=r(203),o=r(204);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var n=r(1),o=["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"];t.exports=function(t){var e,r,i,c={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([r]):c[e]?c[e]+", "+r:r}})),c):c}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(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 t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(208),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={},c=n.version.split(".");function a(t,e){for(var r=e?e.split("."):c,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=n[o],c=e[i];if(c){var a=t[i],s=void 0===a||c(a,i,t);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(t,e,r){"use strict";var n=r(80);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"createInstance",(function(){return Po})),r.d(e,"createMultitenantInstance",(function(){return Ao})),r.d(e,"types",(function(){return n})),r.d(e,"tokenStore",(function(){return xo})),r.d(e,"transit",(function(){return Co})),r.d(e,"util",(function(){return ko}));var n={};r.r(n),r.d(n,"UUID",(function(){return U})),r.d(n,"LatLng",(function(){return q})),r.d(n,"LatLngBounds",(function(){return B})),r.d(n,"Money",(function(){return H})),r.d(n,"BigDecimal",(function(){return $})),r.d(n,"toType",(function(){return F})),r.d(n,"replacer",(function(){return V})),r.d(n,"reviver",(function(){return z}));var o=r(29),i=r.n(o),c=r(3),a=r.n(c),s=r(0),u=r.n(s),g=r(81),p=r.n(g),l=r(19),f=r.n(l),h=r(13),m=r.n(h),d=r(82),y=r.n(d),b=r(83),v=r.n(b);function O(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:"";if(0===e.length)return"";if(1===e.length){var n=e[0];if(1===n.length)return"";var o=n.slice(0,n.length-1).join("/");return"".concat(o,"/")}var i=e.length,c=e[0],a=e[i-1],s=w(c),u=s[0],g=s.slice(1),p=w(a),l=p[0],f=p.slice(1);return g.length>0&&f.length>0&&u===l?t([g,f],"".concat(r).concat(u,"/")):r}(O(e).map((function(t){return t.split("/")}))),n=r.length;return{pathPrefix:r,relativePaths:e.map((function(t){return t.substring(n)}))}},C=[{path:"marketplace/show",method:"get"},{path:"users/show",method:"get"},{path:"current_user/show",method:"get"},{path:"current_user/create",method:"post"},{path:"current_user/create_with_idp",method:"post"},{path:"current_user/update_profile",method:"post"},{path:"current_user/change_email",method:"post"},{path:"current_user/change_password",method:"post"},{path:"current_user/delete",method:"post"},{path:"current_user/verify_email",method:"post"},{path:"current_user/send_verification_email",method:"post"},{path:"current_user/create_stripe_account",method:"post"},{path:"current_user/update_stripe_account",method:"post"},{path:"current_user/delete_stripe_account",method:"post"},{path:"password_reset/request",method:"post"},{path:"password_reset/reset",method:"post"},{path:"listings/show",method:"get"},{path:"own_listings/show",method:"get"},{path:"listings/query",method:"get"},{path:"own_listings/query",method:"get"},{path:"listings/search",method:"get"},{path:"own_listings/create",method:"post"},{path:"own_listings/create_draft",method:"post"},{path:"own_listings/publish_draft",method:"post"},{path:"own_listings/discard_draft",method:"post"},{path:"own_listings/update",method:"post"},{path:"own_listings/open",method:"post"},{path:"own_listings/close",method:"post"},{path:"own_listings/add_image",method:"post"},{path:"availability_exceptions/create",method:"post"},{path:"availability_exceptions/delete",method:"post"},{path:"availability_exceptions/query",method:"get"},{path:"images/upload",method:"post",multipart:!0},{path:"transactions/initiate",method:"post"},{path:"transactions/initiate_speculative",method:"post"},{path:"transactions/transition",method:"post"},{path:"transactions/transition_speculative",method:"post"},{path:"transactions/query",method:"get"},{path:"transactions/show",method:"get"},{path:"process_transitions/query",method:"get"},{path:"bookings/query",method:"get"},{path:"messages/query",method:"get"},{path:"messages/send",method:"post"},{path:"reviews/query",method:"get"},{path:"reviews/show",method:"get"},{path:"timeslots/query",method:"get"},{path:"stripe_account/create",method:"post"},{path:"stripe_account/fetch",method:"get"},{path:"stripe_account/update",method:"post"},{path:"stripe_account_links/create",method:"post"},{path:"stripe_persons/create",method:"post"},{path:"stripe_setup_intents/create",method:"post"},{path:"stripe_customer/create",method:"post"},{path:"stripe_customer/add_payment_method",method:"post"},{path:"stripe_customer/delete_payment_method",method:"post"},{path:"stock_adjustments/query",method:"get"},{path:"stock_adjustments/create",method:"post"},{path:"stock/compare_and_set",method:"post"}],k=[{path:"token",method:"post"},{path:"revoke",method:"post"},{path:"auth_with_idp",method:"post"}],L=[{pathFn:function(t){var e=t.clientId,r=t.version,n=t.assetPath;return"pub/".concat(e,"/v/").concat(r,"/").concat(n)},method:"get",name:"byVersion"},{pathFn:function(t){var e=t.clientId,r=t.alias,n=t.assetPath;return"pub/".concat(e,"/a/").concat(r,"/").concat(n)},method:"get",name:"byAlias"}],D=r(20),I=r.n(D),M=r(30),R=r.n(M);function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var U=function t(e){N(this,t),this._sdkType=this.constructor._sdkType,this.uuid=e};U._sdkType="UUID";var q=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.lat=e,this.lng=r};q._sdkType="LatLng";var B=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.ne=e,this.sw=r};B._sdkType="LatLngBounds";var H=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.amount=e,this.currency=r};H._sdkType="Money";var $=function t(e){N(this,t),this._sdkType=this.constructor._sdkType,this.value=e};$._sdkType="BigDecimal";var F=function(t){switch(t&&t._sdkType){case"LatLng":return new q(t.lat,t.lng);case"LatLngBounds":return new B(t.ne,t.sw);case"UUID":return new U(t.uuid);case"Money":return new H(t.amount,t.currency);case"BigDecimal":return new $(t.value);default:return t}},V=function(t,e){return e},z=function(t,e){return F(e)};function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var K=function(t){return encodeURIComponent(t).replace(/%2C/gi,",")},G=function(t,e){var r;try{r=function t(e){var r;if(e instanceof U)r=e.uuid;else if(e instanceof q)r="".concat(e.lat,",").concat(e.lng);else if(e instanceof B)r="".concat(e.ne.lat,",").concat(e.ne.lng,",").concat(e.sw.lat,",").concat(e.sw.lng);else if(Array.isArray(e))r=e.map(t);else if(e instanceof Date)r=e.toISOString();else if(null==e)r=e;else{if("object"===W(e))throw new Error("unknown-type");r=e}return r}(e)}catch(r){throw r&&"unknown-type"===r.message?new Error("Don't know how to serialize query parameter '".concat(t,"': ").concat(e)):r}return null==r?null:[t,K(r)]},Y=function(t){return R()(I()(t,(function(t,e){var r=G(e,t);return r?r.join("="):null}))).join("&")};function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Q(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ot(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return ct({},t,{enterQueue:ot(e).reverse(),leaveStack:[]})}(e,t))}};function pt(t,e){for(var r=0;r1?t:t.res&&401===t.res.status&&e.refresh_token?gt([new lt,new dt].concat(yt(o.auth.token)))({params:{client_id:r,grant_type:"refresh_token",refresh_token:e.refresh_token},tokenStore:n}).then((function(e){var r=e.authToken;return vt({},t,{authToken:r,enterQueue:c,error:null})})).catch((function(e){return vt({},t,{refreshTokenRetry:{retryQueue:c,attempts:a,res:e.response}})})):t}}])&&wt(e.prototype,r),n&&wt(e,n),t}();function St(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e1?t:t.res&&401===t.res.status?gt([new lt,new dt].concat(St(n.auth.token)))({params:{client_id:e,grant_type:"client_credentials",scope:"public-read"},tokenStore:r}).then((function(e){var r=e.authToken;return Et({},t,{authToken:r,enterQueue:i,error:null})})):t}}])&&Pt(e.prototype,r),n&&Pt(e,n),t}();function xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Xt(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function oe(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ge(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function de(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function _e(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function De(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function qe(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ze(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function rr(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[],e=Tr(t);return mr.a.reader("json",{handlers:vr({},e,{":":function(t){return t},set:function(t){return t},list:function(t){return t}}),mapBuilder:Ar})},Cr=[Object,mr.a.makeWriteHandler({tag:function(){return"map"},rep:function(t){return m()(t,(function(t,e,r){return t.set(mr.a.keyword(r),e),t}),mr.a.map())}})],kr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.verbose,n=r?"json-verbose":"json";return mr.a.writer(n,{handlers:mr.a.map([].concat(yr(Pr),Cr)),transform:function(e){if(ir()(e)){if(e._sdkType)return F(e);var r=ur()(t,(function(t){return t.appType&&e instanceof t.appType||t.canHandle&&t.canHandle(e)}));if(r)return r.writer(e)}return e},handlerForForeign:function(t,e){return Array.isArray(t)?e.get("array"):"object"===dr(t)?e.get("map"):null}})},Lr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=t.reduce((function(t,e){var r={sdkType:e.sdkType||e.type,reader:e.reader},n={sdkType:e.sdkType||e.type,appType:e.appType||e.customType,canHandle:e.canHandle,writer:e.writer};return t.readers.push(r),t.writers.push(n),t}),{readers:[],writers:[]}),n=r.readers,o=r.writers;return{reader:xr(n),writer:kr(o,e)}};function Dr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ir(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Nr(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function rn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nn(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function wn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _n(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return bn(_n({params:e,queryParams:r,perRequestOpts:Ln(n)},t))}}(r):function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return bn(_n({params:e},t))}}(r)},In=function(t){var e=t.ctx,r=t.interceptors;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return bn({params:t,ctx:e,interceptors:r})}},Mn=function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n,o=function(t){if(!t.clientId)throw new Error("clientId must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");if(!t.assetCdnBaseUrl)throw new Error("assetCdnBaseUrl must be provided");return tn.a&&t.clientSecret&&!t.dangerouslyAllowClientSecretInBrowser&&(console.warn("Security warning! You are using client secret in a browser. This may expose the client secret to the public."),console.warn("If you know what you are doing and you have secured the website by other means (e.g. HTTP basic auth), you should set the SDK configuration `dangerouslyAllowClientSecretInBrowser` to `true` to dismiss this warning."),console.warn("In the future SDK versions, we may change this warning to an error causing the site not to work properly, unless `dangerouslyAllowClientSecretInBrowser` is set")),t}(function(t){var e=t.baseUrl,r=t.tokenStore,n=On(t,["baseUrl","tokenStore"]);return _n({},n,{baseUrl:T(e),tokenStore:r||hn(0,n.clientId,!!n.secure)})}(_n({},jn,{},e))),c=i()(Tn,(function(t){return t(o)})),s=(n=c.api,C.reduce((function(t,e){var r=e.path,o=e.method,i=e.multipart,c=P(r),s="api/".concat(r),u=[];return u="post"===o&&i?[new nr]:"post"===o?[new Ur]:[],a()(t,c,[new Wr].concat(vn(u),[cn({method:o,url:s,httpOpts:n})]))}),{})),g=function(t){return k.reduce((function(e,r){var n=r.path,o=r.method,i=P(n),c="auth/".concat(n);return a()(e,i,[cn({method:o,url:c,httpOpts:t})])}),{})}(c.auth),p=function(t){return L.reduce((function(e,r){var n=r.pathFn,o=r.method,i=r.name;return a()(e,i,[cn({method:o,urlTemplate:function(t){return"assets/".concat(n(t))},httpOpts:t})])}),{})}(c.assets),l={api:s,auth:g,assets:p},f={tokenStore:o.tokenStore,endpointInterceptors:l,clientId:o.clientId,clientSecret:o.clientSecret,typeHandlers:o.typeHandlers,transitVerbose:o.transitVerbose};(function(t,e){return C.map((function(r){var n=r.path,o=r.method,i=P(n);return{path:i,fn:Dn({method:o,ctx:e,interceptors:[new Qr].concat(Pn,vn(u()(t,i)||[]))})}}))})(s,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)})),function(t,e){return[{path:"login",fn:In({ctx:e,interceptors:[new Qr].concat(An,vn(u()(t,"token")))})},{path:"logout",fn:In({ctx:e,interceptors:[new Qr].concat(xn,vn(u()(t,"revoke")))})},{path:"exchangeToken",fn:In({ctx:e,interceptors:[].concat(Cn,vn(u()(t,"token")))})},{path:"authInfo",fn:In({ctx:e,interceptors:[new Qe]})},{path:"loginWithIdp",fn:In({ctx:e,interceptors:[].concat(kn,vn(u()(t,"authWithIdp")))})}]}(g,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)})),function(t,e){return[{path:"assetByAlias",fn:function(r){var n=r.path,o=r.alias;if(!n)throw new Error("Missing mandatory parameter `path`");if(!o)throw new Error("Missing mandatory parameter `alias`");return bn({ctx:e,pathParams:{clientId:e.clientId,alias:o||"latest",assetPath:"/"===n[0]?n.slice(1):n},interceptors:[new Qr].concat(vn(u()(t,"byAlias")))})}},{path:"assetByVersion",fn:function(r){var n=r.path,o=r.version;if(!o)throw new Error("Missing mandatory parameter `version`");if(!o)throw new Error("Missing mandatory parameter `version`");return bn({ctx:e,pathParams:{clientId:e.clientId,version:o,assetPath:"/"===n[0]?n.slice(1):n},interceptors:[new Qr].concat(vn(u()(t,"byVersion")))})}},{path:"assetsByAlias",fn:function(r){var n=r.paths,o=r.alias;if(!n)throw new Error("Missing mandatory parameter `paths`");if(0===n.length)throw new Error("`paths` must not be empty");if(!o)throw new Error("Missing mandatory parameter `alias`");var i=x(n),c=i.pathPrefix,a=i.relativePaths;return bn({ctx:e,params:{assets:a},pathParams:{clientId:e.clientId,alias:o,assetPath:c},interceptors:[new Qr].concat(vn(u()(t,"byAlias")))})}},{path:"assetsByVersion",fn:function(r){var n=r.paths,o=r.version;if(!n)throw new Error("Missing mandatory parameter `paths`");if(0===n.length)throw new Error("`paths` must not be empty");if(!o)throw new Error("Missing mandatory parameter `version`");var i=x(n),c=i.pathPrefix,a=i.relativePaths;return bn({ctx:e,params:{assets:a},pathParams:{clientId:e.clientId,version:o,assetPath:c},interceptors:[new Qr].concat(vn(u()(t,"byVersion")))})}}]}(p,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)}))};function Rn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Un(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function fo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ho(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};return bn({params:t,ctx:e,interceptors:r})}},jo=function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n,o,c,s,u=function(t){if(!t.hostname)throw new Error("hostname must be provided");if(!t.multitenantClientSecret)throw new Error("multitenantClientSecret must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");if(tn.a)throw new Error("Using the multitenant SDK in browser is not allowed.");return t}((n=ho({},bo,{},e),o=n.baseUrl,c=n.tokenStore,ho({},lo(n,["baseUrl","tokenStore"]),{baseUrl:T(o),tokenStore:c||fn()}))),g=i()(Oo,(function(t){return t(u)})),p=(s=g.auth,vo.reduce((function(t,e){var r=e.path,n=e.method,o=P(r),i="auth/multitenant/".concat(r);return a()(t,o,[cn({method:n,url:i,httpOpts:s})])}),{}));(function(t,e){return[{path:"clientData",fn:So({ctx:e,interceptors:[_o(t)]})},{path:"tokenExchange",fn:So({ctx:e,interceptors:[new eo].concat(yo(wo(t)))})}]})(p,{endpointInterceptors:{auth:p},multitenantClientSecret:u.multitenantClientSecret,hostname:u.hostname,tokenStore:u.tokenStore}).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)}))};function Eo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function To(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Po=function(t){return new Mn(t)},Ao=function(t){return new jo(t)},xo={memoryStore:fn,browserCookieStore:ln,expressCookieStore:function(t){var e,r=t.clientId,n=t.cookieId,o=t.req,i=t.res,c=t.secure,a=function(t,e){return"".concat(e,"-").concat(t,"-token")}(r||n,"st");return{getToken:function(){var t;return e=e||((t=o.cookies[a])?JSON.parse(t):null)},setToken:function(t){e=t;var r=c?{secure:!0}:{};i.cookie(a,JSON.stringify(t),function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers,n=void 0===r?[]:r,o=Lr(n);return o.reader.read(t)},write:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers,n=void 0===r?[]:r,o=e.verbose,i=void 0!==o&&o,c=Lr(n,{verbose:i});return c.writer.write(t)}},ko={objectQueryString:function(t){if(!f()(t))throw new Error("Parameter not an object.");return Object.entries(t).filter((function(t){var e=S(t,2)[1];return null!=e})).map((function(t){var e=S(t,2),r=e[0],n=e[1];return"".concat(r,":").concat(function(t){if(f()(t))throw new Error("Nested object in query parameter.");return Array.isArray(t)?t.join(","):t}(n))})).join(";")}}}])})); \ No newline at end of file + */!function(i){if(void 0===(o="function"==typeof(n=i)?n.call(e,r,e,t):n)||(t.exports=o),!0,t.exports=i(),!!0){var c=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=c,a}}}((function(){function t(){for(var t=0,e={};t-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(6)(r(4),"Map");t.exports=n},function(t,e,r){var n=r(116),o=r(123),i=r(125),c=r(126),a=r(127);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(c)})),t.exports=u}).call(this,r(74))},function(t,e,r){var n=r(161);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},function(t,e,r){var n=r(44);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(6),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,r){var n=r(12),o=r(8);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(47))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(93),o=r(21);t.exports=function(t,e){return t&&n(t,e,o)}},function(t,e,r){(function(t){var n=r(4),o=r(98),i=e&&!e.nodeType&&e,c=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=c&&c.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||o;t.exports=s}).call(this,r(51)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){var n=r(99),o=r(53),i=r(100),c=i&&i.isTypedArray,a=c?o(c):n;t.exports=a},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(22),o=r(111),i=r(112),c=r(113),a=r(114),s=r(115);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=c,u.prototype.has=a,u.prototype.set=s,t.exports=u},function(t,e,r){var n=r(128),o=r(7);t.exports=function t(e,r,i,c,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,c,t,a))}},function(t,e,r){var n=r(58),o=r(131),i=r(59);t.exports=function(t,e,r,c,a,s){var u=1&r,g=t.length,p=e.length;if(g!=p&&!(u&&p>g))return!1;var l=s.get(t),f=s.get(e);if(l&&f)return l==e&&f==t;var h=-1,m=!0,d=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++h1)for(var r=1;r-1}},function(t,e,r){var n=r(23);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(22);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(22),o=r(36),i=r(37);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var c=r.__data__;if(!o||c.length<199)return c.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(c)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(117),o=r(22),i=r(36);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(118),o=r(119),i=r(120),c=r(121),a=r(122);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e0&&i(g)?r>1?t(g,r-1,i,c,a):n(a,g):c||(a[a.length]=g)}return a}},function(t,e,r){var n=r(15),o=r(32),i=r(2),c=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(c&&t&&t[c])}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(165),o=r(44),i=r(9),c=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=c},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var r=Date.now;t.exports=function(t){var e=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(54)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){t.exports=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o=200&&(p=s,l=!1,e=new n(e));t:for(;++g-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n=o?t:n(t,e,r)}},function(t,e){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n-1;);return r}},function(t,e,r){var n=r(182),o=r(183),i=r(184);t.exports=function(t){return o(t)?i(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")"+"?",u="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,c,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),g="(?:"+[i+n+"?",n,c,a,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+g+u,"g");t.exports=function(t){return t.match(p)||[]}},function(t,e,r){var n=r(68),o=r(16);t.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}},function(t,e,r){var n=r(17),o=r(16),i=r(21);t.exports=function(t){return function(e,r,c){var a=Object(e);if(!o(e)){var s=n(r,3);e=i(e),r=function(t){return s(a[t],t,a)}}var u=t(e,r,c);return u>-1?a[s?e[u]:u]:void 0}}},function(t,e,r){var n=r(70),o=r(17),i=r(188),c=Math.max;t.exports=function(t,e,r){var a=null==t?0:t.length;if(!a)return-1;var s=null==r?0:i(r);return s<0&&(s=c(a+s,0)),n(t,o(e,3),s)}},function(t,e,r){var n=r(189);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},function(t,e,r){var n=r(190);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,e,r){var n=r(191),o=r(8),i=r(28),c=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||s.test(t)?u(t.slice(2),r?2:8):c.test(t)?NaN:+t}},function(t,e,r){var n=r(71),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},function(t,e,r){var n=r(26),o=r(40);t.exports=function(t,e,r,i){return o(t,e,r(n(t,e)),i)}},function(t,e,r){var n=r(9);t.exports=function(t){return"function"==typeof t?t:n}},function(t,e,r){"use strict";var n=r(1),o=r(72),i=r(195),c=r(79);function a(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r}var s=a(r(41));s.Axios=i,s.create=function(t){return a(c(s.defaults,t))},s.Cancel=r(80),s.CancelToken=r(209),s.isCancel=r(78),s.all=function(t){return Promise.all(t)},s.spread=r(210),s.isAxiosError=r(211),t.exports=s,t.exports.default=s},function(t,e,r){"use strict";var n=r(1),o=r(73),i=r(196),c=r(197),a=r(79),s=r(207),u=s.validators;function g(t){this.defaults=t,this.interceptors={request:new i,response:new i}}g.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&s.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!n){var g=[c,void 0];for(Array.prototype.unshift.apply(g,r),g.concat(i),o=Promise.resolve(t);g.length;)o=o.then(g.shift(),g.shift());return o}for(var p=t;r.length;){var l=r.shift(),f=r.shift();try{p=l(p)}catch(t){f(t);break}}try{o=c(p)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},g.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){g.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){g.prototype[t]=function(e,r,n){return this.request(a(n||{},{method:t,url:e,data:r}))}})),t.exports=g},function(t,e,r){"use strict";var n=r(1);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,r){"use strict";var n=r(1),o=r(198),i=r(78),c=r(41);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||c.adapter)(t).then((function(e){return a(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(a(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,r){"use strict";var n=r(1),o=r(41);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},function(t,e,r){"use strict";var n=r(1);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},function(t,e,r){"use strict";var n=r(77);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,c){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===c&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,r){"use strict";var n=r(203),o=r(204);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var n=r(1),o=["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"];t.exports=function(t){var e,r,i,c={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([r]):c[e]?c[e]+", "+r:r}})),c):c}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(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 t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(208),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={},c=n.version.split(".");function a(t,e){for(var r=e?e.split("."):c,n=t.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=n[o],c=e[i];if(c){var a=t[i],s=void 0===a||c(a,i,t);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(t,e,r){"use strict";var n=r(80);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,r){"use strict";r.r(e),r.d(e,"createInstance",(function(){return Po})),r.d(e,"createMultitenantInstance",(function(){return Ao})),r.d(e,"types",(function(){return n})),r.d(e,"tokenStore",(function(){return xo})),r.d(e,"transit",(function(){return Co})),r.d(e,"util",(function(){return ko}));var n={};r.r(n),r.d(n,"UUID",(function(){return U})),r.d(n,"LatLng",(function(){return q})),r.d(n,"LatLngBounds",(function(){return B})),r.d(n,"Money",(function(){return H})),r.d(n,"BigDecimal",(function(){return $})),r.d(n,"toType",(function(){return F})),r.d(n,"replacer",(function(){return V})),r.d(n,"reviver",(function(){return z}));var o=r(29),i=r.n(o),c=r(3),a=r.n(c),s=r(0),u=r.n(s),g=r(81),p=r.n(g),l=r(19),f=r.n(l),h=r(13),m=r.n(h),d=r(82),y=r.n(d),b=r(83),v=r.n(b);function O(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:"";if(0===e.length)return"";if(1===e.length){var n=e[0];if(1===n.length)return"";var o=n.slice(0,n.length-1).join("/");return"".concat(o,"/")}var i=e.length,c=e[0],a=e[i-1],s=w(c),u=s[0],g=s.slice(1),p=w(a),l=p[0],f=p.slice(1);return g.length>0&&f.length>0&&u===l?t([g,f],"".concat(r).concat(u,"/")):r}(O(e).map((function(t){return t.split("/")}))),n=r.length;return{pathPrefix:r,relativePaths:e.map((function(t){return t.substring(n)}))}},C=[{path:"marketplace/show",method:"get"},{path:"users/show",method:"get"},{path:"current_user/show",method:"get"},{path:"current_user/create",method:"post"},{path:"current_user/create_with_idp",method:"post"},{path:"current_user/update_profile",method:"post"},{path:"current_user/change_email",method:"post"},{path:"current_user/change_password",method:"post"},{path:"current_user/delete",method:"post"},{path:"current_user/verify_email",method:"post"},{path:"current_user/send_verification_email",method:"post"},{path:"current_user/create_stripe_account",method:"post"},{path:"current_user/update_stripe_account",method:"post"},{path:"current_user/delete_stripe_account",method:"post"},{path:"password_reset/request",method:"post"},{path:"password_reset/reset",method:"post"},{path:"listings/show",method:"get"},{path:"own_listings/show",method:"get"},{path:"listings/query",method:"get"},{path:"own_listings/query",method:"get"},{path:"listings/search",method:"get"},{path:"own_listings/create",method:"post"},{path:"own_listings/create_draft",method:"post"},{path:"own_listings/publish_draft",method:"post"},{path:"own_listings/discard_draft",method:"post"},{path:"own_listings/update",method:"post"},{path:"own_listings/open",method:"post"},{path:"own_listings/close",method:"post"},{path:"own_listings/add_image",method:"post"},{path:"availability_exceptions/create",method:"post"},{path:"availability_exceptions/delete",method:"post"},{path:"availability_exceptions/query",method:"get"},{path:"images/upload",method:"post",multipart:!0},{path:"transactions/initiate",method:"post"},{path:"transactions/initiate_speculative",method:"post"},{path:"transactions/transition",method:"post"},{path:"transactions/transition_speculative",method:"post"},{path:"transactions/query",method:"get"},{path:"transactions/show",method:"get"},{path:"process_transitions/query",method:"get"},{path:"bookings/query",method:"get"},{path:"messages/query",method:"get"},{path:"messages/send",method:"post"},{path:"reviews/query",method:"get"},{path:"reviews/show",method:"get"},{path:"timeslots/query",method:"get"},{path:"stripe_account/create",method:"post"},{path:"stripe_account/fetch",method:"get"},{path:"stripe_account/update",method:"post"},{path:"stripe_account_links/create",method:"post"},{path:"stripe_persons/create",method:"post"},{path:"stripe_setup_intents/create",method:"post"},{path:"stripe_customer/create",method:"post"},{path:"stripe_customer/add_payment_method",method:"post"},{path:"stripe_customer/delete_payment_method",method:"post"},{path:"stock_adjustments/query",method:"get"},{path:"stock_adjustments/create",method:"post"},{path:"stock/compare_and_set",method:"post"}],k=[{path:"token",method:"post"},{path:"revoke",method:"post"},{path:"auth_with_idp",method:"post"}],L=[{pathFn:function(t){var e=t.clientId,r=t.version,n=t.assetPath;return"pub/".concat(e,"/v/").concat(r,"/").concat(n)},method:"get",name:"byVersion"},{pathFn:function(t){var e=t.clientId,r=t.alias,n=t.assetPath;return"pub/".concat(e,"/a/").concat(r,"/").concat(n)},method:"get",name:"byAlias"}],D=r(20),I=r.n(D),M=r(30),R=r.n(M);function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var U=function t(e){N(this,t),this._sdkType=this.constructor._sdkType,this.uuid=e};U._sdkType="UUID";var q=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.lat=e,this.lng=r};q._sdkType="LatLng";var B=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.ne=e,this.sw=r};B._sdkType="LatLngBounds";var H=function t(e,r){N(this,t),this._sdkType=this.constructor._sdkType,this.amount=e,this.currency=r};H._sdkType="Money";var $=function t(e){N(this,t),this._sdkType=this.constructor._sdkType,this.value=e};$._sdkType="BigDecimal";var F=function(t){switch(t&&t._sdkType){case"LatLng":return new q(t.lat,t.lng);case"LatLngBounds":return new B(t.ne,t.sw);case"UUID":return new U(t.uuid);case"Money":return new H(t.amount,t.currency);case"BigDecimal":return new $(t.value);default:return t}},V=function(t,e){return e},z=function(t,e){return F(e)};function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var K=function(t){return encodeURIComponent(t).replace(/%2C/gi,",")},G=function(t,e){var r;try{r=function t(e){var r;if(e instanceof U)r=e.uuid;else if(e instanceof q)r="".concat(e.lat,",").concat(e.lng);else if(e instanceof B)r="".concat(e.ne.lat,",").concat(e.ne.lng,",").concat(e.sw.lat,",").concat(e.sw.lng);else if(Array.isArray(e))r=e.map(t);else if(e instanceof Date)r=e.toISOString();else if(null==e)r=e;else{if("object"===W(e))throw new Error("unknown-type");r=e}return r}(e)}catch(r){throw r&&"unknown-type"===r.message?new Error("Don't know how to serialize query parameter '".concat(t,"': ").concat(e)):r}return null==r?null:[t,K(r)]},Y=function(t){return R()(I()(t,(function(t,e){var r=G(e,t);return r?r.join("="):null}))).join("&")};function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Q(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ot(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return ct({},t,{enterQueue:ot(e).reverse(),leaveStack:[]})}(e,t))}};function pt(t,e){for(var r=0;r1?t:t.res&&401===t.res.status&&e.refresh_token?gt([new lt,new dt].concat(yt(o.auth.token)))({params:{client_id:r,grant_type:"refresh_token",refresh_token:e.refresh_token},tokenStore:n}).then((function(e){var r=e.authToken;return vt({},t,{authToken:r,enterQueue:c,error:null})})).catch((function(e){return vt({},t,{refreshTokenRetry:{retryQueue:c,attempts:a,res:e.response}})})):t}}])&&wt(e.prototype,r),n&&wt(e,n),t}();function St(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e1?t:t.res&&401===t.res.status?gt([new lt,new dt].concat(St(n.auth.token)))({params:{client_id:e,grant_type:"client_credentials",scope:"public-read"},tokenStore:r}).then((function(e){var r=e.authToken;return Et({},t,{authToken:r,enterQueue:i,error:null})})):t}}])&&Pt(e.prototype,r),n&&Pt(e,n),t}();function xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Xt(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function oe(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ge(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function de(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function _e(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function De(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function qe(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ze(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function rr(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[],e=Tr(t);return mr.a.reader("json",{handlers:vr({},e,{":":function(t){return t},set:function(t){return t},list:function(t){return t}}),mapBuilder:Ar})},Cr=[Object,mr.a.makeWriteHandler({tag:function(){return"map"},rep:function(t){return m()(t,(function(t,e,r){return t.set(mr.a.keyword(r),e),t}),mr.a.map())}})],kr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.verbose,n=r?"json-verbose":"json";return mr.a.writer(n,{handlers:mr.a.map([].concat(yr(Pr),Cr)),transform:function(e){if(ir()(e)){if(e._sdkType)return F(e);var r=ur()(t,(function(t){return t.appType&&e instanceof t.appType||t.canHandle&&t.canHandle(e)}));if(r)return r.writer(e)}return e},handlerForForeign:function(t,e){return Array.isArray(t)?e.get("array"):"object"===dr(t)?e.get("map"):null}})},Lr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=t.reduce((function(t,e){var r={sdkType:e.sdkType||e.type,reader:e.reader},n={sdkType:e.sdkType||e.type,appType:e.appType||e.customType,canHandle:e.canHandle,writer:e.writer};return t.readers.push(r),t.writers.push(n),t}),{readers:[],writers:[]}),n=r.readers,o=r.writers;return{reader:xr(n),writer:kr(o,e)}};function Dr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ir(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Nr(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function rn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nn(t){for(var e=1;e=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function wn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _n(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return bn(_n({params:e,queryParams:r,perRequestOpts:Ln(n)},t))}}(r):function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return bn(_n({params:e},t))}}(r)},In=function(t){var e=t.ctx,r=t.interceptors;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return bn({params:t,ctx:e,interceptors:r})}},Mn=function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n,o=function(t){if(!t.clientId)throw new Error("clientId must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");if(!t.assetCdnBaseUrl)throw new Error("assetCdnBaseUrl must be provided");return tn.a&&t.clientSecret&&!t.dangerouslyAllowClientSecretInBrowser&&(console.warn("Security warning! You are using client secret in a browser. This may expose the client secret to the public."),console.warn("If you know what you are doing and you have secured the website by other means (e.g. HTTP basic auth), you should set the SDK configuration `dangerouslyAllowClientSecretInBrowser` to `true` to dismiss this warning."),console.warn("In the future SDK versions, we may change this warning to an error causing the site not to work properly, unless `dangerouslyAllowClientSecretInBrowser` is set")),t}(function(t){var e=t.baseUrl,r=t.tokenStore,n=On(t,["baseUrl","tokenStore"]);return _n({},n,{baseUrl:T(e),tokenStore:r||hn(0,n.clientId,!!n.secure)})}(_n({},jn,{},e))),c=i()(Tn,(function(t){return t(o)})),s=(n=c.api,C.reduce((function(t,e){var r=e.path,o=e.method,i=e.multipart,c=P(r),s="api/".concat(r),u=[];return u="post"===o&&i?[new nr]:"post"===o?[new Ur]:[],a()(t,c,[new Wr].concat(vn(u),[cn({method:o,url:s,httpOpts:n})]))}),{})),g=function(t){return k.reduce((function(e,r){var n=r.path,o=r.method,i=P(n),c="auth/".concat(n);return a()(e,i,[cn({method:o,url:c,httpOpts:t})])}),{})}(c.auth),p=function(t){return L.reduce((function(e,r){var n=r.pathFn,o=r.method,i=r.name;return a()(e,i,[cn({method:o,urlTemplate:function(t){return"assets/".concat(n(t))},httpOpts:t})])}),{})}(c.assets),l={api:s,auth:g,assets:p},f={tokenStore:o.tokenStore,endpointInterceptors:l,clientId:o.clientId,clientSecret:o.clientSecret,typeHandlers:o.typeHandlers,transitVerbose:o.transitVerbose};(function(t,e){return C.map((function(r){var n=r.path,o=r.method,i=P(n);return{path:i,fn:Dn({method:o,ctx:e,interceptors:[new Qr].concat(Pn,vn(u()(t,i)||[]))})}}))})(s,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)})),function(t,e){return[{path:"login",fn:In({ctx:e,interceptors:[new Qr].concat(An,vn(u()(t,"token")))})},{path:"logout",fn:In({ctx:e,interceptors:[new Qr].concat(xn,vn(u()(t,"revoke")))})},{path:"exchangeToken",fn:In({ctx:e,interceptors:[].concat(Cn,vn(u()(t,"token")))})},{path:"authInfo",fn:In({ctx:e,interceptors:[new Qe]})},{path:"loginWithIdp",fn:In({ctx:e,interceptors:[].concat(kn,vn(u()(t,"authWithIdp")))})}]}(g,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)})),function(t,e){return[{path:"assetByAlias",fn:function(r){var n=r.path,o=r.alias;if(!n)throw new Error("Missing mandatory parameter `path`");if(!o)throw new Error("Missing mandatory parameter `alias`");return bn({ctx:e,pathParams:{clientId:e.clientId,alias:o||"latest",assetPath:"/"===n[0]?n.slice(1):n},interceptors:[new Qr].concat(vn(u()(t,"byAlias")))})}},{path:"assetByVersion",fn:function(r){var n=r.path,o=r.version;if(!o)throw new Error("Missing mandatory parameter `version`");if(!o)throw new Error("Missing mandatory parameter `version`");return bn({ctx:e,pathParams:{clientId:e.clientId,version:o,assetPath:"/"===n[0]?n.slice(1):n},interceptors:[new Qr].concat(vn(u()(t,"byVersion")))})}},{path:"assetsByAlias",fn:function(r){var n=r.paths,o=r.alias;if(!n)throw new Error("Missing mandatory parameter `paths`");if(0===n.length)throw new Error("`paths` must not be empty");if(!o)throw new Error("Missing mandatory parameter `alias`");var i=x(n),c=i.pathPrefix,a=i.relativePaths;return bn({ctx:e,params:{assets:a},pathParams:{clientId:e.clientId,alias:o,assetPath:c},interceptors:[new Qr].concat(vn(u()(t,"byAlias")))})}},{path:"assetsByVersion",fn:function(r){var n=r.paths,o=r.version;if(!n)throw new Error("Missing mandatory parameter `paths`");if(0===n.length)throw new Error("`paths` must not be empty");if(!o)throw new Error("Missing mandatory parameter `version`");var i=x(n),c=i.pathPrefix,a=i.relativePaths;return bn({ctx:e,params:{assets:a},pathParams:{clientId:e.clientId,version:o,assetPath:c},interceptors:[new Qr].concat(vn(u()(t,"byVersion")))})}}]}(p,f).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)}))};function Rn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Un(t,e){for(var r=0;r=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function fo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ho(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};return bn({params:t,ctx:e,interceptors:r})}},jo=function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n,o,c,s,u=function(t){if(!t.hostname)throw new Error("hostname must be provided");if(!t.multitenantClientSecret)throw new Error("multitenantClientSecret must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");if(tn.a)throw new Error("Using the multitenant SDK in browser is not allowed.");return t}((n=ho({},bo,{},e),o=n.baseUrl,c=n.tokenStore,ho({},lo(n,["baseUrl","tokenStore"]),{baseUrl:T(o),tokenStore:c||fn()}))),g=i()(Oo,(function(t){return t(u)})),p=(s=g.auth,vo.reduce((function(t,e){var r=e.path,n=e.method,o=P(r),i="auth/multitenant/".concat(r);return a()(t,o,[cn({method:n,url:i,httpOpts:s})])}),{}));(function(t,e){return[{path:"clientData",fn:So({ctx:e,interceptors:[_o(t)]})},{path:"tokenExchange",fn:So({ctx:e,interceptors:[new eo].concat(yo(wo(t)))})}]})(p,{endpointInterceptors:{auth:p},multitenantClientSecret:u.multitenantClientSecret,hostname:u.hostname,tokenStore:u.tokenStore}).forEach((function(t){var e=t.path,n=t.fn;return a()(r,e,n)}))};function Eo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function To(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Po=function(t){return new Mn(t)},Ao=function(t){return new jo(t)},xo={memoryStore:fn,browserCookieStore:ln,expressCookieStore:function(t){var e,r=t.clientId,n=t.cookieId,o=t.req,i=t.res,c=t.secure,a=function(t,e){return"".concat(e,"-").concat(t,"-token")}(r||n,"st");return{getToken:function(){var t;return e=e||((t=o.cookies[a])?JSON.parse(t):null)},setToken:function(t){e=t;var r=c?{secure:!0}:{};i.cookie(a,JSON.stringify(t),function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers,n=void 0===r?[]:r,o=Lr(n);return o.reader.read(t)},write:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers,n=void 0===r?[]:r,o=e.verbose,i=void 0!==o&&o,c=Lr(n,{verbose:i});return c.writer.write(t)}},ko={objectQueryString:function(t){if(!f()(t))throw new Error("Parameter not an object.");return Object.entries(t).filter((function(t){var e=S(t,2)[1];return null!=e})).map((function(t){var e=S(t,2),r=e[0],n=e[1];return"".concat(r,":").concat(function(t){if(f()(t))throw new Error("Nested object in query parameter.");return Array.isArray(t)?t.join(","):t}(n))})).join(";")}}}])})); \ No newline at end of file diff --git a/package.json b/package.json index a7d51ee..0123553 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharetribe-flex-sdk", - "version": "1.18.1", + "version": "1.19.0", "description": "Sharetribe Flex SDK for JavaScript", "main": "build/sharetribe-flex-sdk-node.js", "browser": "build/sharetribe-flex-sdk-web.js", diff --git a/src/version.js b/src/version.js index 228cc0f..247de81 100644 --- a/src/version.js +++ b/src/version.js @@ -1,3 +1,3 @@ // Update this when updating package.json -const sdkVersion = '1.18.1'; +const sdkVersion = '1.19.0'; export default sdkVersion;