firstly 0.0.14 → 0.0.15
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.
- package/CHANGELOG.md +8 -0
- package/esm/auth/server/AuthController.server.js +2 -1
- package/esm/auth/server/module.d.ts +1 -1
- package/esm/auth/server/module.js +1 -1
- package/esm/auth/static/assets/{Page-UV_hqY7I.d.ts → Page-B1GE_oYi.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-B0XXxe0N.js → Page-B1GE_oYi.js} +1 -1
- package/esm/auth/static/assets/{Page-B0XXxe0N.d.ts → Page-CDHFtYuN.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-UV_hqY7I.js → Page-CDHFtYuN.js} +1 -1
- package/esm/auth/static/assets/{Page-DdKMiUZn.d.ts → Page-Dh8pvAo6.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-DdKMiUZn.js → Page-Dh8pvAo6.js} +5 -5
- package/esm/auth/static/assets/{index-C9jzxOBu.js → index-7Nh2ct-y.js} +2 -2
- package/esm/auth/static/index.html +2 -2
- package/esm/bin/cmd.js +16 -16
- package/esm/changeLog/server/index.d.ts +1 -1
- package/esm/changeLog/server/index.js +1 -1
- package/esm/cron/server/index.d.ts +1 -1
- package/esm/cron/server/index.js +1 -1
- package/esm/feedback/server/index.d.ts +1 -1
- package/esm/feedback/server/index.js +1 -1
- package/esm/mail/server/index.d.ts +2 -2
- package/esm/mail/server/index.js +5 -3
- package/esm/server/index.d.ts +49 -0
- package/esm/server/index.js +109 -1
- package/esm/sveltekit/server/index.d.ts +1 -1
- package/esm/sveltekit/server/index.js +1 -1
- package/package.json +12 -12
- package/esm/api/index.d.ts +0 -49
- package/esm/api/index.js +0 -109
- /package/esm/auth/static/assets/{index-C9jzxOBu.d.ts → index-7Nh2ct-y.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# firstly
|
|
2
2
|
|
|
3
|
+
## 0.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#98](https://github.com/jycouet/firstly/pull/98)
|
|
8
|
+
[`0d708f6`](https://github.com/jycouet/firstly/commit/0d708f605dc9d2943730f68ebf99c1d2f8a49926)
|
|
9
|
+
Thanks [@jycouet](https://github.com/jycouet)! - prepare JYC 0.0.15
|
|
10
|
+
|
|
3
11
|
## 0.0.14
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -252,9 +252,10 @@ export class AuthControllerServer {
|
|
|
252
252
|
const validPassword = oSafe.password.verify(password ?? '', existingAccount?.hashPassword ?? '');
|
|
253
253
|
if (validPassword) {
|
|
254
254
|
const session = await ff_createSession(existingAccount.userId);
|
|
255
|
+
const user = await repo(oSafe.User).findId(existingAccount.userId);
|
|
255
256
|
return {
|
|
256
257
|
message: 'ok',
|
|
257
|
-
user: oSafe.transformDbUserToClientUser(session,
|
|
258
|
+
user: oSafe.transformDbUserToClientUser(session, user),
|
|
258
259
|
};
|
|
259
260
|
}
|
|
260
261
|
authModuleRaw.log.error({ email, passwordLength: password.length });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OAuth2Tokens } from 'arctic';
|
|
2
2
|
import type { ClassType, UserInfo } from 'remult';
|
|
3
|
-
import { Module } from '../../
|
|
3
|
+
import { Module } from '../../server';
|
|
4
4
|
import type { RecursivePartial } from '../../utils/types';
|
|
5
5
|
import { FFAuthAccount, FFAuthUser, FFAuthUserSession } from '../Entities';
|
|
6
6
|
import type { FirstlyData, FirstlyDataAuth, ProviderAuthorizationURLOptions } from '../types';
|
|
@@ -5,7 +5,7 @@ import { getRelativePackagePath } from '@kitql/internals';
|
|
|
5
5
|
import { building } from '$app/environment';
|
|
6
6
|
import { AuthController } from '..';
|
|
7
7
|
import { FF_Role } from '../..';
|
|
8
|
-
import { Module } from '../../
|
|
8
|
+
import { Module } from '../../server';
|
|
9
9
|
import { FF_Role_Auth, FFAuthAccount, FFAuthUser, FFAuthUserSession } from '../Entities';
|
|
10
10
|
import { AuthControllerServer } from './AuthController.server';
|
|
11
11
|
import { validateSessionToken } from './helperDb';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as r,x as l,aa as m,J as o,K as d,M as n,O as p,P as u,R as i}from"./index-
|
|
1
|
+
import{v as r,x as l,aa as m,J as o,K as d,M as n,O as p,P as u,R as i}from"./index-7Nh2ct-y.js";p();a[u]="src/lib/modules/admin/Page.svelte";function a(e,s){r(new.target),l(s,!1,a);var t=m("Hello from admin");return o(e,t),d({...n()})}i(a);export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as r,x as l,aa as o,J as m,K as p,M as u,O as d,P as f,R as g}from"./index-
|
|
1
|
+
import{v as r,x as l,aa as o,J as m,K as p,M as u,O as d,P as f,R as g}from"./index-7Nh2ct-y.js";d();a[f]="src/lib/modules/storage/Page.svelte";function a(e,s){r(new.target),l(s,!1,a);var t=o("Hello from files");return m(e,t),p({...u()})}g(a);export{a as default};
|