@bytescale/sdk 3.0.0-alpha.15 → 3.0.0-alpha.16

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/README.md CHANGED
@@ -110,6 +110,9 @@ uploadManager
110
110
  // Required if 'data' is a stream, buffer, or string.
111
111
  originalFileName: "my_file.txt"
112
112
 
113
+ // Reports progress: bytesTotal, bytesSent, progress.
114
+ // onProgress: ({ progress }) => console.log(progress),
115
+
113
116
  // Controls multipart upload concurrency. Ignored if 'data' is a stream.
114
117
  // maxConcurrentUploadParts: 4,
115
118
 
@@ -188,6 +191,9 @@ uploadManager
188
191
  // Required if 'data' is a stream, buffer, or string. (Not required for DOM file inputs or blobs.)
189
192
  // originalFileName: "my_file.txt",
190
193
 
194
+ // Reports progress: bytesTotal, bytesSent, progress.
195
+ // onProgress: ({ progress }) => console.log(progress),
196
+
191
197
  // Controls multipart upload concurrency. Ignored if 'data' is a stream.
192
198
  // maxConcurrentUploadParts: 4,
193
199
 
@@ -1,2 +1,2 @@
1
1
  export * from "./public/shared";
2
- export * from "./public/node";
2
+ export * from "./public/browser";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytescale/sdk",
3
- "version": "3.0.0-alpha.15",
3
+ "version": "3.0.0-alpha.16",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
38
38
  "typecheck": "tsc --noEmit",
39
39
  "test": "NODE_OPTIONS=--experimental-vm-modules npx jest --runInBand --silent=false --verbose=false",
40
- "prepack": "npm run clean && webpack && tsc-alias && rm dist/types/index.browser.d.ts && mv dist/types/index.node.d.ts dist/types/index.d.ts",
40
+ "prepack": "npm run clean && webpack && tsc-alias && rm dist/types/index.node.d.ts && rm dist/types/index.worker.d.ts && mv dist/types/index.browser.d.ts dist/types/index.d.ts",
41
41
  "postpack": "[ ! -f bytescale-sdk-*.tgz ] || mv bytescale-sdk-*.tgz bytescale-sdk.tgz",
42
42
  "prepare": "husky install",
43
43
  "prepack:cdn": "npm run clean && webpack --config webpack.config.cdn.js && find dist -name \"*.ts\" -type f -delete && for f in dist/*.js; do cp -- \"$f\" \"${f%.js}\"; done",