Skip to content

Releases: LIT-Protocol/js-sdk

v6.2.0

16 Jul 15:17
1d103da
Compare
Choose a tag to compare

Notable change

  • 🌶️ Added datil-test support

What's Changed

New Contributors

Full Changelog: v6.0.3...v6.2.0

⚠️ Deprecation - Will be removed in version 7.x.

In the, @lit-protocol/constants package:

v6.0.3

14 Jun 16:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.2...v6.0.3

v6.0.2

12 Jun 16:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.1...v6.0.2

v6.0.1

03 Jun 22:13
1e7ceb1
Compare
Choose a tag to compare

⛰️ Features

  • Added compose lit action resource string helper function
  • Add support on additional parameters in authNeededCallbacks, and a higher level "getPkpSessionSigs" function.
  • Add helper function to combine bls sigs
  • Introduce siweMessage creation/authSig crafter helper functions, and fix circular dependencies inside auth-helpers.
  • Add ResourceAbilityRequestBuilder for Resource Ability Rrequest generation for Session Signatures
  • Add getLitActionSessionSigs function, better interfaces, and add custom test to CI
  • Add global checks in env loader for defined wasm globals
  • Remove implicit loading of wasm to connect invocation
  • Add pkpSessionSigs and litActionSessionSigs tests
  • Most common least common support for Lit Action responses
  • Add tests for Solana & Cosmos (cosmos is failing)
  • Introduce LIT_CHAIN_RPC_URL so we don't need to go through LIT_CHAINS
  • Remove AuthValidator for client-side encrypt
  • Add authSig back to encrypt helper functions
  • Remove auth for encryption because it's completely client side
  • Make authNeededCallback a required parameter, but we need to create a common interface, because GetPkpSessionSigs uses it too
  • Lit action custom authentication support with Session Signatures getSessionSigs getLitActionSessionSigs
  • Add litActionIpfsId to getSessionSigs params
  • Add removeHexPrefix helper
  • Refactor siwe message creation, (Breaking) renaming SIG_TYPE to LIT_CURVE, and a util for sanitise
  • Remove authSig support on pkpSign, and executeJs
  • Remove multiformat package and make into peer dependency
  • Endpoint /web/signing/signConditionEcdsa doesn't exist. Removed all related functionalities
  • Move getExpiration as helper
  • Remove fetch polyfill from LItNodeClient
  • PkpEthers to adapt new getSession change
  • Remove authMethod from executeJs
  • Update to use replica over sequencer rpc
  • Move from SIG_TYPE to LIT_CURVE for signature type checks

🐛 Bug Fixes

  • CapacityDelegation uses should be optional
  • Ensure provided provider and signer instances are used
  • JsParam is optional for getSessionSigs
  • Add getPkpSessionSigs to LitClientSessionManager
  • Fixes Signed session key mismatch with the one being signed due to storage provider not found.
  • Params are not passed to authNeededCallback when resign with session key is needed
  • DAppOwnerWallet is actually the only required param to create the delegation auth sig
  • Fix not being aware of local network context
  • Custom auth jsParams should accept any params as key
  • Move "ipfs-unixfs-importer": "12.0.1", to dev dependency due to bundling issues in LitNodeCient
  • Change authId to authMethodId and improve interface
  • AuthContext litNodeClient
  • PkpEthers to adapt new getSession change
  • Remove authMethod from executeJs
  • Remove LIT_BLS as an option
  • Browser global undefined see #416 #452
  • Add tslib peer dependency, for siwe-recap package requirments
  • Remove authSig requirment from encryption functionality
  • Let createSiweMessage default arguments which are not provided.
  • Move staking event from locked to active

🚜 Refactor

  • Remove getClaimKeyExecutionShares and add type for request
  • Remove getSigningShareForDecryption and add EncryptionSignRequest type of request
  • Remove getSigningShareForToken and add SigningAccessControlConditionRequest type
  • Remove getSignSessionKeyShares as it was unused
  • Remove getLitResourceForEncryption as it's unused

📚 Documentation

  • Better jsDoc comments for capacityCredit delegations
  • Improve getJWTParams jsDoc
  • Add JsDocs to checkAndSignAuthMessage
  • Update comments
  • Update test commands
  • Update error message for CID
  • Update getBytes32FromMultihash jsDoc comments for devDepedency migration for multiformats package

5.0.1

13 May 17:54
Compare
Choose a tag to compare

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

[unreleased]

🚀 Features

  • Allow certt caching if local storage is defined

🐛 Bug Fixes

⚙️ Miscellaneous Tasks

  • Fmt
  • Add filter to e2e runner

Add

  • (chain) Add 'lit' to supported chains in constant.ts file

Fat

  • Update relay interface

Ref

  • Add spruceid siwe-parser as explicit dep
  • Change siwe import to no longer load entire module
  • Remove enviorment specific properties of amd url in test
  • Remove vcek/ portion of url
  • Remove test case
  • Refactor arg check to throw an error if not present
  • Fix url resolving in LitAuthClient constructor

5.0.0

19 Apr 15:38
75664ff
Compare
Choose a tag to compare

Breaking Changes

  • Removes ipfs-http-client: resolves build issues when running in nextjs

  • Now using cross-fetch instead of directly injecting node-fetch as a polyfill solution for fetch
    22293a2

  • Changes getLatestBlockhash() on the LitNodeClient to be an async method. This was previously a synchronous call.
    83a070b

Bug Fixes

  • Fixesnode-fetch not found exceptions in NextJs

  • Fix to global polyfill of Buffer causing errors:
    618fbf8

  • Addition of static eth wallet auth method in lit auth client
    05d9494

  • Fix to ILitNodeClient interface compatibility
    8efcb0f

Cayenne

19 Dec 00:49
3a44f68
Compare
Choose a tag to compare
v3.0.26

Publish 3.0.26 (#287)

Serrano

25 Nov 21:14
Compare
Choose a tag to compare

SDK version compatible with Serrano network