Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.
/ swaps-controller Public archive

refactor: migrate SwapsController to @metamask/messenger #484

refactor: migrate SwapsController to @metamask/messenger

refactor: migrate SwapsController to @metamask/messenger #484

Triggered via pull request September 29, 2025 09:49
Status Failure
Total duration 1m 20s
Artifacts

main.yml

on: pull_request
Build, lint, and test  /  Prepare
17s
Build, lint, and test / Prepare
Matrix: Build, lint, and test / Test
Build, lint, and test  /  Build
32s
Build, lint, and test / Build
Build, lint, and test  /  Lint
26s
Build, lint, and test / Lint
All jobs completed
0s
All jobs completed
All jobs pass
3s
All jobs pass
is-release
0s
is-release
Publish release  /  publish-release
Publish release / publish-release
Publish release  /  publish-npm-dry-run
Publish release / publish-npm-dry-run
Publish release  /  publish-npm
Publish release / publish-npm
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Build, lint, and test / Lint
Process completed with exit code 1.
Build, lint, and test / Lint: src/SwapsController.ts#L1267
This assertion is unnecessary since it does not change the type of the expression
Build, lint, and test / Build: src/SwapsController.ts#L403
Property 'update' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L396
Parameter '_state' implicitly has an 'any' type.
Build, lint, and test / Build: src/SwapsController.ts#L396
Property 'update' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L395
Property 'state' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L260
Parameter '_state' implicitly has an 'any' type.
Build, lint, and test / Build: src/SwapsController.ts#L260
Property 'update' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L245
Parameter '_state' implicitly has an 'any' type.
Build, lint, and test / Build: src/SwapsController.ts#L245
Property 'update' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L242
Property 'state' does not exist on type 'SwapsController'.
Build, lint, and test / Build: src/SwapsController.ts#L6
Could not find a declaration file for module '@metamask/base-controller/next'. '/home/runner/work/swaps-controller/swaps-controller/node_modules/@metamask/base-controller/next.js' implicitly has an 'any' type.
Build, lint, and test / Test (20.x)
Process completed with exit code 1.
Build, lint, and test / Test (18.x)
Process completed with exit code 1.
Build, lint, and test / Test (18.x)
The strategy configuration was canceled because "build-lint-test.test._20_x" failed
All jobs pass
Process completed with exit code 1.