@xyo-network/sdk-js 2.107.5 → 2.107.6

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,37 +1,27 @@
1
1
  // eslint.config.mjs
2
2
 
3
- import { typescriptConfig, unicornConfig, prettierConfig, rulesConfig, workspacesConfig } from '@xylabs/eslint-config-flat'
3
+ import { typescriptConfig, importConfig, unicornConfig, prettierConfig, rulesConfig, workspacesConfig } from '@xylabs/eslint-config-flat'
4
4
  import tsParser from '@typescript-eslint/parser'
5
5
 
6
- // eslint-disable-next-line import/no-default-export
7
6
  export default [
8
- prettierConfig,
7
+ {
8
+ ignores: ['.yarn', '.yarn/**', '**/dist/**', 'dist/**', 'build/**', 'node_modules/**'],
9
+ },
10
+ workspacesConfig,
9
11
  typescriptConfig,
12
+ unicornConfig,
13
+ prettierConfig,
10
14
  rulesConfig,
11
- workspacesConfig,
12
15
  {
13
- files: ['**/*.ts', '**/*.js', '**/*.cjs', '**/*.mjs'],
14
- ignores: ['.yarn', '.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
15
- languageOptions: {
16
- parser: tsParser,
17
- parserOptions: {
18
- ecmaVersion: 'latest',
19
- sourceType: 'module',
20
- project: './tsconfig-eslint.json',
21
- },
22
- },
23
- plugins: { ...typescriptConfig.plugins, ...unicornConfig.plugins, ...prettierConfig.plugins },
24
- settings: {
25
- 'import/resolver': {
26
- typescript: {
27
- project: './tsconfig-eslint.json',
28
- },
29
- },
16
+ ...importConfig,
17
+ rules: {
18
+ ...importConfig.rules,
19
+ 'import/no-deprecated': ['off'],
20
+ 'import/no-internal-modules': ['off'],
30
21
  },
22
+ },
23
+ {
31
24
  rules: {
32
- ...typescriptConfig.rules,
33
- ...unicornConfig.rules,
34
- ...prettierConfig.rules,
35
25
  'no-unused-disable-directive': ['off'],
36
26
  complexity: ['error', 18],
37
27
  'max-depth': ['error', 6],
@@ -71,9 +61,6 @@ export default [
71
61
  quotes: [2, 'single', 'avoid-escape'],
72
62
  'require-await': 'error',
73
63
  semi: ['warn', 'never'],
74
- 'no-unused-disable-directive': ['off'],
75
- 'import/no-internal-modules': ['off'],
76
- 'import/no-deprecated': ['off'],
77
64
  'no-restricted-imports': [
78
65
  'warn',
79
66
  {
package/jest.config.ts CHANGED
@@ -34,5 +34,4 @@ const generateJestConfig = ({ esModules }: { esModules: string[] }) => {
34
34
 
35
35
  const config = generateJestConfig({ esModules: ['is-ip', 'ip-regex', 'lodash-es', 'uuid', 'lodash-es', 'quick-lru'] })
36
36
 
37
- // eslint-disable-next-line import/no-default-export
38
37
  export default config
package/package.json CHANGED
@@ -12,25 +12,24 @@
12
12
  "packages/**/*"
13
13
  ],
14
14
  "dependencies": {
15
- "@xyo-network/core-payload-plugins": "~2.107.5",
16
- "@xyo-network/manifest": "~2.107.5",
17
- "@xyo-network/modules": "~2.107.5",
18
- "@xyo-network/protocol": "~2.107.5",
19
- "@xyo-network/sdk-utils": "~2.107.5",
20
- "@xyo-network/shared": "~2.107.5"
15
+ "@xyo-network/core-payload-plugins": "^2.107.6",
16
+ "@xyo-network/manifest": "^2.107.6",
17
+ "@xyo-network/modules": "^2.107.6",
18
+ "@xyo-network/protocol": "^2.107.6",
19
+ "@xyo-network/sdk-utils": "^2.107.6",
20
+ "@xyo-network/shared": "^2.107.6"
21
21
  },
22
22
  "description": "Primary SDK for using XYO Protocol 2.0",
23
23
  "devDependencies": {
24
24
  "@types/jest": "^29.5.12",
25
25
  "@types/supertest": "^6.0.2",
26
- "@xylabs/eslint-config-flat": "^3.11.10",
27
- "@xylabs/forget": "^3.5.1",
28
- "@xylabs/ts-scripts-yarn3": "^3.11.10",
29
- "@xylabs/tsconfig": "^3.11.10",
30
- "@xylabs/tsconfig-dom-jest": "^3.11.10",
26
+ "@xylabs/eslint-config-flat": "^3.11.12",
27
+ "@xylabs/forget": "^3.5.2",
28
+ "@xylabs/ts-scripts-yarn3": "^3.11.12",
29
+ "@xylabs/tsconfig": "^3.11.12",
30
+ "@xylabs/tsconfig-dom-jest": "^3.11.12",
31
31
  "dotenv": "^16.4.5",
32
32
  "eslint": "^9.5.0",
33
- "eslint-plugin-deprecation": "^3.0.0",
34
33
  "jest": "^29.7.0",
35
34
  "jest-docblock": "^29.7.0",
36
35
  "jest-environment-jsdom": "^29.7.0",
@@ -42,17 +41,18 @@
42
41
  "supertest": "^7.0.0",
43
42
  "ts-jest": "^29.1.5",
44
43
  "ts-node": "^10.9.2",
45
- "typedoc": "^0.25.13",
44
+ "typedoc": "^0.26.2",
46
45
  "typedoc-material-theme": "^1.0.3",
47
46
  "typescript": "^5.5.2"
48
47
  },
49
48
  "resolutions": {
50
49
  "axios": "^1",
51
50
  "bn.js": "^5",
52
- "ethers": "6.11.0",
51
+ "ethers": "^6",
53
52
  "fake-indexeddb": "^4",
54
53
  "quick-lru": "^5"
55
54
  },
55
+ "resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions",
56
56
  "exports": {
57
57
  ".": {
58
58
  "browser": {
@@ -116,7 +116,7 @@
116
116
  "build-typedoc-site": "typedoc"
117
117
  },
118
118
  "sideEffects": false,
119
- "version": "2.107.5",
119
+ "version": "2.107.6",
120
120
  "packageManager": "yarn@4.3.1",
121
121
  "volta": {
122
122
  "node": "22.3.0",