airborne-react-native 0.6.0 → 0.7.1

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.
@@ -62,7 +62,7 @@ static NSString * const defaultNamespace = @"default";
62
62
  RCT_EXPORT_METHOD(readReleaseConfig:(RCTPromiseResolveBlock)resolve
63
63
  rejecter:(RCTPromiseRejectBlock)reject) {
64
64
  @try {
65
- NSString *config = [[AirborneiOS sharedInstanceWithNamespace:defaultNamespace] getReleaseConfig];
65
+ NSString *config = [[Airborne sharedInstanceWithNamespace:defaultNamespace] getReleaseConfig];
66
66
  resolve(config);
67
67
  } @catch (NSException *exception) {
68
68
  reject(@"AIRBORNE_ERROR", exception.reason, nil);
@@ -73,7 +73,7 @@ RCT_EXPORT_METHOD(getFileContent:(NSString *)filePath
73
73
  resolver:(RCTPromiseResolveBlock)resolve
74
74
  rejecter:(RCTPromiseRejectBlock)reject) {
75
75
  @try {
76
- NSString *content = [[AirborneiOS sharedInstanceWithNamespace:defaultNamespace] getFileContent:filePath];
76
+ NSString *content = [[Airborne sharedInstanceWithNamespace:defaultNamespace] getFileContent:filePath];
77
77
  resolve(content);
78
78
  } @catch (NSException *exception) {
79
79
  reject(@"AIRBORNE_ERROR", exception.reason, nil);
@@ -83,7 +83,7 @@ RCT_EXPORT_METHOD(getFileContent:(NSString *)filePath
83
83
  RCT_EXPORT_METHOD(getBundlePath:(RCTPromiseResolveBlock)resolve
84
84
  rejecter:(RCTPromiseRejectBlock)reject) {
85
85
  @try {
86
- NSString *bundlePath = [[AirborneiOS sharedInstanceWithNamespace:defaultNamespace] getBundlePath];
86
+ NSString *bundlePath = [[Airborne sharedInstanceWithNamespace:defaultNamespace] getBundlePath];
87
87
  resolve(bundlePath);
88
88
  } @catch (NSException *exception) {
89
89
  reject(@"AIRBORNE_ERROR", exception.reason, nil);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airborne-react-native",
3
- "version": "0.6.0",
3
+ "version": "0.7.1",
4
4
  "description": "Airborne",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "registry": "https://registry.npmjs.org/"
60
60
  },
61
61
  "dependencies": {
62
- "airborne-cli-react-native": "file:../airborne_cli"
62
+ "airborne-cli-react-native": "*"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@commitlint/config-conventional": "^19.6.0",