We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e51ed commit 01ae7edCopy full SHA for 01ae7ed
packages/lit-client/src/ipfs/getIpfsId.ts
@@ -31,7 +31,7 @@ const toUint8Array = (value: ArrayBuffer | ArrayBufferView): Uint8Array => {
31
const normalizeInput = (input: SupportedInput): Uint8Array => {
32
// Accommodate all portable input shapes while keeping the helper tree-shakeable and browser-friendly.
33
if (typeof input === 'string') {
34
- return toUint8Array(encodeString(input));
+ return encodeString(input);
35
}
36
37
if (input instanceof Uint8Array) {
0 commit comments