Uh oh!
There was an error while loading. Please reload this page.
Conversation
nit but I don't think that would be breaking either way? Making it private from public would have been. |
@gantunesr How can I replicate the release-blocking issue that this addresses locally in order to review the fix? |
gantunesr
commented
May 16, 2023
@legobeat good point!
I'm not sure about the exact problem that led to the error in NPM publishing. I was reviewing the previous workflow but didn't find any logs pertaining to the issue. Previously, I encountered errors concerning the |
Gudahtt
commented
May 16, 2023
Try comparing the module template publishing workflow with the one used here. The problem was that the build step was missing entirely - it didn't malfunction, it was just never included. I don't think it relates to the changes in this PR though, we can fix the workflows separately. |
@Gudahtt@legobeat I have opened a new PR (#230) to update the module configuration to match the one from https://github.com/MetaMask/metamask-module-template |
paulmillr
commented
May 23, 2023
any updates on this one? |
gantunesr
commented
May 23, 2023
@paulmillr I'll run a test now and if it succeeds it should be good to go |
paulmillr
commented
May 24, 2023
@gantunesr tests seems to pass |
gantunesr
commented
May 24, 2023
@paulmillr I was referring to the unit and E2E tests in the MetaMask client, they're failing due to the error management updates. I'm working on fixing them |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
paulmillr
commented
May 25, 2023
Is timing for v11 release known? |
|
Description
The TS refactor and workflow update had issues that prevented the module to be correctly published and consumed by the clients, this PR aims to solve them.
The noticeable issues were,
fullUpdatewas marked as private when it should be public.normalizeToHexis returning astringto methods that require aHex.datain the#newKeyringwas removed because the clients are not sending the correct input. The validation will be re-introduced after the proper updates in the clients.tsconfig.build.jsonfile was update in accordance to the module template..d.tsfiles were misplaced in the wrong directoryChanges
normalizeToHexhave to cast the return type asHex.#newKeyringremoved a data validation because of thedataparam input from the clients.fullUpdatewas mistakenly flagged as private, this PR introduces it again as public.References
build-lint-testworkflow #221Checklist