@capacitor/network 7.0.2 → 7.0.3-dev-2450-20251125T145309.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/README.md +2 -2
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ The Network API provides network and connectivity information.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @capacitor/network
|
|
8
|
+
npm install @capacitor/network@latest-7
|
|
9
9
|
npx cap sync
|
|
10
10
|
```
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ npx cap sync
|
|
|
14
14
|
```typescript
|
|
15
15
|
import { Network } from '@capacitor/network';
|
|
16
16
|
|
|
17
|
-
Network.addListener('networkStatusChange', status => {
|
|
17
|
+
Network.addListener('networkStatusChange', (status) => {
|
|
18
18
|
console.log('Network status changed', status);
|
|
19
19
|
});
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/network",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3-dev-2450-20251125T145309.0",
|
|
4
4
|
"description": "The Network API provides network and connectivity information.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -80,6 +80,5 @@
|
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
|
-
}
|
|
84
|
-
"gitHead": "7c53a4c249abe958983f1ac9df04dec7ab89c10e"
|
|
83
|
+
}
|
|
85
84
|
}
|