@luxexchange/config 1.0.0 → 1.0.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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@luxexchange/config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "dependencies": {
5
5
  "react-native-dotenv": "3.2.0",
6
- "@luxfi/utilities": "^1.0.0"
6
+ "@luxfi/utilities": "workspace:^"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@types/node": "22.13.1",
10
- "@typescript/native-preview": "7.0.0-dev.20260108.1",
11
- "@luxfi/eslint-config": "^1.0.0",
10
+ "@typescript/native-preview": "7.0.0-dev.20260311.1",
11
+ "@luxfi/eslint-config": "workspace:^",
12
12
  "depcheck": "1.4.7",
13
13
  "eslint": "8.57.1",
14
14
  "typescript": "5.8.3"
package/project.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@luxfi/config",
3
3
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "pkgs/config/src",
4
+ "sourceRoot": "packages/config/src",
5
5
  "projectType": "library",
6
6
  "tags": ["scope:config", "type:lib"],
7
7
  "targets": {
@@ -36,7 +36,7 @@ import {
36
36
  WALLETCONNECT_PROJECT_ID_BETA,
37
37
  WALLETCONNECT_PROJECT_ID_DEV,
38
38
  } from 'react-native-dotenv'
39
- import { isNonTestDev } from '@luxfi/utilities/src/environment/constants'
39
+ import { isNonTestDev } from 'utilities/src/environment/constants'
40
40
 
41
41
  // Module-level cache for config to avoid recomputing on every call
42
42
  let cachedConfig: Config | undefined
package/src/getConfig.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Config } from '@luxfi/config/src/config-types'
2
- import { PlatformSplitStubError } from '@luxfi/utilities/src/errors'
2
+ import { PlatformSplitStubError } from 'utilities/src/errors'
3
3
 
4
4
  export function getConfig(): Config {
5
5
  throw new PlatformSplitStubError('Use the correct getConfig for your platform')
@@ -1,5 +1,5 @@
1
1
  import type { Config } from '@luxfi/config/src/config-types'
2
- import { isNonTestDev } from '@luxfi/utilities/src/environment/constants'
2
+ import { isNonTestDev } from 'utilities/src/environment/constants'
3
3
 
4
4
  // Module-level cache for config to avoid recomputing on every call
5
5
  let cachedConfig: Config | undefined
package/.depcheckrc DELETED
@@ -1,9 +0,0 @@
1
- ignores: [
2
- # Standard ignores
3
- "typescript",
4
- "@typescript/native-preview",
5
- "depcheck",
6
-
7
- # Internal packages / workspaces
8
- "@universe/config",
9
- ]
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: '@luxfi/config',
15
- },
16
- ],
17
- },
18
- },
19
- ],
20
- }