@cetusprotocol/sui-clmm-sdk 1.3.0 → 1.4.1

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,19 +1,26 @@
1
1
  {
2
2
  "name": "@cetusprotocol/sui-clmm-sdk",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "SDK for cetus clmm",
5
5
  "typings": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
- "module": "dist/index.mjs",
7
+ "type": "module",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ }
14
+ },
8
15
  "scripts": {
9
- "test": "jest",
16
+ "test": "vitest",
10
17
  "lint": "eslint src/*.ts src/**/*.ts",
11
18
  "lint:fix": "eslint src/*.ts src/**/*.ts --fix",
12
19
  "build": "pnpm run build:tsup",
13
20
  "build:tsup": "pnpm run build:clean && pnpm run _build:node",
14
21
  "build:clean": "rm -rf dist",
15
22
  "_build:browser": "tsup --platform browser --format iife --global-name cetusAptosSDK --minify",
16
- "_build:node": "tsup --format cjs,esm --dts",
23
+ "_build:node": "tsup --format esm --dts",
17
24
  "build:doc": "npx typedoc",
18
25
  "publish_batch:test": "npm publish --tag experimental",
19
26
  "publish:test": "node ../../scripts/version.js clmm && npm publish --tag experimental"
@@ -25,12 +32,14 @@
25
32
  "keywords": [],
26
33
  "author": "test",
27
34
  "license": "Apache-2.0",
35
+ "dependencies": {
36
+ "@mysten/sui": "2.6.0"
37
+ },
28
38
  "devDependencies": {
29
39
  "@cetusprotocol/common-sdk": "workspace:*",
30
40
  "@cetusprotocol/test-utils": "workspace:*"
31
41
  },
32
42
  "peerDependencies": {
33
- "@cetusprotocol/common-sdk": "*",
34
- "@mysten/sui": "*"
43
+ "@cetusprotocol/common-sdk": "*"
35
44
  }
36
45
  }