diff --git a/.changeset/shy-jeans-smile.md b/.changeset/shy-jeans-smile.md new file mode 100644 index 0000000..7e28493 --- /dev/null +++ b/.changeset/shy-jeans-smile.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +Added export for kandel util function diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index e0c7b49..b37802d 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -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: diff --git a/package.json b/package.json index d61182f..d05bf7d 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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" } diff --git a/src/index.ts b/src/index.ts index d57d652..1382e0c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -75,6 +75,7 @@ export { seederEventsABI, getKandelsFromLogs, validateKandelParams, + getKandelPositionRawParams, getDefaultLimitOrderGasreq, rawSetExpirationResultFromLogs, setExpirationResultFromLogs, diff --git a/src/lib/index.ts b/src/lib/index.ts index 070c7f5..33fbdb2 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -53,6 +53,7 @@ export { getKandelsFromLogs, validateKandelParams, getKandelGasReq, + getKandelPositionRawParams, } from './kandel/index.js' // limit-order diff --git a/src/lib/kandel/index.ts b/src/lib/kandel/index.ts index 093e725..5b13579 100644 --- a/src/lib/kandel/index.ts +++ b/src/lib/kandel/index.ts @@ -15,10 +15,7 @@ export { export type { KandelFromLogsResult } from './logs.js' -export { - seederEventsABI, - getKandelsFromLogs, -} from './logs.js' +export { seederEventsABI, getKandelsFromLogs } from './logs.js' // params @@ -31,4 +28,8 @@ export type { GetKandelGasReqParams, } from './params.js' -export { validateKandelParams, getKandelGasReq } from './params.js' +export { + validateKandelParams, + getKandelGasReq, + getKandelPositionRawParams, +} from './params.js'