@e-mc/cloud 0.5.14 → 0.5.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/types/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/cloud",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "Cloud constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.5.14",
24
- "@e-mc/db": "0.5.14",
25
- "@e-mc/types": "0.5.14"
23
+ "@e-mc/core": "0.5.15",
24
+ "@e-mc/db": "0.5.15",
25
+ "@e-mc/types": "0.5.15"
26
26
  }
27
27
  }
package/types/index.d.ts CHANGED
@@ -26,6 +26,6 @@ export interface CloudScopeOrigin<T extends IFileManager<U>, U extends CloudAsse
26
26
 
27
27
  export type ServiceHost<T> = (this: IModule, credential: unknown, service?: string, sdk?: string) => T;
28
28
  export type UploadCallback = (data: UploadData, callback: (err: unknown, value?: string) => void) => void;
29
- export type DownloadCallback = (data: DownloadData, callback: (err: unknown, value?: Null<BufferContent>) => void) => void;
29
+ export type DownloadCallback = (data: DownloadData, callback: (err: unknown, value?: Null<string | Buffer>) => void) => void;
30
30
  export type UploadHost = ServiceHost<UploadCallback>;
31
31
  export type DownloadHost = ServiceHost<DownloadCallback>;