@3e/sqa-common 6.17.0-20 → 6.17.0-20hotfix2
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/package.json +1 -1
- package/sqa_common.js +1 -1
package/package.json
CHANGED
package/sqa_common.js
CHANGED
|
@@ -1214,7 +1214,7 @@ function DV(a,b){return function(c,d){function e(){return g(new Y(null,1,5,Z,[1]
|
|
|
1214
1214
|
function EV(a,b){function c(){return lt.h(ak.g(d,function(e){e=X(e);var f=x.g(e,Pw),g=x.g(e,lt),h=x.g(e,$A);return vc(g)?vg.l(e,VE,!1,H([lt,$O.g(null,function(){return $O.g(f.m?f.m():f.call(null),function(k){return $O.g(null,function(){return $O.g(ak.l(d,vg,VE,!0,H([$A,function(){var l=Cy.h(dE.h(YT(k)));return u(l)?l:h}()])),function(){return lP(k)})})})})])):e}))}var d=Yj(new q(null,1,[Pw,b],null));return new q(null,2,[my,DV(function(e,f){return $O.g(null,function(){return $O.g(c(),function(g){return $O.g(null,
|
|
1215
1215
|
function(){var h=lP;var k=Cy.h(dE.h(YT(g)));u(k)?(k=Pk(YT(f),Lx,"Authorization",["Bearer ",v.h(k)].join("")),k=fo.h?fo.h(k):fo.call(null,k),k=a.g?a.g(e,k):a.call(null,e,k)):k=g;return h(k)})})})},function(){return ak.g(d,function(e){e=X(e);var f=x.g(e,lt),g=x.g(e,VE),h=x.g(e,$A);if(!(f instanceof EP))throw Error("Assert failed: (p/promise? promise)");vc(g)||(vc(h)?e=zg.l(e,lt,H([VE])):(f=vg.l,h=new q(null,3,[Gt,tC,dE,new q(null,1,[Cy,h],null),Lx,new q(null,1,["Content-Type","application/json"],null)],
|
|
1216
1216
|
null),h=fo.h?fo.h(h):fo.call(null,h),h=a.g?a.g("/token/refresh",h):a.call(null,"/token/refresh",h),e=f.call(vg,e,VE,!1,H([lt,h]))));return e})}),dq,function(){return Zj(d,new q(null,1,[Pw,b],null))}],null)}if("undefined"===typeof GO||"undefined"===typeof HO||"undefined"===typeof OT||"undefined"===typeof FV)var FV=null;
|
|
1217
|
-
function GV(a,b){b=X(b);var c=x.j(b,Gt,"GET"),d=x.g(b,oB),e=x.g(b,dE);b=x.g(b,Lx);var f=Cm.l(H([b,new q(null,1,["X-SQA-Common-Version","6.17.0-
|
|
1217
|
+
function GV(a,b){b=X(b);var c=x.j(b,Gt,"GET"),d=x.g(b,oB),e=x.g(b,dE);b=x.g(b,Lx);var f=Cm.l(H([b,new q(null,1,["X-SQA-Common-Version","6.17.0-20hotfix2"],null)])),g=FP(),h=FV;u(h)?GP(function(){if(u(d)){var k=v.h(a);var l=v,m=l.h,p=fo(d),r=[],w;for(w in p)Ua(w,p[w],r);k=[k,"?",m.call(l,r.join("\x26"))].join("")}else k=a;l={method:c,headers:fo(f),body:fo(e)};return h.g?h.g(k,l):h.call(null,k,l)}(),function(k){return KP(g,ko(k,H([lo,!0])))}):nP(g,Io("Api fn not set",gj));return g}
|
|
1218
1218
|
var HV=mo(GV),IV=function IV(a){switch(arguments.length){case 2:return IV.g(arguments[0],arguments[1]);case 3:return IV.j(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",v.h(arguments.length)].join(""));}};IV.g=function(a,b){return IV.j(a,b,null)};
|
|
1219
1219
|
IV.j=function(a,b,c){function d(){return l(new Y(null,2,5,Z,[rg,h.g?h.g(a,g):h.call(null,a,g)],null))}c=X(c);var e=x.g(c,vE),f=x.g(c,ar),g=Lk(b,new Y(null,2,5,Z,[oB,qq],null),!0),h=function(){function m(p,r){return u(f)?EP.race(Qc(Gj.g(lP,new Y(null,2,5,Z,[f,GV(p,r)],null)))):GV(p,r)}return Ah.h?Ah.h(m):Ah.call(null,m)}(),k=FP(),l=function r(p){return HP(GP(JP(p),function(w){var A=R(w,0),C=R(w,1);return $O.g(null,function(){return lP(function(){var G=X(C),P=x.g(G,Yn);G=x.g(G,dE);if(z.g(P,200)){var V=
|
|
1220
1220
|
X(G);G=x.g(V,pF);P=x.g(V,eG);var T=x.g(V,uz);V=x.g(V,ay);V=Jk(V,new Y(null,2,5,Z,[Xs,jz],null));if(u(G))return null;u(e)&&(e.h?e.h(P):e.call(null,P));u(T)?(G=Z,P=Ek.g(A,P),T=Lk(g,new Y(null,2,5,Z,[oB,jz],null),V),T=h.g?h.g(a,T):h.call(null,a,T),P=new q(null,2,[$v,TA,To,new Y(null,2,5,G,[P,T],null)],null)):P=Ek.g(A,P);return P}if(z.g(P,404))return A;throw Io(["Non 200 status code returned in paged api call for ",v.h(a)].join(""),g);}())})}),function(w,A){return null!=A?nP(k,A):Mg(w)&&z.g($v.h(w),TA)?
|