Skip to content

v6.0.1

Compare
Choose a tag to compare
@joshLong145 joshLong145 released this 03 Jun 22:13
· 1480 commits to master since this release
1e7ceb1

⛰️ 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