@bolt-liquidity-hq/cosmwasm-client 0.1.0-beta.5 → 0.1.0-beta.6
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 +14 -3
- package/package.json +28 -55
package/README.md
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
# Bolt Liquidity
|
|
1
|
+
# CosmWasm Client for Bolt Liquidity
|
|
2
2
|
|
|
3
3
|
Typescript SDK to interact with Bolt Liquidity on CosmWasm based blockchains.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
+
# Using npm
|
|
8
9
|
npm install @bolt-liquidity-hq/cosmwasm-client
|
|
10
|
+
|
|
11
|
+
# Using yarn
|
|
12
|
+
yarn add @bolt-liquidity-hq/cosmwasm-client
|
|
13
|
+
|
|
14
|
+
# Using pnpm
|
|
15
|
+
pnpm add @bolt-liquidity-hq/cosmwasm-client
|
|
9
16
|
```
|
|
10
17
|
|
|
11
18
|
## Usage
|
|
@@ -32,10 +39,14 @@ const result = await client.swap(signer, {
|
|
|
32
39
|
});
|
|
33
40
|
```
|
|
34
41
|
|
|
42
|
+
## 📖 API Reference
|
|
43
|
+
|
|
44
|
+
Full API documentation is available in our [docs](https://bolt-liquidity-hq.github.io/bolt-liquidity-ts-sdk/).
|
|
45
|
+
|
|
35
46
|
## Development
|
|
36
47
|
|
|
37
48
|
See the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
|
|
38
49
|
|
|
39
|
-
## License
|
|
50
|
+
## 📄 License
|
|
40
51
|
|
|
41
|
-
Apache 2.0
|
|
52
|
+
Apache 2.0 - see [LICENSE](../../LICENSE) for details.
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolt-liquidity-hq/cosmwasm-client",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"description": "Typescript SDK to interact with Bolt Liquidity on CosmWasm based blockchains.",
|
|
5
5
|
"homepage": "",
|
|
6
|
-
"repository":
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/phi-labs-ltd/bolt-ts-sdk.git",
|
|
9
|
+
"directory": "packages/cosmwasm-client"
|
|
10
|
+
},
|
|
7
11
|
"keywords": [
|
|
8
12
|
"bolt-liquidity",
|
|
9
13
|
"blockchain",
|
|
@@ -43,67 +47,36 @@
|
|
|
43
47
|
"files": [
|
|
44
48
|
"dist"
|
|
45
49
|
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@archwayhq/arch3.js": "^0.7.5",
|
|
52
|
+
"@cosmjs/cosmwasm-stargate": "^0.33.1",
|
|
53
|
+
"@cosmjs/proto-signing": "^0.33.1",
|
|
54
|
+
"@bolt-liquidity-hq/core": "0.1.0-beta.6"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {},
|
|
57
|
+
"peerDependencies": {},
|
|
58
|
+
"peerDependenciesMeta": {},
|
|
59
|
+
"sideEffects": false,
|
|
46
60
|
"scripts": {
|
|
47
61
|
"build": "tsup",
|
|
48
62
|
"dev": "tsup --watch",
|
|
49
|
-
"test": "
|
|
50
|
-
"test:watch": "
|
|
63
|
+
"test": "pnpm test:queries",
|
|
64
|
+
"test:watch": "pnpm test:queries:watch",
|
|
65
|
+
"test:all": "vitest run",
|
|
66
|
+
"test:all:watch": "vitest",
|
|
51
67
|
"test:queries": "vitest run src/tests/*.query.*.test.ts",
|
|
52
68
|
"test:queries:watch": "vitest src/tests/*.query.*.test.ts",
|
|
53
69
|
"test:txs": "vitest run src/tests/*.tx.*.test.ts",
|
|
54
70
|
"test:txs:watch": "vitest src/tests/*.tx.*.test.ts",
|
|
55
71
|
"test:coverage": "vitest run --coverage",
|
|
56
|
-
"lint": "eslint .
|
|
57
|
-
"lint:fix": "eslint . --
|
|
58
|
-
"format": "prettier --write .",
|
|
59
|
-
"format:check": "prettier --check .",
|
|
72
|
+
"lint": "eslint .",
|
|
73
|
+
"lint:fix": "eslint . --fix",
|
|
74
|
+
"format": "prettier --write . --ignore-path ../../.prettierignore",
|
|
75
|
+
"format:check": "prettier --check . --ignore-path ../../.prettierignore",
|
|
60
76
|
"typecheck": "tsc --noEmit",
|
|
77
|
+
"check-exports": "attw --pack .",
|
|
61
78
|
"size": "size-limit",
|
|
62
|
-
"docs:dev": "vitepress dev docs",
|
|
63
|
-
"docs:build": "typedoc && vitepress build docs",
|
|
64
|
-
"docs:preview": "vitepress preview docs",
|
|
65
|
-
"docs:serve": "npm run docs:build && npm run docs:preview",
|
|
66
79
|
"docs:api": "typedoc",
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"check-exports": "attw --pack .",
|
|
71
|
-
"ci": "npm run lint && npm run format:check && npm run typecheck && npm run test:coverage && npm run build && npm run check-exports && npm run size",
|
|
72
|
-
"changeset": "changeset",
|
|
73
|
-
"version": "changeset version && npm run docs:api",
|
|
74
|
-
"release": "npm run build && changeset publish"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@archwayhq/arch3.js": "^0.7.5",
|
|
78
|
-
"@cosmjs/cosmwasm-stargate": "^0.33.1",
|
|
79
|
-
"@cosmjs/proto-signing": "^0.33.1"
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"@arethetypeswrong/cli": "^0.18.2",
|
|
83
|
-
"@changesets/changelog-github": "^0.5.1",
|
|
84
|
-
"@changesets/cli": "^2.29.5",
|
|
85
|
-
"@commitlint/cli": "^19.8.1",
|
|
86
|
-
"@commitlint/config-conventional": "^19.8.1",
|
|
87
|
-
"@eslint/js": "^9.30.1",
|
|
88
|
-
"@size-limit/file": "^11.2.0",
|
|
89
|
-
"@types/node": "^24.0.10",
|
|
90
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
91
|
-
"commitizen": "^4.3.1",
|
|
92
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
93
|
-
"dotenv": "^17.1.0",
|
|
94
|
-
"eslint": "^9.30.1",
|
|
95
|
-
"eslint-config-prettier": "^10.1.5",
|
|
96
|
-
"husky": "^9.1.7",
|
|
97
|
-
"lint-staged": "^16.1.2",
|
|
98
|
-
"prettier": "^3.6.2",
|
|
99
|
-
"size-limit": "^11.2.0",
|
|
100
|
-
"tsup": "^8.5.0",
|
|
101
|
-
"typedoc": "^0.28.7",
|
|
102
|
-
"typedoc-plugin-markdown": "^4.7.0",
|
|
103
|
-
"typescript": "^5.8.3",
|
|
104
|
-
"typescript-eslint": "^8.35.1",
|
|
105
|
-
"vitepress": "^1.6.3",
|
|
106
|
-
"vitest": "^3.2.4"
|
|
107
|
-
},
|
|
108
|
-
"sideEffects": false
|
|
109
|
-
}
|
|
80
|
+
"ci": "pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run check-exports && pnpm run size"
|
|
81
|
+
}
|
|
82
|
+
}
|