Skip to content

Commit

Permalink
Merge pull request #129 from qiniu/fix/download-and-upgrade-electron
Browse files Browse the repository at this point in the history
bump kodo-s3-adapter-sdk to v0.2.34 and fix resume upload status
  • Loading branch information
bachue authored Aug 16, 2022
2 parents 3793078 + 9017ba3 commit acf6d75
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kodo-browser",
"version": "1.0.19-alpha3",
"version": "1.0.19",
"license": "Apache-2.0",
"author": {
"name": "Rong Zhou",
Expand Down Expand Up @@ -106,7 +106,7 @@
"jquery.qrcode": "^1.0.3",
"js-base64": "^3.4.5",
"js-md5": "^0.7.3",
"kodo-s3-adapter-sdk": "0.2.32",
"kodo-s3-adapter-sdk": "0.2.34",
"lodash": "^4.17.21",
"mime": "^2.3.1",
"moment": "^2.22.2",
Expand Down
1 change: 0 additions & 1 deletion src/common/models/job/download-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export default class DownloadJob extends TransferJob {
},
).catch(err => {
if (err === Downloader.userCanceledError) {
this._status = Status.Stopped;
return;
}
this._status = Status.Failed;
Expand Down
1 change: 0 additions & 1 deletion src/common/models/job/upload-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ export default class UploadJob extends TransferJob {
},
).catch(err => {
if (err === Uploader.userCanceledError) {
this._status = Status.Stopped;
return;
}
this._status = Status.Failed;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6919,10 +6919,10 @@ kleur@^3.0.3:
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==

kodo-s3-adapter-sdk@0.2.32:
version "0.2.32"
resolved "https://registry.yarnpkg.com/kodo-s3-adapter-sdk/-/kodo-s3-adapter-sdk-0.2.32.tgz#80932d034a6626d12708026fa426218e2e173bf3"
integrity sha512-5A72s6kbw3LRkkS45so9K1jMjuE+SHo5+mRfw9sFqvuumW1x99Kp6/nSRdQoLUPBV+RpnO/J6LDGDCCHz3IodA==
kodo-s3-adapter-sdk@0.2.34:
version "0.2.34"
resolved "https://registry.yarnpkg.com/kodo-s3-adapter-sdk/-/kodo-s3-adapter-sdk-0.2.34.tgz#6c49072bd86e1790a619d7b81700d6993c8076b2"
integrity sha512-OpjDTY9kRAEbOqoBSJezDD6Ka6GVoOsAL/9RAMxeH8wriiXh4gED08YgTOJWGzzXua7J1kUest//WjqJmT6iTg==
dependencies:
async-lock "^1.2.4"
aws-sdk "^2.800.0"
Expand Down

0 comments on commit acf6d75

Please sign in to comment.