@wangeditor-next/video-module 1.3.8 → 1.3.9

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.
@@ -2,14 +2,14 @@
2
2
  * @description video element
3
3
  * @author wangfupeng
4
4
  */
5
- declare type EmptyText = {
5
+ type EmptyText = {
6
6
  text: '';
7
7
  };
8
- export declare type videoStyle = {
8
+ export type videoStyle = {
9
9
  width?: string;
10
10
  height?: string;
11
11
  };
12
- export declare type VideoElement = {
12
+ export type VideoElement = {
13
13
  type: 'video';
14
14
  key?: string;
15
15
  src: string;
@@ -4,8 +4,8 @@
4
4
  */
5
5
  import { IUploadConfig } from '@wangeditor-next/core';
6
6
  import { VideoElement } from '../custom-types';
7
- declare type InsertFn = (src: string, poster: string) => void;
8
- export declare type IUploadConfigForVideo = IUploadConfig & {
7
+ type InsertFn = (src: string, poster: string) => void;
8
+ export type IUploadConfigForVideo = IUploadConfig & {
9
9
  allowedFileTypes?: string[];
10
10
  customInsert?: (res: any, insertFn: InsertFn) => void;
11
11
  customUpload?: (files: File, insertFn: InsertFn) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/video-module",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "wangEditor video module",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "contributors": [],
@@ -42,7 +42,7 @@
42
42
  "peerDependencies": {
43
43
  "@uppy/core": "^2.1.4",
44
44
  "@uppy/xhr-upload": "^2.0.7",
45
- "@wangeditor-next/core": "1.7.4",
45
+ "@wangeditor-next/core": "1.7.5",
46
46
  "dom7": "^3.0.0",
47
47
  "nanoid": "^5.0.0",
48
48
  "slate": "^0.72.0",