diff --git a/dist/ff-request.js b/dist/ff-request.js index 2bc1f52..a3c1957 100644 --- a/dist/ff-request.js +++ b/dist/ff-request.js @@ -421,11 +421,15 @@ class Z { if (![0, 1].includes(n.code)) throw W(n.code, n.msg, n.data, e, n == null ? void 0 : n.res); return [n.code, n.msg, n.data, e, n == null ? void 0 : n.res]; - }).then((n) => ((N == "#" || c && p === "GET") && l(this, m)[N].set(g, n), n)).then((n) => l(this, R).get(g).forEach((s, f, a) => { - s && s[0](n), delete a[f]; - })).catch((n) => { - l(this, m)[N].delete(g), l(this, R).get(g).forEach((s, f, a) => { - s && s[1](n instanceof X ? n : W(-1, n, null, e)), delete a[f]; + }).then((n) => ((N == "#" || c && p === "GET") && l(this, m)[N].set(g, n), n)).then((n) => { + var s; + return (s = l(this, R).get(g)) == null ? void 0 : s.forEach((f, a, h) => { + f && f[0](n), delete h[a]; + }); + }).catch((n) => { + var s; + l(this, m)[N].delete(g), (s = l(this, R).get(g)) == null || s.forEach((f, a, h) => { + f && f[1](n instanceof X ? n : W(-1, n, null, e)), delete h[a]; }); }).finally(() => l(this, R).delete(g))), new Proxy(B, { get: (n, s) => (...f) => n.then((a) => W(...a)[s](...f)).catch((a) => { diff --git a/dist/ff-request.umd.cjs b/dist/ff-request.umd.cjs index 95e928d..3cfa3e6 100644 --- a/dist/ff-request.umd.cjs +++ b/dist/ff-request.umd.cjs @@ -1 +1 @@ -(function(p,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(p=typeof globalThis<"u"?globalThis:p||self,v(p["ff-request"]={}))})(this,function(p){"use strict";var ye=Object.defineProperty;var be=(p,v,S)=>v in p?ye(p,v,{enumerable:!0,configurable:!0,writable:!0,value:S}):p[v]=S;var P=(p,v,S)=>(be(p,typeof v!="symbol"?v+"":v,S),S),ue=(p,v,S)=>{if(!v.has(p))throw TypeError("Cannot "+S)};var l=(p,v,S)=>(ue(p,v,"read from private field"),S?S.call(p):v.get(p)),C=(p,v,S)=>{if(v.has(p))throw TypeError("Cannot add the same private member more than once");v instanceof WeakSet?v.add(p):v.set(p,S)},I=(p,v,S,Y)=>(ue(p,v,"write to private field"),Y?Y.call(p,S):v.set(p,S),S);var G,B,q,D,Q,W,L,X,Z,H,K,k,j,R;function v(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function S(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,g=new Uint8Array(u);i!==h;){for(var A=r[i],O=0,y=u-1;(A!==0||O>>0,g[y]=A%d>>>0,A=A/d>>>0;if(A!==0)throw new Error("Non-zero carry");f=O,i++}for(var o=u-f;o!==u&&g[o]===0;)o++;for(var b=m.repeat(s);o>>0,u=new Uint8Array(h);r[s];){var g=e[r.charCodeAt(s)];if(g===255)return;for(var A=0,O=h-1;(g!==0||A>>0,u[O]=g%256>>>0,g=g/256>>>0;if(g!==0)throw new Error("Non-zero carry");i=A,s++}for(var y=h-i;y!==h&&u[y]===0;)y++;for(var o=new Uint8Array(f+(h-y)),b=f;y!==h;)o[b++]=u[y++];return o}function z(r){var s=$(r);if(s)return s;throw new Error("Non-base"+d+" character")}return{encode:F,decodeUnsafe:$,decode:z}}var Y=S;const ce=v(Y);var ne={};(function(t){(function(e){e([],function(){var n=-1,a=-2,c=-3,w=-4,d=-5,m=function(s,f){f=f||{};var i=f.verbose||!1;i&&console.log("Normalize the JSON Object"),s=typeof s=="string"?this.JSON.parse(s):s,i&&console.log("Creating a empty dictionary");var h={strings:[],integers:[],floats:[]};i&&console.log("Creating the AST");var u=function y(o){i&&console.log("Calling recursiveAstBuilder with "+this.JSON.stringify(o));var b=typeof o;if(o===null)return{type:"null",index:c};if(typeof o>"u")return{type:"undefined",index:d};if(o instanceof Array){var N=["@"];for(var T in o)o.hasOwnProperty(T)&&N.push(y(o[T]));return N}if(b==="object"){var N=["$"];for(var M in o)o.hasOwnProperty(M)&&(N.push(y(M)),N.push(y(o[M])));return N}if(o==="")return{type:"empty",index:w};if(b==="string"){var _=r.call(h.strings,o);return _==-1&&(h.strings.push(J(o)),_=h.strings.length-1),{type:"strings",index:_}}if(b==="number"&&o%1===0){var _=r.call(h.integers,o);return _==-1&&(h.integers.push($(o)),_=h.integers.length-1),{type:"integers",index:_}}if(b==="number"){var _=r.call(h.floats,o);return _==-1&&(h.floats.push(o),_=h.floats.length-1),{type:"floats",index:_}}if(b==="boolean")return{type:"boolean",index:o?n:a};throw new Error("Unexpected argument of type "+typeof o)}(s),g=h.strings.length,A=h.integers.length;h.floats.length,i&&console.log("Parsing the dictionary");var O=h.strings.join("|");return O+="^"+h.integers.join("|"),O+="^"+h.floats.join("|"),i&&console.log("Parsing the structure"),O+="^"+function y(o){if(i&&console.log("Calling a recursiveParser with "+this.JSON.stringify(o)),o instanceof Array){var b=o.shift();for(var N in o)o.hasOwnProperty(N)&&(b+=y(o[N])+"|");return(b[b.length-1]==="|"?b.slice(0,-1):b)+"]"}var T=o.type,M=o.index;if(T==="strings")return $(M);if(T==="integers")return $(g+M);if(T==="floats")return $(g+A+M);if(T==="boolean")return o.index;if(T==="null")return c;if(T==="undefined")return d;if(T==="empty")return w;throw new TypeError("The item is alien!")}(u),i&&console.log("Ending parser"),f.debug?{dictionary:h,ast:u,packed:O}:O},V=function(s,f){f=f||{};var i=s.split("^");f.verbose&&console.log("Building dictionary");var h=[],u=i[0];if(u!==""){u=u.split("|"),f.verbose&&console.log("Parse the strings dictionary");for(var g=0,A=u.length;gl(this,Q).call(this,n),ownKeys:()=>Object.keys(l(this,D).getPrototypeOf()||{}),getPrototypeOf:()=>l(this,B)?this:this.data,getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,writable:!0,value:l(this,D).getPrototypeOf()})});C(this,Q,e=>e==="$toast"?l(this,L):e==="msg"?l(this,W):e==="then"||e==="resp"?(I(this,q,!0),I(this,B,e==="resp"),l(this,X)):e==="catch"?l(this,Z):e==="IS_ECHO_MSG"?l(this,q):Reflect.get(this,e));C(this,W,(e=a=>a,n=!1)=>(l(this,L).call(this),I(this,B,n),Promise.resolve(e==null?void 0:e(l(this,D).getPrototypeOf()))));C(this,L,()=>{l(this,q)&&(I(this,q,!1),le.onToast(this.code,this.message))});C(this,X,e=>[0,1].includes(this.code)?Promise.resolve(e==null?void 0:e(l(this,D).getPrototypeOf())):Promise.reject(l(this,G)));C(this,Z,e=>Promise.resolve(e(l(this,G))));return this.code=e,this.message=n,this.data=a,this.url=c,this.res=w,I(this,G,new Proxy(this,l(this,D)))}}G=new WeakMap,B=new WeakMap,q=new WeakMap,D=new WeakMap,Q=new WeakMap,W=new WeakMap,L=new WeakMap,X=new WeakMap,Z=new WeakMap;const te=(t,e,n,a="/",c="")=>new ee(t,e,n,a,c);var ie=["utf8","utf-8","unicode-1-1-utf-8"];function de(t){if(ie.indexOf(t)<0&&typeof t<"u"&&t!=null)throw new RangeError("Invalid encoding type. Only utf-8 is supported");this.encoding="utf-8",this.encode=function(e){if(typeof e!="string")throw new TypeError("passed argument must be of tye string");var n=unescape(encodeURIComponent(e)),a=new Uint8Array(n.length);const c=n.split("");for(let w=0;w"u")return"";var a=typeof n<"u"&&a in n?n.stream:!1;if(typeof a!="boolean")throw new TypeError("stream option must be boolean");if(ArrayBuffer.isView(e)){var c=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),w=new Array(c.length);for(let d=0;d{let e=5381;for(let n=0;n>>0).toString(16)},we=(t,e)=>t.replace(new RegExp(`^${e}+|${e}+$`,"g"),""),fe=t=>pe.encode(t||""),he=t=>ve.decode(new DataView(t),{});class re{constructor(e,n,a=({})=>Promise.reject({code:-1,msg:"请初始化HTTP请求方法主体"})){C(this,H,void 0);C(this,K,void 0);C(this,k,void 0);C(this,j,{"#":new Map,$:new Map});C(this,R,new Map);P(this,"request",({url:e="/",method:n="GET",...a},c=!1)=>{var $,z;const w=n.toUpperCase(),d=ae(JSON.stringify([e,w,a])),m=($=e==null?void 0:e.includes)!=null&&$.call(e,"/_/")?"#":"$",{promise:V,resolve:J,reject:F}=Promise.withResolvers();return l(this,j)[m].has(d)?(console.log("缓存命中",e),J(l(this,j)[m].get(d))):(l(this,R).has(d)?l(this,R).get(d).push([J,F]):l(this,R).set(d,[[J,F]]),(z=l(this,R).get(d))!=null&&z.some(r=>r)&&l(this,H).call(this,{url:e,method:w,...a}).then(r=>{if(![0,1].includes(r.code))throw te(r.code,r.msg,r.data,e,r==null?void 0:r.res);return[r.code,r.msg,r.data,e,r==null?void 0:r.res]}).then(r=>((m=="#"||c&&w==="GET")&&l(this,j)[m].set(d,r),r)).then(r=>l(this,R).get(d).forEach((s,f,i)=>{s&&s[0](r),delete i[f]})).catch(r=>{l(this,j)[m].delete(d),l(this,R).get(d).forEach((s,f,i)=>{s&&s[1](r instanceof ee?r:te(-1,r,null,e)),delete i[f]})}).finally(()=>l(this,R).delete(d))),new Proxy(V,{get:(r,s)=>(...f)=>r.then(i=>te(...i)[s](...f)).catch(i=>{if(!i instanceof ee)throw i;return typeof i[s]=="function"?i[s](...f):i[s]})})});P(this,"get",(e,n={})=>this.request({url:e,method:"GET",params:n}));P(this,"post",(e,n={},a={})=>this.request({url:e,method:"POST",data:n,params:a}));P(this,"put",(e,n={},a={})=>this.request({url:e,method:"PUT",data:n,params:a}));P(this,"del",(e,n={},a={})=>this.request({url:e,method:"DELETE",data:n,params:a}));P(this,"download",(e,n)=>{});P(this,"cache",(e,n={})=>this.request({url:e,method:"GET",params:n},!0));P(this,"list",(e,n={})=>this.get(`/api/${e}/${this.encode(n)}`));P(this,"getAppInfo",()=>{});P(this,"refreshCache",(e=!1)=>{e&&l(this,j)["#"].clear(),l(this,j).$.clear()});P(this,"decode",(e="",n={})=>{if(e===void 0||e===""||e===null)return n;try{const a=l(this,K).decode(e).buffer;return se.unpack(he(a))}catch{return console.warn("core.decode",e),n}});P(this,"encode",(e={})=>{const n=JSON.stringify(e,(a,c)=>c===void 0?null:c);return l(this,K).encode(fe(se.pack(n)))});I(this,k,e),I(this,H,a),I(this,K,ce(n))}}H=new WeakMap,K=new WeakMap,k=new WeakMap,j=new WeakMap,R=new WeakMap;const le=re;re.onUnhandledRejection=t=>{var e,n,a,c,w,d;t!=null&&t.IS_ECHO_MSG?((e=t==null?void 0:t.$toast)==null||e.call(t),(n=t==null?void 0:t.preventDefault)==null||n.call(t)):(a=t.reason)!=null&&a.IS_ECHO_MSG&&((w=(c=t.reason)==null?void 0:c.$toast)==null||w.call(c),(d=t==null?void 0:t.preventDefault)==null||d.call(t))},re.onToast=(t,e)=>[0,1].includes(t)?console.log(e):console.warn(e),p.default=le,p.signature=ae,p.str2uint8array=fe,p.trim=we,p.uint8array2str=he,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); +(function(p,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(p=typeof globalThis<"u"?globalThis:p||self,v(p["ff-request"]={}))})(this,function(p){"use strict";var ye=Object.defineProperty;var be=(p,v,S)=>v in p?ye(p,v,{enumerable:!0,configurable:!0,writable:!0,value:S}):p[v]=S;var P=(p,v,S)=>(be(p,typeof v!="symbol"?v+"":v,S),S),ue=(p,v,S)=>{if(!v.has(p))throw TypeError("Cannot "+S)};var l=(p,v,S)=>(ue(p,v,"read from private field"),S?S.call(p):v.get(p)),C=(p,v,S)=>{if(v.has(p))throw TypeError("Cannot add the same private member more than once");v instanceof WeakSet?v.add(p):v.set(p,S)},I=(p,v,S,Y)=>(ue(p,v,"write to private field"),Y?Y.call(p,S):v.set(p,S),S);var G,B,q,D,Q,W,L,X,Z,H,K,k,j,R;function v(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function S(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,g=new Uint8Array(u);i!==h;){for(var A=r[i],O=0,y=u-1;(A!==0||O>>0,g[y]=A%d>>>0,A=A/d>>>0;if(A!==0)throw new Error("Non-zero carry");f=O,i++}for(var o=u-f;o!==u&&g[o]===0;)o++;for(var b=m.repeat(s);o>>0,u=new Uint8Array(h);r[s];){var g=e[r.charCodeAt(s)];if(g===255)return;for(var A=0,O=h-1;(g!==0||A>>0,u[O]=g%256>>>0,g=g/256>>>0;if(g!==0)throw new Error("Non-zero carry");i=A,s++}for(var y=h-i;y!==h&&u[y]===0;)y++;for(var o=new Uint8Array(f+(h-y)),b=f;y!==h;)o[b++]=u[y++];return o}function z(r){var s=$(r);if(s)return s;throw new Error("Non-base"+d+" character")}return{encode:F,decodeUnsafe:$,decode:z}}var Y=S;const ce=v(Y);var ne={};(function(t){(function(e){e([],function(){var n=-1,a=-2,c=-3,w=-4,d=-5,m=function(s,f){f=f||{};var i=f.verbose||!1;i&&console.log("Normalize the JSON Object"),s=typeof s=="string"?this.JSON.parse(s):s,i&&console.log("Creating a empty dictionary");var h={strings:[],integers:[],floats:[]};i&&console.log("Creating the AST");var u=function y(o){i&&console.log("Calling recursiveAstBuilder with "+this.JSON.stringify(o));var b=typeof o;if(o===null)return{type:"null",index:c};if(typeof o>"u")return{type:"undefined",index:d};if(o instanceof Array){var N=["@"];for(var T in o)o.hasOwnProperty(T)&&N.push(y(o[T]));return N}if(b==="object"){var N=["$"];for(var M in o)o.hasOwnProperty(M)&&(N.push(y(M)),N.push(y(o[M])));return N}if(o==="")return{type:"empty",index:w};if(b==="string"){var _=r.call(h.strings,o);return _==-1&&(h.strings.push(J(o)),_=h.strings.length-1),{type:"strings",index:_}}if(b==="number"&&o%1===0){var _=r.call(h.integers,o);return _==-1&&(h.integers.push($(o)),_=h.integers.length-1),{type:"integers",index:_}}if(b==="number"){var _=r.call(h.floats,o);return _==-1&&(h.floats.push(o),_=h.floats.length-1),{type:"floats",index:_}}if(b==="boolean")return{type:"boolean",index:o?n:a};throw new Error("Unexpected argument of type "+typeof o)}(s),g=h.strings.length,A=h.integers.length;h.floats.length,i&&console.log("Parsing the dictionary");var O=h.strings.join("|");return O+="^"+h.integers.join("|"),O+="^"+h.floats.join("|"),i&&console.log("Parsing the structure"),O+="^"+function y(o){if(i&&console.log("Calling a recursiveParser with "+this.JSON.stringify(o)),o instanceof Array){var b=o.shift();for(var N in o)o.hasOwnProperty(N)&&(b+=y(o[N])+"|");return(b[b.length-1]==="|"?b.slice(0,-1):b)+"]"}var T=o.type,M=o.index;if(T==="strings")return $(M);if(T==="integers")return $(g+M);if(T==="floats")return $(g+A+M);if(T==="boolean")return o.index;if(T==="null")return c;if(T==="undefined")return d;if(T==="empty")return w;throw new TypeError("The item is alien!")}(u),i&&console.log("Ending parser"),f.debug?{dictionary:h,ast:u,packed:O}:O},V=function(s,f){f=f||{};var i=s.split("^");f.verbose&&console.log("Building dictionary");var h=[],u=i[0];if(u!==""){u=u.split("|"),f.verbose&&console.log("Parse the strings dictionary");for(var g=0,A=u.length;gl(this,Q).call(this,n),ownKeys:()=>Object.keys(l(this,D).getPrototypeOf()||{}),getPrototypeOf:()=>l(this,B)?this:this.data,getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,writable:!0,value:l(this,D).getPrototypeOf()})});C(this,Q,e=>e==="$toast"?l(this,L):e==="msg"?l(this,W):e==="then"||e==="resp"?(I(this,q,!0),I(this,B,e==="resp"),l(this,X)):e==="catch"?l(this,Z):e==="IS_ECHO_MSG"?l(this,q):Reflect.get(this,e));C(this,W,(e=a=>a,n=!1)=>(l(this,L).call(this),I(this,B,n),Promise.resolve(e==null?void 0:e(l(this,D).getPrototypeOf()))));C(this,L,()=>{l(this,q)&&(I(this,q,!1),le.onToast(this.code,this.message))});C(this,X,e=>[0,1].includes(this.code)?Promise.resolve(e==null?void 0:e(l(this,D).getPrototypeOf())):Promise.reject(l(this,G)));C(this,Z,e=>Promise.resolve(e(l(this,G))));return this.code=e,this.message=n,this.data=a,this.url=c,this.res=w,I(this,G,new Proxy(this,l(this,D)))}}G=new WeakMap,B=new WeakMap,q=new WeakMap,D=new WeakMap,Q=new WeakMap,W=new WeakMap,L=new WeakMap,X=new WeakMap,Z=new WeakMap;const te=(t,e,n,a="/",c="")=>new ee(t,e,n,a,c);var ie=["utf8","utf-8","unicode-1-1-utf-8"];function de(t){if(ie.indexOf(t)<0&&typeof t<"u"&&t!=null)throw new RangeError("Invalid encoding type. Only utf-8 is supported");this.encoding="utf-8",this.encode=function(e){if(typeof e!="string")throw new TypeError("passed argument must be of tye string");var n=unescape(encodeURIComponent(e)),a=new Uint8Array(n.length);const c=n.split("");for(let w=0;w"u")return"";var a=typeof n<"u"&&a in n?n.stream:!1;if(typeof a!="boolean")throw new TypeError("stream option must be boolean");if(ArrayBuffer.isView(e)){var c=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),w=new Array(c.length);for(let d=0;d{let e=5381;for(let n=0;n>>0).toString(16)},we=(t,e)=>t.replace(new RegExp(`^${e}+|${e}+$`,"g"),""),fe=t=>pe.encode(t||""),he=t=>ve.decode(new DataView(t),{});class re{constructor(e,n,a=({})=>Promise.reject({code:-1,msg:"请初始化HTTP请求方法主体"})){C(this,H,void 0);C(this,K,void 0);C(this,k,void 0);C(this,j,{"#":new Map,$:new Map});C(this,R,new Map);P(this,"request",({url:e="/",method:n="GET",...a},c=!1)=>{var $,z;const w=n.toUpperCase(),d=ae(JSON.stringify([e,w,a])),m=($=e==null?void 0:e.includes)!=null&&$.call(e,"/_/")?"#":"$",{promise:V,resolve:J,reject:F}=Promise.withResolvers();return l(this,j)[m].has(d)?(console.log("缓存命中",e),J(l(this,j)[m].get(d))):(l(this,R).has(d)?l(this,R).get(d).push([J,F]):l(this,R).set(d,[[J,F]]),(z=l(this,R).get(d))!=null&&z.some(r=>r)&&l(this,H).call(this,{url:e,method:w,...a}).then(r=>{if(![0,1].includes(r.code))throw te(r.code,r.msg,r.data,e,r==null?void 0:r.res);return[r.code,r.msg,r.data,e,r==null?void 0:r.res]}).then(r=>((m=="#"||c&&w==="GET")&&l(this,j)[m].set(d,r),r)).then(r=>{var s;return(s=l(this,R).get(d))==null?void 0:s.forEach((f,i,h)=>{f&&f[0](r),delete h[i]})}).catch(r=>{var s;l(this,j)[m].delete(d),(s=l(this,R).get(d))==null||s.forEach((f,i,h)=>{f&&f[1](r instanceof ee?r:te(-1,r,null,e)),delete h[i]})}).finally(()=>l(this,R).delete(d))),new Proxy(V,{get:(r,s)=>(...f)=>r.then(i=>te(...i)[s](...f)).catch(i=>{if(!i instanceof ee)throw i;return typeof i[s]=="function"?i[s](...f):i[s]})})});P(this,"get",(e,n={})=>this.request({url:e,method:"GET",params:n}));P(this,"post",(e,n={},a={})=>this.request({url:e,method:"POST",data:n,params:a}));P(this,"put",(e,n={},a={})=>this.request({url:e,method:"PUT",data:n,params:a}));P(this,"del",(e,n={},a={})=>this.request({url:e,method:"DELETE",data:n,params:a}));P(this,"download",(e,n)=>{});P(this,"cache",(e,n={})=>this.request({url:e,method:"GET",params:n},!0));P(this,"list",(e,n={})=>this.get(`/api/${e}/${this.encode(n)}`));P(this,"getAppInfo",()=>{});P(this,"refreshCache",(e=!1)=>{e&&l(this,j)["#"].clear(),l(this,j).$.clear()});P(this,"decode",(e="",n={})=>{if(e===void 0||e===""||e===null)return n;try{const a=l(this,K).decode(e).buffer;return se.unpack(he(a))}catch{return console.warn("core.decode",e),n}});P(this,"encode",(e={})=>{const n=JSON.stringify(e,(a,c)=>c===void 0?null:c);return l(this,K).encode(fe(se.pack(n)))});I(this,k,e),I(this,H,a),I(this,K,ce(n))}}H=new WeakMap,K=new WeakMap,k=new WeakMap,j=new WeakMap,R=new WeakMap;const le=re;re.onUnhandledRejection=t=>{var e,n,a,c,w,d;t!=null&&t.IS_ECHO_MSG?((e=t==null?void 0:t.$toast)==null||e.call(t),(n=t==null?void 0:t.preventDefault)==null||n.call(t)):(a=t.reason)!=null&&a.IS_ECHO_MSG&&((w=(c=t.reason)==null?void 0:c.$toast)==null||w.call(c),(d=t==null?void 0:t.preventDefault)==null||d.call(t))},re.onToast=(t,e)=>[0,1].includes(t)?console.log(e):console.warn(e),p.default=le,p.signature=ae,p.str2uint8array=fe,p.trim=we,p.uint8array2str=he,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); diff --git a/package.json b/package.json index a8453ba..4e2d749 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ff-request", "private": true, - "version": "0.9.10", + "version": "0.9.11", "type": "module", "files": [ "dist"