codenotch-react 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const React = require('react');
1
+ import React from 'react';
2
2
 
3
3
  const CODENOTCH_ENV = {
4
4
 
@@ -127,4 +127,4 @@ function useCodenotchApp(props) {
127
127
  return useCodenotch();
128
128
  }
129
129
 
130
- module.exports = { useCodenotch, useCodenotchApp, CodenotchAppComponent };
130
+ export { useCodenotch, useCodenotchApp, CodenotchAppComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codenotch-react",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "type": "module",