UNPKG

@lit-protocol/auth-helpers

Version:

This submodule manages permissions and capabilities related to accessing specific resources on the blockchain. It utilizes features from the 'siwe' and 'siwe-recap' libraries to verify and handle data, allowing users to encode and decode session capabilit

58 lines (34 loc) 2.23 kB
# @lit-protocol/auth-helpers ## 8.2.0 ### Minor Changes - 0a80342: Introduce wrapped-keys support to v8 so applications can generate, import, export, and sign with encrypted keys across EVM and Solana without exposing private key material. New `auth` package APIs include `validateDelegationAuthSig`, `generatePkpDelegationAuthSig`, `generateEoaDelegationAuthSig`, `createPkpAuthContextFromPreGenerated`, and `createPkpSessionSigs`. New `wrapped-keys` APIs include `generatePrivateKey`, `importPrivateKey`, `exportPrivateKey`, `listEncryptedKeyMetadata`, `getEncryptedKey`, `storeEncryptedKey`, `storeEncryptedKeyBatch`, `batchGeneratePrivateKeys`, `signMessageWithEncryptedKey`, and `signTransactionWithEncryptedKey`. See the updated docs (guides/server-sessions, sdk-reference/wrapped-keys, and the new auth references) for end-to-end examples. [PR](https://github.com/LIT-Protocol/js-sdk/pull/972) ## 8.1.1 ### Patch Changes - 6bd3394: Update the naga-dev staking address. users are expected to reinstall the SDK to apply this patch to continue using the naga-dev network. ## 8.1.0 ### Minor Changes - 9d60bfa: Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. ## 8.0.2 ### Patch Changes ## 8.0.1 ### Patch Changes ## 8.0.0 ### Major Changes - ceac462: first naga beta release ### Patch Changes - 935c218: reset naga-dev contract addresses and add naga-staging network - a48fbfb: Initial version after networks unification - a59f48f: Initial release for networks unification ## 8.0.0 ### Major Changes - b8ae37b: fix build pipeline -> dependencies order is important - ff75c6b: merged lit-login-server & relayer as auth-services - cb6b698: Initial alpha publish. - c044935: fix dependencies - fbfa1eb: attempt to make vite polyfill minimum - 3ed0a77: this should fix the browser pino logger issue - 857e330: add a pipeline to check for missing dependencies - c044935: fix http://naga-auth-service.getlit.dev - c664381: fix build ### Patch Changes - 138437b: add required dependencies