{"_id":"@buildel/buildel-auth","_rev":"2-472029852067f4c297ad223a7bd5af37","name":"@buildel/buildel-auth","description":"A library that generates authentication data for socket connection with the Buildel service.","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@buildel/buildel-auth","version":"0.0.1","keywords":["javascript","buildel","integration","authentication","pipelines","organizations","typescript"],"license":"MIT","_id":"@buildel/buildel-auth@0.0.1","maintainers":[{"name":"kielbasa-elp","email":"dawid.kielbasa@elpassion.pl"},{"name":"michalwarda","email":"t1du53k@gmail.com"}],"dist":{"shasum":"f4a73ac09a46450aac338d2a90a319be83b48c08","tarball":"https://registry.npmjs.org/@buildel/buildel-auth/-/buildel-auth-0.0.1.tgz","fileCount":7,"integrity":"sha512-+GNKo1bOZXPLWDeZOxwljZD00R2XPf3lcmwBsfY06Ffsi2st4bP672/b9OigJPbXsyjfwWR5MqE7uLXg+5gNwQ==","signatures":[{"sig":"MEQCIBo5ynZsRKpd5pHJKnNCLUDV0CdNKUs/ur2irZyYXHZWAiBk8VzCpsL6qGRHsJZxjGdNSf+xoJFDDoaRwArTGDPTSQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3689},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","source":"src/index.ts","gitHead":"0a2189e71ab51329d703c54073a30e9112f722c6","private":false,"scripts":{"dev":"npm run build -- --watch","build":"tsc && vite build","preview":"vite preview","npm:publish":"npm publish --access public"},"_npmUser":{"name":"kielbasa-elp","email":"dawid.kielbasa@elpassion.pl"},"_npmVersion":"9.8.1","description":"A library that generates authentication data for socket connection with the Buildel service.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"js-sha256":"0.10.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.5","typescript":"^5.0.2","vite-plugin-dts":"^3.6.0","vite-tsconfig-paths":"^4.2.1"},"_npmOperationalInternal":{"tmp":"tmp/buildel-auth_0.0.1_1695984842654_0.9005288315782409","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@buildel/buildel-auth","version":"0.0.2","keywords":["javascript","buildel","integration","authentication","pipelines","organizations","typescript"],"license":"MIT","_id":"@buildel/buildel-auth@0.0.2","maintainers":[{"name":"kielbasa-elp","email":"dawid.kielbasa@elpassion.pl"},{"name":"michalwarda","email":"t1du53k@gmail.com"}],"dist":{"shasum":"b56be4e07f78ad2272c770afe20db18bc2670148","tarball":"https://registry.npmjs.org/@buildel/buildel-auth/-/buildel-auth-0.0.2.tgz","fileCount":7,"integrity":"sha512-OKjLAlf5HQNDJJ+YH2gGZa/5TVPeozQX91l0CUil//WBsEVuUEj34Eepo+3uy4lKJkmK19ie/pevoXfEQS4BaA==","signatures":[{"sig":"MEUCIEEC/HIbXOGyHF5Mj2d2uTmjc3efcPVO8yf25PFZDnY7AiEAtD/d2P2CcrAlctRps/ldHYDi7oXDKWlfDcd+QQzvxgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37816},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","source":"src/index.ts","gitHead":"ed8c0c10251398dcd519c3af94af9656b2e1ad60","private":false,"scripts":{"build":"tsc && vite build","preview":"vite preview","npm:publish":"npm publish --access public"},"_npmUser":{"name":"kielbasa-elp","email":"dawid.kielbasa@elpassion.pl"},"_npmVersion":"9.8.1","description":"A library that generates authentication data for socket connection with the Buildel service.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"crypto-js":"^4.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.5","typescript":"^5.0.2","vite-plugin-dts":"^3.6.0","@types/crypto-js":"^4.1.2","vite-tsconfig-paths":"^4.2.1"},"_npmOperationalInternal":{"tmp":"tmp/buildel-auth_0.0.2_1695985746187_0.04032057325511218","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-09-29T10:54:02.577Z","modified":"2024-05-31T05:44:52.736Z","0.0.1":"2023-09-29T10:54:02.925Z","0.0.2":"2023-09-29T11:09:06.380Z"},"maintainers":[{"email":"pawel.sierant@elpassion.pl","name":"pawel.sierant.elp"},{"email":"dawid.kielbasa@elpassion.pl","name":"kielbasa-elp"},{"email":"t1du53k@gmail.com","name":"michalwarda"}],"keywords":["javascript","buildel","integration","authentication","pipelines","organizations","typescript"],"license":"MIT","readme":"## Buildel-auth\nA library that generates authentication data for socket connection with the Buildel service.\n\n### Installation\nTo install the package using npm:\n\n```bash\nnpm install @buildel/buildel-auth\n```\n\n### Usage\n\n```ts\nimport {BuildelAuth} from \"@buildel/buildel-auth\";\n\n// initialize BuildelAuth class\nconst buildelAuth = new BuildelAuth(process.env.BUILDEL_SECRET); \n\n// generate auth data for your socket connection\nconst authData = buildelAuth.generateAuth(socketId, channelName);\n```\n\n### License\nThis project is licensed under the MIT License.\n","readmeFilename":"README.md"}