@xylabs/sdk-js 4.0.0 → 4.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/eslint.config.mjs CHANGED
@@ -1,13 +1,24 @@
1
1
  // eslint.config.mjs
2
2
 
3
- import { config as xylabsConfig } from '@xylabs/eslint-config-flat'
3
+ import { typescriptConfig,
4
+ unicornConfig,
5
+ workspacesConfig,
6
+ rulesConfig,
7
+ importConfig } from '@xylabs/eslint-config-flat'
4
8
 
5
9
  export default [
6
10
  {
7
- ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
11
+ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs'],
8
12
  },
9
- ...xylabsConfig,
13
+ unicornConfig,
14
+ workspacesConfig,
15
+ rulesConfig,
16
+ importConfig,
10
17
  {
11
- rules: {},
12
- },
18
+ ...typescriptConfig,
19
+ rules: {
20
+ ...typescriptConfig.rules,
21
+ '@typescript-eslint/consistent-type-imports': ['warn']
22
+ },
23
+ }
13
24
  ]
@@ -1,7 +1,7 @@
1
1
  import { config } from 'dotenv'
2
2
  config()
3
- import { Config } from 'jest'
4
- import { SuperTest, Test } from 'supertest'
3
+ import type { Config } from 'jest'
4
+ import type { SuperTest, Test } from 'supertest'
5
5
 
6
6
  // Augment global scope with shared variables (must be var)
7
7
  declare global {
@@ -1,6 +1,6 @@
1
1
  import { config } from 'dotenv'
2
2
  config()
3
- import { Config } from 'jest'
3
+ import type { Config } from 'jest'
4
4
 
5
5
  /**
6
6
  * Jest global teardown method runs after all tests are run
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "bugs": {
10
10
  "email": "support@xylabs.com",
11
- "url": "https://github.com/xylabs/sdk-js/issues"
11
+ "url": "git+https://github.com/xylabs/sdk-js/issues"
12
12
  },
13
13
  "workspaces": [
14
14
  "packages/**/*"
@@ -31,33 +31,33 @@
31
31
  "esm"
32
32
  ],
33
33
  "dependencies": {
34
- "@xylabs/api": "^4.0.0",
35
- "@xylabs/array": "^4.0.0",
36
- "@xylabs/assert": "^4.0.0",
37
- "@xylabs/axios": "^4.0.0",
38
- "@xylabs/crypto": "^4.0.0",
39
- "@xylabs/decimal-precision": "^4.0.0",
40
- "@xylabs/delay": "^4.0.0",
41
- "@xylabs/error": "^4.0.0",
42
- "@xylabs/eth-address": "^4.0.0",
43
- "@xylabs/exists": "^4.0.0",
44
- "@xylabs/forget": "^4.0.0",
45
- "@xylabs/function-name": "^4.0.0",
46
- "@xylabs/hex": "^4.0.0",
47
- "@xylabs/log": "^4.0.0",
48
- "@xylabs/logger": "^4.0.0",
49
- "@xylabs/object": "^4.0.0",
50
- "@xylabs/platform": "^4.0.0",
51
- "@xylabs/profile": "^4.0.0",
52
- "@xylabs/promise": "^4.0.0",
53
- "@xylabs/retry": "^4.0.0",
54
- "@xylabs/set": "^4.0.0",
55
- "@xylabs/static-implements": "^4.0.0",
56
- "@xylabs/timer": "^4.0.0",
57
- "@xylabs/url": "^4.0.0"
34
+ "@xylabs/api": "^4.0.2",
35
+ "@xylabs/array": "^4.0.2",
36
+ "@xylabs/assert": "^4.0.2",
37
+ "@xylabs/axios": "^4.0.2",
38
+ "@xylabs/crypto": "^4.0.2",
39
+ "@xylabs/decimal-precision": "^4.0.2",
40
+ "@xylabs/delay": "^4.0.2",
41
+ "@xylabs/error": "^4.0.2",
42
+ "@xylabs/eth-address": "^4.0.2",
43
+ "@xylabs/exists": "^4.0.2",
44
+ "@xylabs/forget": "^4.0.2",
45
+ "@xylabs/function-name": "^4.0.2",
46
+ "@xylabs/hex": "^4.0.2",
47
+ "@xylabs/log": "^4.0.2",
48
+ "@xylabs/logger": "^4.0.2",
49
+ "@xylabs/object": "^4.0.2",
50
+ "@xylabs/platform": "^4.0.2",
51
+ "@xylabs/profile": "^4.0.2",
52
+ "@xylabs/promise": "^4.0.2",
53
+ "@xylabs/retry": "^4.0.2",
54
+ "@xylabs/set": "^4.0.2",
55
+ "@xylabs/static-implements": "^4.0.2",
56
+ "@xylabs/timer": "^4.0.2",
57
+ "@xylabs/url": "^4.0.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@stylistic/eslint-plugin": "^2.6.2",
60
+ "@stylistic/eslint-plugin": "^2.6.4",
61
61
  "@types/jest": "^29.5.12",
62
62
  "@types/supertest": "^6.0.2",
63
63
  "@typescript-eslint/eslint-plugin": "^8.1.0",
@@ -84,12 +84,15 @@
84
84
  "typescript": "^5.5.4",
85
85
  "vitest": "^2.0.5"
86
86
  },
87
+ "resolutions": {
88
+ "rimraf": "^5"
89
+ },
87
90
  "publishConfig": {
88
91
  "access": "public"
89
92
  },
90
93
  "repository": {
91
94
  "type": "git",
92
- "url": "https://github.com/xylabs/sdk-js.git"
95
+ "url": "git+https://github.com/xylabs/sdk-js.git"
93
96
  },
94
97
  "sideEffects": false,
95
98
  "packageManager": "yarn@4.4.0",
@@ -104,6 +107,6 @@
104
107
  "node": "22.3.0",
105
108
  "yarn": "1.22.19"
106
109
  },
107
- "version": "4.0.0",
110
+ "version": "4.0.2",
108
111
  "type": "module"
109
112
  }