Skip to content

@metamask/providers@17.2.1 has a reference to src folder which is omitted in npm package #377

@davidyuk

Description

@davidyuk

Our typescript setup fails because of this. This was not the case in 17.2.0.

References to src are in files:

  • @metamask/providers/dist/initializeInpageProvider.d.cts:1:22
  • @metamask/providers/dist/MetaMaskInpageProvider.d.cts:1:22
  • @metamask/providers/dist/StreamProvider.d.cts:1:22

You can also see this at npm
https://www.npmjs.com/package/@metamask/providers/v/17.2.1?activeTab=code
https://www.npmjs.com/package/@metamask/providers/v/17.2.0?activeTab=code

/// <reference path="../src/readable-stream.d.ts" />

was added at the beginning of the above files in the latest package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions