medusa-file-pinata

0.0.10174 • Public • Published

Pinata Plugin for Medusa

So far only uploading a file is working, no deletion. Here, the environment variables are on the env object. Include in your plugins like this:

// medusa.config

const plugins =
  [ ...
  ,  { resolve: 'medusa-file-pinata'
    , options:
      { pinata_api_key: env['PINATA_API_KEY']
      , pinata_api_secret: env['PINATA_API_SECRET']
      , pinata_jwt: env['PINATA_JWT']
      , pinata_gateway: env['PINATA_GATEWAY']
      }
    }
  ]

Package Sidebar

Install

npm i medusa-file-pinata

Weekly Downloads

29

Version

0.0.10174

License

none

Unpacked Size

8.03 kB

Total Files

5

Last publish

Collaborators

  • mithray