@tapni/auth 0.0.42 → 0.0.44

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -45,6 +45,7 @@ export default {
45
45
  }
46
46
  await this.loginSetup(response)
47
47
  this.getLoggedInAccounts()
48
+ // TODO: Check if same as Google Login
48
49
  this.$router.push('/' + response.data.data.username + '#edit')
49
50
  setTimeout(() => {
50
51
  this.appleLoad = false
@@ -396,12 +396,12 @@ export default {
396
396
  AuthService.logout({ token: this.refreshToken }, this.$storage);
397
397
  }
398
398
 
399
- this.$storage.username = null;
400
- this.$storage.ssoUser = null;
401
- this.$storage.UserId = null;
402
- this.setLoggedInUserId(null);
403
- this.setToken(null);
404
- this.setRefreshToken(null);
399
+ this.$storage.username = '';
400
+ this.$storage.ssoUser = '';
401
+ this.$storage.UserId = '';
402
+ this.setLoggedInUserId('');
403
+ this.setToken('');
404
+ this.setRefreshToken('');
405
405
 
406
406
  if (this.refreshToken) {
407
407
  Object.keys(this.loggedInAccounts).forEach((username) => {
@@ -46,11 +46,10 @@ export default {
46
46
  }
47
47
  await this.loginSetup(response)
48
48
  this.getLoggedInAccounts()
49
- // this.$router.push('/' + response.data.data.username + '#edit')
49
+ // TODO: Pass proper variable isModal
50
50
  this.loginSuccess({ ...response, isModal: false });
51
51
  setTimeout(() => {
52
52
  this.googleLoad = false
53
- //EventBus.$emit('ssoEvent', {name: 'setLoading', data: false})
54
53
  }, 1000)
55
54
  } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)
56
55
  } else {
package/dist/.gitkeep DELETED
File without changes
@@ -1,11 +0,0 @@
1
- {
2
- "src/install.js": {
3
- "file": "TapniAuth.umd.js",
4
- "src": "src/install.js",
5
- "isEntry": true
6
- },
7
- "style.css": {
8
- "file": "style.css",
9
- "src": "style.css"
10
- }
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "applinks": {
3
- "apps": [],
4
- "details": [
5
- {
6
- "appID": "J7PL58C44N.co.tapni.app",
7
- "paths": ["*"]
8
- }
9
- ]
10
- }
11
- }
@@ -1,12 +0,0 @@
1
- [{
2
- "relation": ["delegate_permission/common.handle_all_urls"],
3
- "target": {
4
- "namespace": "android_app",
5
- "package_name": "co.tapni.app",
6
- "sha256_cert_fingerprints":
7
- [
8
- "B5:E6:1C:2F:E6:57:A8:A8:53:E9:10:4D:40:7C:A4:1C:61:A6:05:B1:67:19:3B:87:BA:5D:FD:F7:62:1B:E7:94",
9
- "54:D6:D1:9A:91:74:AD:8E:51:C3:63:53:55:CB:A1:B3:D2:A4:79:AF:5E:93:A0:DC:9E:01:8A:4E:60:4D:C3:60"
10
- ]
11
- }
12
- }]
@@ -1,7 +0,0 @@
1
- {
2
- "associatedApplications": [
3
- {
4
- "applicationId": "6c0662cb-3333-436d-a092-b5a37c50599e"
5
- }
6
- ]
7
- }