Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 9e7f716

Browse files
committed
bump version and format
1 parent 3a1e600 commit 9e7f716

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snowflake",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"private": true,
55
"jest": {
66
"scriptPreprocessor": "jestSupport/scriptPreprocess.js",

src/reducers/auth/authActions.js

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ export function logout() {
127127
return BackendFactory(token).logout();
128128
})
129129
.then(() => {
130-
dispatch(registerState());
131-
dispatch(logoutSuccess());
132-
dispatch(deleteSessionToken());
130+
dispatch(registerState());
131+
dispatch(logoutSuccess());
132+
dispatch(deleteSessionToken());
133133
})
134134
.catch((error) => {
135135
dispatch(loginState());
@@ -255,26 +255,26 @@ export function signup(username, email, password) {
255255
email: email,
256256
password: password
257257
})
258-
.then(function (json) {
259-
return saveSessionToken(json)
260-
.then(function () {
261-
dispatch(signupSuccess(
262-
Object.assign({},
263-
{
264-
username: username,
265-
email: email,
266-
objectId: json.objectId,
267-
createdAt: json.createdAt,
268-
sessionToken: json.sessionToken
269-
}
270-
)
271-
));
272-
dispatch(logoutState());
273-
});
274-
})
275-
.catch((error) => {
276-
dispatch(signupFailure(error));
277-
});
258+
.then(function (json) {
259+
return saveSessionToken(json)
260+
.then(function () {
261+
dispatch(signupSuccess(
262+
Object.assign({},
263+
{
264+
username: username,
265+
email: email,
266+
objectId: json.objectId,
267+
createdAt: json.createdAt,
268+
sessionToken: json.sessionToken
269+
}
270+
)
271+
));
272+
dispatch(logoutState());
273+
});
274+
})
275+
.catch((error) => {
276+
dispatch(signupFailure(error));
277+
});
278278
};
279279
}
280280

@@ -318,16 +318,16 @@ export function login(username, password) {
318318
username: username,
319319
password: password
320320
})
321-
.then(function (json) {
322-
return saveSessionToken(json)
323-
.then(function () {
324-
dispatch(loginSuccess(json));
325-
dispatch(logoutState());
326-
});
327-
})
328-
.catch((error) => {
329-
dispatch(loginFailure(error));
330-
});
321+
.then(function (json) {
322+
return saveSessionToken(json)
323+
.then(function () {
324+
dispatch(loginSuccess(json));
325+
dispatch(logoutState());
326+
});
327+
})
328+
.catch((error) => {
329+
dispatch(loginFailure(error));
330+
});
331331
};
332332
}
333333

src/snowflake.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import profileInitialState from './reducers/profile/profileInitialState';
3838
/**
3939
* The version of the app but not displayed yet
4040
*/
41-
var VERSION='0.0.10';
41+
var VERSION='0.0.11';
4242

4343
/**
4444
*

0 commit comments

Comments
 (0)