@hostr/upload 0.4.0 → 0.4.1

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/dist/browser.js CHANGED
@@ -888,7 +888,7 @@ var UploadEngine = class {
888
888
  code: "systemic-transport-failure",
889
889
  consecutiveNetworkFailures: this.consecutiveNetworkFailures,
890
890
  bytesEverConfirmed: this.bytesConfirmed(),
891
- hint: 'every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 if this is a browser, check the source bucket CORS rules (preflight PUT from this origin, ExposeHeaders ETag); see README "Bucket CORS is a hard prerequisite for browser uploads"'
891
+ hint: "every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 check the connection; in a browser, check that the page CSP connect-src allows the storage host, and (self-hosted buckets only) bucket CORS"
892
892
  });
893
893
  }
894
894
  bytesConfirmed() {
package/dist/index.js CHANGED
@@ -902,7 +902,7 @@ var UploadEngine = class {
902
902
  code: "systemic-transport-failure",
903
903
  consecutiveNetworkFailures: this.consecutiveNetworkFailures,
904
904
  bytesEverConfirmed: this.bytesConfirmed(),
905
- hint: 'every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 if this is a browser, check the source bucket CORS rules (preflight PUT from this origin, ExposeHeaders ETag); see README "Bucket CORS is a hard prerequisite for browser uploads"'
905
+ hint: "every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 check the connection; in a browser, check that the page CSP connect-src allows the storage host, and (self-hosted buckets only) bucket CORS"
906
906
  });
907
907
  }
908
908
  bytesConfirmed() {
package/dist/node.js CHANGED
@@ -893,7 +893,7 @@ var UploadEngine = class {
893
893
  code: "systemic-transport-failure",
894
894
  consecutiveNetworkFailures: this.consecutiveNetworkFailures,
895
895
  bytesEverConfirmed: this.bytesConfirmed(),
896
- hint: 'every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 if this is a browser, check the source bucket CORS rules (preflight PUT from this origin, ExposeHeaders ETag); see README "Bucket CORS is a hard prerequisite for browser uploads"'
896
+ hint: "every part PUT is failing at the network layer and no bytes have ever been confirmed for this session \u2014 check the connection; in a browser, check that the page CSP connect-src allows the storage host, and (self-hosted buckets only) bucket CORS"
897
897
  });
898
898
  }
899
899
  bytesConfirmed() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostr/upload",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,