{"_id":"@alphasense/widgets","_rev":"5-ee5744dbb028d5ae7b4c2b663c9b7919","name":"@alphasense/widgets","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"@alphasense/widgets","version":"0.0.1","_id":"@alphasense/widgets@0.0.1","maintainers":[{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"dist":{"shasum":"87472cfb22cf681dd70bab248da110a437870d16","tarball":"https://registry.npmjs.org/@alphasense/widgets/-/widgets-0.0.1.tgz","fileCount":2,"integrity":"sha512-ncu/Bk3iyT4+uMUBjYrdUp1BQB5Xosl2SbrpiN4Nm2TT7Z15YyE2IsE5LUkrTvhMlWe3fHjcnHnUwO3O+18r/Q==","signatures":[{"sig":"MEQCIBf7FBccsDw014hCZKx1RQbCdpP0TM+HgsrIMsRbwBTMAiAAtzfIP8HNdlgue5azhQtMLEt6SwmgbsVMsWEPjj6MoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":950},"type":"module","module":"dist/index.js","gitHead":"169d6cad06651f7cfbbb756dfede6f9f2186db77","scripts":{"dev":"bun run --watch src/index.ts & PORT=$PORT bun run server.ts","build":"bun build --target browser --format esm --outdir dist --minify src/index.ts","prepublishOnly":"bun run build"},"_npmUser":{"name":"dtuan","email":"dtuan@alpha-sense.com"},"_npmVersion":"10.7.0","description":"## Quick Start","directories":{},"_nodeVersion":"18.20.3","dependencies":{"superstruct":"2.0.2"},"publishConfig":{"access":"public","@alphasense:registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.1","@types/bun":"latest","@types/jsdom":"^21.1.7"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/widgets_0.0.1_1727674038337_0.37660168450657605","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@alphasense/widgets","version":"0.0.2","_id":"@alphasense/widgets@0.0.2","maintainers":[{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"dist":{"shasum":"6cf9616488457b61fe1c3cf6f76ef91ebfa82084","tarball":"https://registry.npmjs.org/@alphasense/widgets/-/widgets-0.0.2.tgz","fileCount":3,"integrity":"sha512-95PbzpI/30eeFh9qKScH5n2fPEdCn8id4kY7Of9VgoY8j+Uf4gJ8iSss2Ll+rA3UYQ7cfNjeIn3Nr1j/FzRxNg==","signatures":[{"sig":"MEQCIG544LEArsdp3UdXp4rYnF9dR2MVpN2ISm51lxjAWIYjAiAuy7Qx0Kf1dpIX3UwmPDdtN6BqXSfK1m4ifhwaS3P2hQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8968},"type":"module","module":"dist/index.js","gitHead":"169d6cad06651f7cfbbb756dfede6f9f2186db77","scripts":{"dev":"bun run --watch src/index.ts & PORT=$PORT bun run server.ts","build":"bun build --target browser --format esm --outdir dist --minify src/index.ts","prepublishOnly":"bun run build"},"_npmUser":{"name":"dtuan","email":"dtuan@alpha-sense.com"},"_npmVersion":"10.7.0","description":"## Quick Start","directories":{},"_nodeVersion":"18.20.3","dependencies":{"superstruct":"2.0.2"},"publishConfig":{"access":"public","@alphasense:registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.1","@types/bun":"latest","@types/jsdom":"^21.1.7"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/widgets_0.0.2_1727674379904_0.39667822128535035","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@alphasense/widgets","version":"0.1.0","_id":"@alphasense/widgets@0.1.0","maintainers":[{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"dist":{"shasum":"77d3b6b83f825d0222e2be49f1330e2790ba5b3c","tarball":"https://registry.npmjs.org/@alphasense/widgets/-/widgets-0.1.0.tgz","fileCount":4,"integrity":"sha512-+0Vm331JhV9JPn3XvA2j5XARUtp6iX0UgKacOeqBKwR0JJHQrmJg8d/5EfW10/fZBlCKmqXYneKx+ETQfmPioQ==","signatures":[{"sig":"MEQCIESFDwwO8x5WTqJqPI18x7KiyHZ4eeNq6i5zCQICn9gdAiA+thFwZhSaCf8jVGZ2Z918O8aU4batp3EQzGcxT+nkgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10752},"type":"module","module":"dist/index.js","gitHead":"d485b97073cf39dddefa3cd6bdcf281edfc0fe17","scripts":{"dev":"bun run --watch src/index.ts & PORT=$PORT bun run server.ts","build":"bun build --target browser --format esm --outdir dist --minify src/index.ts","changeset":"changeset","prepublishOnly":"bun run build","changeset:status":"changeset status","changeset:publish":"changeset publish","changeset:version":"changeset version","changeset:pre:exit":"changeset pre exit next","changeset:pre:enter":"changeset pre enter next"},"_npmUser":{"name":"dtuan","email":"dtuan@alpha-sense.com"},"_npmVersion":"10.7.0","description":"The AlphaSense Widget SDK allows you to easily integrate AlphaSense widgets into your web applications.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"superstruct":"2.0.2"},"publishConfig":{"access":"public","@alphasense:registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"25.0.1","@types/bun":"latest","@types/jsdom":"21.1.7","@changesets/cli":"2.27.8"},"peerDependencies":{"typescript":"5.6.2"},"_npmOperationalInternal":{"tmp":"tmp/widgets_0.1.0_1727681553025_0.028732234482271357","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@alphasense/widgets","version":"0.1.1","_id":"@alphasense/widgets@0.1.1","maintainers":[{"name":"lappi_lynx","email":"lappi.lynx@gmail.com"},{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"dist":{"shasum":"25025d8932c09c9d2cc64904b991e672889b179a","tarball":"https://registry.npmjs.org/@alphasense/widgets/-/widgets-0.1.1.tgz","fileCount":4,"integrity":"sha512-GxlQlQBR2ikgeDXobvN2xRdv+P/XMioqlh9GH9l2SZK8FKfyd5iulG/VMfOzd9lZClS30gZB5eGC6IY9gRxPmA==","signatures":[{"sig":"MEUCID1CtMNZ0J09ALp4z5fo/BcMaTkpMkkGhA/iY3xrugWhAiEAvfz03yCIP+UVHHRLekjeB+fjffNo9fQ+eGUFQq+tsPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11138},"type":"module","module":"dist/index.js","gitHead":"29d3f3ccb3349489f3ff1feed654d8ba90f0cb68","scripts":{"dev":"bun run --watch src/index.ts & PORT=$PORT bun run server.ts","build":"bun build --target browser --format esm --outdir dist --minify src/index.ts","changeset":"changeset","prepublishOnly":"bun run build","changeset:status":"changeset status","changeset:publish":"changeset publish","changeset:version":"changeset version","changeset:pre:exit":"changeset pre exit next","changeset:pre:enter":"changeset pre enter next"},"_npmUser":{"name":"lappi_lynx","email":"lappi.lynx@gmail.com"},"_npmVersion":"9.8.1","description":"The AlphaSense Widget SDK allows you to easily integrate AlphaSense widgets into your web applications.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"superstruct":"2.0.2"},"publishConfig":{"access":"public","@alphasense:registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"25.0.1","@types/bun":"latest","@types/jsdom":"21.1.7","@changesets/cli":"2.27.8"},"peerDependencies":{"typescript":"5.6.2"},"_npmOperationalInternal":{"tmp":"tmp/widgets_0.1.1_1727777592879_0.5329009060567429","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@alphasense/widgets","version":"0.1.2","module":"dist/index.js","type":"module","scripts":{"build":"bun build --target browser --format esm --outdir dist --minify src/index.ts","dev":"bun run --watch src/index.ts & PORT=$PORT bun run server.ts","prepublishOnly":"bun run build","changeset":"changeset","changeset:status":"changeset status","changeset:version":"changeset version","changeset:pre:enter":"changeset pre enter next","changeset:pre:exit":"changeset pre exit next","changeset:publish":"changeset publish"},"devDependencies":{"@changesets/cli":"2.27.8","@types/bun":"latest","@types/jsdom":"21.1.7","jsdom":"25.0.1"},"peerDependencies":{"typescript":"5.6.2"},"dependencies":{"superstruct":"2.0.2"},"publishConfig":{"access":"public","@alphasense:registry":"https://registry.npmjs.org"},"_id":"@alphasense/widgets@0.1.2","gitHead":"b454de1bd901798872fa629a5ee5368fc3afadde","description":"The AlphaSense Widget SDK allows you to easily integrate AlphaSense widgets into your web applications.","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Q36jCtHzU0pYyU/0JSyOJ809DCbrqgs4DNaTn9YqJGBX48crZ94ObJeT7C+8M8nV4120fuB7O/NKh/nEjGjq0Q==","shasum":"d74707f953e3be5d591a3f42274b8717ee728d32","tarball":"https://registry.npmjs.org/@alphasense/widgets/-/widgets-0.1.2.tgz","fileCount":4,"unpackedSize":11180,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTqt5XqyEFftTp8Hv6cFS1JbfeGrf/5JUBW6VOJveFwgIgVUxLa8cQi1ZqBF2MoAcaaNtsqXdXWk5+nNSw00rBFrs="}]},"_npmUser":{"name":"lappi_lynx","email":"lappi.lynx@gmail.com"},"directories":{},"maintainers":[{"name":"lappi_lynx","email":"lappi.lynx@gmail.com"},{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widgets_0.1.2_1727861621760_0.6404858951320547"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-30T05:27:18.226Z","modified":"2024-10-02T09:33:42.196Z","0.0.1":"2024-09-30T05:27:18.501Z","0.0.2":"2024-09-30T05:33:00.105Z","0.1.0":"2024-09-30T07:32:33.225Z","0.1.1":"2024-10-01T10:13:13.064Z","0.1.2":"2024-10-02T09:33:41.958Z"},"description":"The AlphaSense Widget SDK allows you to easily integrate AlphaSense widgets into your web applications.","maintainers":[{"name":"lappi_lynx","email":"lappi.lynx@gmail.com"},{"name":"algun","email":"algun.t.akgunduz@gmail.com"},{"name":"dtuan","email":"dtuan@alpha-sense.com"}],"readme":"# AlphaSense Widget SDK\n\nThe AlphaSense Widget SDK allows you to easily integrate AlphaSense widgets into your web applications.\n\n## Installation\n\nYou can install the AlphaSense Widget SDK using npm:\n\n```bash\nnpm install @alphasense/widgets\n```\n\nAlternatively, you can use the SDK via a CDN:\n\n```html\n<script src=\"https://unpkg.com/@alphasense/widgets@latest/dist/index.js\" type=\"module\"></script>\n```\n\nYou can change the version in the URL to the version you want to use.\n\ne.g\n\n```html\n<script src=\"https://unpkg.com/@alphasense/widgets@1.0.0/dist/index.js\" type=\"module\"></script>\n```\n\n## Quick Start\n\n1. Install the SDK using one of the methods above.\n\n2. Import and initialize the SDK in your project:\n\n```javascript\nimport { AlphaSenseWidget } from '@alphasense/widgets';\n\nconst widget = new AlphaSenseWidget({\n  // Configuration options\n});\n```\n\nExample:\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>AlphaSense Widget SDK</title>\n  </head>\n  <body>\n    <div class=\"container\">\n      <div id=\"widget\"></div>\n    </div>\n    <script src=\"https://unpkg.com/@alphasense/widgets@latest/dist/index.js\" type=\"module\"></script>\n    <script type=\"module\">\n      new AlphaSenseWidget({\n        target: '#widget',\n        widgetType: 'companySummary',\n        useIframe: true,\n        width: '300px',\n        height: '500px',\n        authToken: 'test-token',\n        widgetUrl: 'https://api.wo-cloud.com/content/widget/?geoObjectKey=6112695&language=en&region=US&timeFormat=HH:mm&windUnit=mph&systemOfMeasurement=imperial&temperatureUnit=fahrenheit',\n        onInit: () => {\n          console.log('Widget initialized');\n        },\n      }).init();\n    </script>\n  </body>\n</html>\n```\n\n## Contributing\n\nCheck out the [development guide](./docs/CONTRIBUTING.md) to get started.\n\n## License\n\nThis project is licensed under the AlphaSense License. See the [LICENSE](./LICENSE) file for more details.\n","readmeFilename":"README.md"}