LIT-Protocol / js-sdk

The Lit Protocol SDK provides developers with a framework for implementing Lit functionality into their own applications.
https://developer.litprotocol.com
MIT License
105 stars 65 forks source link

feat: build lit actions and update cids when building sdk #698

Open FedericoAmura opened 1 month ago

FedericoAmura commented 1 month ago

Description

This PR:

  1. When building the SDK => builds Lit Actions in wrapped-keys-lit-actions and updates the associated CID in LIT_ACTION_CID_REPOSITORY and LIT_ACTION_CID_REPOSITORY_COMMON
  2. Before publishing the SDK => publishes lit actions code to IPFS

Both things are attached to our existing processes to enforce consistency of the built, referenced and published code

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Screenshot from 2024-10-17 17-18-29

Checklist:

Ansonhkg commented 1 month ago

nit: I think we need to document where do we get the LIT_IPFS_JWT token and it's from Pinata