@ctx-core/session 9.0.97 → 9.1.1
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 +17 -0
- package/package.json +16 -16
- package/src/env/index.d.ts +1 -0
- package/src/env/index.js +4 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/.swcrc +0 -10
- package/lib/env.d.ts +0 -2
- package/lib/env.js +0 -5
- package/lib/env.js.map +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -3
- package/lib/index.js.map +0 -1
- package/src/env.ts +0 -3
- package/src/index.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @ctx-core/session
|
|
2
2
|
|
|
3
|
+
## 9.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @ctx-core/env: ^17.2.0 -> ^17.2.1
|
|
8
|
+
|
|
9
|
+
## 9.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- extract _.js & _.d.ts into directories
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @ctx-core/env@17.2.0
|
|
19
|
+
|
|
3
20
|
## 9.0.97
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/session",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.1",
|
|
4
4
|
"description": "ctx-core session",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -17,33 +17,33 @@
|
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
-
"types": "./
|
|
20
|
+
"types": "./src/index.d.ts",
|
|
21
|
+
"svelte": "./src/index.js",
|
|
21
22
|
"exports": {
|
|
22
|
-
".": "./
|
|
23
|
+
".": "./src/index.js",
|
|
23
24
|
"./package.json": "./package.json"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@ctx-core/env": "^17.1
|
|
27
|
+
"@ctx-core/env": "^17.2.1"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"typescript": "next"
|
|
30
|
+
"c8": "^7.13.0",
|
|
31
|
+
"check-dts": "^0.7.0",
|
|
32
|
+
"tsx": "^3.12.3",
|
|
33
|
+
"typescript": "next",
|
|
34
|
+
"uvu": "^0.5.6"
|
|
33
35
|
},
|
|
34
36
|
"publishConfig": {
|
|
35
37
|
"access": "public",
|
|
36
38
|
"cache": "~/.npm"
|
|
37
39
|
},
|
|
38
|
-
"svelte": "./lib/index.js",
|
|
39
40
|
"sideEffects": false,
|
|
40
41
|
"scripts": {
|
|
41
|
-
"build": "
|
|
42
|
-
"clean": "
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"exec": "$@"
|
|
42
|
+
"build": ":",
|
|
43
|
+
"clean": ":",
|
|
44
|
+
"exec": "$@",
|
|
45
|
+
"test": "pnpm test-unit && check-dts",
|
|
46
|
+
"test-unit": "tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
|
|
47
|
+
"test-unit-coverage": "c8 pnpm test-unit"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SESSION_KEY:string|void
|
package/src/env/index.js
ADDED
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './env'
|
package/src/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './env/index.js'
|
package/.swcrc
DELETED
package/lib/env.d.ts
DELETED
package/lib/env.js
DELETED
package/lib/env.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,SAASA,iBAAiB,QAAQ,gBAAe;AACjD,MAAMC,cAAcC,QAAQC,GAAG,CAACF,WAAW,IAAID,kBAAkB;AACjE,SAASC,WAAW,GAAE"}
|
package/lib/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './env.js';
|
package/lib/index.js
DELETED
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './env.js'\n"],"names":[],"mappings":"AAAA,cAAc,WAAU"}
|
package/src/env.ts
DELETED
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './env.js'
|