@enviabybus/react-utility-belt 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/services.cjs.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* js-logger - http://github.com/jonnyreeves/js-logger
|
|
8
8
|
* Jonny Reeves, http://jonnyreeves.co.uk/
|
|
9
9
|
* js-logger may be freely distributed under the MIT license.
|
|
10
|
-
*/(function(e){(function(t){var r={};r.VERSION="1.6.1";var n,s={},o=function(a,p){return function(){return p.apply(a,arguments)}},i=function(){var a=arguments,p=a[0],y,w;for(w=1;w<a.length;w++)for(y in a[w])!(y in p)&&a[w].hasOwnProperty(y)&&(p[y]=a[w][y]);return p},c=function(a,p){return{value:a,name:p}};r.TRACE=c(1,"TRACE"),r.DEBUG=c(2,"DEBUG"),r.INFO=c(3,"INFO"),r.TIME=c(4,"TIME"),r.WARN=c(5,"WARN"),r.ERROR=c(8,"ERROR"),r.OFF=c(99,"OFF");var f=function(a){this.context=a,this.setLevel(a.filterLevel),this.log=this.info};f.prototype={setLevel:function(a){a&&"value"in a&&(this.context.filterLevel=a)},getLevel:function(){return this.context.filterLevel},enabledFor:function(a){var p=this.context.filterLevel;return a.value>=p.value},trace:function(){this.invoke(r.TRACE,arguments)},debug:function(){this.invoke(r.DEBUG,arguments)},info:function(){this.invoke(r.INFO,arguments)},warn:function(){this.invoke(r.WARN,arguments)},error:function(){this.invoke(r.ERROR,arguments)},time:function(a){typeof a=="string"&&a.length>0&&this.invoke(r.TIME,[a,"start"])},timeEnd:function(a){typeof a=="string"&&a.length>0&&this.invoke(r.TIME,[a,"end"])},invoke:function(a,p){n&&this.enabledFor(a)&&n(p,i({level:a},this.context))}};var l=new f({filterLevel:r.OFF});(function(){var a=r;a.enabledFor=o(l,l.enabledFor),a.trace=o(l,l.trace),a.debug=o(l,l.debug),a.time=o(l,l.time),a.timeEnd=o(l,l.timeEnd),a.info=o(l,l.info),a.warn=o(l,l.warn),a.error=o(l,l.error),a.log=a.info})(),r.setHandler=function(a){n=a},r.setLevel=function(a){l.setLevel(a);for(var p in s)s.hasOwnProperty(p)&&s[p].setLevel(a)},r.getLevel=function(){return l.getLevel()},r.get=function(a){return s[a]||(s[a]=new f(i({name:a},l.context)))},r.createDefaultHandler=function(a){a=a||{},a.formatter=a.formatter||function(d,m){m.name&&d.unshift("["+m.name+"]")};var p={},y=function(w,d){Function.prototype.apply.call(w,console,d)};return typeof console>"u"?function(){}:function(w,d){w=Array.prototype.slice.call(w);var m=console.log,h;d.level===r.TIME?(h=(d.name?"["+d.name+"] ":"")+w[0],w[1]==="start"?console.time?console.time(h):p[h]=new Date().getTime():console.timeEnd?console.timeEnd(h):y(m,[h+": "+(new Date().getTime()-p[h])+"ms"])):(d.level===r.WARN&&console.warn?m=console.warn:d.level===r.ERROR&&console.error?m=console.error:d.level===r.INFO&&console.info?m=console.info:d.level===r.DEBUG&&console.debug?m=console.debug:d.level===r.TRACE&&console.trace&&(m=console.trace),a.formatter(w,d),y(m,w))}},r.useDefaults=function(a){r.setLevel(a&&a.defaultLevel||r.DEBUG),r.setHandler(r.createDefaultHandler(a))},r.setDefaults=r.useDefaults,e.exports?e.exports=r:(r._prevLogger=t.Logger,r.noConflict=function(){return t.Logger=r._prevLogger,r},t.Logger=r)})(L.commonjsGlobal)})(vt);var An=vt.exports;const j=L.getDefaultExportFromCjs(An),Ce=e=>typeof e=="string"?e:e.stack||e.toString(),vn=e=>{j.debug("💡",e)},xn=e=>{j.error("❌",Ce(e))},Cn=e=>{j.error("❌",Ce(e))},Pn=e=>{j.info("✅",Ce(e))},Ln=e=>{j.warn("⚠️",e.toString())},Nn=()=>()=>($.useEffect(()=>{j.useDefaults({defaultLevel:j.INFO})},[]),{debug:vn,error:xn,fatal:Cn,info:Pn,warn:Ln}),Fn=e=>({...t})=>({captureEvent:e(t).captureEvent}),Un=({useAdapter:e,HttpService:t})=>ee("TRACKER_SERVICE",Fn(e),[t.ServiceProvider]),kn=({getDistinctId:e,getTimestamp:t,getHeaders:r,transformProperties:n,config:s})=>({HttpService:o})=>{const i=G(o),c=()=>({Authorization:`Bearer ${s.apiKey}`,...r==null?void 0:r()}),f=p=>[s.host,p].filter(Boolean).join("/"),l=(p,y)=>i.post({body:y,headers:c(),url:f(p)});return{captureEvent:Pt("posthog-capture-event",async({event:p,properties:y})=>{const w=s.paths.event,d=e(p,y),m=t==null?void 0:t(p,y),h=n(p,y);await l(w,{api_key:s.apiKey,distinct_id:d,event:p,properties:h,timestamp:m})})}};var xt=(e=>(e.MUTATION="mutation",e.QUERY="query",e))(xt||{});const Bn=()=>{const e=$.createContext(void 0);return{Provider:n=>{const s=L.compilerRuntimeExports.c(3),{children:o,value:i}=n;let c;return s[0]!==o||s[1]!==i?(c=Xe.jsx(e.Provider,{value:i,children:o}),s[0]=o,s[1]=i,s[2]=c):c=s[2],c},useContext:()=>{const n=$.useContext(e);if(n===void 0)throw new Error("Context is missing a provider");return n}}},Ct=(e,t,r)=>{const n=r;return n.serviceMethodKey=t,n.serviceMethodType=e,n},Pt=(e,t)=>Ct("mutation",e,t),Dn=(e,t)=>Ct("query",e,t),ee=(e,t,r)=>{const{useContext:n,Provider:s}=Bn(),o=c=>{const f=L.compilerRuntimeExports.c(6);let l,a;f[0]!==c?({children:l,...a}=c,f[0]=c,f[1]=l,f[2]=a):(l=f[1],a=f[2]);const p=t(a);let y;return f[3]!==l||f[4]!==p?(y=Xe.jsx(s,{value:p,children:l}),f[3]=l,f[4]=p,f[5]=y):y=f[5],y};return o.serviceName=Symbol(e),o.serviceDependencies=r,{ServiceProvider:o,useService:n}},G=e=>e.useService(),_n=(e,t)=>{const r=L.compilerRuntimeExports.c(7);let n;r[0]!==e||r[1]!==t.mutationKey?(n=L.buildSafeQueryKeys([e.serviceMethodKey,e,...t.mutationKey??[]]),r[0]=e,r[1]=t.mutationKey,r[2]=n):n=r[2];let s;return r[3]!==e||r[4]!==t||r[5]!==n?(s={...t,mutationFn:e,mutationKey:n},r[3]=e,r[4]=t,r[5]=n,r[6]=s):s=r[6],Ze.useMutation(s)},Mn=(e,t)=>{const r=L.compilerRuntimeExports.c(
|
|
10
|
+
*/(function(e){(function(t){var r={};r.VERSION="1.6.1";var n,s={},o=function(a,p){return function(){return p.apply(a,arguments)}},i=function(){var a=arguments,p=a[0],y,w;for(w=1;w<a.length;w++)for(y in a[w])!(y in p)&&a[w].hasOwnProperty(y)&&(p[y]=a[w][y]);return p},c=function(a,p){return{value:a,name:p}};r.TRACE=c(1,"TRACE"),r.DEBUG=c(2,"DEBUG"),r.INFO=c(3,"INFO"),r.TIME=c(4,"TIME"),r.WARN=c(5,"WARN"),r.ERROR=c(8,"ERROR"),r.OFF=c(99,"OFF");var f=function(a){this.context=a,this.setLevel(a.filterLevel),this.log=this.info};f.prototype={setLevel:function(a){a&&"value"in a&&(this.context.filterLevel=a)},getLevel:function(){return this.context.filterLevel},enabledFor:function(a){var p=this.context.filterLevel;return a.value>=p.value},trace:function(){this.invoke(r.TRACE,arguments)},debug:function(){this.invoke(r.DEBUG,arguments)},info:function(){this.invoke(r.INFO,arguments)},warn:function(){this.invoke(r.WARN,arguments)},error:function(){this.invoke(r.ERROR,arguments)},time:function(a){typeof a=="string"&&a.length>0&&this.invoke(r.TIME,[a,"start"])},timeEnd:function(a){typeof a=="string"&&a.length>0&&this.invoke(r.TIME,[a,"end"])},invoke:function(a,p){n&&this.enabledFor(a)&&n(p,i({level:a},this.context))}};var l=new f({filterLevel:r.OFF});(function(){var a=r;a.enabledFor=o(l,l.enabledFor),a.trace=o(l,l.trace),a.debug=o(l,l.debug),a.time=o(l,l.time),a.timeEnd=o(l,l.timeEnd),a.info=o(l,l.info),a.warn=o(l,l.warn),a.error=o(l,l.error),a.log=a.info})(),r.setHandler=function(a){n=a},r.setLevel=function(a){l.setLevel(a);for(var p in s)s.hasOwnProperty(p)&&s[p].setLevel(a)},r.getLevel=function(){return l.getLevel()},r.get=function(a){return s[a]||(s[a]=new f(i({name:a},l.context)))},r.createDefaultHandler=function(a){a=a||{},a.formatter=a.formatter||function(d,m){m.name&&d.unshift("["+m.name+"]")};var p={},y=function(w,d){Function.prototype.apply.call(w,console,d)};return typeof console>"u"?function(){}:function(w,d){w=Array.prototype.slice.call(w);var m=console.log,h;d.level===r.TIME?(h=(d.name?"["+d.name+"] ":"")+w[0],w[1]==="start"?console.time?console.time(h):p[h]=new Date().getTime():console.timeEnd?console.timeEnd(h):y(m,[h+": "+(new Date().getTime()-p[h])+"ms"])):(d.level===r.WARN&&console.warn?m=console.warn:d.level===r.ERROR&&console.error?m=console.error:d.level===r.INFO&&console.info?m=console.info:d.level===r.DEBUG&&console.debug?m=console.debug:d.level===r.TRACE&&console.trace&&(m=console.trace),a.formatter(w,d),y(m,w))}},r.useDefaults=function(a){r.setLevel(a&&a.defaultLevel||r.DEBUG),r.setHandler(r.createDefaultHandler(a))},r.setDefaults=r.useDefaults,e.exports?e.exports=r:(r._prevLogger=t.Logger,r.noConflict=function(){return t.Logger=r._prevLogger,r},t.Logger=r)})(L.commonjsGlobal)})(vt);var An=vt.exports;const j=L.getDefaultExportFromCjs(An),Ce=e=>typeof e=="string"?e:e.stack||e.toString(),vn=e=>{j.debug("💡",e)},xn=e=>{j.error("❌",Ce(e))},Cn=e=>{j.error("❌",Ce(e))},Pn=e=>{j.info("✅",Ce(e))},Ln=e=>{j.warn("⚠️",e.toString())},Nn=()=>()=>($.useEffect(()=>{j.useDefaults({defaultLevel:j.INFO})},[]),{debug:vn,error:xn,fatal:Cn,info:Pn,warn:Ln}),Fn=e=>({...t})=>({captureEvent:e(t).captureEvent}),Un=({useAdapter:e,HttpService:t})=>ee("TRACKER_SERVICE",Fn(e),[t.ServiceProvider]),kn=({getDistinctId:e,getTimestamp:t,getHeaders:r,transformProperties:n,config:s})=>({HttpService:o})=>{const i=G(o),c=()=>({Authorization:`Bearer ${s.apiKey}`,...r==null?void 0:r()}),f=p=>[s.host,p].filter(Boolean).join("/"),l=(p,y)=>i.post({body:y,headers:c(),url:f(p)});return{captureEvent:Pt("posthog-capture-event",async({event:p,properties:y})=>{const w=s.paths.event,d=e(p,y),m=t==null?void 0:t(p,y),h=n(p,y);await l(w,{api_key:s.apiKey,distinct_id:d,event:p,properties:h,timestamp:m})})}};var xt=(e=>(e.MUTATION="mutation",e.QUERY="query",e))(xt||{});const Bn=()=>{const e=$.createContext(void 0);return{Provider:n=>{const s=L.compilerRuntimeExports.c(3),{children:o,value:i}=n;let c;return s[0]!==o||s[1]!==i?(c=Xe.jsx(e.Provider,{value:i,children:o}),s[0]=o,s[1]=i,s[2]=c):c=s[2],c},useContext:()=>{const n=$.useContext(e);if(n===void 0)throw new Error("Context is missing a provider");return n}}},Ct=(e,t,r)=>{const n=r;return n.serviceMethodKey=t,n.serviceMethodType=e,n},Pt=(e,t)=>Ct("mutation",e,t),Dn=(e,t)=>Ct("query",e,t),ee=(e,t,r)=>{const{useContext:n,Provider:s}=Bn(),o=c=>{const f=L.compilerRuntimeExports.c(6);let l,a;f[0]!==c?({children:l,...a}=c,f[0]=c,f[1]=l,f[2]=a):(l=f[1],a=f[2]);const p=t(a);let y;return f[3]!==l||f[4]!==p?(y=Xe.jsx(s,{value:p,children:l}),f[3]=l,f[4]=p,f[5]=y):y=f[5],y};return o.serviceName=Symbol(e),o.serviceDependencies=r,{ServiceProvider:o,useService:n}},G=e=>e.useService(),_n=(e,t)=>{const r=L.compilerRuntimeExports.c(7);let n;r[0]!==e||r[1]!==t.mutationKey?(n=L.buildSafeQueryKeys([e.serviceMethodKey,e,...t.mutationKey??[]]),r[0]=e,r[1]=t.mutationKey,r[2]=n):n=r[2];let s;return r[3]!==e||r[4]!==t||r[5]!==n?(s={...t,mutationFn:e,mutationKey:n},r[3]=e,r[4]=t,r[5]=n,r[6]=s):s=r[6],Ze.useMutation(s)},Mn=(e,t)=>{const r=L.compilerRuntimeExports.c(10),{initialVariables:n,...s}=t,[o,i]=$.useState(n);let c;r[0]!==e||r[1]!==o?(c=()=>e(o),r[0]=e,r[1]=o,r[2]=c):c=r[2];const f=L.buildSafeQueryKeys([e.serviceMethodKey,e,o,...s.queryKey]);let l;r[3]!==s||r[4]!==c||r[5]!==f?(l={...s,queryFn:c,queryKey:f},r[3]=s,r[4]=c,r[5]=f,r[6]=l):l=r[6];const a=Ze.useQuery(l);let p;return r[7]!==a||r[8]!==o?(p={...a,setVariables:i,variables:o},r[7]=a,r[8]=o,r[9]=p):p=r[9],p};exports.ServiceMethodType=xt;exports.createAxiosHttpAdapter=Tn;exports.createErrorService=Ft;exports.createEventBasedErrorAdapter=Ut;exports.createHttpService=Bt;exports.createJsLogLoggerAdapter=Nn;exports.createLoggerBuilder=At;exports.createLoggerService=On;exports.createPosthogTrackerAdapter=kn;exports.createService=ee;exports.createTrackerService=Un;exports.useBuildMutation=Pt;exports.useBuildQuery=Dn;exports.useService=G;exports.useServiceMutation=_n;exports.useServiceQuery=Mn;
|
package/dist/services.es.js
CHANGED
|
@@ -2224,7 +2224,7 @@ const Br = () => {
|
|
|
2224
2224
|
mutationKey: r
|
|
2225
2225
|
}, n[3] = e, n[4] = t, n[5] = r, n[6] = s) : s = n[6], Bt(s);
|
|
2226
2226
|
}, ys = (e, t) => {
|
|
2227
|
-
const n = W.c(
|
|
2227
|
+
const n = W.c(10), {
|
|
2228
2228
|
initialVariables: r,
|
|
2229
2229
|
...s
|
|
2230
2230
|
} = t, [o, i] = kt(r);
|
|
@@ -2232,17 +2232,18 @@ const Br = () => {
|
|
|
2232
2232
|
n[0] !== e || n[1] !== o ? (c = () => e(o), n[0] = e, n[1] = o, n[2] = c) : c = n[2];
|
|
2233
2233
|
const f = Ze([e.serviceMethodKey, e, o, ...s.queryKey]);
|
|
2234
2234
|
let l;
|
|
2235
|
-
n[3] !==
|
|
2235
|
+
n[3] !== s || n[4] !== c || n[5] !== f ? (l = {
|
|
2236
|
+
...s,
|
|
2236
2237
|
queryFn: c,
|
|
2237
2238
|
queryKey: f
|
|
2238
|
-
}, n[3] =
|
|
2239
|
+
}, n[3] = s, n[4] = c, n[5] = f, n[6] = l) : l = n[6];
|
|
2239
2240
|
const a = Mt(l);
|
|
2240
2241
|
let p;
|
|
2241
|
-
return n[
|
|
2242
|
+
return n[7] !== a || n[8] !== o ? (p = {
|
|
2242
2243
|
...a,
|
|
2243
2244
|
setVariables: i,
|
|
2244
2245
|
variables: o
|
|
2245
|
-
}, n[
|
|
2246
|
+
}, n[7] = a, n[8] = o, n[9] = p) : p = n[9], p;
|
|
2246
2247
|
};
|
|
2247
2248
|
export {
|
|
2248
2249
|
_r as ServiceMethodType,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/services/services.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,iBAAiB,EAEjB,eAAe,EACf,cAAc,EACf,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,oBAAY,iBAAiB;IAC3B,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,qBAAqB,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GACjE,MAAM,OAAO,CAAC,GAAG,CAAC,GAClB,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,GACxB,CAAC,SAAS,CAAC,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,GAClC,CAAC,SAAS,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAExC,MAAM,MAAM,aAAa,CAAC,IAAI,EAAE,GAAG,IAAI,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG;IACxE,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,IAAI,EAAE,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG;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