@luxexchange/prices 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 CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@luxexchange/prices",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "dependencies": {
5
5
  "@tanstack/react-query": "5.90.20",
6
6
  "@uniswap/sdk-core": "7.10.1",
7
- "@luxexchange/api": "^1.0.0",
8
- "@luxexchange/websocket": "^1.0.0",
9
- "@luxfi/utilities": "^1.0.0"
7
+ "@luxexchange/api": "workspace:^",
8
+ "@luxexchange/websocket": "workspace:^",
9
+ "@luxfi/utilities": "workspace:^"
10
10
  },
11
11
  "peerDependencies": {
12
12
  "react": "19.0.3"
@@ -15,7 +15,7 @@
15
15
  "@testing-library/react": "16.3.0",
16
16
  "@types/node": "22.13.1",
17
17
  "@typescript/native-preview": "7.0.0-dev.20260108.1",
18
- "@luxfi/eslint-config": "^1.0.0",
18
+ "@luxfi/eslint-config": "workspace:^",
19
19
  "@vitest/coverage-v8": "3.2.1",
20
20
  "depcheck": "1.4.7",
21
21
  "eslint": "8.57.1",
@@ -11,7 +11,7 @@ export interface SubscriptionApiOptions {
11
11
 
12
12
  /**
13
13
  * Creates a subscription handler for token price subscriptions.
14
- * This implements the SubscriptionHandler interface from @luxexchange/websocket.
14
+ * This implements the SubscriptionHandler interface from @universe/websocket.
15
15
  */
16
16
  export function createPriceSubscriptionHandler(
17
17
  options: SubscriptionApiOptions,
package/.depcheckrc DELETED
@@ -1,14 +0,0 @@
1
- ignores: [
2
- # Dependencies that depcheck incorrectly marks as unused
3
- "typescript",
4
- "@typescript/native-preview",
5
- "depcheck",
6
-
7
- # Internal packages / workspaces
8
- "prices",
9
- "@universe/prices",
10
-
11
- # TODO: remove once used in tests
12
- "@testing-library/react",
13
- "@vitest/coverage-v8",
14
- ]
package/.eslintrc.js DELETED
@@ -1,20 +0,0 @@
1
- module.exports = {
2
- extends: ['@luxfi/eslint-config/lib'],
3
- parserOptions: {
4
- tsconfigRootDir: __dirname,
5
- },
6
- overrides: [
7
- {
8
- files: ['*.ts', '*.tsx'],
9
- rules: {
10
- 'no-relative-import-paths/no-relative-import-paths': [
11
- 'error',
12
- {
13
- allowSameFolder: false,
14
- prefix: '@universe/prices',
15
- },
16
- ],
17
- },
18
- },
19
- ],
20
- }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @universe/prices
2
-
3
- // TODO
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "preserveSymlinks": true
5
- },
6
- "include": ["**/*.ts", "**/*.tsx", "**/*.json"],
7
- "exclude": ["node_modules"]
8
- }
package/vitest.config.ts DELETED
@@ -1,22 +0,0 @@
1
- import { defineConfig } from 'vitest/config'
2
-
3
- export default defineConfig({
4
- test: {
5
- environment: 'node',
6
- server: {
7
- deps: {
8
- inline: ['@tanstack/react-query', 'partysocket'],
9
- },
10
- },
11
- coverage: {
12
- exclude: [
13
- '**/__generated__/**',
14
- '**/node_modules/**',
15
- '**/dist/**',
16
- '**/*.config.*',
17
- '**/scripts/**',
18
- '**/.eslintrc.*',
19
- ],
20
- },
21
- },
22
- })