diff --git a/public/main.foss.dart.js b/public/main.foss.dart.js index 82accedb6ee4..a1fdeb0fe4ca 100644 --- a/public/main.foss.dart.js +++ b/public/main.foss.dart.js @@ -221264,7 +221264,7 @@ if(B.c.c0(a,"https://invoicing.co"))e="" s=A.feT() r=e==null?"":e q=t.N -p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.169","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q) +p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.170","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q) if(b.length!==0)p.A(0,"X-API-Token",b) s=c==null if((s?"":c).length!==0)p.A(0,"X-API-OAUTH-PASSWORD",s?"":c) @@ -221276,10 +221276,10 @@ aqK(a,b){return this.a6T(a,b,null,null,null)}, UQ(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b if(p>=500)throw A.p(this.auv(p,b.gk_(0),b.c)) else if(r==null){p=b.gk_(0).length>200?B.c.aP(b.gk_(0),0,200):b.gk_(0) -throw A.p("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.M7("5.0.169") +throw A.p("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.M7("5.0.170") q.toString s=A.Wa(s,A.M7(q)) -if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.169 < Minimum v"+q+"]") +if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.170 < Minimum v"+q+"]") else{s=A.Wa(A.M7(r),A.M7("5.0.4")) if(s<0)throw A.p("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]") else if(p>=400)throw A.p(this.auv(p,b.gk_(0),b.c))}}}, @@ -221329,7 +221329,7 @@ return s.a=s.a+("\n \u2022 "+A.t(a))}, $S:11} A.eS7.prototype={ $1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3" -a.go=a.cy="5.0.169" +a.go=a.cy="5.0.170" a.ay=new A.eS4(this.a)}, $S:3402} A.eS4.prototype={ @@ -223356,7 +223356,7 @@ s=r==="system"?s.cx:r==="dark"}else s=!1 if(s)o=p}return A.h2(o)}, gPH(a){var s="v"+this.y.a[this.x.a].b.x.x if(s.length!==0)s+="-" -return B.c.ap(s+A.fx7(),B.a.ga6("5.0.169".split(".")))}, +return B.c.ap(s+A.fx7(),B.a.ga6("5.0.170".split(".")))}, gv4(){var s=this,r=s.w.RG.b.h(0,s.y.a[s.x.a].b.f.dk).a.a,q=A.J(r).i("a7<1>") return A.v(new A.a7(r,new A.bD1(s),q),!0,q.i("x.E"))}, gaK8(){var s=this.w.RG.b.h(0,this.y.a[this.x.a].b.f.dk).a