@sentiance-react-native/legacy 6.0.0-beta.15 → 6.0.0-beta.18

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/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import legacy from './legacy';
2
- import core from '@sentiance-react-native/core';
3
- import crashDetection from '@sentiance-react-native/crash-detection';
1
+ const legacy = require('./legacy');
2
+ const core = require('@sentiance-react-native/core');
3
+ const crashDetection = require('@sentiance-react-native/crash-detection');
4
4
 
5
5
  var RNSentiance = {};
6
6
  if (core) {
@@ -124,4 +124,4 @@ RNSentiance.disableNativeInitialization = disableNativeInitialization;
124
124
  RNSentiance.addListener = addListener
125
125
  RNSentiance.removeListeners = removeListeners
126
126
 
127
- export default RNSentiance;
127
+ module.exports = RNSentiance;
@@ -1,5 +1,5 @@
1
- import {NativeModules, Platform} from 'react-native'
2
- import {varToString} from '@sentiance-react-native/core/lib/utils'
1
+ const {NativeModules, Platform} = require('react-native');
2
+ const {varToString} = require('@sentiance-react-native/core/lib/utils');
3
3
 
4
4
  const {RNSentiance, SentianceCore} = NativeModules;
5
5
 
@@ -22,4 +22,4 @@ if (Platform.OS === 'ios') {
22
22
  }
23
23
  }
24
24
 
25
- export default legacyModule;
25
+ module.exports = legacyModule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/legacy",
3
- "version": "6.0.0-beta.15",
3
+ "version": "6.0.0-beta.18",
4
4
  "description": "React Native Sentiance - This module provides a legacy API.",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "sentiance"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@sentiance-react-native/crash-detection": "6.0.0-beta.15"
17
+ "@sentiance-react-native/crash-detection": "6.0.0-beta.18"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",