react-native-salespanda 0.7.5 → 0.7.6

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/ios/Salespanda.mm CHANGED
@@ -1,15 +1,21 @@
1
1
  #import "Salespanda.h"
2
2
 
3
3
  @implementation Salespanda
4
+ - (NSNumber *)multiply:(double)a b:(double)b {
5
+ NSNumber *result = @(a * b);
4
6
 
5
- RCT_EXPORT_MODULE();
7
+ return result;
8
+ }
9
+
10
+ - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
11
+ (const facebook::react::ObjCTurboModule::InitParams &)params
12
+ {
13
+ return std::make_shared<facebook::react::NativeSalespandaSpecJSI>(params);
14
+ }
6
15
 
7
- RCT_EXPORT_METHOD(multiply:(double)a
8
- b:(double)b
9
- resolver:(RCTPromiseResolveBlock)resolve
10
- rejecter:(RCTPromiseRejectBlock)reject)
16
+ + (NSString *)moduleName
11
17
  {
12
- resolve(@(a * b));
18
+ return @"Salespanda";
13
19
  }
14
20
 
15
21
  @end
@@ -11,24 +11,4 @@ export const diaryIcon = require('./bottomtabs/diary.png');
11
11
  export const diaryIconActive = require('./bottomtabs/diaryactive.png');
12
12
  export const notificationIcon = require('./bottomtabs/notification.png');
13
13
  export const notificationIconActive = require('./bottomtabs/notificationactive.png');
14
- //# sourceMappingURL=index.js.map: homeIcon,
15
- active: homeIconActive
16
- },
17
- analytics: {
18
- default: analyticsIcon,
19
- active: analyticsIconActive
20
- },
21
- crm: {
22
- default: crmIcon,
23
- active: crmIconActive
24
- },
25
- diary: {
26
- default: diaryIcon,
27
- active: diaryIconActive
28
- },
29
- notification: {
30
- default: notificationIcon,
31
- active: notificationIconActive
32
- }
33
- };
34
14
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-salespanda",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "React Native SDK for multi-tenant enterprise applications with product flavors support",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",