Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/browser support #150

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Dec 17, 2023

  1. feat: dynamic webcrypto import - works on browser

    NOTE: not tested on Node<16 (@peculiar/webcrypto fallback)
    kwikwag committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    c8a94ea View commit details
    Browse the repository at this point in the history
  2. mark @peculiar/webcrypto dependency as optional

    It's only required for node engines <16, which are no longer under Node.js maintenance.
    kwikwag committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    ae6afbf View commit details
    Browse the repository at this point in the history
  3. fix: ambient type import

    While for some reason it works when installing from the online repo, it fails when installing the package from the filesystem.
    See https://stackoverflow.com/questions/39040108
    This is poorly documented, but also see:
      - https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules
      - https://www.typescriptlang.org/docs/handbook/modules/reference.html#import-types
    kwikwag committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    e5eb8c4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cca9547 View commit details
    Browse the repository at this point in the history
  5. fix: default to polyfill

    kwikwag committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    1b9ea80 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7fb925e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. fix: remove unused isNode

    kwikwag committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    32a8e0d View commit details
    Browse the repository at this point in the history