@onekeyfe/react-native-range-downloader 3.0.157-alpha.273 → 3.0.157-alpha.276
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 +5 -6
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@ react-native-range-downloader
|
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install @onekeyfe/react-native-range-downloader react-native-nitro-modules
|
|
9
|
+
```
|
|
9
10
|
|
|
10
11
|
> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/).
|
|
11
|
-
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
@@ -45,20 +45,19 @@ The behavior of the concurrent downloader is governed by a normative,
|
|
|
45
45
|
platform-agnostic standard that **all** implementations (iOS, Android, Desktop,
|
|
46
46
|
and any future platform) MUST conform to:
|
|
47
47
|
|
|
48
|
-
**→ [OneKey Concurrent Download Standard (OCDS)](
|
|
48
|
+
**→ [OneKey Concurrent Download Standard (OCDS)](https://github.com/OneKeyHQ/app-modules/blob/main/native-modules/react-native-range-downloader/SPEC.md)**
|
|
49
49
|
|
|
50
50
|
Any change to download behavior on any platform must be checked against OCDS.
|
|
51
51
|
When an implementation and the standard disagree, the implementation is wrong.
|
|
52
52
|
|
|
53
53
|
How each platform (Node / Android / iOS) is verified against OCDS — and the
|
|
54
54
|
runnable verification code to re-run after any downloader change — lives in
|
|
55
|
-
**→ [`conformance/`](
|
|
55
|
+
**→ [`conformance/`](https://github.com/OneKeyHQ/app-modules/blob/main/native-modules/react-native-range-downloader/conformance/README.md)**.
|
|
56
56
|
|
|
57
57
|
## Contributing
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- [Code of conduct](CODE_OF_CONDUCT.md)
|
|
59
|
+
Follow the repository's
|
|
60
|
+
[native development workflow](https://github.com/OneKeyHQ/app-modules/blob/main/docs/NATIVE_MODULE_DEVELOPMENT.md).
|
|
62
61
|
|
|
63
62
|
## License
|
|
64
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/react-native-range-downloader",
|
|
3
|
-
"version": "3.0.157-alpha.
|
|
3
|
+
"version": "3.0.157-alpha.276",
|
|
4
4
|
"description": "react-native-range-downloader",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -49,14 +49,15 @@
|
|
|
49
49
|
],
|
|
50
50
|
"repository": {
|
|
51
51
|
"type": "git",
|
|
52
|
-
"url": "git+https://github.com/OneKeyHQ/app-modules
|
|
52
|
+
"url": "git+https://github.com/OneKeyHQ/app-modules.git",
|
|
53
|
+
"directory": "native-modules/react-native-range-downloader"
|
|
53
54
|
},
|
|
54
55
|
"author": "onekeyfe <huanming@onekey.so> (https://github.com/OneKeyHQ/app-modules)",
|
|
55
56
|
"license": "MIT",
|
|
56
57
|
"bugs": {
|
|
57
|
-
"url": "https://github.com/OneKeyHQ/app-modules/
|
|
58
|
+
"url": "https://github.com/OneKeyHQ/app-modules/issues"
|
|
58
59
|
},
|
|
59
|
-
"homepage": "https://github.com/OneKeyHQ/app-modules/react-native-range-downloader#readme",
|
|
60
|
+
"homepage": "https://github.com/OneKeyHQ/app-modules/tree/main/native-modules/react-native-range-downloader#readme",
|
|
60
61
|
"publishConfig": {
|
|
61
62
|
"registry": "https://registry.npmjs.org/"
|
|
62
63
|
},
|