@outcome.xyz/hip4 1.0.0-beta
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/LICENSE +101 -0
- package/README.md +224 -0
- package/dist/index-ubGjjLVg.d.cts +799 -0
- package/dist/index-ubGjjLVg.d.ts +799 -0
- package/dist/index.cjs +4244 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1058 -0
- package/dist/index.d.ts +1058 -0
- package/dist/index.js +4169 -0
- package/dist/index.js.map +1 -0
- package/dist/types.cjs +4 -0
- package/dist/types.cjs.map +1 -0
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +82 -0
package/dist/types.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.cjs"}
|
package/dist/types.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { B as BaseMarket, D as DefaultBinaryMarket, F as FetchMarketsParams, a as FetchMarketsResult, H as HIP4Market, a1 as LabelledBinaryMarket, a2 as MarketSide, a3 as MarketType, a4 as MarketsByQuestion, a5 as MarketsByType, a6 as MultiOutcomeMarket, a7 as PredictionActivity, a8 as PredictionAuthState, a9 as PredictionBatchOrderResult, aa as PredictionCancelParams, ab as PredictionCategory, ac as PredictionEvent, ad as PredictionEventStatus, ae as PredictionMarket, af as PredictionModifyParams, ag as PredictionOrderBook, ah as PredictionOrderBookLevel, ai as PredictionOrderParams, aj as PredictionOrderResult, ak as PredictionOutcome, al as PredictionPosition, am as PredictionPrice, an as PredictionTrade, ao as PriceBucketMarket } from './index-ubGjjLVg.cjs';
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { B as BaseMarket, D as DefaultBinaryMarket, F as FetchMarketsParams, a as FetchMarketsResult, H as HIP4Market, a1 as LabelledBinaryMarket, a2 as MarketSide, a3 as MarketType, a4 as MarketsByQuestion, a5 as MarketsByType, a6 as MultiOutcomeMarket, a7 as PredictionActivity, a8 as PredictionAuthState, a9 as PredictionBatchOrderResult, aa as PredictionCancelParams, ab as PredictionCategory, ac as PredictionEvent, ad as PredictionEventStatus, ae as PredictionMarket, af as PredictionModifyParams, ag as PredictionOrderBook, ah as PredictionOrderBookLevel, ai as PredictionOrderParams, aj as PredictionOrderResult, ak as PredictionOutcome, al as PredictionPosition, am as PredictionPrice, an as PredictionTrade, ao as PriceBucketMarket } from './index-ubGjjLVg.js';
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@outcome.xyz/hip4",
|
|
3
|
+
"version": "1.0.0-beta",
|
|
4
|
+
"description": "TypeScript SDK for Hyperliquid HIP-4",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Outcome-xyz/hip4.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/Outcome-xyz/hip4",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Outcome-xyz/hip4/issues"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=18"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/index.d.cts",
|
|
29
|
+
"default": "./dist/index.cjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"./types": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/types/index.d.ts",
|
|
35
|
+
"default": "./dist/types.js"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/types/index.d.cts",
|
|
39
|
+
"default": "./dist/types.cjs"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE"
|
|
47
|
+
],
|
|
48
|
+
"keywords": [
|
|
49
|
+
"hyperliquid",
|
|
50
|
+
"hip4",
|
|
51
|
+
"hip-4",
|
|
52
|
+
"financial-markets",
|
|
53
|
+
"primitives",
|
|
54
|
+
"composables",
|
|
55
|
+
"structured-products",
|
|
56
|
+
"binary-outcomes",
|
|
57
|
+
"eip712",
|
|
58
|
+
"sdk",
|
|
59
|
+
"typescript",
|
|
60
|
+
"web3"
|
|
61
|
+
],
|
|
62
|
+
"author": "Dennis Furrer",
|
|
63
|
+
"license": "BUSL-1.1",
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
69
|
+
"decimal.js": "10.6.0",
|
|
70
|
+
"tsup": "^8.0.0",
|
|
71
|
+
"typescript": "^5.7.3",
|
|
72
|
+
"vitest": "^4.1.0"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "tsup",
|
|
76
|
+
"dev": "tsup --watch",
|
|
77
|
+
"typecheck": "tsc --noEmit",
|
|
78
|
+
"lint": "tsc --noEmit",
|
|
79
|
+
"test": "vitest run",
|
|
80
|
+
"test:watch": "vitest"
|
|
81
|
+
}
|
|
82
|
+
}
|