Skip to content

Commit

Permalink
deps: Upgrade cozy-client-js to 0.21.0 (#2329)
Browse files Browse the repository at this point in the history
Necessary to catch Invalid Token errors returned by `cozy-stack` with
a 401 HTTP status (instead of the 400 status used historically).
  • Loading branch information
taratatach committed Oct 25, 2023
1 parent 866af41 commit 6d75a1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"bunyan": "2.0.5",
"chokidar": "^3.5.0",
"cozy-client": "^38.2.0",
"cozy-client-js": "^0.20.0",
"cozy-client-js": "^0.21.0",
"cozy-flags": "^3.0.1",
"cozy-realtime": "^4.6.0",
"cozy-stack-client": "^38.0.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3069,10 +3069,10 @@ core-util-is@~1.0.0:
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==

cozy-client-js@^0.20.0:
version "0.20.0"
resolved "https://registry.yarnpkg.com/cozy-client-js/-/cozy-client-js-0.20.0.tgz#a507ef9ccbeb340aacd58ca1f1d0cdc9d000e853"
integrity sha512-ppguq9hkmtGpS2y+3pE4Pw0CcNOB25Lb82/q0I5r2k+pxCgrbI+6HB85TWQH8OEt/qJVoCCCa9dWE5WSZBUDYw==
cozy-client-js@^0.21.0:
version "0.21.0"
resolved "https://registry.yarnpkg.com/cozy-client-js/-/cozy-client-js-0.21.0.tgz#7d4d4aa01b65065aae44263d1f84fbee46f7916c"
integrity sha512-ShOwe/sf7bW2alNieB6RbwEEtPUMEAOIP+TZtDwweKyLKFtrW1pn21H2GS5zpJ+4ofuue3T6gyFNXAgNF3O9yw==
dependencies:
core-js "^3.6.5"
cross-fetch "^3.0.6"
Expand Down

0 comments on commit 6d75a1f

Please sign in to comment.