{"_id":"@buoyantaero/blimp-embed","_rev":"2-bcd7ba66e4475521c167664fda1c1a43","name":"@buoyantaero/blimp-embed","dist-tags":{"latest":"1.2.1"},"versions":{"1.2.0":{"name":"@buoyantaero/blimp-embed","version":"1.2.0","keywords":["buoyant","blimp","embed","iframe","sdk"],"license":"MIT","_id":"@buoyantaero/blimp-embed@1.2.0","maintainers":[{"name":"buoyantaero","email":"albie@buoyant.aero"}],"homepage":"https://build.buoyant.aero","dist":{"shasum":"f2c0e30e2ce90b426a352c61afe68851c71a0899","tarball":"https://registry.npmjs.org/@buoyantaero/blimp-embed/-/blimp-embed-1.2.0.tgz","fileCount":8,"integrity":"sha512-PQqJI0ALn+vyibVUKyaI+PuyfqN87rueNpH9lPDnycgRGTT63QmzXCflM5CuAMzj6LdZchuXcOIPvODKROiRdQ==","signatures":[{"sig":"MEYCIQDAATAbuEKWKdGdaY7lQOK/RsDP5dImpo1W1WlkjX/e5wIhAMLFDPEB7wEIYfDjBF6HWfKw5Mj3Fo7UB8cMgMkIcLs5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27168},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"f349a8127a4f00f0c4b0649d1eb06f1d7c6e354d","scripts":{"build":"node build.mjs","check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"buoyantaero","email":"albie@buoyant.aero"},"_npmVersion":"10.8.2","description":"Embed the Buoyant blimp builder in your dashboard — iframe mount, postMessage handshake, and typed events.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/blimp-embed_1.2.0_1786571356795_0.3445660477250321","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@buoyantaero/blimp-embed","version":"1.2.1","description":"Embed the Buoyant blimp builder in your dashboard — iframe mount, postMessage handshake, and typed events.","license":"MIT","homepage":"https://build.buoyant.aero","keywords":["buoyant","blimp","embed","iframe","sdk"],"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"publishConfig":{"access":"public"},"scripts":{"build":"node build.mjs","check":"tsc --noEmit","prepublishOnly":"npm run build"},"devDependencies":{"esbuild":"^0.25.0","typescript":"^5.6.0"},"_id":"@buoyantaero/blimp-embed@1.2.1","gitHead":"f349a8127a4f00f0c4b0649d1eb06f1d7c6e354d","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-eTk7VPTh5iJz8vQaAqkOLxTtIZZ0e6uC+Z/1s+D5dLfbn8IkoUSroAUiT71bFwswrbjl9jYRf5EMK8l2ZqeiMA==","shasum":"7070f3222b305c5a9b1f3744538c764a18e18d47","tarball":"https://registry.npmjs.org/@buoyantaero/blimp-embed/-/blimp-embed-1.2.1.tgz","fileCount":8,"unpackedSize":27627,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCeCo3906UItK1j1zu8BSHE2IFja3FaxLXaQGj/oUU9eQIhANVWjhptS3DM6GvHu8vnKHaSyj3wa161LldvUpxAjH4R"}]},"_npmUser":{"name":"buoyantaero","email":"albie@buoyant.aero"},"directories":{},"maintainers":[{"name":"buoyantaero","email":"albie@buoyant.aero"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/blimp-embed_1.2.1_1786571720115_0.15502480511174643"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-12T21:49:16.592Z","modified":"2026-08-12T21:55:20.490Z","1.2.0":"2026-08-12T21:49:16.925Z","1.2.1":"2026-08-12T21:55:20.282Z"},"license":"MIT","homepage":"https://build.buoyant.aero","keywords":["buoyant","blimp","embed","iframe","sdk"],"description":"Embed the Buoyant blimp builder in your dashboard — iframe mount, postMessage handshake, and typed events.","maintainers":[{"name":"buoyantaero","email":"albie@buoyant.aero"}],"readme":"# @buoyantaero/blimp-embed\n\nEmbed the Buoyant blimp builder in your dashboard so your customers can design a blimp with their company, HQ address, and logo pre-filled.\n\n## Install\n\n```sh\nnpm install @buoyantaero/blimp-embed\n```\n\n## Usage\n\n```ts\nimport { mount } from '@buoyantaero/blimp-embed';\n\nconst blimp = mount(document.getElementById('blimp-builder')!, {\n  token: 'YOUR_EMBED_TOKEN',                // required — provided by Buoyant\n  baseUrl: 'https://build.buoyant.aero',    // required for the npm package\n  builder: 'brex',                          // 'brex' (default) or 'standard'\n  company: 'Acme Corp',\n  address: '1 Ferry Building, San Francisco, CA',\n  logoUrl: 'https://cdn.example.com/acme-logo.png',\n});\n\nblimp.on('design-saved', ({ designId, shortId }) => { /* ... */ });\nblimp.on('shared', ({ shortUrl }) => { /* ... */ });\nblimp.on('error', ({ code, message }) => { /* 'handshake-timeout' | 'iframe-load-failed' */ });\n```\n\nNote: unlike the hosted `<script>` build (which infers the builder origin from its own URL), the npm package requires `baseUrl`.\n\nFull option/event reference, security model, and setup steps: see the [Embed SDK integration guide](https://build.buoyant.aero/docs/EMBED_SDK.md) or `docs/EMBED_SDK.md` in the Buoyant repo.\n\n## Versioning\n\nThe npm package and the hosted script `https://build.buoyant.aero/sdk/buoyant-blimp.js` are built from the same source and always share a version number. `blimp.version` reports it at runtime.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}