@xylabs/sdk-js 3.6.5 → 3.6.7

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.
@@ -23,4 +23,4 @@ export * from "@xylabs/set";
23
23
  export * from "@xylabs/static-implements";
24
24
  export * from "@xylabs/timer";
25
25
  export * from "@xylabs/url";
26
- //# sourceMappingURL=index.js.map
26
+ //# sourceMappingURL=index.mjs.map
@@ -23,4 +23,4 @@ export * from "@xylabs/set";
23
23
  export * from "@xylabs/static-implements";
24
24
  export * from "@xylabs/timer";
25
25
  export * from "@xylabs/url";
26
- //# sourceMappingURL=index.js.map
26
+ //# sourceMappingURL=index.mjs.map
@@ -23,4 +23,4 @@ export * from "@xylabs/set";
23
23
  export * from "@xylabs/static-implements";
24
24
  export * from "@xylabs/timer";
25
25
  export * from "@xylabs/url";
26
- //# sourceMappingURL=index.js.map
26
+ //# sourceMappingURL=index.mjs.map
package/eslint.config.mjs CHANGED
@@ -1,126 +1,13 @@
1
1
  // eslint.config.mjs
2
2
 
3
- import tsParser from '@typescript-eslint/parser'
4
- import { importConfig, prettierConfig, rulesConfig, typescriptConfig, unicornConfig, workspacesConfig } from '@xylabs/eslint-config-flat'
5
- import simpleImportSort from 'eslint-plugin-simple-import-sort'
6
- import sonarjs from 'eslint-plugin-sonarjs'
3
+ import { config as xylabsConfig } from '@xylabs/eslint-config-flat'
7
4
 
8
5
  export default [
9
6
  {
10
- ignores: ['.yarn', '.yarn/**', '**/dist/**', 'dist/**', 'build/**', 'node_modules/**', 'packages/threads/**'],
7
+ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
11
8
  },
12
- sonarjs.configs.recommended,
13
- prettierConfig,
14
- typescriptConfig,
15
- rulesConfig,
16
- workspacesConfig,
17
- importConfig,
9
+ ...xylabsConfig,
18
10
  {
19
- plugins: {
20
- 'simple-import-sort': simpleImportSort,
21
- },
22
- rules: {
23
- 'simple-import-sort/imports': 'error',
24
- 'simple-import-sort/exports': 'error',
25
- },
26
- },
27
- {
28
- files: ['**/*.ts', '**/*.js', '**/*.cjs', '**/*.mjs'],
29
- languageOptions: {
30
- parser: tsParser,
31
- parserOptions: {
32
- ecmaVersion: 'latest',
33
- sourceType: 'module',
34
- project: './tsconfig.json',
35
- },
36
- },
37
- plugins: { ...typescriptConfig.plugins, ...unicornConfig.plugins, ...prettierConfig.plugins },
38
- settings: {
39
- 'import/resolver': {
40
- typescript: {
41
- project: './tsconfig.json',
42
- },
43
- },
44
- },
45
- rules: {
46
- ...typescriptConfig.rules,
47
- ...unicornConfig.rules,
48
- ...prettierConfig.rules,
49
- 'no-unused-disable-directive': ['off'],
50
- complexity: ['error', 18],
51
- 'max-depth': ['error', 6],
52
- 'max-lines': [
53
- 'error',
54
- {
55
- max: 512,
56
- skipBlankLines: true,
57
- },
58
- ],
59
- 'max-nested-callbacks': ['error', 6],
60
- 'max-statements': ['error', 32],
61
- 'no-restricted-imports': [
62
- 'warn',
63
- {
64
- paths: [
65
- 'lodash',
66
- 'react-player',
67
- 'filepond',
68
- 'aos',
69
- 'react-icons',
70
- '.',
71
- '..',
72
- '../..',
73
- '../../..',
74
- '../../../..',
75
- '../../../../..',
76
- '../../../../../..',
77
- '../../../../../../..',
78
- ],
79
- },
80
- ],
81
- //'no-secrets/no-secrets': ['off'],
82
- 'no-tabs': ['error'],
83
- 'no-unused-vars': 'off',
84
- 'no-useless-escape': 'off',
85
- quotes: [2, 'single', 'avoid-escape'],
86
- 'require-await': 'error',
87
- semi: ['warn', 'never'],
88
- 'no-unused-disable-directive': ['off'],
89
- 'import/no-internal-modules': ['off'],
90
- 'import/no-deprecated': ['off'],
91
- 'no-restricted-imports': [
92
- 'warn',
93
- {
94
- paths: [
95
- '@types/node',
96
- '@xyo-network/archivist',
97
- '@xyo-network/bridge',
98
- '@xyo-network/core',
99
- '@xyo-network/diviner',
100
- '@xyo-network/module',
101
- '@xyo-network/modules',
102
- '@xyo-network/node',
103
- '@xyo-network/sdk',
104
- '@xyo-network/plugins',
105
- '@xyo-network/protocol',
106
- '@xyo-network/sentinel',
107
- '@xyo-network/witness',
108
- '@xyo-network/core-payload-plugins',
109
- 'react-player',
110
- 'filepond',
111
- 'aos',
112
- 'react-icons',
113
- '.',
114
- '..',
115
- '../..',
116
- '../../..',
117
- '../../../..',
118
- '../../../../..',
119
- '../../../../../..',
120
- '../../../../../../..',
121
- ],
122
- },
123
- ],
124
- },
11
+ rules: {},
125
12
  },
126
13
  ]
