Skip to content

Commit 4add857

Browse files
author
Shem
authored
Merge pull request #40 from ericmorgan1/master
Response typo
2 parents 614ef56 + ff6a2a6 commit 4add857

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
## New Maintainers
2-
3-
We make quite a bit of use of react-native-fetch-blob at Jolt and would like to maintain the project. Feel free to open issues, PRs, etc. here as you would on the original repository. We will be investigating a new npm namespace under which to publish future versions of this library.
4-
5-
<br>
6-
7-
## About Pull Requests
8-
9-
Bugfixes should be applied to the `0.10.9` branch and new features should be applied to the `0.11.0`. Documentation/README updates can be applied directly to `master`.
10-
11-
<br>
12-
131
# react-native-fetch-blob
142
[![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?style=flat-square)](https://github.com/wkh237/react-native-fetch-blob/releases) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![](https://img.shields.io/badge/Wiki-Public-brightgreen.svg?style=flat-square)](https://github.com/wkh237/react-native-fetch-blob/wiki) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]()
153

@@ -30,9 +18,9 @@ A project committed to making file access and data transfer easier and more effi
3018
* [Installation](#user-content-installation)
3119
* [HTTP Data Transfer](#user-content-http-data-transfer)
3220
* [Regular Request](#user-content-regular-request)
33-
* [Download file](#download-example-fetch-files-that-need-authorization-token)
21+
* [Download file](#user-content-download-example--fetch-files-that-needs-authorization-token)
3422
* [Upload file](#user-content-upload-example--dropbox-files-upload-api)
35-
* [Multipart/form upload](#multipartform-data-example-post-form-data-with-file-and-data)
23+
* [Multipart/form upload](#user-content-multipartform-data-example--post-form-data-with-file-and-data)
3624
* [Upload/Download progress](#user-content-uploaddownload-progress)
3725
* [Cancel HTTP request](#user-content-cancel-request)
3826
* [Android Media Scanner, and Download Manager Support](#user-content-android-media-scanner-and-download-manager-support)
@@ -650,7 +638,7 @@ RNFetchBlob.fs.readStream(
650638
console.log('oops', err)
651639
})
652640
ifstream.onEnd(() => {
653-
<Image source={{ uri : 'data:image/png,base64' + data }}/>
641+
<Image source={{ uri : 'data:image/png,base64' + data }}
654642
})
655643
})
656644
```
@@ -845,4 +833,4 @@ See [release notes](https://github.com/wkh237/react-native-fetch-blob/releases)
845833
### Development
846834

847835
If you're interested in hacking this module, check our [development guide](https://github.com/wkh237/react-native-fetch-blob/wiki/Home), there might be some helpful information.
848-
Please feel free to make a PR or file an issue.
836+
Please feel free to make a PR or file an issue.

polyfill/Fetch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class RNFetchBlobFetchPolyfill {
7373
// release blob cache created when sending request
7474
if(blobCache !== null && blobCache instanceof Blob)
7575
blobCache.close()
76-
return Promise.resolve(new RNFetchBlobFetchRepsonse(resp))
76+
return Promise.resolve(new RNFetchBlobFetchResponse(resp))
7777
})
7878
})
7979

@@ -97,7 +97,7 @@ class RNFetchBlobFetchPolyfill {
9797

9898
}
9999

100-
class RNFetchBlobFetchRepsonse {
100+
class RNFetchBlobFetchResponse {
101101

102102
constructor(resp:FetchBlobResponse) {
103103
let info = resp.info()

0 commit comments

Comments
 (0)