@xyo-network/sdk-js 3.0.2 → 3.0.4

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,12 +1,26 @@
1
1
  // eslint.config.mjs
2
2
 
3
- import { config as xylabsConfig, rulesConfig, importConfig } from '@xylabs/eslint-config-flat'
3
+
4
+ import { typescriptConfig,
5
+ unicornConfig,
6
+ workspacesConfig,
7
+ rulesConfig,
8
+ importConfig } from '@xylabs/eslint-config-flat'
4
9
 
5
10
  export default [
6
11
  {
7
- ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
12
+ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs'],
13
+ },
14
+ unicornConfig,
15
+ workspacesConfig,
16
+ rulesConfig,
17
+ {
18
+ ...typescriptConfig,
19
+ rules: {
20
+ ...typescriptConfig.rules,
21
+ '@typescript-eslint/consistent-type-imports': ['warn']
22
+ },
8
23
  },
9
- ...xylabsConfig,
10
24
  {
11
25
  rules: {
12
26
  'no-restricted-imports': [
@@ -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
@@ -6,33 +6,33 @@
6
6
  },
7
7
  "bugs": {
8
8
  "email": "support@xyo.network",
9
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
9
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
10
10
  },
11
11
  "workspaces": [
12
12
  "packages/**/*"
13
13
  ],
14
14
  "dependencies": {
15
- "@xyo-network/core-payload-plugins": "^3.0.2",
16
- "@xyo-network/manifest": "^3.0.2",
17
- "@xyo-network/modules": "^3.0.2",
18
- "@xyo-network/protocol": "^3.0.2",
19
- "@xyo-network/sdk-utils": "^3.0.2",
20
- "@xyo-network/shared": "^3.0.2"
15
+ "@xyo-network/core-payload-plugins": "^3.0.4",
16
+ "@xyo-network/manifest": "^3.0.4",
17
+ "@xyo-network/modules": "^3.0.4",
18
+ "@xyo-network/protocol": "^3.0.4",
19
+ "@xyo-network/sdk-utils": "^3.0.4",
20
+ "@xyo-network/shared": "^3.0.4"
21
21
  },
22
22
  "description": "Primary SDK for using XYO Protocol 2.0",
23
23
  "devDependencies": {
24
24
  "@babel/core": "^7.25.2",
25
- "@stylistic/eslint-plugin": "^2.6.2",
25
+ "@stylistic/eslint-plugin": "^2.6.4",
26
26
  "@types/jest": "^29.5.12",
27
27
  "@types/supertest": "^6.0.2",
28
28
  "@typescript-eslint/eslint-plugin": "^8.1.0",
29
29
  "@typescript-eslint/parser": "^8.1.0",
30
- "@xylabs/eslint-config-flat": "^4.0.0-rc.15",
31
- "@xylabs/forget": "^4.0.0",
32
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
33
- "@xylabs/tsconfig": "^4.0.0-rc.15",
34
- "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.15",
35
- "@xylabs/tsconfig-jest": "^4.0.0-rc.15",
30
+ "@xylabs/eslint-config-flat": "^4.0.0-rc.20",
31
+ "@xylabs/forget": "^4.0.2",
32
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
33
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
34
+ "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.20",
35
+ "@xylabs/tsconfig-jest": "^4.0.0-rc.20",
36
36
  "babel-jest": "^29.7.0",
37
37
  "dotenv": "^16.4.5",
38
38
  "eslint": "^9.9.0",
@@ -50,7 +50,7 @@
50
50
  "ts-jest": "^29.2.4",
51
51
  "ts-node": "^10.9.2",
52
52
  "tslib": "^2.6.3",
53
- "typedoc": "^0.26.5",
53
+ "typedoc": "^0.26.6",
54
54
  "typedoc-material-theme": "^1.1.0",
55
55
  "typescript": "^5.5.4",
56
56
  "vitest": "^2.0.5"
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "repository": {
94
94
  "type": "git",
95
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
95
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
96
96
  },
97
97
  "scripts": {
98
98
  "coverage": "yarn jest --coverage --forceExit",
@@ -118,7 +118,7 @@
118
118
  "build-typedoc-site": "typedoc"
119
119
  },
120
120
  "sideEffects": false,
121
- "version": "3.0.2",
121
+ "version": "3.0.4",
122
122
  "packageManager": "yarn@4.4.0",
123
123
  "volta": {
124
124
  "node": "22.3.0",
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: { src: true },