@proteinjs/user 1.0.10 → 1.0.12
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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.11](https://github.com/proteinjs/user/compare/@proteinjs/user@1.0.10...@proteinjs/user@1.0.11) (2024-05-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* do not name a column the same name as a table ([1442a9f](https://github.com/proteinjs/user/commit/1442a9f665f88feafa8ccb83631ef2fb7d741f20))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 1.0.1 (2024-04-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @proteinjs/user
|
|
@@ -24,7 +24,7 @@ var SessionTable = /** @class */ (function (_super) {
|
|
|
24
24
|
_this.name = 'session';
|
|
25
25
|
_this.columns = (0, db_1.withRecordColumns)({
|
|
26
26
|
sessionId: new db_1.StringColumn('session_id'),
|
|
27
|
-
session: new db_1.StringColumn('
|
|
27
|
+
session: new db_1.StringColumn('serialized_session', {}, 4000),
|
|
28
28
|
expires: new db_1.DateColumn('expires'),
|
|
29
29
|
userEmail: new db_1.StringColumn('user_email'),
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionTable.js","sourceRoot":"","sources":["../../../src/tables/SessionTable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,oCAA2F;AAS3F;IAAkC,gCAAc;IAAhD;QAAA,qEAQC;QAPG,UAAI,GAAG,SAAS,CAAC;QACjB,aAAO,GAAG,IAAA,sBAAiB,EAAU;YACjC,SAAS,EAAE,IAAI,iBAAY,CAAC,YAAY,CAAC;YACzC,OAAO,EAAE,IAAI,iBAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"SessionTable.js","sourceRoot":"","sources":["../../../src/tables/SessionTable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,oCAA2F;AAS3F;IAAkC,gCAAc;IAAhD;QAAA,qEAQC;QAPG,UAAI,GAAG,SAAS,CAAC;QACjB,aAAO,GAAG,IAAA,sBAAiB,EAAU;YACjC,SAAS,EAAE,IAAI,iBAAY,CAAC,YAAY,CAAC;YACzC,OAAO,EAAE,IAAI,iBAAY,CAAC,oBAAoB,EAAE,EAAE,EAAE,IAAI,CAAC;YACzD,OAAO,EAAE,IAAI,eAAU,CAAC,SAAS,CAAC;YAClC,SAAS,EAAE,IAAI,iBAAY,CAAC,YAAY,CAAC;SAC5C,CAAC,CAAC;;IACP,CAAC;IAAD,mBAAC;AAAD,CAAC,AARD,CAAkC,UAAK,GAQtC;AARY,oCAAY;AAQxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
2
|
+
"name": "@proteinjs/user",
|
|
3
|
+
"version": "1.0.12",
|
|
4
|
+
"description": "User management",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/proteinjs/user.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/proteinjs/user/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/proteinjs/user#readme",
|
|
16
|
+
"author": "Brent Bahry",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"clean": "rm -rf dist/ generated/ node_modules/",
|
|
20
|
+
"build": "reflection-build && tsc",
|
|
21
|
+
"watch": "reflection-watch",
|
|
22
|
+
"test": "jest"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@proteinjs/db": "1.0.15",
|
|
26
|
+
"@proteinjs/reflection": "1.1.1",
|
|
27
|
+
"@proteinjs/server-api": "1.1.1",
|
|
28
|
+
"@proteinjs/service": "1.0.9",
|
|
29
|
+
"@proteinjs/user-auth": "1.0.7",
|
|
30
|
+
"moment": "2.29.4"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@proteinjs/db-driver-knex": "1.0.14",
|
|
34
|
+
"@proteinjs/reflection-build": "1.0.16",
|
|
35
|
+
"@types/jest": "29.5.5",
|
|
36
|
+
"@types/node": "14.0.13",
|
|
37
|
+
"jest": "29.7.0",
|
|
38
|
+
"ts-jest": "29.1.1",
|
|
39
|
+
"typescript": "5.2.2"
|
|
40
|
+
},
|
|
41
|
+
"main": "./dist/generated/index.js",
|
|
42
|
+
"types": "./dist/generated/index.d.ts"
|
|
43
43
|
}
|
|
@@ -11,7 +11,7 @@ export class SessionTable extends Table<Session> {
|
|
|
11
11
|
name = 'session';
|
|
12
12
|
columns = withRecordColumns<Session>({
|
|
13
13
|
sessionId: new StringColumn('session_id'),
|
|
14
|
-
session: new StringColumn('
|
|
14
|
+
session: new StringColumn('serialized_session', {}, 4000),
|
|
15
15
|
expires: new DateColumn('expires'),
|
|
16
16
|
userEmail: new StringColumn('user_email'),
|
|
17
17
|
});
|