Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@vtex/buy-button
Advanced tools
BuyButton is a canonical component that any VTEX store can install.
This component still under construction. Everything may - and will - break. Use with caution, and avoid for now its use in Production projects.
yarn add @vtex/buy-button
# or
npm install @vtex/buy-button
/**
* The quantity of products to be added to the cart
*/
- quantity
- Type: Number
/**
* The specification of which product will be added to the cart.
*/
- skuId
- Type: Number
/**
* Which seller is being referenced by the button.
*/
- seller
- Type: String
/**
* Sales channel.
*/
- salesChannel
- Type: String
/**
* Graphql property to call a mutation.
*/
- mutate
- Type: Function
/**
* Function that will be called after the mutation.
*/
- afterClick
- Type: Function
/**
* The user's cart id
*/
- orderFormId
- Type: String
FAQs
Component used to call a mutation that adds one item to the cart
The npm package @vtex/buy-button receives a total of 10 weekly downloads. As such, @vtex/buy-button popularity was classified as not popular.
We found that @vtex/buy-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 33 open source maintainers 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.