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.
@acuityai/acuityai
Advanced tools
The acuityai SDK is library that uses [https://acuityai.com](http://acuityai.com) for implement shoppable in video element by utilizing our easy interface.
The acuityai SDK is library that uses https://acuityai.com for implement shoppable in video element by utilizing our easy interface.
npm install --save @acuityai/acuityai
# or
yarn add @acuityai/acuityai
import '@acuityai/acuityai/dist/acuityai-sdk.css';
import acuityai from '@acuityai/acuityai';
<link rel="stylesheet" href="https://assets.acuityai.com/acuityai-sdk.css">
<script src="https://assets.acuityai.com/acuityai-sdk.js"></script>
Example:
acuityai.init({
company: 'stacio',
checkoutButtonContainer: '#checkout-button',
shoppingContainer: '#shopping-panel',
productContainer: '#product-panel',
vertical: '123',
group: '123',
});
property | type | description | |
---|---|---|---|
company | string | required | name of the company created on the https://customer.acuityai.com |
checkoutButtonContainer | string | required | Container selector to render checkout button, you can develop your custom own using the events and actions |
shoppingContainer | string | required | Contianer selector to render product popup |
productContainer | string | required | Container selector to render product panel with products on the group |
vertical | string | required | this is the vertical id that you can get from the https://customer.acuityai.com of the related to the vertical |
group | string | required | this is the group id that you can get from the https://customer.acuityai.com of the related to the group vertical |
Example:
const onUpdateCart = (event) => console.log(event);
// Listen events listener
acuity.on('cart:update', onUpdateCart);
// Remove event listener
acuity.off('cart:update', onUpdateCart);
name | signature |
---|---|
cart:update | (total: number) => void |
Example:
// Mark checkout as a conversion
acuity.conversion();
name | signature | description |
---|---|---|
clean | () => void | Clean cart product |
conversion | () => void | Mark checkout as a conversion and also clean cart |
FAQs
The acuityai SDK is a library that can be used to overlay shoppability onto any video player. It currently uses a customer dashboard [https://acuityai.com](http://acuityai.com) to manage the connection between shoppable products in a video and the corresp
The npm package @acuityai/acuityai receives a total of 21 weekly downloads. As such, @acuityai/acuityai popularity was classified as not popular.
We found that @acuityai/acuityai demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.