Skip to content

Commit aedfa59

Browse files
committed
chore(lit-client): add changeset for getIpfsId method for CIDv0 hash computation
1 parent bcf520b commit aedfa59

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.changeset/solid-heads-repeat.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@lit-protocol/lit-client': minor
3+
---
4+
5+
LitClient now offers `getIpfsId` via `@lit-protocol/lit-client/ipfs`, letting apps compute CIDv0 hashes (e.g., `await getIpfsId('hello')`) while keeping bundles lean.
6+
7+
```ts
8+
import { getIpfsId } from '@lit-protocol/lit-client/ipfs';
9+
const cid = await getIpfsId('hello');
10+
```

0 commit comments

Comments
 (0)