@adminforth/upload 1.0.8 → 1.0.9

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.
@@ -201,7 +201,7 @@ const onFileChange = async (e) => {
201
201
  });
202
202
  if (!success) {
203
203
  window.adminforth.alert({
204
- messageHtml: `<div>Sorry but the file was not be uploaded because of S3 Request Error: </div>
204
+ messageHtml: `<div>Sorry but the file was not uploaded because of S3 Request Error: </div>
205
205
  <pre style="white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%;">${
206
206
  xhr.responseText.replace(/</g, '&lt;').replace(/>/g, '&gt;')
207
207
  }</pre>`,
@@ -201,7 +201,7 @@ const onFileChange = async (e) => {
201
201
  });
202
202
  if (!success) {
203
203
  window.adminforth.alert({
204
- messageHtml: `<div>Sorry but the file was not be uploaded because of S3 Request Error: </div>
204
+ messageHtml: `<div>Sorry but the file was not uploaded because of S3 Request Error: </div>
205
205
  <pre style="white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%;">${
206
206
  xhr.responseText.replace(/</g, '&lt;').replace(/>/g, '&gt;')
207
207
  }</pre>`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/upload",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",