feat(dingo): Fixed the lint errors
Signed-off-by: akrepala <[email protected]>
Signed-off-by: akrepala <[email protected]>
Signed-off-by: akrepala <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
fix(signing): pin Mesh SDK + reject witnesses that don't verify against the tx body
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Adds an optional `base_path` field to `MinibfConfig` that nests all minibf routes (including `/health` and `/metrics`) under a configurable path prefix. Set to `/api/v0` for full Blockfrost OpenAPI compliance; when omitted, routes remain at the root (no behavioral change). Invalid values (empty, just `/`, missing leading `/`, or containing `*`) return a new `ServeError::ConfigError` variant instead of panicking.
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
- Updated proxy transaction APIs to utilize `completeTxWithFreshCostModels` for transaction completion, enhancing cost model handling. - Adjusted `getTxBuilder` to accept a flag for using the CSL serializer, improving flexibility in transaction building. - Enhanced unit tests for proxy cleanup, setup, spend, vote, and DRep certificate APIs to validate the new transaction completion logic. - Added error handling for PPView hash mismatches during transaction submission, ensuring better feedback on transaction integrity issues.
- Refactored imports to streamline the usage of `completeTxWithFreshCostModels` across the codebase. - Updated unit tests to reflect changes in cost model handling, including support for raw arrays and ordering of indexed cost model objects. - Added new test cases to validate the rejection of improperly ordered cost model objects, ensuring robustness in transaction processing.
Adds an optional `base_path` field to `MinibfConfig` that nests all minibf routes (including `/health` and `/metrics`) under a configurable path prefix. Set to `/api/v0` for full Blockfrost OpenAPI compliance; when omitted, routes remain at the root (no behavioral change). Invalid values (empty, just `/`, missing leading `/`, or containing `*`) return a new `ServeError::ConfigError` variant instead of panicking.
Vercel's previous attempts failed during webpack compile with: Module build failed: UnhandledSchemeError: Reading from "node:crypto" / "node:process" is not handled by plugins (Unhandled scheme). Import trace: @peculiar/webcrypto → @meshsdk/web3-sdk → @meshsdk/react `@peculiar/[email protected]` switched its compiled output from `require('crypto')` to ESM `import "node:crypto"`. webpack 5 (Next 16 `--webpack` mode) doesn't handle the `node:` scheme without an explicit plugin, and we don't want to add one — preprod's known-good lockfile resolves to `1.5.0`, which still uses bare `crypto`. Regenerating the lockfile after pinning Mesh re-resolved this to `1.7.1` (latest matching `^1.5.0`), reintroducing the issue. Pin to 1.5.0 to match preprod. Verified: with the override, `node:` imports no longer appear in the webpack trace; the residual local build failure is missing `NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD` env (Vercel has it set). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
The previous push's lockfile was generated with my local npm 11.10.1, which produces a `lockfileVersion: 3` lockfile npm 10 considers inconsistent: `@simplewebauthn/[email protected]` + `@simplewebauthn/[email protected]` were marked "Missing from lock file" and `npm ci` refused to proceed in the Dockerfile.ci build step. (CI runs `node:20-alpine`, which bundles npm 10.8.2 — the same notice line in the failure log.) Same fix the repo has applied twice before: regenerate with the matching npm version. Confirmed: - lockfile contains 14 @simplewebauthn entries - Mesh resolved to the pinned versions (.102 / .100 / -40) - mergeSignerWitnesses tests still 4/4 pass Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>