@ctx-core/session 9.0.23 → 9.0.28

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "jsc": {
3
- "target": "es2019",
3
+ "target": "es2020",
4
4
  "parser": {
5
5
  "syntax": "typescript",
6
6
  "tsx": true,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @ctx-core/session
2
2
 
3
+ ## 9.0.28
4
+
5
+ ### Patch Changes
6
+
7
+ - @swc/core: ^1.2.116 -> ^1.2.117
8
+ - Updated dependencies
9
+ - @ctx-core/env@13.0.51
10
+
11
+ ## 9.0.27
12
+
13
+ ### Patch Changes
14
+
15
+ - @swc/core: ^1.2.113 -> ^1.2.116
16
+ - Updated dependencies
17
+ - @ctx-core/env@13.0.50
18
+
19
+ ## 9.0.26
20
+
21
+ ### Patch Changes
22
+
23
+ - @swc/cli: ^0.1.51 -> ^0.1.52
24
+ - @swc/core: ^1.2.111 -> ^1.2.113
25
+ - Updated dependencies
26
+ - Updated dependencies
27
+ - @ctx-core/env@13.0.49
28
+
29
+ ## 9.0.25
30
+
31
+ ### Patch Changes
32
+
33
+ - @swc/core: ^1.2.110 -> ^1.2.111
34
+ - Updated dependencies
35
+ - Updated dependencies
36
+ - @ctx-core/env@13.0.48
37
+
38
+ ## 9.0.24
39
+
40
+ ### Patch Changes
41
+
42
+ - typescript: ^4.4.4 -> ^4.5.2
43
+ - @swc/core: ^1.2.108 -> ^1.2.110
44
+ - Updated dependencies
45
+ - Updated dependencies
46
+ - @ctx-core/env@13.0.47
47
+
3
48
  ## 9.0.23
4
49
 
5
50
  ### Patch Changes
package/COMMIT_EDITMSG ADDED
@@ -0,0 +1 @@
1
+
package/dist/env.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/env.ts"],"sourcesContent":["import { throw_missing_env } from '@ctx-core/env'\nconst SESSION_KEY =\n\tprocess.env.SESSION_KEY\n\t|| 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,GAChBC,OAAO,CAACC,GAAG,CAACF,WAAW,IACpBD,iBAAiB,CAAC,CAAa;AACnC,MAAM,GAAGC,WAAW"}
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/session",
3
- "version": "9.0.23",
3
+ "version": "9.0.28",
4
4
  "description": "ctx-core session",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -28,12 +28,12 @@
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "dependencies": {
31
- "@ctx-core/env": "^13.0.46"
31
+ "@ctx-core/env": "^13.0.51"
32
32
  },
33
33
  "devDependencies": {
34
- "@swc/cli": "^0.1.51",
35
- "@swc/core": "^1.2.108",
36
- "typescript": "^4.4.4"
34
+ "@swc/cli": "^0.1.52",
35
+ "@swc/core": "^1.2.117",
36
+ "typescript": "next"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public",
package/src/env.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  import { throw_missing_env } from '@ctx-core/env'
2
- const SESSION_KEY =
3
- process.env.SESSION_KEY
4
- || throw_missing_env('SESSION_KEY')
2
+ const SESSION_KEY = process.env.SESSION_KEY || throw_missing_env('SESSION_KEY')
5
3
  export { SESSION_KEY }