package/jest.config.ts CHANGED
@@ -30,5 +30,4 @@ const generateJestConfig = ({ esModules }: { esModules: string[] }) => {
30
30
 
31
31
  const config = generateJestConfig({ esModules: ['is-ip', 'ip-regex', 'lodash-es', 'uuid', 'lodash-es', 'quick-lru'] })
32
32
 
33
- // eslint-disable-next-line import/no-default-export
34
33
  export default config
package/package.json CHANGED
@@ -21,15 +21,15 @@
21
21
  "default": "./dist/neutral/index.cjs"
22
22
  },
23
23
  "import": {
24
- "types": "./dist/neutral/index.d.mts",
25
- "default": "./dist/neutral/index.js"
24
+ "types": "./dist/neutral/index.d.ts",
25
+ "default": "./dist/neutral/index.mjs"
26
26
  }
27
27
  },
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "main": "./dist/neutral/index.cjs",
31
31
  "types": "./dist/neutral/index.d.ts",
32
- "module": "./dist/neutral/index.js",
32
+ "module": "./dist/neutral/index.mjs",
33
33
  "homepage": "https://xylabs.com",
34
34
  "keywords": [
35
35
  "xylabs",
@@ -38,44 +38,44 @@
38
38
  "esm"
39
39
  ],
