@onekeyfe/react-native-network-info 3.0.179-alpha.304 → 3.0.179

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.
Files changed (3) hide show
  1. package/README.md +0 -12
  2. package/package.json +1 -1
  3. package/LICENSE +0 -21
package/README.md CHANGED
@@ -36,18 +36,6 @@ See [src/NativeNetworkInfo.ts](src/NativeNetworkInfo.ts) for the full interface.
36
36
  The package exports the native object as `NetworkInfo` and its type as
37
37
  `NetworkInfoSpec`.
38
38
 
39
- ## Nullable and platform-specific readings
40
-
41
- `getSSID`, `getBSSID` and `getBroadcast` return nullable strings;
42
- `getFrequency` returns a nullable number. A `null` result must remain distinct
43
- from a known network value. IP, gateway and subnet getters return strings and
44
- may reject through the native operation.
45
-
46
- `getIPAddress`, `getIPV4Address`, `getWIFIIPV4Address` and `getIPV6Address` are
47
- separate methods; use the reading appropriate to the connection being inspected.
48
- The exported `NetworkInfoSpec` provides their exact signatures. There is no
49
- network-change event API or continuous reachability monitor in this wrapper.
50
-
51
39
  ## Upstream attribution
52
40
 
53
41
  First, a sincere thank-you to the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-network-info",
3
- "version": "3.0.179-alpha.304",
3
+ "version": "3.0.179",
4
4
  "description": "react-native-network-info",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Corey Wilson
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.