@ctx-core/session 9.0.21 → 9.0.26
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/.swcrc +10 -0
- package/CHANGELOG.md +45 -0
- package/dist/env.js +2 -2
- package/dist/env.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/env.ts +1 -3
- package/COMMIT_EDITMSG +0 -2
- package/dist/env.d.ts +0 -2
- package/dist/index.cjs +0 -1
- package/dist/index.d.ts +0 -1
package/.swcrc
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @ctx-core/session
|
|
2
2
|
|
|
3
|
+
## 9.0.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @swc/cli: ^0.1.51 -> ^0.1.52
|
|
8
|
+
- @swc/core: ^1.2.111 -> ^1.2.113
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- @ctx-core/env@13.0.49
|
|
12
|
+
|
|
13
|
+
## 9.0.25
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- @swc/core: ^1.2.110 -> ^1.2.111
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @ctx-core/env@13.0.48
|
|
21
|
+
|
|
22
|
+
## 9.0.24
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- typescript: ^4.4.4 -> ^4.5.2
|
|
27
|
+
- @swc/core: ^1.2.108 -> ^1.2.110
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
- @ctx-core/env@13.0.47
|
|
31
|
+
|
|
32
|
+
## 9.0.23
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- @swc/core: ^1.2.107 -> ^1.2.108
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
- @ctx-core/env@13.0.46
|
|
39
|
+
|
|
40
|
+
## 9.0.22
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- compile using swc
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
- @ctx-core/env@13.0.45
|
|
47
|
+
|
|
3
48
|
## 9.0.21
|
|
4
49
|
|
|
5
50
|
### Patch Changes
|
package/dist/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { throw_missing_env } from '@ctx-core/env';
|
|
2
|
-
const SESSION_KEY = process.env.SESSION_KEY
|
|
3
|
-
|| throw_missing_env('SESSION_KEY');
|
|
2
|
+
const SESSION_KEY = process.env.SESSION_KEY || throw_missing_env('SESSION_KEY');
|
|
4
3
|
export { SESSION_KEY };
|
|
4
|
+
|
|
5
5
|
//# sourceMappingURL=env.js.map
|
package/dist/env.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/env.ts"],"sourcesContent":["import { throw_missing_env } from '@ctx-core/env'\nconst SESSION_KEY = process.env.SESSION_KEY || throw_missing_env('SESSION_KEY')\nexport { SESSION_KEY }\n"],"names":["throw_missing_env","SESSION_KEY","process","env"],"mappings":"AAAA,MAAM,GAAGA,iBAAiB,QAAQ,CAAe;AACjD,KAAK,CAACC,WAAW,GAAGC,OAAO,CAACC,GAAG,CAACF,WAAW,IAAID,iBAAiB,CAAC,CAAa;AAC9E,MAAM,GAAGC,WAAW"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './env.js'\n"],"names":[],"mappings":"cAAc,CAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/session",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.26",
|
|
4
4
|
"description": "ctx-core session",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
-
"main": "./dist/index.
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
21
|
"module": "./dist/index.js",
|
|
22
|
-
"types": "./
|
|
22
|
+
"types": "./src/index.ts",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
25
|
"require": "./dist/index.cjs",
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"./package.json": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ctx-core/env": "^13.0.
|
|
32
|
-
"esm": "^3.2.25"
|
|
31
|
+
"@ctx-core/env": "^13.0.49"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
|
-
"
|
|
34
|
+
"@swc/cli": "^0.1.52",
|
|
35
|
+
"@swc/core": "^1.2.113",
|
|
36
|
+
"typescript": "next"
|
|
36
37
|
},
|
|
37
38
|
"publishConfig": {
|
|
38
39
|
"access": "public",
|
|
39
40
|
"cache": "~/.npm"
|
|
40
41
|
},
|
|
41
42
|
"scripts": {
|
|
42
|
-
"build": "npm run
|
|
43
|
-
"clean": "rm -
|
|
44
|
-
"compile": "
|
|
45
|
-
"copy-mjs": "cd dist && echo \"module.exports = (async () => import('./index.js'))()\" > index.cjs",
|
|
43
|
+
"build": "npm run compile",
|
|
44
|
+
"clean": "rm -rf dist",
|
|
45
|
+
"compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
|
|
46
46
|
"exec": "$@"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/src/env.ts
CHANGED
package/COMMIT_EDITMSG
DELETED
package/dist/env.d.ts
DELETED
package/dist/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = (async () => import('./index.js'))()
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './env.js';
|