@tapni/auth 0.0.82 → 0.0.84
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/dist/TapniAuth.es.js +3 -3
- package/dist/TapniAuth.umd.js +6 -6
- package/package.json +1 -1
- package/src/App.vue +2 -3
- package/src/mixins/auth.mixin.js +1 -1
package/dist/TapniAuth.es.js
CHANGED
|
@@ -8,7 +8,7 @@ import { Capacitor as Qt, registerPlugin as In, WebPlugin as Wo } from "@capacit
|
|
|
8
8
|
import { Browser as hn } from "@capacitor/browser";
|
|
9
9
|
import $o from "qr-code-styling";
|
|
10
10
|
import { sanitizeUrl as Jo } from "@braintree/sanitize-url";
|
|
11
|
-
const Xo = "0.0.
|
|
11
|
+
const Xo = "0.0.84";
|
|
12
12
|
let Un;
|
|
13
13
|
const Ft = {
|
|
14
14
|
setApiRootFromOptions(n) {
|
|
@@ -4605,7 +4605,7 @@ const ze = {
|
|
|
4605
4605
|
);
|
|
4606
4606
|
if (e)
|
|
4607
4607
|
return this.errorHandler(e);
|
|
4608
|
-
t.data.success && this.setLoggedInAccounts(t.data.accounts);
|
|
4608
|
+
t && t.data && t.data.success && this.setLoggedInAccounts(t.data.accounts);
|
|
4609
4609
|
}
|
|
4610
4610
|
},
|
|
4611
4611
|
async loginUsingQR(n) {
|
|
@@ -16654,7 +16654,7 @@ const Su = { id: "ssoapp" }, Au = {
|
|
|
16654
16654
|
return;
|
|
16655
16655
|
this.isSetup = !0, this.setToken(this.$storage.token);
|
|
16656
16656
|
const n = this.getRefreshTokens();
|
|
16657
|
-
this.setRefreshToken(n[0]), await this.getLoggedInAccounts(),
|
|
16657
|
+
this.setRefreshToken(n[0]), await this.getLoggedInAccounts(), this.$emit("ssoLibraryReady", this.$storage);
|
|
16658
16658
|
},
|
|
16659
16659
|
ssoOutgoingEvent(n) {
|
|
16660
16660
|
this.$emit("ssoEvent", n);
|