Skip to content

Commit e06235b

Browse files
committed
reverted package changes
1 parent 69b9690 commit e06235b

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gRPC for react-native
55
## Installation
66

77
```sh
8-
npm npm i @krishnafkh/react-native-grpc
8+
npm install @mitch528/react-native-grpc
99
```
1010

1111
## Usage

android/src/main/java/com/reactnativegrpc/GrpcModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class GrpcModule extends ReactContextBaseJavaModule {
3030

3131
private String host;
3232
private boolean isInsecure = false;
33-
private boolean withComparison = false;
33+
private boolean withCompression = false;
3434
private String compressorName = "";
3535
private Integer responseSizeLimit = null;
3636
private ManagedChannel managedChannel = null;
@@ -67,7 +67,7 @@ public void setInsecure(boolean insecure) {
6767

6868
@ReactMethod
6969
public void setCompression(Boolean enable, String compressorName) {
70-
this.withComparison = enable;
70+
this.withCompression = enable;
7171
this.compressorName = compressorName;
7272
}
7373

@@ -258,7 +258,7 @@ public void onClose(Status status, Metadata trailers) {
258258
}
259259
}, headersMetadata);
260260

261-
if (this.withComparison) {
261+
if (this.withCompression) {
262262
call.setMessageCompression(true);
263263
}
264264

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@krishnafkh/react-native-grpc",
3-
"version": "1.0.1",
2+
"name": "@mitch528/react-native-grpc",
3+
"version": "1.0.0-1",
44
"description": "gRPC for react-native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -38,13 +38,13 @@
3838
"android",
3939
"grpc"
4040
],
41-
"repository": "https://github.com/krishnafkh/react-native-grpc",
42-
"author": "Krishna <krishnamani.s@flipkart.com> (https://github.com/krishnafkh/)",
41+
"repository": "https://github.com/Mitch528/react-native-grpc",
42+
"author": "Mitch528 <mitch528@gmail.com> (https://github.com/Mitch528)",
4343
"license": "MIT",
4444
"bugs": {
45-
"url": "https://github.com/krishnafkh/react-native-grpc/issues"
45+
"url": "https://github.com/Mitch528/react-native-grpc/issues"
4646
},
47-
"homepage": "https://github.com/krishnafkh/react-native-grpc#readme",
47+
"homepage": "https://github.com/Mitch528/react-native-grpc#readme",
4848
"publishConfig": {
4949
"access": "public",
5050
"registry": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)