openc3-tool-base 5.16.2 → 5.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37824680bf25ac1644217e8675ee201dea6807badb52322e7500983d1251f0f8
4
- data.tar.gz: 3101e920a370c7753cc6ec77d2862571a8e5db51a1efd9da8e690820848637d1
3
+ metadata.gz: 4f07688cd77168470851401e6452271e44aad6820c7422bcb440c5f36d38db1a
4
+ data.tar.gz: c0b716b5b08376fb97dd0d4364d6ffc01b928c670be2b3ed0616c229d91acd96
5
5
  SHA512:
6
- metadata.gz: ad7e93572537b556008f6a181f234324c601c5e6ec9900dad145da9c8d7a6af38d2a90a27f0f7226653295cef38fa6e5d04740f299702ab69572fd6ded6d8ddd
7
- data.tar.gz: 79b7da44785bdc70a0312bd5e60f0fdaf4e32043b3b2f231a05150915cb1b9233acca82d5f0e4b386d21a3dd2ee0ca34f381f32e9e3cd3db75ceb5dc24cd110c
6
+ metadata.gz: 3d9f0b2b3412fbd6922be950324e37620303554769a52554f66294b4282f95ad4b9e92a1e6e550ec4ab18ac65b1f2f79cc2ac3c1b7520545c4e1eb6afc7ebf74
7
+ data.tar.gz: e703b5821a491204309d9c2b29f040448f342d110f02a1dd0fa32830211f0c5070385957141798184df8be438bb8d1acb063bb13067106f91adf84acb095c1a9
@@ -1 +1 @@
1
- const emptyPromise=function(e=null){return new Promise((n=>{n(e)}))};class Auth{updateToken(e,n=!1){return localStorage.openc3Token&&!n||(this.clearTokens(),this.login(location.href)),emptyPromise()}setTokens(){}clearTokens(){delete localStorage.openc3Token}login(e){/^\/login/.test(location.pathname)||(location=`/login?redirect=${encodeURI(e)}`)}logout(){this.clearTokens(),location.reload()}user(){return{name:"Anonymous"}}getInitOptions(){}init(){return emptyPromise(!0)}}var OpenC3Auth=new Auth;Object.defineProperty(OpenC3Auth,"defaultMinValidity",{value:30,writable:!1,enumerable:!0,configurable:!1});
1
+ const emptyPromise=function(e=null){return new Promise((n=>{n(e)}))};class Auth{updateToken(e,n=!1){return localStorage.openc3Token&&!n||(this.clearTokens(),this.login(location.href)),emptyPromise()}setTokens(){}clearTokens(){delete localStorage.openc3Token}login(e){/^\/login/.test(location.pathname)||(location=`/login?redirect=${encodeURI(e)}`)}logout(){this.clearTokens(),location.reload()}user(){return{name:"Anonymous"}}userroles(){return["ALLSCOPES__admin"]}getInitOptions(){}init(){return emptyPromise(!0)}}var OpenC3Auth=new Auth;Object.defineProperty(OpenC3Auth,"defaultMinValidity",{value:30,writable:!1,enumerable:!0,configurable:!1});