zyjj-web-sdk 1.1.0 → 1.1.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.
@@ -1,7 +1,7 @@
1
1
  import { ToolParamFile } from "../types/local-task.ts";
2
2
  import COS from 'cos-js-sdk-v5';
3
3
  export declare const convertFileSize: (bytes: number) => string;
4
- export declare const File2ToolParamFile: (file: File) => ToolParamFile;
4
+ export declare const File2ToolParamFile: (file: File, no_path?: boolean) => ToolParamFile;
5
5
  export declare const Seconds2TimeStr: (seconds: number) => string;
6
6
  export declare const getTencentInfo: () => Promise<{
7
7
  cos: COS;
@@ -119,6 +119,7 @@ export interface SelectData {
119
119
  export interface UploadData {
120
120
  accept: string;
121
121
  max_size?: number;
122
+ no_path?: boolean;
122
123
  }
123
124
  export interface SliderData {
124
125
  max: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyjj-web-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "lib"