@lassocommerce/sdk
v0.3.2
Published
Lasso Cart SDK — UMD bundle that drop-in replaces shopify.script.js (sets window.lasso on load).
Readme
Lasso Commerce SDK
Install
npm install @lassocommerce/sdkUse
Reference the bundled file directly via <script>:
<script
src="node_modules/@lassocommerce/sdk/dist/lasso.umd.js"
data-store-id="YOUR_STORE_ID"
data-checkout-url="checkout.example.com"
></script>The bundle path is also exposed via main, unpkg, and jsdelivr:
@lassocommerce/sdk/dist/lasso.umd.js.
