screen-recorder-react 0.0.3 → 0.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.
- package/package.json +1 -4
- package/src/App.tsx +1 -2
- package/src/index.ts +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screen-recorder-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"predev": "lerna run build --scope screen-recorder-base",
|
|
6
6
|
"prebuild": "lerna run build --scope screen-recorder-base",
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"build": "tsc && vite build",
|
|
9
9
|
"serve": "vite preview"
|
|
10
10
|
},
|
|
11
|
-
"main": "src/index.ts",
|
|
12
|
-
"module": "src/index.ts",
|
|
13
|
-
"types": "src/index.ts",
|
|
14
11
|
"exports": {
|
|
15
12
|
".": {
|
|
16
13
|
"import": "./src/index.ts",
|
package/src/App.tsx
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { Card, Switch, Row, Col, Select, Input } from 'antd';
|
|
3
|
-
import ScreenRecorder from '
|
|
4
|
-
import { safeCallback } from 'screen-recorder-base';
|
|
3
|
+
import ScreenRecorder, { safeCallback } from 'screen-recorder-react'
|
|
5
4
|
import Video from './components/Video'
|
|
6
5
|
import 'antd/dist/antd.css';
|
|
7
6
|
import './App.css'
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { default as
|
|
1
|
+
import ScreenRecorderReact from './components/ScreenRecorder';
|
|
2
|
+
export { default as ScreenRecorderReact } from './components/ScreenRecorder';
|
|
3
3
|
export { default as Video } from './components/Video';
|
|
4
|
-
export
|
|
4
|
+
export { safeCallback } from 'screen-recorder-base';
|
|
5
|
+
export default ScreenRecorderReact
|