PINATA_JWT
import { PinataSDK } from "pinata";
const pinata = new PinataSDK({
pinataJwt: process.env.PINATA_JWT!,
pinataGateway: "example-gateway.mypinata.cloud",
});
const auth = await pinata.testAuthentication()
type AuthTestResponse = {
message: string;
};