{"_id":"@belongnet/crossmint-sdk-modal-less","_rev":"2-5b60aefc358fc8d57d63f2c5368a4a8f","name":"@belongnet/crossmint-sdk-modal-less","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@belongnet/crossmint-sdk-modal-less","version":"1.0.0","keywords":["crossmint","sdk","modal-less","integration"],"author":{"name":"Reslear"},"license":"MIT","_id":"@belongnet/crossmint-sdk-modal-less@1.0.0","maintainers":[{"name":"reslear","email":"reslear@gmail.com"},{"name":"belongfoundation","email":"join@belong.net"}],"homepage":"https://github.com/belongnet/crossmint-sdk-modal-less#readme","bugs":{"url":"https://github.com/belongnet/crossmint-sdk-modal-less/issues"},"dist":{"shasum":"6b00dfc35ac28a5fc17907c1adf651df4874abdd","tarball":"https://registry.npmjs.org/@belongnet/crossmint-sdk-modal-less/-/crossmint-sdk-modal-less-1.0.0.tgz","fileCount":18,"integrity":"sha512-DfKme3hIcVTClzfSMc8Nb6S4AFzuHUPRp9aQJfKYQ7va/eUeUvH8AEdXcMFWayPAT1XGdxLHSHZJ/clIfYO4Nw==","signatures":[{"sig":"MEQCIHf7dxQERkX3hMgFRv2H96sfNldusbzX7Uou7HhtN2HgAiBDxBOLZcEM9ujZVTYvwmYACCbitVfqsW2Yw5vZWyoaZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18800},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"c86afbb415b65fffc0ff670f5d9bba29334aa897","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"reslear","email":"reslear@gmail.com"},"repository":{"url":"git+https://github.com/belongnet/crossmint-sdk-modal-less.git","type":"git"},"_npmVersion":"10.8.1","description":"A SDK for Crossmint integration without modals.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"@crossmint/client-sdk-base":"^1.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.2","prettier":"^3.3.2","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/crossmint-sdk-modal-less_1.0.0_1720692301518_0.6736594012074804","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@belongnet/crossmint-sdk-modal-less","version":"3.0.0","description":"A SDK for Crossmint integration without modals.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p tsconfig.build.json"},"keywords":["crossmint","sdk","modal-less","integration"],"author":{"name":"Reslear"},"license":"MIT","dependencies":{"@crossmint/client-sdk-base":"^1.7.2","@crossmint/common-sdk-base":"^0.9.7"},"devDependencies":{"typescript":"^5.9.3","vitest":"^4.0.4"},"repository":{"type":"git","url":"git+https://github.com/belongnet/crossmint-sdk-modal-less.git"},"bugs":{"url":"https://github.com/belongnet/crossmint-sdk-modal-less/issues"},"homepage":"https://github.com/belongnet/crossmint-sdk-modal-less#readme","publishConfig":{"access":"public"},"_id":"@belongnet/crossmint-sdk-modal-less@3.0.0","gitHead":"f32102bb9bc29b08a1a1121286096226e5b089d6","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-qD9Zt/ZtWK/DzTmUpTNAm4+LMNnarsp2Rg8zPU/gCrgV8dzHnlAA+sRLTk2OOivxOiq/ljs9N5UPZhEsfaghBA==","shasum":"03737278d4a38d3eabcc0ce660ea24aa2e5b46e1","tarball":"https://registry.npmjs.org/@belongnet/crossmint-sdk-modal-less/-/crossmint-sdk-modal-less-3.0.0.tgz","fileCount":35,"unpackedSize":353126,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEKc2mLLgWbkiWjN54/Z/97JF0u40YF1xGDwI/kJ7jMoAiBgJgTXEkJBIkv7YMT+kq078JBBCAat2umUi/heF4CWaA=="}]},"_npmUser":{"name":"reslear","email":"reslear@gmail.com"},"directories":{},"maintainers":[{"name":"reslear","email":"reslear@gmail.com"},{"name":"belongfoundation","email":"join@belong.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crossmint-sdk-modal-less_3.0.0_1761831702741_0.45423724577575086"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-11T10:05:01.398Z","modified":"2025-10-30T13:41:43.187Z","1.0.0":"2024-07-11T10:05:01.660Z","3.0.0":"2025-10-30T13:41:42.973Z"},"bugs":{"url":"https://github.com/belongnet/crossmint-sdk-modal-less/issues"},"author":{"name":"Reslear"},"license":"MIT","homepage":"https://github.com/belongnet/crossmint-sdk-modal-less#readme","keywords":["crossmint","sdk","modal-less","integration"],"repository":{"type":"git","url":"git+https://github.com/belongnet/crossmint-sdk-modal-less.git"},"description":"A SDK for Crossmint integration without modals.","maintainers":[{"name":"reslear","email":"reslear@gmail.com"},{"name":"belongfoundation","email":"join@belong.net"}],"readme":"# crossmint-sdk-modal-less\n\nGenerates a link for your custom pop-up implementation of the checkout process using the [Crossmint Pay Button](https://docs.crossmint.com/nft-checkout/pay-button/overview).\n\n## Installation\n\n```bash\npnpm add @belongnet/crossmint-sdk-modal-less\n```\n\n## Usage\n\n```ts\nimport { generateCrossmintPaymentUrl } from '@belongnet/crossmint-sdk-modal-less'\n\nconst crossmintPaymentUrl = generateCrossmintPaymentUrl({\n  recipient: {\n    email: 'buyer@crossmint.com',\n  },\n  locale: 'en-US',\n  lineItems: {\n    collectionLocator: 'crossmint:6294235c-135e-4be8-a0c6-4d3f5d5ae5c4',\n    callData: {\n      totalPrice: '2',\n    },\n  },\n  payment: {\n    crypto: {\n      enabled: true,\n      defaultChain: 'base-sepolia',\n      defaultCurrency: 'usdc',\n    },\n    fiat: {\n      enabled: true,\n      defaultCurrency: 'usd',\n    },\n    receiptEmail: 'receipt@crossmint.com',\n  },\n  appearance: {\n    display: 'popup',\n    overlay: {\n      enabled: true,\n    },\n    theme: {\n      button: 'dark',\n      checkout: 'light',\n    },\n  },\n  apiKey: 'ck_staging_REDACTED',\n  sdkMetadata: {\n    name: '@crossmint/client-sdk-react-ui',\n    version: '1.19.13',\n  },\n})\n\n// your modal implementation\nconst modal = window.open(crossmintPaymentUrl, '_blank')\n\n// close the modal\nmodal.close()\n```\n\n## License\n\nThis project is licensed under the terms of the [MIT license](LICENSE).\n","readmeFilename":"README.md"}