Update etebase dep.

master
Tom Hacohen 4 years ago
parent 750eae59b4
commit 20fed45aee

@ -9,7 +9,7 @@
"@material-ui/lab": "^4.0.0-alpha.47",
"@material-ui/pickers": "^3.2.10",
"@material-ui/styles": "^4.6.0",
"etebase": "^0.10.1",
"etebase": "^0.10.2",
"fuse.js": "^5.0.9-beta",
"ical.js": "^1.4.0",
"immutable": "^4.0.0-rc.12",

@ -53,7 +53,7 @@ export default function LoginPage() {
dispatch(login(etebase));
} catch (e) {
console.log(e);
if ((e instanceof Etebase.HTTPError) && (e.status === 404)) {
if ((e instanceof Etebase.HttpError) && (e.status === 404)) {
setFetchError(new Error("Etebase server not found: are you sure the server URL is correct?"));
} else {
setFetchError(e);

@ -100,7 +100,7 @@ export class SyncManager {
if (e instanceof Etebase.NetworkError) {
// Ignore network errors
return null;
} else if (e instanceof Etebase.HTTPError) {
} else if (e instanceof Etebase.HttpError) {
switch (e.status) {
case 401: // INVALID TOKEN
case 403: // FORBIDDEN

@ -4644,10 +4644,10 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
etebase@^0.10.1:
version "0.10.1"
resolved "https://registry.yarnpkg.com/etebase/-/etebase-0.10.1.tgz#a988149fbee607d23740df1bbce3f639e4d79abf"
integrity sha512-UQU90LPl5Vyx6Rb9NAB7Tp5EJCpHZG9EJhLWRBubXvhn7ToCxzMRBcB4KJNPY69N2bPqQRkUO9kNdypMkm3Jkg==
etebase@^0.10.2:
version "0.10.2"
resolved "https://registry.yarnpkg.com/etebase/-/etebase-0.10.2.tgz#66fa2a7deaca51b4694604be8ae04200b6fb3354"
integrity sha512-XxeSfhqpVngsznuySchQtIGgsmdfDKWXVmFvjKPWonzbQt3UdrX9Zxhrz2DrJWmavpb3HUZ8c5Y0Z4s+Pd3UgA==
dependencies:
"@msgpack/msgpack" "^1.12.2"
libsodium-wrappers "0.7.6"

Loading…
Cancel
Save