@ctx-core/session 9.0.22 → 9.0.27

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.27
4
+
5
+ ### Patch Changes
6
+
7
+ - @swc/core: ^1.2.113 -> ^1.2.116
8
+ - Updated dependencies
9
+ - @ctx-core/env@13.0.50
10
+
11
+ ## 9.0.26
12
+
13
+ ### Patch Changes
14
+
15
+ - @swc/cli: ^0.1.51 -> ^0.1.52
16
+ - @swc/core: ^1.2.111 -> ^1.2.113
17
+ - Updated dependencies
18
+ - Updated dependencies
19
+ - @ctx-core/env@13.0.49
20
+
21
+ ## 9.0.25
22
+
23
+ ### Patch Changes
24
+
25
+ - @swc/core: ^1.2.110 -> ^1.2.111
26
+ - Updated dependencies
27
+ - Updated dependencies
28
+ - @ctx-core/env@13.0.48
29
+
30
+ ## 9.0.24
31
+
32
+ ### Patch Changes
33
+
34
+ - typescript: ^4.4.4 -> ^4.5.2
35
+ - @swc/core: ^1.2.108 -> ^1.2.110
36
+ - Updated dependencies
37
+ - Updated dependencies
38
+ - @ctx-core/env@13.0.47
39
+
40
+ ## 9.0.23
41
+
42
+ ### Patch Changes
43
+
44
+ - @swc/core: ^1.2.107 -> ^1.2.108
45
+ - Updated dependencies
46
+ - @ctx-core/env@13.0.46
47
+
3
48
  ## 9.0.22
4
49
 
5
50
  ### Patch Changes
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.22",
3
+ "version": "9.0.27",
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.45"
31
+ "@ctx-core/env": "^13.0.50"
32
32
  },
33
33
  "devDependencies": {
34
- "@swc/cli": "^0.1.51",
35
- "@swc/core": "^1.2.107",
36
- "typescript": "^4.4.4"
34
+ "@swc/cli": "^0.1.52",
35
+ "@swc/core": "^1.2.116",
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 }