@luxexchange/sessions 1.0.0 → 1.0.2
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/package.json +3 -3
- package/src/index.ts +1 -1
- package/.depcheckrc +0 -20
- package/.eslintrc.js +0 -21
- package/README.md +0 -1
- package/env.d.ts +0 -12
- package/tsconfig.lint.json +0 -8
- package/tsconfig.spec.json +0 -8
- package/vitest.config.ts +0 -20
- package/vitest.integration.config.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxexchange/sessions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"typecheck": "nx typecheck sessions",
|
|
6
6
|
"typecheck:tsgo": "nx typecheck:tsgo sessions",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@tanstack/react-query": "5.90.20",
|
|
27
27
|
"@uniswap/client-platform-service": "0.0.14",
|
|
28
28
|
"bidc": "0.0.3",
|
|
29
|
-
"@luxfi/utilities": "
|
|
29
|
+
"@luxfi/utilities": "workspace:^",
|
|
30
30
|
"zod": "4.3.6"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/node": "22.13.1",
|
|
36
36
|
"@types/react": "19.0.10",
|
|
37
37
|
"@typescript/native-preview": "7.0.0-dev.20260108.1",
|
|
38
|
-
"@luxfi/eslint-config": "
|
|
38
|
+
"@luxfi/eslint-config": "workspace:^",
|
|
39
39
|
"@vitest/coverage-v8": "3.2.1",
|
|
40
40
|
"depcheck": "1.4.7",
|
|
41
41
|
"eslint": "8.57.1",
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** biome-ignore-all assist/source/organizeImports: we want to manually group exports by category */
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @universe/sessions
|
|
5
5
|
*
|
|
6
6
|
* This is the ONLY public entry point for the Sessions package.
|
|
7
7
|
* All exports must be explicitly listed here.
|
package/.depcheckrc
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
ignores: [
|
|
2
|
-
# Dependencies that depcheck thinks are unused but are actually used
|
|
3
|
-
"openapi-typescript-codegen",
|
|
4
|
-
"typescript",
|
|
5
|
-
"@typescript/native-preview",
|
|
6
|
-
"depcheck",
|
|
7
|
-
"@vitest/coverage-v8",
|
|
8
|
-
"@types/react",
|
|
9
|
-
"ts-morph",
|
|
10
|
-
|
|
11
|
-
# Used but depcheck doesn't detect correctly
|
|
12
|
-
"@tanstack/react-query",
|
|
13
|
-
"@bufbuild/protobuf",
|
|
14
|
-
|
|
15
|
-
# Dependencies that depcheck thinks are missing but are actually present
|
|
16
|
-
## Internal packages / workspaces
|
|
17
|
-
"@universe/sessions",
|
|
18
|
-
"tsconfig",
|
|
19
|
-
"utilities",
|
|
20
|
-
]
|
package/.eslintrc.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['@luxfi/eslint-config/lib'],
|
|
3
|
-
ignorePatterns: ['env.d.ts'],
|
|
4
|
-
parserOptions: {
|
|
5
|
-
tsconfigRootDir: __dirname,
|
|
6
|
-
},
|
|
7
|
-
overrides: [
|
|
8
|
-
{
|
|
9
|
-
files: ['*.ts', '*.tsx'],
|
|
10
|
-
rules: {
|
|
11
|
-
'no-relative-import-paths/no-relative-import-paths': [
|
|
12
|
-
'error',
|
|
13
|
-
{
|
|
14
|
-
allowSameFolder: false,
|
|
15
|
-
prefix: '@luxfi/sessions',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
}
|
package/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# `@universe/sessions` Package
|
package/env.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** biome-ignore-all lint/style/noNamespace: required to define process.env type */
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
namespace NodeJS {
|
|
5
|
-
// All process.env values used by this package should be listed here
|
|
6
|
-
interface ProcessEnv {
|
|
7
|
-
NODE_ENV?: 'development' | 'production' | 'test'
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export {}
|
package/tsconfig.lint.json
DELETED
package/tsconfig.spec.json
DELETED
package/vitest.config.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vitest/config'
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
test: {
|
|
5
|
-
watch: false,
|
|
6
|
-
environment: 'edge-runtime',
|
|
7
|
-
exclude: [
|
|
8
|
-
'**/node_modules/**',
|
|
9
|
-
'**/dist/**',
|
|
10
|
-
// Exclude real backend integration tests - these run in a separate optional CI workflow
|
|
11
|
-
'**/session.integration.test.ts',
|
|
12
|
-
],
|
|
13
|
-
coverage: {
|
|
14
|
-
exclude: ['**/__generated__/**', '**/node_modules/**', '**/dist/**', '**/*.config.*', '**/scripts/**'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
resolve: {
|
|
18
|
-
extensions: ['.web.ts', '.web.tsx', '.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
19
|
-
},
|
|
20
|
-
})
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vitest/config'
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
test: {
|
|
5
|
-
watch: false,
|
|
6
|
-
environment: 'edge-runtime',
|
|
7
|
-
include: ['**/session.integration.test.ts'],
|
|
8
|
-
testTimeout: 60000,
|
|
9
|
-
hookTimeout: 60000,
|
|
10
|
-
},
|
|
11
|
-
resolve: {
|
|
12
|
-
extensions: ['.web.ts', '.web.tsx', '.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
13
|
-
},
|
|
14
|
-
})
|