@meteora-ag/cp-amm-sdk 1.0.1-rc.9 → 1.0.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/README.md +45 -200
- package/dist/index.d.mts +3297 -3427
- package/dist/index.d.ts +3297 -3427
- package/dist/index.js +2224 -799
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2262 -837
- package/dist/index.mjs.map +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/fs.d.ts +15 -16
- package/node_modules/@types/node/https.d.ts +3 -1
- package/node_modules/@types/node/module.d.ts +50 -5
- package/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/node/process.d.ts +28 -0
- package/node_modules/@types/node/sqlite.d.ts +63 -17
- package/node_modules/@types/node/test.d.ts +82 -0
- package/node_modules/@types/node/timers/promises.d.ts +24 -13
- package/node_modules/@types/node/timers.d.ts +159 -112
- package/node_modules/@types/node/util.d.ts +11 -4
- package/node_modules/@types/node/worker_threads.d.ts +1 -0
- package/node_modules/bigint-buffer/build/Makefile +2 -2
- package/node_modules/bigint-buffer/build/Release/bigint_buffer.node +0 -0
- package/node_modules/bigint-buffer/build/Release/obj.target/bigint_buffer/src/bigint-buffer.o +0 -0
- package/node_modules/bigint-buffer/build/config.gypi +1 -1
- package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +1 -1
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +1 -1
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +1 -1
- package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +3 -3
- package/node_modules/undici-types/dispatcher.d.ts +1 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/readable.d.ts +5 -0
- package/node_modules/undici-types/webidl.d.ts +6 -0
- package/package.json +42 -41
package/package.json
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
2
|
+
"name": "@meteora-ag/cp-amm-sdk",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "SDK for Cp Amm",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"source": "./src/index.ts",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"author": "Minh Do <minh@raccoons.dev>",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/**"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
|
|
15
|
+
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
|
|
16
|
+
"build": "tsup",
|
|
17
|
+
"start": "npm run build -- --watch",
|
|
18
|
+
"test": "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/*.test.ts"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/invariant": "^2.2.35",
|
|
22
|
+
"typescript": "^5.8.2"
|
|
23
|
+
},
|
|
24
|
+
"bundledDependencies": [
|
|
25
|
+
"@coral-xyz/anchor"
|
|
26
|
+
],
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@coral-xyz/anchor": "^0.31.0",
|
|
29
|
+
"@solana/spl-token": "^0.4.8",
|
|
30
|
+
"@solana/web3.js": "^1.95.3",
|
|
31
|
+
"@types/bn.js": "^5.1.0",
|
|
32
|
+
"chai": "^4.3.4",
|
|
33
|
+
"@types/chai": "^4.3.0",
|
|
34
|
+
"@types/mocha": "^9.0.0",
|
|
35
|
+
"chain": "^0.4.0",
|
|
36
|
+
"decimal.js": "^10.4.2",
|
|
37
|
+
"invariant": "^2.2.4",
|
|
38
|
+
"mocha": "^9.0.3",
|
|
39
|
+
"solana-bankrun": "^0.4.0",
|
|
40
|
+
"ts-mocha": "^10.0.0",
|
|
41
|
+
"ts-node": "^10.9.2",
|
|
42
|
+
"tsup": "^8.4.0"
|
|
43
|
+
}
|
|
43
44
|
}
|