bcnmy / bcnmy/abstractjs

[BUG] Outdated imports from @metamask/delegation-toolkit

Open
#133 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
8
Forks
12
Avg merge
2h 15m
Merged PRs (30d)
1

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Package Version

1.1.3

### Current Behavior

In `src\clients\decorators\mee\signMmDtkQuote.js`, the import line:
`import { CHAIN_ID, DELEGATOR_CONTRACTS, createCaveatBuilder, createOpenDelegation } from "@metamask/delegation-toolkit";`
is wrong if the version of `@metamask/delegation-toolkit` is greater than 0.11.0 (see their CHANGELOG).

### Expected Behavior

Fix your integration with `@metamask/delegation-toolkit` (rather than setting the dependency to 0.11.0).

### Steps To Reproduce

_No response_

### Package.json (or lockfile) content

_No response_

### Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)

_No response_

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src\clients\decorators\mee\signMmDtkQuote.js and read the @metamask/delegation-toolkit CHANGELOG for changes after version 0.11.0. Update the integration so it works with newer package versions rather than pinning the dependency, then verify the project still builds and its checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.