Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@jetskis/sanity-plugin-headup
Advanced tools
This is a Sanity Studio v3 plugin.
Some link to the Shopify App
npm install sanity-plugin-headup
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {headup} from '@jetskis/sanity-plugin-headup'
export default defineConfig({
//...
plugins: [headup({
{
"apiKey": "[keyProvidedFromShopifyApp]",
"store": "yourshopifystore.myshopify.com"
}
})],
})
Then simply update any instance of image
in your sanity schema with type: shopifyImage
.
...,
defineField({
name: 'image',
title: 'Image ',
type: 'shopifyImage',
validation: (Rule) => Rule.required(),
}),
We also support uploading directly to a product image, this is useful if you don't want the client to worry about managing image assets in Shopify at all (You need an image for the cart and emails to be present in Shopify), you can pass options:
options: {
productImage: true,
productId: `store.id` // points to the field with the shopify product Id
},
'store.id' is the shopify product id field on the product content type, this assumes you're using the sanity-connect sync, if you're doing a manual sync make sure you specify the product id location in the document schema.
MIT © Kevin Green
FAQs
Uploads media assets to Shopify
The npm package @jetskis/sanity-plugin-headup receives a total of 2 weekly downloads. As such, @jetskis/sanity-plugin-headup popularity was classified as not popular.
We found that @jetskis/sanity-plugin-headup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.