@nitra/cap 7.1.4 → 7.4.0
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 +10 -10
- package/save-token/README.md +3 -8
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitra/cap",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "Nitra capacitor components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./index.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"fix": "
|
|
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
|
|
24
|
-
"@capacitor-firebase/messaging": "^7.
|
|
25
|
-
"@capacitor/core": "^7.4.
|
|
26
|
-
"@capawesome/capacitor-app-update": "^7.0
|
|
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.
|
|
28
|
+
"@firebase/app": "^0.14.6",
|
|
29
29
|
"@nitra/tfm": "^2.4.0",
|
|
30
|
-
"@nitra/vite-boot": "^
|
|
31
|
-
"@simplewebauthn/browser": "^
|
|
32
|
-
"firebase": "^12.
|
|
30
|
+
"@nitra/vite-boot": "^5.0.4",
|
|
31
|
+
"@simplewebauthn/browser": "^13.2.2",
|
|
32
|
+
"firebase": "^12.6.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/save-token/README.md
CHANGED
|
@@ -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
|
-
|
|
109
|
+
proxy['^/n-push/.*'] = ''
|
|
109
110
|
} else {
|
|
110
|
-
|
|
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
|
-
```
|