@nitra/cap 7.1.4 → 7.4.1

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.
@@ -112,7 +112,7 @@ import { useRouter } from 'vue-router'
112
112
  import { date, Notify } from 'quasar'
113
113
  import { Capacitor } from '@capacitor/core'
114
114
  import { checkToken } from '@nitra/vite-boot/token'
115
- import { autoLogin, defaultLogin } from '@nitra/vite-boot/login'
115
+ import { autoLogin, defaultLogin } from '@nitra/vite-boot/token'
116
116
  import tf from '@nitra/tfm'
117
117
 
118
118
  const router = useRouter()
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nitra/cap",
3
- "version": "7.1.4",
3
+ "version": "7.4.1",
4
4
  "description": "Nitra capacitor components",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./index.js"
8
8
  },
9
9
  "scripts": {
10
- "fix": "yarn dlx eslint --fix . && npx prettier --write . "
10
+ "fix": "bunx eslint --fix . && bunx prettier --write . "
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
@@ -20,15 +20,15 @@
20
20
  },
21
21
  "homepage": "https://github.com/nitra/cap",
22
22
  "dependencies": {
23
- "@capacitor-community/apple-sign-in": "^7.0.1",
24
- "@capacitor-firebase/messaging": "^7.3.1",
25
- "@capacitor/core": "^7.4.3",
26
- "@capawesome/capacitor-app-update": "^7.0.1",
23
+ "@capacitor-community/apple-sign-in": "^7.1.0",
24
+ "@capacitor-firebase/messaging": "^7.4.0",
25
+ "@capacitor/core": "^7.4.4",
26
+ "@capawesome/capacitor-app-update": "^7.2.0",
27
27
  "@codetrix-studio/capacitor-google-auth": "^3.4.0-rc.4",
28
- "@firebase/app": "^0.14.3",
28
+ "@firebase/app": "^0.14.6",
29
29
  "@nitra/tfm": "^2.4.0",
30
- "@nitra/vite-boot": "^3.7.1",
31
- "@simplewebauthn/browser": "^11.0.0",
32
- "firebase": "^12.3.0"
30
+ "@nitra/vite-boot": "^5.0.4",
31
+ "@simplewebauthn/browser": "^13.2.2",
32
+ "firebase": "^12.6.0"
33
33
  }
34
34
  }
@@ -104,18 +104,13 @@ function env(props) {
104
104
  ```
105
105
 
106
106
  # For local test you can add this code
107
+
107
108
  if (process.env.npm_lifecycle_event === 'start-remote-dev') {
108
- proxy['^/n-push/.*'] = ''
109
+ proxy['^/n-push/.*'] = ''
109
110
  } else {
110
- proxy['^/n-push/.*'] = '<http://0.0.0.0:8090>'
111
+ proxy['^/n-push/.*'] = '<http://0.0.0.0:8090>'
111
112
  }
112
113
 
113
114
  /n-push/ - url of the notify project
114
115
 
115
116
  The `notify project` is a server-side component designed to handle API requests for saving user push tokens. It uses the Fastify framework and JWT-based security for authentication.
116
-
117
- ### Install the plugin in the project directory
118
-
119
- ```typescript
120
- yarn add -D @nitra/vite-check-env
121
- ```