@kodiak-finance/orderly-hooks 2.7.4
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/dist/index.d.mts +2427 -0
- package/dist/index.d.ts +2427 -0
- package/dist/index.js +17962 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +17763 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +98 -0
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kodiak-finance/orderly-hooks",
|
|
3
|
+
"version": "2.7.4",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"keywords": [],
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"react": ">=18",
|
|
14
|
+
"react-dom": ">=18"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@akamfoad/qr": "^0.4.0",
|
|
18
|
+
"@amplitude/analytics-browser": "2.11.13",
|
|
19
|
+
"immer": "^10.1.1",
|
|
20
|
+
"lodash": "^4.17.21",
|
|
21
|
+
"ramda": "^0.29.0",
|
|
22
|
+
"swr": "2.2.4",
|
|
23
|
+
"use-constant": "^1.1.1",
|
|
24
|
+
"use-debounce": "^9.0.4",
|
|
25
|
+
"zustand": "^4.5.5",
|
|
26
|
+
"@kodiak-finance/orderly-core": "2.7.4",
|
|
27
|
+
"@kodiak-finance/orderly-default-solana-adapter": "2.7.4",
|
|
28
|
+
"@kodiak-finance/orderly-net": "2.7.4",
|
|
29
|
+
"@kodiak-finance/orderly-default-evm-adapter": "2.7.4",
|
|
30
|
+
"@kodiak-finance/orderly-types": "2.7.4",
|
|
31
|
+
"@kodiak-finance/orderly-perp": "4.7.4",
|
|
32
|
+
"@kodiak-finance/orderly-utils": "2.7.4",
|
|
33
|
+
"@kodiak-finance/orderly-web3-provider-ethers": "2.7.4"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/preset-env": "^7.22.9",
|
|
37
|
+
"@babel/preset-react": "^7.22.5",
|
|
38
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
39
|
+
"@jest/globals": "^30.0.2",
|
|
40
|
+
"@swc/cli": "^0.3.12",
|
|
41
|
+
"@swc/core": "^1.4.12",
|
|
42
|
+
"@swc/plugin-remove-console": "^1.5.121",
|
|
43
|
+
"@testing-library/react": "^14.2.1",
|
|
44
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
45
|
+
"@types/jest": "^29.5.14",
|
|
46
|
+
"@types/lodash": "^4.17.7",
|
|
47
|
+
"@types/ramda": "^0.29.3",
|
|
48
|
+
"@types/react": "^18.2.38",
|
|
49
|
+
"@web3-onboard/common": "2.4.2",
|
|
50
|
+
"babel-jest": "^29.6.1",
|
|
51
|
+
"chokidar-cli": "^3.0.0",
|
|
52
|
+
"jest": "^29.6.1",
|
|
53
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
54
|
+
"live-server": "^1.2.2",
|
|
55
|
+
"react-test-renderer": "^18.2.0",
|
|
56
|
+
"rimraf": "^5.0.5",
|
|
57
|
+
"tsup": "^7.1.0",
|
|
58
|
+
"typedoc": "^0.27.6",
|
|
59
|
+
"typescript": "^5.1.6",
|
|
60
|
+
"tsconfig": "0.10.4"
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"browserslist": {
|
|
66
|
+
"production": [
|
|
67
|
+
"chrome >= 67",
|
|
68
|
+
"edge >= 79",
|
|
69
|
+
"firefox >= 68",
|
|
70
|
+
"opera >= 54",
|
|
71
|
+
"safari >= 14"
|
|
72
|
+
],
|
|
73
|
+
"development": [
|
|
74
|
+
"last 1 chrome version",
|
|
75
|
+
"last 1 firefox version",
|
|
76
|
+
"last 1 safari version"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"dev": "tsup --watch",
|
|
81
|
+
"build:tsc": "rimraf -rf dist esm lib && pnpm run build:esm && pnpm run build:cjs",
|
|
82
|
+
"build:tsup": "tsup",
|
|
83
|
+
"build:esm": "tsc --project tsconfig.build.json --outDir esm",
|
|
84
|
+
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir lib",
|
|
85
|
+
"docs:dev": "pnpm docs:watch & pnpm docs:serve",
|
|
86
|
+
"docs:watch": "chokidar 'src/**/*.ts' -c 'pnpm run docs:generate'",
|
|
87
|
+
"docs:serve": "live-server docs --watch=docs",
|
|
88
|
+
"docs:generate": "typedoc",
|
|
89
|
+
"docs:parse": "@kodiak-finance/orderly-typedoc-json-parser",
|
|
90
|
+
"test": "jest",
|
|
91
|
+
"build": "rimraf -rf dist esm lib && pnpm build:tsup",
|
|
92
|
+
"build:swc": "rimraf -rf dist esm lib && pnpm build:swc:esm && pnpm build:swc:cjs",
|
|
93
|
+
"build:swc:esm": "pnpm generateType:esm && swc src -d esm --strip-leading-paths --copy-files",
|
|
94
|
+
"build:swc:cjs": "pnpm generateType:cjs && swc src -d lib --config module.type=commonjs --strip-leading-paths --copy-files",
|
|
95
|
+
"generateType:esm": "tsc --emitDeclarationOnly --project tsconfig.build.json --outDir esm",
|
|
96
|
+
"generateType:cjs": "tsc --emitDeclarationOnly --project tsconfig.build.json --module commonjs --outDir lib"
|
|
97
|
+
}
|
|
98
|
+
}
|