Skip to content

Commit

Permalink
feat: added export for kandel util function (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxencerb authored Oct 25, 2024
1 parent 4a775b1 commit a886bcc
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
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'

0 comments on commit a886bcc

Please sign in to comment.