@varla/polymarket 1.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.
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@varla/polymarket",
3
+ "version": "1.0.0",
4
+ "description": "High-performance Polymarket SDK",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "exports": {
8
+ ".": "./dist/index.js"
9
+ },
10
+ "files": ["dist", "README.md", "AGENTS.md", "LICENSE"],
11
+ "scripts": {
12
+ "build": "bun build ./src/index.ts --outdir ./dist --target node --format esm",
13
+ "build:types": "bun x tsc --emitDeclarationOnly --declaration --outDir dist || true",
14
+ "prepack": "bun run build",
15
+ "test": "bun test test",
16
+ "test:reference": "bun test test/sdk/reference-examples.test.ts --timeout 600000",
17
+ "test:reference:bench": "POLYMARKET_BENCH=true bun test test/sdk/reference-examples.test.ts --timeout 600000",
18
+ "test:bench": "POLYMARKET_BENCH=true bun test test/bench --timeout 600000",
19
+ "test:live": "POLYMARKET_LIVE_TESTS=1 bun test test/live --timeout 600000",
20
+ "test:all": "POLYMARKET_LIVE_TESTS=1 bun test test --timeout 600000",
21
+ "test:all:bench": "POLYMARKET_LIVE_TESTS=1 POLYMARKET_BENCH=true bun test test --timeout 600000"
22
+ },
23
+ "keywords": [
24
+ "polymarket",
25
+ "prediction-markets",
26
+ "trading",
27
+ "clob",
28
+ "orderbook",
29
+ "defi",
30
+ "web3",
31
+ "viem"
32
+ ],
33
+ "author": "Varla Protocol",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/Varla-xyz/varla-api.git",
38
+ "directory": "packages/polymarket"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/Varla-xyz/varla-api/issues"
42
+ },
43
+ "homepage": "https://github.com/Varla-xyz/varla-api/tree/main/packages/polymarket#readme",
44
+ "engines": {
45
+ "bun": ">=1.3.8"
46
+ },
47
+ "peerDependencies": {
48
+ "viem": "^2.0.0"
49
+ },
50
+ "devDependencies": {
51
+ "@varla/db": "workspace:*",
52
+ "viem": "^2.44.4",
53
+ "axios": "^1.0.0",
54
+ "@polymarket/clob-client": "^5.2.1",
55
+ "typescript": "^5.0.0"
56
+ }
57
+ }