@scallop-io/scallop-swap-sdk-react 3.0.0 → 5.0.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.
Files changed (2) hide show
  1. package/package.json +14 -12
  2. package/src/index.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/scallop-swap-sdk-react",
3
- "version": "3.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "A collection of React hooks for interacting with Scallop Swap Meta Aggregator SDK.",
5
5
  "keywords": [
6
6
  "sui",
@@ -24,7 +24,8 @@
24
24
  "access": "public"
25
25
  },
26
26
  "engines": {
27
- "node": ">=16"
27
+ "node": ">=22",
28
+ "pnpm": ">=10"
28
29
  },
29
30
  "main": "./dist/index.js",
30
31
  "module": "./dist/index.mjs",
@@ -74,7 +75,7 @@
74
75
  "@commitlint/cli": "^18.0.0",
75
76
  "@commitlint/config-conventional": "^18.0.0",
76
77
  "@commitlint/prompt-cli": "^18.0.0",
77
- "@scallop-io/scallop-swap-sdk": "4.0.0",
78
+ "@scallop-io/scallop-swap-sdk": "5.2.1",
78
79
  "@testing-library/dom": "^10.4.1",
79
80
  "@testing-library/jest-dom": "^6.9.1",
80
81
  "@testing-library/react": "16.3.2",
@@ -84,10 +85,10 @@
84
85
  "@types/tmp": "^0.2.5",
85
86
  "@typescript-eslint/eslint-plugin": "^8.11.0",
86
87
  "@typescript-eslint/parser": "8.10.0",
87
- "@vitest/coverage-v8": "3.1.1",
88
- "@vitest/expect": "^3.1.1",
89
- "@vitest/runner": "^3.1.1",
90
- "@vitest/spy": "^3.1.1",
88
+ "@vitest/coverage-v8": "4.1.8",
89
+ "@vitest/expect": "4.1.8",
90
+ "@vitest/runner": "4.1.8",
91
+ "@vitest/spy": "4.1.8",
91
92
  "dotenv": "^16.6.1",
92
93
  "eslint": "^8.52.0",
93
94
  "eslint-config-prettier": "^9.0.0",
@@ -102,15 +103,15 @@
102
103
  "tsup": "^7.2.0",
103
104
  "typedoc": "^0.25.2",
104
105
  "typescript": "5.5.2",
105
- "vitest": "^3.2.4"
106
+ "vitest": "4.1.8"
106
107
  },
107
108
  "peerDependencies": {
108
- "@mysten/sui": ">=2.0.0 < 3.0.0",
109
+ "@mysten/sui": ">=2.39.1",
110
+ "@scallop-io/scallop-swap-sdk": ">=5.2.1",
109
111
  "@tanstack/query-core": ">=5.0.0 < 6.0.0",
110
112
  "@tanstack/react-query": ">=5.0.0 < 6.0.0",
111
113
  "react": ">=18",
112
- "react-dom": ">=18",
113
- "@scallop-io/scallop-swap-sdk": ">=3.0.0"
114
+ "react-dom": ">=18"
114
115
  },
115
116
  "lint-staged": {
116
117
  "**/*.ts": [
@@ -172,5 +173,6 @@
172
173
  }
173
174
  ]
174
175
  }
175
- }
176
+ },
177
+ "packageManager": "pnpm@11.28.11"
176
178
  }
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./hooks";
2
- export * from "./providers";
3
- export * from "./types";
4
- export { queryKeys } from "./constants/queryKeys";
1
+ export * from './hooks';
2
+ export * from './providers';
3
+ export * from './types';
4
+ export { queryKeys } from './constants/queryKeys';