@xyo-network/sdk-js 3.3.3 → 3.4.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/sdk-js",
3
- "version": "3.3.3",
3
+ "version": "3.4.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -65,42 +65,36 @@
65
65
  },
66
66
  "resolutions": {
67
67
  "axios": "^1",
68
+ "eslint": "9.14.0",
68
69
  "ethers": "^6",
69
70
  "fake-indexeddb": "^4",
70
71
  "quick-lru": "^5"
71
72
  },
72
73
  "dependencies": {
73
- "@xyo-network/core-payload-plugins": "^3.3.3",
74
- "@xyo-network/manifest": "^3.3.3",
75
- "@xyo-network/modules": "^3.3.3",
76
- "@xyo-network/protocol": "^3.3.3",
77
- "@xyo-network/sdk-utils": "^3.3.3",
78
- "@xyo-network/shared": "^3.3.3"
74
+ "@xyo-network/core-payload-plugins": "^3.4.0",
75
+ "@xyo-network/manifest": "^3.4.0",
76
+ "@xyo-network/modules": "^3.4.0",
77
+ "@xyo-network/protocol": "^3.4.0",
78
+ "@xyo-network/sdk-utils": "^3.4.0",
79
+ "@xyo-network/shared": "^3.4.0"
79
80
  },
80
81
  "devDependencies": {
81
82
  "@babel/core": "^7.26.0",
82
- "@jest/globals": "^29.7.0",
83
+ "@firebase/app": "^0.10.16",
84
+ "@firebase/app-compat": "^0.2.46",
83
85
  "@stylistic/eslint-plugin": "^2.10.1",
84
- "@types/jest": "^29.5.14",
85
86
  "@types/supertest": "^6.0.2",
86
- "@typescript-eslint/eslint-plugin": "^8.13.0",
87
- "@typescript-eslint/parser": "^8.13.0",
88
- "@xylabs/eslint-config-flat": "^4.2.3",
89
- "@xylabs/forget": "^4.3.4",
90
- "@xylabs/ts-scripts-yarn3": "^4.2.3",
91
- "@xylabs/tsconfig": "^4.2.3",
87
+ "@typescript-eslint/eslint-plugin": "^8.15.0",
88
+ "@typescript-eslint/parser": "^8.15.0",
89
+ "@xylabs/eslint-config-flat": "^4.2.4",
90
+ "@xylabs/forget": "^4.3.13",
91
+ "@xylabs/ts-scripts-yarn3": "^4.2.4",
92
+ "@xylabs/tsconfig": "^4.2.4",
92
93
  "@xylabs/tsconfig-dom-jest": "^4.1.0",
93
- "babel-jest": "^29.7.0",
94
+ "@xylabs/vitest-extended": "^4.3.13",
94
95
  "dotenv": "^16.4.5",
95
- "eslint": "^9.14.0",
96
+ "eslint": "^9.15.0",
96
97
  "eslint-import-resolver-typescript": "^3.6.3",
97
- "jest": "^29.7.0",
98
- "jest-docblock": "^29.7.0",
99
- "jest-environment-jsdom": "^29.7.0",
100
- "jest-extended": "^4.0.2",
101
- "jest-runner": "^29.7.0",
102
- "jest-runner-groups": "^2.2.0",
103
- "jest-sorted": "^1.0.15",
104
98
  "jsdom": "^25.0.1",
105
99
  "reflect-metadata": "^0.2.2",
106
100
  "supertest": "^7.0.0",
@@ -110,7 +104,7 @@
110
104
  "typedoc": "^0.26.11",
111
105
  "typedoc-material-theme": "^1.1.0",
112
106
  "typescript": "^5.6.3",
113
- "vitest": "^2.1.4"
107
+ "vitest": "^2.1.5"
114
108
  },
115
109
  "packageManager": "yarn@4.5.1",
116
110
  "volta": {
package/vitest.config.ts CHANGED
@@ -5,6 +5,7 @@ dotenv.config()
5
5
 
6
6
  export default defineConfig({
7
7
  test: {
8
+ environment: 'node',
8
9
  globals: true,
9
10
  setupFiles: ['./vitest.startup.ts'],
10
11
  },
package/vitest.startup.ts CHANGED
@@ -1,8 +1 @@
1
- import { default as matchers } from 'jest-extended'
2
- import { expect, vi } from 'vitest'
3
-
4
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
- (globalThis as any).jest = vi // replace jest with vi
6
-
7
- // Extend Vitest's expect with jest-extended matchers
8
- expect.extend(matchers)
1
+ import '@xylabs/vitest-extended'