Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@metamask/snaps-browserify-plugin

MetaMask2kISC4.2.0TypeScript support: included

A Browserify plugin to build MetaMask Snaps with Browserify

MetaMask, Snaps, Ethereum, Browserify, Plugin

readme

MetaMask Snaps

Extend the functionality of MetaMask using MetaMask Snaps.

Modules

This repository contains the following packages [^fn1]:

Or, in graph form [^fn1]:

%%{ init: { 'flowchart': { 'curve': 'bumpX' } } }%%
graph LR;
linkStyle default opacity:0.5
  create_snap(["@metamask/create-snap"]);
  snaps_browserify_plugin(["@metamask/snaps-browserify-plugin"]);
  snaps_cli(["@metamask/snaps-cli"]);
  snaps_controllers(["@metamask/snaps-controllers"]);
  snaps_execution_environments(["@metamask/snaps-execution-environments"]);
  snaps_jest(["@metamask/snaps-jest"]);
  snaps_rollup_plugin(["@metamask/snaps-rollup-plugin"]);
  snaps_rpc_methods(["@metamask/snaps-rpc-methods"]);
  snaps_sdk(["@metamask/snaps-sdk"]);
  snaps_simulation(["@metamask/snaps-simulation"]);
  snaps_utils(["@metamask/snaps-utils"]);
  snaps_webpack_plugin(["@metamask/snaps-webpack-plugin"]);
  create_snap --> snaps_utils;
  snaps_browserify_plugin --> snaps_utils;
  snaps_cli --> snaps_sdk;
  snaps_cli --> snaps_utils;
  snaps_cli --> snaps_webpack_plugin;
  snaps_controllers --> snaps_rpc_methods;
  snaps_controllers --> snaps_sdk;
  snaps_controllers --> snaps_utils;
  snaps_execution_environments --> snaps_sdk;
  snaps_execution_environments --> snaps_utils;
  snaps_jest --> snaps_controllers;
  snaps_jest --> snaps_sdk;
  snaps_jest --> snaps_simulation;
  snaps_jest --> snaps_utils;
  snaps_rollup_plugin --> snaps_utils;
  snaps_rpc_methods --> snaps_sdk;
  snaps_rpc_methods --> snaps_utils;
  snaps_simulation --> snaps_controllers;
  snaps_simulation --> snaps_execution_environments;
  snaps_simulation --> snaps_rpc_methods;
  snaps_simulation --> snaps_sdk;
  snaps_simulation --> snaps_utils;
  snaps_utils --> snaps_sdk;
  snaps_webpack_plugin --> snaps_sdk;
  snaps_webpack_plugin --> snaps_utils;

Refer to individual packages for usage instructions.

Learn more

For instructions on performing common development-related tasks, see contributing to the monorepo.

[^fn1]: The package list and dependency graph should be programmatically generated by running yarn update-readme-content.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

4.1.2

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

4.1.1

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM standard.

4.1.0

Changed

  • Improve manifest validation output (#2572)

4.0.1

Fixed

  • Fix minor build configuration problems (#2220)

4.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)

3.0.3

Changed

3.0.2

Changed

  • Bump several MetaMask dependencies (#1964)

3.0.1

Changed

  • Update multiple MetaMask dependencies (#1841)

3.0.0

Changed

  • BREAKING: Bump minimum Node.js version to ^18.16.0 (#1741)

2.0.0

Changed

  • Initial stable release from main branch (#1757)

0.37.3-flask.1

Fixed

  • Remove unused dependencies (#1680)

0.37.2-flask.1

Changed

  • Release package independently (#1600)
    • The version of the package no longer needs to match the version of all other MetaMask Snaps packages.