@kevisual/oss 0.0.13 → 0.0.15

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.
@@ -110,7 +110,7 @@ declare class OssBase implements OssBaseOperation {
110
110
  hash: (str: string | Buffer | Object) => string;
111
111
  constructor(opts: OssBaseOptions);
112
112
  setPrefix(prefix: string): void;
113
- getObject(objectName: string): Promise<import("stream").Readable>;
113
+ getObject(objectName: string): Promise<import("node:stream").Readable>;
114
114
  getJson(objectName: string): Promise<Record<string, any>>;
115
115
  /**
116
116
  * 上传文件, 当是流的时候,中断之后的etag会变,所以传递的时候不要嵌套async await,例如 busboy 监听文件流内部的时候,不要用check