utils icon indicating copy to clipboard operation
utils copied to clipboard

`JsonRpcRequestStruct` incompatible with superstruct `pick` and `omit`

Open FrederikBolding opened this issue 1 year ago • 0 comments

Following https://github.com/MetaMask/utils/commit/0d68084b8d8f64a59606b6559b901be4db7c0560 the JsonRpcRequestStruct is now incompatible with superstruct functions such as pick and omit. Trying to use them will result in a type error, see https://github.com/MetaMask/snaps/actions/runs/6823234052/job/18556824093 for an example.

FrederikBolding avatar Nov 14 '23 09:11 FrederikBolding