@masterpeach/market-sdk 0.2.0-beta.20260930.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 ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@masterpeach/market-sdk",
3
+ "version": "0.2.0-beta.20260930.1",
4
+ "description": "Typed Peach v4 market SDK for liquidity, earnings, native assets and permission-aware management.",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
21
+ },
22
+ "./core": {
23
+ "import": {
24
+ "types": "./dist/core.d.ts",
25
+ "default": "./dist/core.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/core.d.cts",
29
+ "default": "./dist/core.cjs"
30
+ }
31
+ },
32
+ "./abi": {
33
+ "import": {
34
+ "types": "./dist/abi/index.d.ts",
35
+ "default": "./dist/abi/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/abi/index.d.cts",
39
+ "default": "./dist/abi/index.cjs"
40
+ }
41
+ }
42
+ },
43
+ "engines": {
44
+ "node": ">=20"
45
+ },
46
+ "files": [
47
+ "dist",
48
+ "docs",
49
+ "README.zh-CN.md",
50
+ "THIRD_PARTY_NOTICES.md"
51
+ ],
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "git+ssh://git@git.techpilots.org/web/peach/peach-ts-sdk.git",
55
+ "directory": "packages/market"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "peerDependencies": {
61
+ "viem": ">=2.45.0 <3"
62
+ },
63
+ "devDependencies": {
64
+ "@types/node": "^20.19.25",
65
+ "publint": "^0.3.23",
66
+ "tsup": "^8.5.1",
67
+ "typescript": "5.7.3",
68
+ "viem": "^2.45.0",
69
+ "vitest": "^4.1.10",
70
+ "@masterpeach/sdk-core": "0.0.0"
71
+ },
72
+ "scripts": {
73
+ "build": "tsup",
74
+ "typecheck": "tsc -p tsconfig.json",
75
+ "test": "pnpm build && vitest run",
76
+ "test:unit": "vitest run tests/unit",
77
+ "test:contract": "vitest run tests/contract",
78
+ "test:release": "pnpm build && vitest run tests/release && publint",
79
+ "lint:package": "publint",
80
+ "test:integration": "vitest run --config vitest.integration.config.ts"
81
+ }
82
+ }