@castleio/castle-js
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -5,3 +5,3 @@ if(typeof window !=="undefined"){(function(){var o=["Onpxfcnpr","Qryrgr","Fcnpr","Ragre","Gno","nhqvb","ivqrb","anzr","vq","fgevat","nqqRiragYvfgrare","nggnpuRirag","qrgnpuRirag","erzbirRiragYvfgrare","ba","trgBjaCebcreglAnzrf","trgCebgbglcrBs","trgBjaCebcreglQrfpevcgbe","cyngsbez","iraqbe","hfreNtrag","cebqhpgFho","ynathntr","uneqjnerPbapheerapl","qrivprZrzbel","zvzrGlcrf","wninRanoyrq","pbbxvrRanoyrq","perqragvnyf","oyhrgbbgu","fgbentr","crezvffvbaf","freivprJbexre","qbAbgGenpx","cyhtvaf","ohvyqVQ","qrcgu","riny","bfpch","qbphzragZbqr", | ||
"gbb%zhpu%erphefvba","Pnaabg%ernq%cebcregl%'o'%bs%haqrsvarq","(ibvq%0)%vf%haqrsvarq","haqrsvarq%vf%abg%na%bowrpg%(rinyhngvat%'(ibvq%0).o')","Pnaabg%ernq%cebcregvrf%bs%haqrsvarq%(ernqvat%'o')","Reebe","ZnpVagry","Jva32","vCubar","Yvahk%nezi8y","raHF","rfRF","seSE","cgOE","raTO","qrQR","ehEH","Tbbtyr%Vap.","Nccyr%Pbzchgre,%Vap.","rznvy","cubar","ertvfgrerq_ng","genvgf","fvtangher","wjg","hey","ersreere","inyhrf","cebcregvrf","Zngu"];function n(n){for(var r,t,e,u=o[n],i="",c=13%26,f=0;f<u.length;f++)i+= | ||
(t=c,65<=(e=(r=u.charAt(f)).charCodeAt())&&e<=90?String.fromCharCode((e-65+t)%26+65):97<=e&&e<=122?String.fromCharCode((e-97+t)%26+97):32==e?"%":r);return i}var t,d,a,q,m,z,M,w,k,I,x,R,j,S,C,E,T,O,P,F,A,N,Q,V,G,D,J,L,Z,H,B,K,Y,X,U,$,W,nn,rn,tn,en,un,cn,r=n(0),e=n(1),u=n(2),i=n(3),c=n(4),v=[r,e,8+"",46+""],fn=v.concat([u,i,c,32+"",13+"",10+""]),on="2.1.6",p=0,an=void 0,s=null,vn=Object,_n=n(5),sn=n(6),r=n(7),e=n(8),hn=255,bn=15,gn=n(9),pn=1535E6,yn=function(){},ln=[],dn=6,qn=vn.assign||function(){for(var n= | ||
(t=c,65<=(e=(r=u.charAt(f)).charCodeAt())&&e<=90?String.fromCharCode((e-65+t)%26+65):97<=e&&e<=122?String.fromCharCode((e-97+t)%26+97):32==e?"%":r);return i}var t,d,a,q,m,z,M,w,k,I,x,R,j,S,C,E,T,O,P,F,A,N,Q,V,G,D,J,L,Z,H,B,K,Y,X,U,$,W,nn,rn,tn,en,un,cn,r=n(0),e=n(1),u=n(2),i=n(3),c=n(4),v=[r,e,8+"",46+""],fn=v.concat([u,i,c,32+"",13+"",10+""]),on="2.1.7",p=0,an=void 0,s=null,vn=Object,_n=n(5),sn=n(6),r=n(7),e=n(8),hn=255,bn=15,gn=n(9),pn=1535E6,yn=function(){},ln=[],dn=6,qn=vn.assign||function(){for(var n= | ||
[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var t=n[0],e=void 0,u=1,i=n.length;u<i;u++)for(var c in e=n[u])e.hasOwnProperty(c)&&(t[c]=e[c]);return t},h=function(n){return n!==an&&n!==s},mn=function(n){return h(n)&&""!==n},zn=function(n){return typeof n===gn},Mn=function(n){return n!==an},wn=function(n){return n||an},kn=function(n){return n?1:0},In=function(n,r){return-1<n.indexOf(r)},b=function(n){return n.navigator},xn=function(n){return n.document},Rn=function(n){return n.screen},jn=function(n){return n.location}, | ||
@@ -50,3 +50,3 @@ Sn=function(n,r,t){return n.setAttribute(r,t)},Cn=function(n,r){if(n.getAttribute)return n.getAttribute(r)},En=function(n){return JSON.stringify(n)},Tn=function(n,r){for(var t=[],e=0,u=n;e<u.length;e++){var i=u[e];t.push(r(i))}return t},On=function(n){var r,t=[];for(r in n)n.hasOwnProperty(r)&&t.push(n[r]);return t},Pn=function(n){var r,t=[];for(r in n)n.hasOwnProperty(r)&&t.push(r);return t},Fn=function(n,r){for(var t=Array(n),e=t.length-1;0<=e;e--)t[e]=r;return t},An=function(n){if(vn(n)!==n)return{}; | ||
c),dr(n,"verbose")&&(c=!!n.verbose,_f.K=c),Mo&&(v=l=nu,We=_={createRequestToken:function(){var e={then:function(n,r){var t;return qf&&!e._value&&(jf(v),e._value=function(){var n;if(df)return n=v,(If()||Rf(n,br())).$}()),e._value?n(e._value):(n=n,t=e,wf(v,sf()),mf.push([n,t])),e}};return e},page:function(n){var u=v,r=_.createRequestToken(),i=n,n={},c=sf();if(!h(c.U)||!h(i)||!h(i.user)&&!h(i.userJwt))return c.K&&(c.U?bf(u,Ai):bf(u,Fi)),Sf(n,!1);var f=dr(i,co)?i[co]:jn(u).href,o=dr(i,fo)?i[fo]:xn(u).title|| | ||
f,a=dr(i,oo)?i[oo]:xn(u).referrer;return Nf(0,c.Y,c.U,function(e){return r.then(function(n){var r=c.U,t={user:i.user,name:o,url:f,referrer:a},r=io(u,r,t.userJwt?eo({jwt:t.userJwt}):ro(t.user),[Hf(n,Vf,t,[fo,co,oo],ln)]);e({data:r})})},Af,n,c.X)},form:function(n){var e=v,r=_.createRequestToken(),u=n,n={},i=sf();if(!h(i.U)||!h(u)||!h(u.user)&&!h(u.userJwt)||!h(u.name))return i.K&&(i.U?bf(e,Ai):bf(e,Fi)),Sf(n,!1);var t=$n();return t-_o<so?Sf(n,!1):(_o=t,Nf(0,i.Y,i.U,function(t){return r.then(function(n){var r= | ||
f,a=dr(i,oo)?i[oo]:xn(u).referrer;return Nf(0,c.Y,c.U,function(e){return r.then(function(n){var r=c.U,t={user:i.user,userJwt:i.userJwt,name:o,url:f,referrer:a},r=io(u,r,t.userJwt?eo({jwt:t.userJwt}):ro(t.user),[Hf(n,Vf,t,[fo,co,oo],ln)]);e({data:r})})},Af,n,c.X)},form:function(n){var e=v,r=_.createRequestToken(),u=n,n={},i=sf();if(!h(i.U)||!h(u)||!h(u.user)&&!h(u.userJwt)||!h(u.name))return i.K&&(i.U?bf(e,Ai):bf(e,Fi)),Sf(n,!1);var t=$n();return t-_o<so?Sf(n,!1):(_o=t,Nf(0,i.Y,i.U,function(t){return r.then(function(n){var r= | ||
i.U,n=io(e,r,(r=u).userJwt?eo({jwt:r.userJwt}):ro(r.user),[Hf(n,Gf,r,[ao,vo],[vo])]);t({data:n})})},Ff,n,i.X))},custom:function(n){return e=v,r=_.createRequestToken(),u=n,n={},i=sf(),h(i.U)&&h(u)&&(h(u.user)||h(u.userJwt))&&h(u.name)?Nf(0,i.Y,i.U,function(t){return r.then(function(n){var r=i.U,n=io(e,r,(r=u).userJwt?eo({jwt:r.userJwt}):ro(r.user),[Hf(n,Jf,r,[ho,bo],[bo])]);t({data:n})})},Ff,n,i.X):(i.K&&(i.U?bf(e,Ai):bf(e,Fi)),Sf(n,!1));var e,r,u,i},injectTokenOnSubmit:function(r,t){r.preventDefault? | ||
@@ -53,0 +53,0 @@ r.preventDefault():r.returnValue=!1;var e=r.target||r.srcElement;_.createRequestToken().then(function(n){Sn(function(n,r){for(var t=0,e=r.childNodes;t<e.length;t++){var u=e[t];if(Cn(u,lo)===qo)return u}n=xn(n).createElement("input");return Sn(n,"type","hidden"),Sn(n,lo,qo),r.appendChild(n),n}(v,e),"value",n),t?t(r):e.submit()})},formEventOnSubmit:function(n,r,t,e){if(!n.preventDefault)return!e||void e(n,null);n.preventDefault();var u=n.target||n.srcElement,r=qn(zn(r)?{userJwt:r}:{user:r||{}},function(n){for(var r= |
@@ -6,3 +6,3 @@ (function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((n="undefined"!=typeof globalThis?globalThis:n||self)["@castleio/castle-js"]={})})(this,function(r){var o=["Onpxfcnpr","Qryrgr","Fcnpr","Ragre","Gno","nhqvb","ivqrb","anzr","vq","fgevat","nqqRiragYvfgrare","nggnpuRirag","qrgnpuRirag","erzbirRiragYvfgrare","ba","trgBjaCebcreglAnzrf","trgCebgbglcrBs","trgBjaCebcreglQrfpevcgbe","cyngsbez","iraqbe","hfreNtrag","cebqhpgFho", | ||
"rfRF","seSE","cgOE","raTO","qrQR","ehEH","Tbbtyr%Vap.","Nccyr%Pbzchgre,%Vap.","rznvy","cubar","ertvfgrerq_ng","genvgf","fvtangher","wjg","hey","ersreere","inyhrf","cebcregvrf","Zngu"];function n(n){for(var r,t,e,u=o[n],i="",c=13%26,f=0;f<u.length;f++)i+=(t=c,65<=(e=(r=u.charAt(f)).charCodeAt())&&e<=90?String.fromCharCode((e-65+t)%26+65):97<=e&&e<=122?String.fromCharCode((e-97+t)%26+97):32==e?"%":r);return i}var t,m,u,z,M,w,k,x,I,j,R,C,S,E,T,P,F,O,A,N,Q,G,V,D,J,L,Z,H,B,K,Y,X,U,p,$,W,nn,rn,tn,en,un, | ||
cn,fn,i=n(0),c=n(1),f=n(2),a=n(3),v=n(4),_=[i,c,8+"",46+""],on=_.concat([f,a,v,32+"",13+"",10+""]),an="2.1.6",g=0,vn=void 0,l=null,_n=Object,sn=n(5),hn=n(6),i=n(7),c=n(8),bn=255,pn=15,gn=n(9),yn=1535E6,ln=function(){},dn=[],qn=6,mn=function(t,e,u){var i=vn,c=l;return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return clearTimeout(c),u?i=t.apply(l,n):c=setTimeout(function(){if(c=l,!u)return i=t.apply(l,n)},e),i}},zn=_n.assign||function(){for(var n=[],r=0;r<arguments.length;r++)n[r]= | ||
cn,fn,i=n(0),c=n(1),f=n(2),a=n(3),v=n(4),_=[i,c,8+"",46+""],on=_.concat([f,a,v,32+"",13+"",10+""]),an="2.1.7",g=0,vn=void 0,l=null,_n=Object,sn=n(5),hn=n(6),i=n(7),c=n(8),bn=255,pn=15,gn=n(9),yn=1535E6,ln=function(){},dn=[],qn=6,mn=function(t,e,u){var i=vn,c=l;return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return clearTimeout(c),u?i=t.apply(l,n):c=setTimeout(function(){if(c=l,!u)return i=t.apply(l,n)},e),i}},zn=_n.assign||function(){for(var n=[],r=0;r<arguments.length;r++)n[r]= | ||
arguments[r];for(var t=n[0],e=void 0,u=1,i=n.length;u<i;u++)for(var c in e=n[u])e.hasOwnProperty(c)&&(t[c]=e[c]);return t},d=function(n){return n!==vn&&n!==l},Mn=function(n){return d(n)&&""!==n},wn=function(n){return typeof n===gn},kn=function(n){return n!==vn},xn=function(n){return n||vn},In=function(n){return n?1:0},jn=function(n,r){return-1<n.indexOf(r)},h=function(n){return n.navigator},Rn=function(n){return n.document},Cn=function(n){return n.screen},Sn=function(n){return n.location},En=function(n, | ||
@@ -59,9 +59,9 @@ r,t){return n.setAttribute(r,t)},Tn=function(n,r){if(n.getAttribute)return n.getAttribute(r)},Pn=function(n){return JSON.stringify(n)},Fn=function(n,r){for(var t=[],e=0,u=n;e<u.length;e++){var i=u[e];t.push(r(i))}return t},On=function(n){var r,t=[];for(r in n)n.hasOwnProperty(r)&&t.push(n[r]);return t},An=function(n){var r,t=[];for(r in n)n.hasOwnProperty(r)&&t.push(r);return t},Nn=function(n,r){for(var t=Array(n),e=t.length-1;0<=e;e--)t[e]=r;return t},Qn=function(n){if(_n(n)!==n)return{};for(var r in n)Mn(n[r])|| | ||
zo="Castle is not configured",Mo=function(){if(We)return We;throw zo;},wo=function(n){var v,_=n;We=v={createRequestToken:function(){var e={then:function(n,r){var t;return qf&&!e._value&&(Cf(_),e._value=function(n){if(df)return(If()||Rf(n,gr()))["in"]}(_)),e._value?n(e._value):(n=n,t=e,wf(_,sf()),mf.push([n,t])),e}};return e},page:function(n){var u=_,r=v.createRequestToken(),i=n,n={},c=sf();if(!d(c.$)||!d(i)||!d(i.user)&&!d(i.userJwt))return c.Y&&(c.$?bf(u,Oi):bf(u,Fi)),Sf(n,!1);var f=mr(i,fo)?i[fo]: | ||
Sn(u).href,o=mr(i,oo)?i[oo]:Rn(u).title||f,a=mr(i,ao)?i[ao]:Rn(u).referrer;return Qf(0,c.X,c.$,function(e){return r.then(function(n){var r=c.$,t={user:i.user,name:o,url:f,referrer:a},r=co(u,r,t.userJwt?uo({jwt:t.userJwt}):to(t.user),[Bf(n,Vf,t,[oo,fo,ao],dn)]);e({data:r})})},Nf,n,c.U)},form:function(n){var e=_,r=v.createRequestToken(),u=n,n={},i=sf();if(!d(i.$)||!d(u)||!d(u.user)&&!d(u.userJwt)||!d(u.name))return i.Y&&(i.$?bf(e,Oi):bf(e,Fi)),Sf(n,!1);var t=nr();return t-so<ho?Sf(n,!1):(so=t,Qf(0, | ||
i.X,i.$,function(t){return r.then(function(n){var r=i.$,n=co(e,r,(r=u).userJwt?uo({jwt:r.userJwt}):to(r.user),[Bf(n,Df,r,[vo,_o],[_o])]);t({data:n})})},Af,n,i.U))},custom:function(n){return e=_,r=v.createRequestToken(),u=n,n={},i=sf(),d(i.$)&&d(u)&&(d(u.user)||d(u.userJwt))&&d(u.name)?Qf(0,i.X,i.$,function(t){return r.then(function(n){var r=i.$,n=co(e,r,(r=u).userJwt?uo({jwt:r.userJwt}):to(r.user),[Bf(n,Lf,r,[bo,po],[po])]);t({data:n})})},Af,n,i.U):(i.Y&&(i.$?bf(e,Oi):bf(e,Fi)),Sf(n,!1));var e,r, | ||
u,i},injectTokenOnSubmit:function(r,t){r.preventDefault?r.preventDefault():r.returnValue=!1;var e=r.target||r.srcElement;v.createRequestToken().then(function(n){En(function(n,r){for(var t=0,e=r.childNodes;t<e.length;t++){var u=e[t];if(Tn(u,qo)===mo)return u}n=Rn(n).createElement("input");return En(n,"type","hidden"),En(n,qo,mo),r.appendChild(n),n}(_,e),"value",n),t?t(r):e.submit()})},formEventOnSubmit:function(n,r,t,e){if(!n.preventDefault)return!e||void e(n,null);n.preventDefault();var u=n.target|| | ||
n.srcElement,r=zn(wn(r)?{userJwt:r}:{user:r||{}},function(n){for(var r=new FormData(n),t={},e=0,u=n.querySelectorAll("[".concat(go,"]"));e<u.length;e++){var i=u[e],c=Tn(i,go),i=Tn(i,lo);r.has(i)&&(t[c]=""+r.get(i))}return{name:Tn(n,yo),values:t}}(u));v.form(r).then(function(r){t&&t.injectToken?v.injectTokenOnSubmit(n,function(n){return e?e(n,r):u.submit()}):e?e(n,r):u.submit()})}}},ko=!0;r.configure=function(n){var r,t,n=n||{};(nu=mr(n,"window")?n.window:nu)||"undefined"!=typeof window&&(nu=window), | ||
nu&&(mr(n,"cookieDomain")&&(r=n.cookieDomain,/\S+\.\S{2,}$/.test(r)&&($e=r)),mr(n,"avoidCookies")&&(r=!!n.avoidCookies,_f.K=r),sf().K||($e=$e||function(n){for(var r=0,t=Rn(n),e=Sn(n).hostname,u="".concat(ff).concat(nr()),i=e.split(".");r<i.length-1&&(e=i.slice(-1-++r).join("."),uf(n,u,u,"domain=".concat(e,";")),!jn(t.cookie,"".concat(u,"=").concat(u))););return af(n,u),e}(nu)),mr(n,"pk")&&(r=n.pk,_f.$=Mn(r)?r.slice(0,35):vn,xf(nu)),mr(n,"apiUrl")&&(r=n.apiUrl,_f.X=r),mr(n,"timeout")&&(r=n.timeout, | ||
_f.U=r),mr(n,"verbose")&&(r=!!n.verbose,_f.Y=r),ko&&(wo(t=nu),u=Nn(4,l),x=e(Ot,ge),I=e(Tt,ge),R=e(Ot,ge),C=e(Tt,ge),S=e(Pt,ge),j=e(Pt,ge,l,l,l,2,!0,dt),p=he(!1,dt),$=he(!1,dt),W=he(!1,dt),nn=he(!1,dt),rn=he(!1,dt),tn=he(!1,dt),en=he(!1,dt),un=e(Pt,l,l,l,l,2,!0,dt),cn=e(Ot,l,l,l,l,2,!0,dt),E=e(Ot,l,[rt,nt],l,Wt),T=e(Nt,ye,[$r,Ur],l,Wt),P=e(At,ye,[$r,Ur],l,Wt),A=e(Ot,le,[$r]),N=e(Ot,le,[Ur]),F=e(Ot,le,[$r,Ur],l,Wt),O=e(Ot,le,[Ur,$r],l,Wt),Z=e(Ot,l,[et,tt,ut],Ut,re),H=e(Ot,l,[et,tt,ut],Ut,ne),Q=e(Ft), | ||
G=e(Ot,l,[Wr]),D=e(St,l,l,l,l,3,!1,dt),J=e(St,ge,l,l,l,3,!1,dt),L=e(Et,l,l,l,l,3,!1,dt),V=e(Ot,l,[Wr,$r],l,Wt),B=e(Nt,l,[$r],l,ie),K=e(Nt,l,[$r],l,te),Y=e(Nt,l,[$r],l,ee),X=e(Nt,l,[$r],l,ue),U=e(Ot,l,l,l,l,2,!0,qt),z=kt(Qt,[$r]),M=kt(Vt),k=kt(l,[et],$t),w=kt(l),m=Nn(ot.length,0),kc(t,function(){kf(t),xf(nu)},function(){return Cf(t)}),ko=!1))},r.createRequestToken=function(){return Mo().createRequestToken()},r.custom=function(n){return Mo().custom(n)},r.form=function(n){return Mo().form(n)},r.formEventOnSubmit= | ||
function(n,r,t,e){return Mo().formEventOnSubmit(n,r,t,e)},r.getVersion=function(){return an},r.injectTokenOnSubmit=function(n,r){return Mo().injectTokenOnSubmit(n,r)},r.page=function(n){return Mo().page(n)},Object.defineProperty(r,"__esModule",{value:!0})}); | ||
Sn(u).href,o=mr(i,oo)?i[oo]:Rn(u).title||f,a=mr(i,ao)?i[ao]:Rn(u).referrer;return Qf(0,c.X,c.$,function(e){return r.then(function(n){var r=c.$,t={user:i.user,userJwt:i.userJwt,name:o,url:f,referrer:a},r=co(u,r,t.userJwt?uo({jwt:t.userJwt}):to(t.user),[Bf(n,Vf,t,[oo,fo,ao],dn)]);e({data:r})})},Nf,n,c.U)},form:function(n){var e=_,r=v.createRequestToken(),u=n,n={},i=sf();if(!d(i.$)||!d(u)||!d(u.user)&&!d(u.userJwt)||!d(u.name))return i.Y&&(i.$?bf(e,Oi):bf(e,Fi)),Sf(n,!1);var t=nr();return t-so<ho?Sf(n, | ||
!1):(so=t,Qf(0,i.X,i.$,function(t){return r.then(function(n){var r=i.$,n=co(e,r,(r=u).userJwt?uo({jwt:r.userJwt}):to(r.user),[Bf(n,Df,r,[vo,_o],[_o])]);t({data:n})})},Af,n,i.U))},custom:function(n){return e=_,r=v.createRequestToken(),u=n,n={},i=sf(),d(i.$)&&d(u)&&(d(u.user)||d(u.userJwt))&&d(u.name)?Qf(0,i.X,i.$,function(t){return r.then(function(n){var r=i.$,n=co(e,r,(r=u).userJwt?uo({jwt:r.userJwt}):to(r.user),[Bf(n,Lf,r,[bo,po],[po])]);t({data:n})})},Af,n,i.U):(i.Y&&(i.$?bf(e,Oi):bf(e,Fi)),Sf(n, | ||
!1));var e,r,u,i},injectTokenOnSubmit:function(r,t){r.preventDefault?r.preventDefault():r.returnValue=!1;var e=r.target||r.srcElement;v.createRequestToken().then(function(n){En(function(n,r){for(var t=0,e=r.childNodes;t<e.length;t++){var u=e[t];if(Tn(u,qo)===mo)return u}n=Rn(n).createElement("input");return En(n,"type","hidden"),En(n,qo,mo),r.appendChild(n),n}(_,e),"value",n),t?t(r):e.submit()})},formEventOnSubmit:function(n,r,t,e){if(!n.preventDefault)return!e||void e(n,null);n.preventDefault(); | ||
var u=n.target||n.srcElement,r=zn(wn(r)?{userJwt:r}:{user:r||{}},function(n){for(var r=new FormData(n),t={},e=0,u=n.querySelectorAll("[".concat(go,"]"));e<u.length;e++){var i=u[e],c=Tn(i,go),i=Tn(i,lo);r.has(i)&&(t[c]=""+r.get(i))}return{name:Tn(n,yo),values:t}}(u));v.form(r).then(function(r){t&&t.injectToken?v.injectTokenOnSubmit(n,function(n){return e?e(n,r):u.submit()}):e?e(n,r):u.submit()})}}},ko=!0;r.configure=function(n){var r,t,n=n||{};(nu=mr(n,"window")?n.window:nu)||"undefined"!=typeof window&& | ||
(nu=window),nu&&(mr(n,"cookieDomain")&&(r=n.cookieDomain,/\S+\.\S{2,}$/.test(r)&&($e=r)),mr(n,"avoidCookies")&&(r=!!n.avoidCookies,_f.K=r),sf().K||($e=$e||function(n){for(var r=0,t=Rn(n),e=Sn(n).hostname,u="".concat(ff).concat(nr()),i=e.split(".");r<i.length-1&&(e=i.slice(-1-++r).join("."),uf(n,u,u,"domain=".concat(e,";")),!jn(t.cookie,"".concat(u,"=").concat(u))););return af(n,u),e}(nu)),mr(n,"pk")&&(r=n.pk,_f.$=Mn(r)?r.slice(0,35):vn,xf(nu)),mr(n,"apiUrl")&&(r=n.apiUrl,_f.X=r),mr(n,"timeout")&& | ||
(r=n.timeout,_f.U=r),mr(n,"verbose")&&(r=!!n.verbose,_f.Y=r),ko&&(wo(t=nu),u=Nn(4,l),x=e(Ot,ge),I=e(Tt,ge),R=e(Ot,ge),C=e(Tt,ge),S=e(Pt,ge),j=e(Pt,ge,l,l,l,2,!0,dt),p=he(!1,dt),$=he(!1,dt),W=he(!1,dt),nn=he(!1,dt),rn=he(!1,dt),tn=he(!1,dt),en=he(!1,dt),un=e(Pt,l,l,l,l,2,!0,dt),cn=e(Ot,l,l,l,l,2,!0,dt),E=e(Ot,l,[rt,nt],l,Wt),T=e(Nt,ye,[$r,Ur],l,Wt),P=e(At,ye,[$r,Ur],l,Wt),A=e(Ot,le,[$r]),N=e(Ot,le,[Ur]),F=e(Ot,le,[$r,Ur],l,Wt),O=e(Ot,le,[Ur,$r],l,Wt),Z=e(Ot,l,[et,tt,ut],Ut,re),H=e(Ot,l,[et,tt,ut], | ||
Ut,ne),Q=e(Ft),G=e(Ot,l,[Wr]),D=e(St,l,l,l,l,3,!1,dt),J=e(St,ge,l,l,l,3,!1,dt),L=e(Et,l,l,l,l,3,!1,dt),V=e(Ot,l,[Wr,$r],l,Wt),B=e(Nt,l,[$r],l,ie),K=e(Nt,l,[$r],l,te),Y=e(Nt,l,[$r],l,ee),X=e(Nt,l,[$r],l,ue),U=e(Ot,l,l,l,l,2,!0,qt),z=kt(Qt,[$r]),M=kt(Vt),k=kt(l,[et],$t),w=kt(l),m=Nn(ot.length,0),kc(t,function(){kf(t),xf(nu)},function(){return Cf(t)}),ko=!1))},r.createRequestToken=function(){return Mo().createRequestToken()},r.custom=function(n){return Mo().custom(n)},r.form=function(n){return Mo().form(n)}, | ||
r.formEventOnSubmit=function(n,r,t,e){return Mo().formEventOnSubmit(n,r,t,e)},r.getVersion=function(){return an},r.injectTokenOnSubmit=function(n,r){return Mo().injectTokenOnSubmit(n,r)},r.page=function(n){return Mo().page(n)},Object.defineProperty(r,"__esModule",{value:!0})}); |
{ | ||
"name": "@castleio/castle-js", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Castle Fingerprinting Script", | ||
@@ -5,0 +5,0 @@ "main": "dist/castle.js", |
@@ -272,2 +272,3 @@ # Castle Fingerprinting Script | ||
* 2.1.7 – page command bug fixes and improvements | ||
* 2.1.6 – fixed JWT validation issue | ||
@@ -274,0 +275,0 @@ * 2.1.5 – readme update |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76301
318
308