@ebertjendustries/cswrapper 1.0.5 → 1.0.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/dist/index.js CHANGED
@@ -1707,7 +1707,7 @@ var RestClient = class {
1707
1707
  json
1708
1708
  }));
1709
1709
  } else {
1710
- return response.text().then((text) => ({
1710
+ return response.text().then(() => ({
1711
1711
  status: response.status,
1712
1712
  json: {}
1713
1713
  }));
package/dist/index.mjs CHANGED
@@ -1598,7 +1598,7 @@ var RestClient = class {
1598
1598
  json
1599
1599
  }));
1600
1600
  } else {
1601
- return response.text().then((text) => ({
1601
+ return response.text().then(() => ({
1602
1602
  status: response.status,
1603
1603
  json: {}
1604
1604
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebertjendustries/cswrapper",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -43,9 +43,11 @@
43
43
  "@types/node": "^22.15.21",
44
44
  "@types/react": "^19.1.5",
45
45
  "@types/react-dom": "^19.1.5",
46
+ "@vitejs/plugin-react": "^4.5.0",
46
47
  "eslint": "^9.27.0",
47
48
  "eslint-plugin-jest-dom": "^5.5.0",
48
49
  "eslint-plugin-testing-library": "^7.2.1",
50
+ "jsdom": "^26.1.0",
49
51
  "react": "^19.1.0",
50
52
  "react-dom": "^19.1.0",
51
53
  "ts-node": "^10.9.2",
@@ -54,7 +56,8 @@
54
56
  "vitest": "^3.1.4"
55
57
  },
56
58
  "scripts": {
57
- "build": "tsup"
59
+ "build": "tsup",
60
+ "test": "vitest run"
58
61
  },
59
62
  "eslintConfig": {
60
63
  "extends": [