From 9b93fbc8845f69a4ea36fd49d5f670caa141f315 Mon Sep 17 00:00:00 2001 From: sktoiva Date: Thu, 5 Dec 2019 14:19:48 +0200 Subject: [PATCH 1/3] Remove stripeAccountData endpoint --- CHANGELOG.md | 7 +++++++ src/sdk.js | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33387ef9..59cad212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] - xxxx-xx-xx +## [v1.7.0] - 2019-12-05 + +### Changed + + - Remove endpoint [#104](https://github.com/sharetribe/flex-sdk-js/pull/103) + - `sdk.stripeAccountData.fetch(/* ... */)` + ## [v1.6.0] - 2019-12-05 ### Added diff --git a/src/sdk.js b/src/sdk.js index ab030e72..a23f96dd 100644 --- a/src/sdk.js +++ b/src/sdk.js @@ -420,13 +420,6 @@ const endpointDefinitions = [ method: 'post', interceptors: [new TransitResponse(), new TransitRequest()], }, - { - apiName: 'api', - path: 'stripe_account_data/fetch', - internal: false, - method: 'get', - interceptors: [new TransitResponse()], - }, { apiName: 'api', path: 'stripe_account_links/create', From a895f1927bcd16fe9c9994445f1a2a247f65411e Mon Sep 17 00:00:00 2001 From: sktoiva Date: Thu, 5 Dec 2019 14:28:02 +0200 Subject: [PATCH 2/3] Update build files --- build/sharetribe-flex-sdk-node.js | 6 ------ build/sharetribe-flex-sdk-web.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build/sharetribe-flex-sdk-node.js b/build/sharetribe-flex-sdk-node.js index 1099b1b9..a14bb0aa 100644 --- a/build/sharetribe-flex-sdk-node.js +++ b/build/sharetribe-flex-sdk-node.js @@ -3346,12 +3346,6 @@ var endpointDefinitions = [{ internal: false, method: 'post', interceptors: [new __WEBPACK_IMPORTED_MODULE_22__interceptors_transit_response__["a" /* default */](), new __WEBPACK_IMPORTED_MODULE_21__interceptors_transit_request__["a" /* default */]()] -}, { - apiName: 'api', - path: 'stripe_account_data/fetch', - internal: false, - method: 'get', - interceptors: [new __WEBPACK_IMPORTED_MODULE_22__interceptors_transit_response__["a" /* default */]()] }, { apiName: 'api', path: 'stripe_account_links/create', diff --git a/build/sharetribe-flex-sdk-web.js b/build/sharetribe-flex-sdk-web.js index 38f17cfb..4a3c75e5 100644 --- a/build/sharetribe-flex-sdk-web.js +++ b/build/sharetribe-flex-sdk-web.js @@ -1,4 +1,4 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.sharetribeSdk=e():t.sharetribeSdk=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=77)}([function(t,e,n){"use strict";function r(t){return"[object Array]"===T.call(t)}function o(t){return"[object ArrayBuffer]"===T.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function c(t){return"string"==typeof t}function s(t){return"number"==typeof t}function u(t){return void 0===t}function g(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===T.call(t)}function l(t){return"[object File]"===T.call(t)}function f(t){return"[object Blob]"===T.call(t)}function h(t){return"[object Function]"===T.call(t)}function m(t){return g(t)&&h(t.pipe)}function d(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function v(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function o(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function i(t,e){return s(t)||c(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function c(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}function s(t){if(Array.isArray(t))return t}function u(t){return l(t)||p(t)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},{enterQueue:u(arguments.length>1?arguments[1]:void 0).reverse(),leaveStack:[]})},b=function(t,e,n){return d(t).then(e[n]||d).catch(function(r){var o=r.ctx||t;return Promise.resolve(h({},o,{error:r,errorMiddleware:e.constructor.name,errorStage:n}))})},v=function(t){var e,n,r=u(t.leaveStack),o=u(t.enterQueue);return t.error?(e=r.shift(),n="error"):o.length?(e=o.pop(),r.unshift(e),n="enter"):(e=r.shift(),n="leave"),[h({},t,{enterQueue:o,leaveStack:r}),e,n]},_=function t(e){var n=v(e),o=i(n,3),a=o[0],c=o[1],s=o[2];if(c)return b(a,c,s).then(t);if(a.error){var u=a.error,g=r(a,["error"]);return u.ctx=g,Promise.reject(u)}return Promise.resolve(a)},w=function(t){return function(e){return _(y(e,t))}};e.a=w},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n-1&&t%1==0&&t-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t,e,n){var r=s(t)?o:c,u=arguments.length<3;return r(t,a(e,4),n,u,i)}var o=n(181),i=n(70),a=n(10),c=n(183),s=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"UUID",function(){return o}),n.d(e,"LatLng",function(){return i}),n.d(e,"LatLngBounds",function(){return a}),n.d(e,"Money",function(){return c}),n.d(e,"BigDecimal",function(){return s}),n.d(e,"toType",function(){return u}),n.d(e,"replacer",function(){return g}),n.d(e,"reviver",function(){return p});var o=function t(e){r(this,t),this._sdkType=this.constructor._sdkType,this.uuid=e};o._sdkType="UUID";var i=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.lat=e,this.lng=n};i._sdkType="LatLng";var a=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.ne=e,this.sw=n};a._sdkType="LatLngBounds";var c=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.amount=e,this.currency=n};c._sdkType="Money";var s=function t(e){r(this,t),this._sdkType=this.constructor._sdkType,this.value=e};s._sdkType="BigDecimal";var u=function(t){switch(t&&t._sdkType){case"LatLng":return new i(t.lat,t.lng);case"LatLngBounds":return new a(t.ne,t.sw);case"UUID":return new o(t.uuid);case"Money":return new c(t.amount,t.currency);case"BigDecimal":return new s(t.value);default:return t}},g=function(t,e){return e},p=function(t,e){return u(e)}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(36))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==c||e==s||e==a||e==u}var o=n(5),i=n(6),a="[object AsyncFunction]",c="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=r},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(40);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(a(t))return i(t,r)+"";if(c(t))return g?g.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}var o=n(7),i=n(28),a=n(1),c=n(14),s=1/0,u=o?o.prototype:void 0,g=u?u.toString:void 0;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(42);t.exports=r},function(t,e,n){var r=n(4),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(108),i=n(19);t.exports=r},function(t,e,n){(function(t){var r=n(2),o=n(113),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=a&&a.exports===i,s=c?r.Buffer:void 0,u=s?s.isBuffer:void 0,g=u||o;t.exports=g}).call(e,n(45)(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,n){var r=n(114),o=n(47),i=n(115),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(16),i=n(121),a=n(122),c=n(123),s=n(124),u=n(125);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=c,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t,e,n,a,c){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,a,r,c))}var o=n(126),i=n(3);t.exports=r},function(t,e,n){function r(t,e,n,r,u,g){var p=n&c,l=t.length,f=e.length;if(l!=f&&!(p&&f>l))return!1;var h=g.get(t);if(h&&g.get(e))return h==e;var m=-1,d=!0,y=n&s?new o:void 0;for(g.set(t,e),g.set(e,t);++m=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(a)}),t.exports=c}).call(e,n(169))},function(t,e,n){"use strict";var r=n(0),o=n(171),i=n(63),a=n(173),c=n(174),s=n(67);t.exports=function(t){return new Promise(function(e,u){var g=t.data,p=t.headers;r.isFormData(g)&&delete p["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",h=t.auth.password||"";p.Authorization="Basic "+btoa(f+":"+h)}if(l.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,l.onreadystatechange=function(){if(l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in l?a(l.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?l.response:l.responseText,i={data:r,status:l.status,statusText:l.statusText,headers:n,config:t,request:l};o(e,u,i),l=null}},l.onabort=function(){l&&(u(s("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){u(s("Network Error",t,null,l)),l=null},l.ontimeout=function(){u(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",l)),l=null},r.isStandardBrowserEnv()){var m=n(175),d=(t.withCredentials||c(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;d&&(p[t.xsrfHeaderName]=d)}if("setRequestHeader"in l&&r.forEach(p,function(t,e){void 0===g&&"content-type"===e.toLowerCase()?delete p[e]:l.setRequestHeader(e,t)}),t.withCredentials&&(l.withCredentials=!0),t.responseType)try{l.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){l&&(l.abort(),u(t),l=null)}),void 0===g&&(g=null),l.send(g)})}},function(t,e,n){"use strict";var r=n(172);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){e=e||{};var n={};return r.forEach(["url","method","params","data"],function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(["headers","auth","proxy"],function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){var r=n(43),o=n(182),i=o(r);t.exports=i},function(t,e,n){function r(t,e,n){return e===e?a(t,e,n):o(t,i,n)}var o=n(72),i=n(187),a=n(188);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i0&&void 0!==arguments[0]?arguments[0]:[],e=N(t);return L.a.reader("json",{handlers:u({},e,{":":function(t){return t},set:function(t){return t},list:function(t){return t}}),mapBuilder:U})},B=[Object,L.a.makeWriteHandler({tag:function(){return"map"},rep:function(t){return b()(t,function(t,e,n){return t.set(L.a.keyword(n),e),t},L.a.map())}})],H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.verbose,i=n?"json-verbose":"json";return L.a.writer(i,{handlers:L.a.map([].concat(o(R),B)),transform:function(e){if(d()(e)){if(e._sdkType)return Object(P.toType)(e);var n=O()(t,function(t){return t.appType&&e instanceof t.appType||t.canHandle&&t.canHandle(e)});if(n)return n.writer(e)}return e},handlerForForeign:function(t,e){return Array.isArray(t)?e.get("array"):"object"===r(t)?e.get("map"):null}})},$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=t.reduce(function(t,e){var n={sdkType:e.sdkType||e.type,reader:e.reader},r={sdkType:e.sdkType||e.type,appType:e.appType||e.customType,canHandle:e.canHandle,writer:e.writer};return t.readers.push(n),t.writers.push(r),t},{readers:[],writers:[]}),r=n.readers,o=n.writers;return{reader:q(r),writer:H(o,e)}}},function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function i(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ot(c({params:e,queryParams:n,perRequestOpts:rt(r)},t))}},at=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ot(c({params:e},t))}},ct=function(t){var e=t.method,n=o(t,["method"]);return e&&"post"===e.toLowerCase()?it(n):at(n)},st=function(t){var e=t.baseUrl,n=t.tokenStore,r=o(t,["baseUrl","tokenStore"]);return c({},r,{baseUrl:Object(T.c)(e),tokenStore:n||Object($.a)(n,r.clientId,!!r.secure)})},ut=function(t){if(!t.clientId)throw new Error("clientId must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");return t},gt=function t(e){var n=this;r(this,t);var o=ut(st(c({},V,{},e))),i=b()(W,function(t){return t(o)}),a=[].concat(G).map(function(t){var e=t.path,n=t.apiName,r=t.method,o=t.interceptors,a=void 0===o?[]:o,s=Object(T.a)(e),g=[n].concat(u(s)),p=[n,e].join("/"),l=i[n];return c({},t,{fnPath:s,fullFnPath:g,endpointInterceptors:[].concat(u(a),[et({method:r,url:p,httpOpts:l})])})}),s=a.reduce(function(t,e){var n=e.fullFnPath,r=e.endpointInterceptors;return d()(t,n,r)},{}),g={tokenStore:o.tokenStore,endpointInterceptors:s,clientId:o.clientId,typeHandlers:o.typeHandlers,transitVerbose:o.transitVerbose};[].concat(u(X),Z).map(function(t){var e=t.path,n=t.method,r=t.endpointInterceptorPath,o=t.interceptors;return{path:e,fn:ct({method:n,ctx:g,endpointInterceptors:h()(s,r)||[],interceptors:o})}}).forEach(function(t){var e=t.path,r=t.fn;return d()(n,e,r)})}},function(t,e,n){function r(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[s]=n:delete t[s]),o}var o=n(7),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,s=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){var r=n(82),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=a},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(83),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(25),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(85),i=n(16),a=n(27);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}var o=n(17);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(17);t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(18);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(18);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(18);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(18);t.exports=r},function(t,e,n){function r(t,e,n){return null==t?t:o(t,e,n)}var o=n(29);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];c.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(41),i=n(26),a=Object.prototype,c=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n={};return e=a(e,3),i(t,function(t,r,i){o(n,r,e(t,r,i))}),n}var o=n(41),i=n(43),a=n(10);t.exports=r},function(t,e,n){var r=n(109),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var s=a[t?c:++o];if(!1===n(i[s],s,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e){var n=a(t),r=!n&&i(t),g=!n&&!r&&c(t),l=!n&&!r&&!g&&u(t),f=n||r||g||l,h=f?o(t.length,String):[],m=h.length;for(var d in t)!e&&!p.call(t,d)||f&&("length"==d||g&&("offset"==d||"parent"==d)||l&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||s(d,m))||h.push(d);return h}var o=n(111),i=n(31),a=n(1),c=n(44),s=n(30),u=n(46),g=Object.prototype,p=g.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n0&&n(g)?e>1?r(g,e-1,n,a,c):o(c,g):a||(c[c.length]=g)}return c}var o=n(54),i=n(157);t.exports=r},function(t,e,n){function r(t){return a(t)||i(t)||!!(c&&t&&t[c])}var o=n(7),i=n(31),a=n(1),c=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){var r=n(160),o=n(42),i=n(11),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e){function n(t){var e=0,n=0;return function(){var a=i(),c=o-(a-n);if(n=a,c>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){t.exports=n(163)},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(0),i=n(62),a=n(165),c=n(68),s=n(65),u=r(s);u.Axios=a,u.create=function(t){return r(c(u.defaults,t))},u.Cancel=n(69),u.CancelToken=n(178),u.isCancel=n(64),u.all=function(t){return Promise.all(t)},u.spread=n(179),t.exports=u,t.exports.default=u},function(t,e){/*! +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.sharetribeSdk=e():t.sharetribeSdk=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=77)}([function(t,e,n){"use strict";function r(t){return"[object Array]"===T.call(t)}function o(t){return"[object ArrayBuffer]"===T.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function c(t){return"string"==typeof t}function s(t){return"number"==typeof t}function u(t){return void 0===t}function g(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===T.call(t)}function l(t){return"[object File]"===T.call(t)}function f(t){return"[object Blob]"===T.call(t)}function h(t){return"[object Function]"===T.call(t)}function m(t){return g(t)&&h(t.pipe)}function d(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function v(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function o(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function i(t,e){return s(t)||c(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function c(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}function s(t){if(Array.isArray(t))return t}function u(t){return l(t)||p(t)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},{enterQueue:u(arguments.length>1?arguments[1]:void 0).reverse(),leaveStack:[]})},b=function(t,e,n){return d(t).then(e[n]||d).catch(function(r){var o=r.ctx||t;return Promise.resolve(h({},o,{error:r,errorMiddleware:e.constructor.name,errorStage:n}))})},v=function(t){var e,n,r=u(t.leaveStack),o=u(t.enterQueue);return t.error?(e=r.shift(),n="error"):o.length?(e=o.pop(),r.unshift(e),n="enter"):(e=r.shift(),n="leave"),[h({},t,{enterQueue:o,leaveStack:r}),e,n]},_=function t(e){var n=v(e),o=i(n,3),a=o[0],c=o[1],s=o[2];if(c)return b(a,c,s).then(t);if(a.error){var u=a.error,g=r(a,["error"]);return u.ctx=g,Promise.reject(u)}return Promise.resolve(a)},w=function(t){return function(e){return _(y(e,t))}};e.a=w},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n-1&&t%1==0&&t-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t,e,n){var r=s(t)?o:c,u=arguments.length<3;return r(t,a(e,4),n,u,i)}var o=n(181),i=n(70),a=n(10),c=n(183),s=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"UUID",function(){return o}),n.d(e,"LatLng",function(){return i}),n.d(e,"LatLngBounds",function(){return a}),n.d(e,"Money",function(){return c}),n.d(e,"BigDecimal",function(){return s}),n.d(e,"toType",function(){return u}),n.d(e,"replacer",function(){return g}),n.d(e,"reviver",function(){return p});var o=function t(e){r(this,t),this._sdkType=this.constructor._sdkType,this.uuid=e};o._sdkType="UUID";var i=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.lat=e,this.lng=n};i._sdkType="LatLng";var a=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.ne=e,this.sw=n};a._sdkType="LatLngBounds";var c=function t(e,n){r(this,t),this._sdkType=this.constructor._sdkType,this.amount=e,this.currency=n};c._sdkType="Money";var s=function t(e){r(this,t),this._sdkType=this.constructor._sdkType,this.value=e};s._sdkType="BigDecimal";var u=function(t){switch(t&&t._sdkType){case"LatLng":return new i(t.lat,t.lng);case"LatLngBounds":return new a(t.ne,t.sw);case"UUID":return new o(t.uuid);case"Money":return new c(t.amount,t.currency);case"BigDecimal":return new s(t.value);default:return t}},g=function(t,e){return e},p=function(t,e){return u(e)}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(36))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==c||e==s||e==a||e==u}var o=n(5),i=n(6),a="[object AsyncFunction]",c="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=r},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(40);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(a(t))return i(t,r)+"";if(c(t))return g?g.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}var o=n(7),i=n(28),a=n(1),c=n(14),s=1/0,u=o?o.prototype:void 0,g=u?u.toString:void 0;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(42);t.exports=r},function(t,e,n){var r=n(4),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(108),i=n(19);t.exports=r},function(t,e,n){(function(t){var r=n(2),o=n(113),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=a&&a.exports===i,s=c?r.Buffer:void 0,u=s?s.isBuffer:void 0,g=u||o;t.exports=g}).call(e,n(45)(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,n){var r=n(114),o=n(47),i=n(115),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(16),i=n(121),a=n(122),c=n(123),s=n(124),u=n(125);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=c,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t,e,n,a,c){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,a,r,c))}var o=n(126),i=n(3);t.exports=r},function(t,e,n){function r(t,e,n,r,u,g){var p=n&c,l=t.length,f=e.length;if(l!=f&&!(p&&f>l))return!1;var h=g.get(t);if(h&&g.get(e))return h==e;var m=-1,d=!0,y=n&s?new o:void 0;for(g.set(t,e),g.set(e,t);++m=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(a)}),t.exports=c}).call(e,n(169))},function(t,e,n){"use strict";var r=n(0),o=n(171),i=n(63),a=n(173),c=n(174),s=n(67);t.exports=function(t){return new Promise(function(e,u){var g=t.data,p=t.headers;r.isFormData(g)&&delete p["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",h=t.auth.password||"";p.Authorization="Basic "+btoa(f+":"+h)}if(l.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,l.onreadystatechange=function(){if(l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in l?a(l.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?l.response:l.responseText,i={data:r,status:l.status,statusText:l.statusText,headers:n,config:t,request:l};o(e,u,i),l=null}},l.onabort=function(){l&&(u(s("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){u(s("Network Error",t,null,l)),l=null},l.ontimeout=function(){u(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",l)),l=null},r.isStandardBrowserEnv()){var m=n(175),d=(t.withCredentials||c(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;d&&(p[t.xsrfHeaderName]=d)}if("setRequestHeader"in l&&r.forEach(p,function(t,e){void 0===g&&"content-type"===e.toLowerCase()?delete p[e]:l.setRequestHeader(e,t)}),t.withCredentials&&(l.withCredentials=!0),t.responseType)try{l.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){l&&(l.abort(),u(t),l=null)}),void 0===g&&(g=null),l.send(g)})}},function(t,e,n){"use strict";var r=n(172);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){e=e||{};var n={};return r.forEach(["url","method","params","data"],function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(["headers","auth","proxy"],function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){var r=n(43),o=n(182),i=o(r);t.exports=i},function(t,e,n){function r(t,e,n){return e===e?a(t,e,n):o(t,i,n)}var o=n(72),i=n(187),a=n(188);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i0&&void 0!==arguments[0]?arguments[0]:[],e=N(t);return L.a.reader("json",{handlers:u({},e,{":":function(t){return t},set:function(t){return t},list:function(t){return t}}),mapBuilder:U})},B=[Object,L.a.makeWriteHandler({tag:function(){return"map"},rep:function(t){return b()(t,function(t,e,n){return t.set(L.a.keyword(n),e),t},L.a.map())}})],H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.verbose,i=n?"json-verbose":"json";return L.a.writer(i,{handlers:L.a.map([].concat(o(R),B)),transform:function(e){if(d()(e)){if(e._sdkType)return Object(P.toType)(e);var n=O()(t,function(t){return t.appType&&e instanceof t.appType||t.canHandle&&t.canHandle(e)});if(n)return n.writer(e)}return e},handlerForForeign:function(t,e){return Array.isArray(t)?e.get("array"):"object"===r(t)?e.get("map"):null}})},$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=t.reduce(function(t,e){var n={sdkType:e.sdkType||e.type,reader:e.reader},r={sdkType:e.sdkType||e.type,appType:e.appType||e.customType,canHandle:e.canHandle,writer:e.writer};return t.readers.push(n),t.writers.push(r),t},{readers:[],writers:[]}),r=n.readers,o=n.writers;return{reader:q(r),writer:H(o,e)}}},function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function i(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ot(c({params:e,queryParams:n,perRequestOpts:rt(r)},t))}},at=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ot(c({params:e},t))}},ct=function(t){var e=t.method,n=o(t,["method"]);return e&&"post"===e.toLowerCase()?it(n):at(n)},st=function(t){var e=t.baseUrl,n=t.tokenStore,r=o(t,["baseUrl","tokenStore"]);return c({},r,{baseUrl:Object(T.c)(e),tokenStore:n||Object($.a)(n,r.clientId,!!r.secure)})},ut=function(t){if(!t.clientId)throw new Error("clientId must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");return t},gt=function t(e){var n=this;r(this,t);var o=ut(st(c({},V,{},e))),i=b()(W,function(t){return t(o)}),a=[].concat(G).map(function(t){var e=t.path,n=t.apiName,r=t.method,o=t.interceptors,a=void 0===o?[]:o,s=Object(T.a)(e),g=[n].concat(u(s)),p=[n,e].join("/"),l=i[n];return c({},t,{fnPath:s,fullFnPath:g,endpointInterceptors:[].concat(u(a),[et({method:r,url:p,httpOpts:l})])})}),s=a.reduce(function(t,e){var n=e.fullFnPath,r=e.endpointInterceptors;return d()(t,n,r)},{}),g={tokenStore:o.tokenStore,endpointInterceptors:s,clientId:o.clientId,typeHandlers:o.typeHandlers,transitVerbose:o.transitVerbose};[].concat(u(X),Z).map(function(t){var e=t.path,n=t.method,r=t.endpointInterceptorPath,o=t.interceptors;return{path:e,fn:ct({method:n,ctx:g,endpointInterceptors:h()(s,r)||[],interceptors:o})}}).forEach(function(t){var e=t.path,r=t.fn;return d()(n,e,r)})}},function(t,e,n){function r(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[s]=n:delete t[s]),o}var o=n(7),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,s=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){var r=n(82),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=a},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(83),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(25),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(85),i=n(16),a=n(27);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}var o=n(17);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(17);t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(18);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(18);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(18);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(18);t.exports=r},function(t,e,n){function r(t,e,n){return null==t?t:o(t,e,n)}var o=n(29);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];c.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(41),i=n(26),a=Object.prototype,c=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n={};return e=a(e,3),i(t,function(t,r,i){o(n,r,e(t,r,i))}),n}var o=n(41),i=n(43),a=n(10);t.exports=r},function(t,e,n){var r=n(109),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var s=a[t?c:++o];if(!1===n(i[s],s,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e){var n=a(t),r=!n&&i(t),g=!n&&!r&&c(t),l=!n&&!r&&!g&&u(t),f=n||r||g||l,h=f?o(t.length,String):[],m=h.length;for(var d in t)!e&&!p.call(t,d)||f&&("length"==d||g&&("offset"==d||"parent"==d)||l&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||s(d,m))||h.push(d);return h}var o=n(111),i=n(31),a=n(1),c=n(44),s=n(30),u=n(46),g=Object.prototype,p=g.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n0&&n(g)?e>1?r(g,e-1,n,a,c):o(c,g):a||(c[c.length]=g)}return c}var o=n(54),i=n(157);t.exports=r},function(t,e,n){function r(t){return a(t)||i(t)||!!(c&&t&&t[c])}var o=n(7),i=n(31),a=n(1),c=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){var r=n(160),o=n(42),i=n(11),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e){function n(t){var e=0,n=0;return function(){var a=i(),c=o-(a-n);if(n=a,c>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){t.exports=n(163)},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(0),i=n(62),a=n(165),c=n(68),s=n(65),u=r(s);u.Axios=a,u.create=function(t){return r(c(u.defaults,t))},u.Cancel=n(69),u.CancelToken=n(178),u.isCancel=n(64),u.all=function(t){return Promise.all(t)},u.spread=n(179),t.exports=u,t.exports.default=u},function(t,e){/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh From 3e190247a622eeb78643f8244be3ebf15c11967a Mon Sep 17 00:00:00 2001 From: sktoiva Date: Thu, 5 Dec 2019 14:28:25 +0200 Subject: [PATCH 3/3] Bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0a6d074f..255d3f1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharetribe-flex-sdk", - "version": "1.6.0", + "version": "1.7.0", "description": "Sharetribe Flex SDK for JavaScript", "main": "build/sharetribe-flex-sdk-node.js", "browser": "build/sharetribe-flex-sdk-web.js",