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

V7 Release #535

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

V7 Release #535

wants to merge 340 commits into from

Conversation

MaximusHaximus
Copy link
Contributor

Description

V7 release

  • Crypto refactor (Feature/lit 2382 js sdk refactor crypto and other wasm based modules #503) - shout out to @joshLong145 for killer work on this

    • 3 WASM modules were combined into a single module. This resulted in a significant reduction of bundle size; crypto is now under 400kb - approximately half the size of the previous implemention using 3 wasm modules.
    • WASM is loaded 'on-demand' the first time one of our crypto methods are called, instead of loading it when the module is loaded
    • Explicit 'loadModules' calling is no longer necessary; this has been removed from the API
    • We no longer mutate the global object with our crypto SDK instance
    • Crypto API methods are now async
    • WASM methods are now strongly typed!

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Josh Long added 30 commits June 11, 2024 13:01
…lit-2382-js-sdk-refactor-crypto-and-other-wasm-based-modules
…2382-js-sdk-refactor-crypto-and-other-wasm-based-modules
…lit-2382-js-sdk-refactor-crypto-and-other-wasm-based-modules
…2-js-sdk-refactor-crypto-and-other-wasm-based-modules
@Ansonhkg
Copy link
Collaborator

Alpha release

This version is released under the alpha tag. You can install it with:

yarn add @lit-protocol/lit-node-client@alpha

Issues:

process is undefined can be resolved by adding this to the webpack config:

process: require.resolve("process/browser")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 Breaking Change High priority 🧪 In Alpha It is not fully tested, may have incomplete functionality, and is subject to significant changes. Us Release tag:alpha
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants