@3e/sqa-common 7.15.0-21 → 7.15.0-22

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sqa_common.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3e/sqa-common",
3
- "version": "7.15.0-21",
3
+ "version": "7.15.0-22",
4
4
  "description": "SynaptiQ utilities package",
5
5
  "main": "sqa_common.js",
6
6
  "dependencies": {
package/sqa_common.js CHANGED
@@ -1316,7 +1316,7 @@ function(){return new UJ(new X(null,1,5,Z,[n+1],null),null,null,null)})}switch(x
1316
1316
  function B_(a,b){function c(){return Zs.g(Pj.h(d,function(e){e=S(e);var f=y(e,ax),g=y(e,Zs),h=y(e,lC);return Bc(g)?Bg.l(e,KG,!1,I([Zs,CI.h(KI(null),function(){return CI.h(KI(f.m?f.m():f.call(null)),function(k){return CI.h(KI(Pj.l(d,Bg,KG,!0,I([lC,function(){var l=dz.g(mF.g(VY(k)));return v(l)?l:h}()]))),function(){return KI(k)})})})])):e}))}var d=Nj(new t(null,1,[ax,b],null));return new t(null,2,[Py,A_(function(e,f){return CI.h(KI(null),function(){return CI.h(KI(c()),function(g){var h=KI;var k=dz.g(mF.g(VY(g)));
1317
1317
  v(k)&&(g=xk.O(VY(f),jy,Bg,"Authorization",["Bearer ",w.g(k)].join("")),g=En.g?En.g(g):En.call(null,g),g=a.h?a.h(e,g):a.call(null,e,g));return h(g)})})},function(){return Pj.h(d,function(e){e=S(e);var f=y(e,Zs),g=y(e,KG),h=y(e,lC);if(!(f!=null?p===f.vi||(f.Fc?0:Ic(xI,f)):Ic(xI,f)))throw Error("Assert failed: (p/promise? promise)");Bc(g)||(Bc(h)?e=Dg.l(e,Zs,I([KG])):(f=Bg.l,h=new t(null,3,[zt,PD,mF,new t(null,1,[dz,h],null),jy,new t(null,1,["Content-Type","application/json"],null)],null),h=En.g?En.g(h):
1318
1318
  En.call(null,h),h=a.h?a.h("/token/refresh",h):a.call(null,"/token/refresh",h),e=f.call(Bg,e,KG,!1,I([Zs,h]))));return e})}),Lp,function(){return Oj(d,new t(null,1,[ax,b],null))}],null)}if(typeof GK==="undefined"||typeof HK==="undefined"||typeof LY==="undefined"||typeof C_==="undefined")var C_=null;
1319
- function D_(a,b){b=S(b);var c=rf(b,zt,"GET"),d=y(b,CC),e=y(b,mF);b=y(b,jy);var f=lm.l(I([b,new t(null,1,["X-SQA-Common-Version","7.15.0-21"],null)])),g=new $I,h=C_;v(h)?MJ.h(function(){if(v(d)){var k=w.g(a);var l=w,n=l.g,q=En(d),r=[],x;for(x in q)Ua(x,q[x],r);k=[k,"?",n.call(l,r.join("\x26"))].join("")}else k=a;l={method:c,headers:En(f),body:En(e)};return h.h?h.h(k,l):h.call(null,k,l)}(),function(k){return SJ(g,Jn(k,I([Kn,!0])))}):NI(g,ho("Api fn not set",Ti));return g}
1319
+ function D_(a,b){b=S(b);var c=rf(b,zt,"GET"),d=y(b,CC),e=y(b,mF);b=y(b,jy);var f=lm.l(I([b,new t(null,1,["X-SQA-Common-Version","7.15.0-22"],null)])),g=new $I,h=C_;v(h)?MJ.h(function(){if(v(d)){var k=w.g(a);var l=w,n=l.g,q=En(d),r=[],x;for(x in q)Ua(x,q[x],r);k=[k,"?",n.call(l,r.join("\x26"))].join("")}else k=a;l={method:c,headers:En(f),body:En(e)};return h.h?h.h(k,l):h.call(null,k,l)}(),function(k){return SJ(g,Jn(k,I([Kn,!0])))}):NI(g,ho("Api fn not set",Ti));return g}
1320
1320
  var E_=Ln(D_),F_=function F_(a){switch(arguments.length){case 2:return F_.h(arguments[0],arguments[1]);case 3:return F_.j(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",w.g(arguments.length)].join(""));}};F_.h=function(a,b){return F_.j(a,b,null)};
1321
1321
  F_.j=function(a,b,c){c=S(c);var d=y(c,gG),e=y(c,hr),f=vk(b,new X(null,2,5,Z,[CC,aq],null),!0),g=function(){function h(k,l){v(e)?(k=new X(null,2,5,Z,[e,D_(k,l)],null),k=Sc(oj.h(KI,k)),k=tJ(k)):k=D_(k,l);return k}return Gh.g?Gh.g(h):Gh.call(null,h)}();return LJ(function(h,k){var l=function x(q,r){return QJ(function(A,C){return C!=null?k.g?k.g(C):k.call(null,C):A instanceof UJ?(PI(function(){return Pi(x,Zt.g(A))}),null):h.g?h.g(A):h.call(null,A)},CI.h(KI(null),function(){return CI.h(KI(q),function(A){return CI.h(KI(r),
1322
1322
  function(C){var F=KI;var L=S(C);C=y(L,un);var U=y(L,mF);L=y(L,gH);if(v(L))throw ho("API call cancelled",new t(null,1,[Tr,st],null));if(uf.h(C,200))L=S(U),C=y(L,kI),U=y(L,wA),L=y(L,Cy),L=tk(L,new X(null,2,5,Z,[ys,kA],null)),v(d)&&(d.g?d.g(C):d.call(null,C)),v(U)?(U=Z,C=nk.h(A,C),L=vk(f,new X(null,2,5,Z,[CC,kA],null),L),L=g.h?g.h(a,L):g.call(null,a,L),C=new UJ(new X(null,2,5,U,[C,L],null),null,null,null)):C=nk.h(A,C);else throw ho(["Non 200 status code returned in paged api call for ",w.g(a)].join(""),