40
40
  "dependencies": {
41
- "@xylabs/api": "^3.6.5",
42
- "@xylabs/array": "^3.6.5",
43
- "@xylabs/assert": "^3.6.5",
44
- "@xylabs/axios": "^3.6.5",
45
- "@xylabs/crypto": "^3.6.5",
46
- "@xylabs/decimal-precision": "^3.6.5",
47
- "@xylabs/delay": "^3.6.5",
48
- "@xylabs/error": "^3.6.5",
49
- "@xylabs/eth-address": "^3.6.5",
50
- "@xylabs/exists": "^3.6.5",
51
- "@xylabs/forget": "^3.6.5",
52
- "@xylabs/function-name": "^3.6.5",
53
- "@xylabs/hex": "^3.6.5",
54
- "@xylabs/log": "^3.6.5",
55
- "@xylabs/logger": "^3.6.5",
56
- "@xylabs/object": "^3.6.5",
57
- "@xylabs/platform": "^3.6.5",
58
- "@xylabs/profile": "^3.6.5",
59
- "@xylabs/promise": "^3.6.5",
60
- "@xylabs/retry": "^3.6.5",
61
- "@xylabs/set": "^3.6.5",
62
- "@xylabs/static-implements": "^3.6.5",
63
- "@xylabs/timer": "^3.6.5",
64
- "@xylabs/url": "^3.6.5"
41
+ "@xylabs/api": "^3.6.7",
42
+ "@xylabs/array": "^3.6.7",
43
+ "@xylabs/assert": "^3.6.7",
44
+ "@xylabs/axios": "^3.6.7",
45
+ "@xylabs/crypto": "^3.6.7",
46
+ "@xylabs/decimal-precision": "^3.6.7",
47
+ "@xylabs/delay": "^3.6.7",
48
+ "@xylabs/error": "^3.6.7",
49
+ "@xylabs/eth-address": "^3.6.7",
50
+ "@xylabs/exists": "^3.6.7",
51
+ "@xylabs/forget": "^3.6.7",
52
+ "@xylabs/function-name": "^3.6.7",
53
+ "@xylabs/hex": "^3.6.7",
54
+ "@xylabs/log": "^3.6.7",
55
+ "@xylabs/logger": "^3.6.7",
56
+ "@xylabs/object": "^3.6.7",
57
+ "@xylabs/platform": "^3.6.7",
58
+ "@xylabs/profile": "^3.6.7",
59
+ "@xylabs/promise": "^3.6.7",
60
+ "@xylabs/retry": "^3.6.7",
61
+ "@xylabs/set": "^3.6.7",
62
+ "@xylabs/static-implements": "^3.6.7",
63
+ "@xylabs/timer": "^3.6.7",
64
+ "@xylabs/url": "^3.6.7"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/jest": "^29.5.12",
68
68
  "@types/supertest": "^6.0.2",
69
- "@typescript-eslint/eslint-plugin": "^7.17.0",
70
- "@typescript-eslint/parser": "^7.17.0",
71
- "@xylabs/config": "^3.12.4",
72
- "@xylabs/eslint-config-flat": "^3.12.4",
73
- "@xylabs/ts-scripts-yarn3": "^3.12.4",
74
- "@xylabs/tsconfig": "^3.12.4",
75
- "@xylabs/tsconfig-jest": "^3.12.4",
69
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
70
+ "@typescript-eslint/parser": "^8.0.0",
71
+ "@xylabs/config": "^3.15.4",
72
+ "@xylabs/eslint-config-flat": "^3.15.4",
73
+ "@xylabs/ts-scripts-yarn3": "^3.15.4",
74
+ "@xylabs/tsconfig": "^3.15.4",
75
+ "@xylabs/tsconfig-jest": "^3.15.4",
76
76
  "babel-jest": "^29.7.0",
77
77
  "dotenv": "^16.4.5",
78
- "eslint": "^9.7.0",
78
+ "eslint": "^9.8.0",
79
79
  "eslint-import-resolver-typescript": "^3.6.1",
80
80
  "eslint-plugin-import": "^2.29.1",
81
81
  "eslint-plugin-prettier": "^5.2.1",
@@ -89,7 +89,7 @@
89
89
  "prettier": "^3.3.3",
90
90
  "reflect-metadata": "^0.2.2",
91
91
  "supertest": "^7.0.0",
92
- "ts-jest": "^29.2.3",
92
+ "ts-jest": "^29.2.4",
93
93
  "ts-node": "^10.9.2",
94
94
  "typedoc": "^0.26.5",
95
95
  "typescript": "^5.5.4"
@@ -111,9 +111,9 @@
111
111
  },
112
112
  "engineStrict": true,
113
113
  "volta": {
114
- "node": "18.17.1",
114
+ "node": "22.3.0",
115
115
  "yarn": "1.22.19"
116
116
  },
117
- "version": "3.6.5",
117
+ "version": "3.6.7",
118
118
  "type": "module"
119
119
  }
File without changes
File without changes
File without changes