Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added export for kandel util function #138

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/shy-jeans-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mangrovedao/mgv": patch
---

Added export for kandel util function
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/install-dependencies

- name: Lint code
run: bun format && bun lint:fix
run: bun lint:fix

- uses: stefanzweifel/git-auto-commit-action@v5
env:
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
"changeset:publish": "bun run prepublishOnly && bun run build && changeset publish",
"changeset:version": "changeset version",
"clean": "rimraf src/_esm src/_cjs src/_types",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "bun run lint --write",
"lint:fix": "biome check . --write",
"prepublishOnly": "bun scripts/prepublishOnly.ts",
"test": "vitest -c ./test/vitest.config.ts dev",
"test:ci": "CI=true vitest -c ./test/vitest.config.ts --retry=3"
Expand All @@ -34,9 +33,6 @@
"peerDependencies": {
"typescript": "^5.5.4"
},
"simple-git-hooks": {
"pre-commit": "bun run format && bun run lint:fix"
},
"dependencies": {
"@changesets/cli": "^2.27.8"
}
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export {
seederEventsABI,
getKandelsFromLogs,
validateKandelParams,
getKandelPositionRawParams,
getDefaultLimitOrderGasreq,
rawSetExpirationResultFromLogs,
setExpirationResultFromLogs,
Expand Down
1 change: 1 addition & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export {
getKandelsFromLogs,
validateKandelParams,
getKandelGasReq,
getKandelPositionRawParams,
} from './kandel/index.js'

// limit-order
Expand Down
11 changes: 6 additions & 5 deletions src/lib/kandel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ export {

export type { KandelFromLogsResult } from './logs.js'

export {
seederEventsABI,
getKandelsFromLogs,
} from './logs.js'
export { seederEventsABI, getKandelsFromLogs } from './logs.js'

// params

Expand All @@ -31,4 +28,8 @@ export type {
GetKandelGasReqParams,
} from './params.js'

export { validateKandelParams, getKandelGasReq } from './params.js'
export {
validateKandelParams,
getKandelGasReq,
getKandelPositionRawParams,
} from './params.js'
Loading