react-native-share 12.0.1 → 12.0.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-share",
3
3
  "description": "Social share, sending simple data to other apps.",
4
- "version": "12.0.1",
4
+ "version": "12.0.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/react-native-community/react-native-share.git"
@@ -1,4 +1,6 @@
1
- import { withAndroidManifest, createRunOncePlugin, } from '@expo/config-plugins';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const config_plugins_1 = require("@expo/config-plugins");
2
4
  // eslint-disable-next-line import/no-commonjs, @typescript-eslint/no-var-requires
3
5
  const pkg = require('../../package.json');
4
6
  /**
@@ -20,7 +22,7 @@ const pkg = require('../../package.json');
20
22
  * @param {import('@expo/config-plugins').ExportedConfig} config
21
23
  */
22
24
  const withAndroidManifestService = (config, props) => {
23
- return withAndroidManifest(config, (config) => {
25
+ return (0, config_plugins_1.withAndroidManifest)(config, (config) => {
24
26
  config.modResults.manifest = {
25
27
  ...config.modResults.manifest,
26
28
  queries: {
@@ -74,4 +76,4 @@ function withSocialShare(config, props) {
74
76
  return config;
75
77
  }
76
78
  // eslint-disable-next-line import/no-commonjs
77
- module.exports = createRunOncePlugin(withSocialShare, pkg.name, pkg.version);
79
+ module.exports = (0, config_plugins_1.createRunOncePlugin)(withSocialShare, pkg.name, pkg.version);
@@ -3,7 +3,8 @@
3
3
  "compilerOptions": {
4
4
  "outDir": "build",
5
5
  "rootDir": "src",
6
- "declaration": true
6
+ "declaration": true,
7
+ "module": "commonjs",
7
8
  },
8
9
  "include": ["./src"]
9
10
  }