{"_id":"better-auth-telegram","_rev":"23-331a4ed7b941afb5ee1c1663e04abf84","name":"better-auth-telegram","dist-tags":{"latest":"3.2.2"},"versions":{"0.1.0":{"name":"better-auth-telegram","version":"0.1.0","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.1.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"eeeea8b037921e0b44c736ff9e83ec15359d2c9b","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.1.0.tgz","fileCount":15,"integrity":"sha512-HGd340gLpU/8jpZ0PHF1mzCdhHizkJ3EP/839iYPSb89HF5//LknrZcF0PWrrQDzhvIfX9SEFouKb4BRhpJTng==","signatures":[{"sig":"MEYCIQC93jexcE1Oa8v5BBCp5gERVjrOihAyfcmDftISEMl/6wIhAMkWWLUsn2fvux8dvCs4iH4P4e2czw8rylsUBAjaNPJy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129497},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"c037fe4e4b00bd4753902892af34bdc52546ca94","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.6.0","description":"Telegram authentication plugin for Better Auth","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","happy-dom":"^19.0.2","@vitest/ui":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.0.0","better-auth":"^1.3.24","node-loader":"^2.1.0","@vitest/coverage-v8":"^3.2.4"},"peerDependencies":{"better-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.1.0_1759309822778_0.5157650023679268","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"better-auth-telegram","version":"0.2.0","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.2.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"9dd205fe7cc226c70098292ff861d359deff845d","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.2.0.tgz","fileCount":15,"integrity":"sha512-GzhMiC6YIMxUd1YIIAbP+C+B1TfPkC1jXd6MAa4h3W1k1L+c7Lw/20Hd0NGeC32B9hVUkz6Hpi26XL6WayuHUQ==","signatures":[{"sig":"MEUCIFwHJ1XMtFM/2O9J3kP8SDTWse+VCqHWxW6viQ2Do2jyAiEA50D5gvbIQmn8Kk3toU5nSXIeieNzqhpQ0slYHyOiTQY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":199684},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"75310fc4a3714c7922d0793658afd35f6a1f6800","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.6.0","description":"Telegram authentication plugin for Better Auth","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","happy-dom":"^19.0.2","@vitest/ui":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.0.0","better-auth":"^1.3.24","node-loader":"^2.1.0","@vitest/coverage-v8":"^3.2.4"},"peerDependencies":{"better-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.2.0_1759312739346_0.9744269048099203","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"better-auth-telegram","version":"0.3.0","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.3.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"511d713fba506eee26ae114cae18c7a97cc22680","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.3.0.tgz","fileCount":15,"integrity":"sha512-cezw+0xJtVe1u4l24yVDzOw6Rb7hf3FXxEBhN05nNUSYt+gUfVPi2TQt9MY5PGJBi6fvPzNj0YPm7nPkH3KfUA==","signatures":[{"sig":"MEUCIELoh8UfI9DklAE24AaZ7hVka6PAd9bKpJHWVcKNuH2rAiEA21zHGL5isCXsaCJSptgKsgXk8m2PHGhuj1Dbw+YzTs0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203249},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"81ec3a7d28f6231a31344401304f4f84a73f1a5b","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.6.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}":["npx ultracite fix"]},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","happy-dom":"^19.0.2","ultracite":"^5.4.6","@vitest/ui":"^3.2.4","typescript":"^5.9.3","@types/node":"22.0.0","better-auth":"^1.3.24","lint-staged":"16.2.3","node-loader":"^2.1.0","@biomejs/biome":"2.2.4","@vitest/coverage-v8":"^3.2.4"},"peerDependencies":{"better-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.3.0_1759319245599_0.7048986468446052","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"better-auth-telegram","version":"0.3.1","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.3.1","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"a734b91e6b226cd8f8851e93f61b182442ad7dca","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.3.1.tgz","fileCount":15,"integrity":"sha512-AbwmZHeuN+gsRk7HM2Fmc2dsa6BX5MKl0kpPaVpJeHP0OdZ3K7Nw7eKhPoA5Bm3D9zi1AzrIZOWyF00uEDLgOQ==","signatures":[{"sig":"MEQCIEyf9zBkUoFjqrsY//utkSBDAkLjcM+g6XoQOOLVoLqrAiA4DiqZwdGJGHD9r2BC2tUA//ebC530Y9aDtktiPsCoZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":204884},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"10ec6247039e43517e4c0f6a083e61371c18cbcf","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.6.2","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}":["npx ultracite fix"]},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","happy-dom":"^19.0.2","ultracite":"^5.4.5","@vitest/ui":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.0.0","better-auth":"^1.3.24","lint-staged":"16.2.3","node-loader":"^2.1.0","@biomejs/biome":"2.2.4","@vitest/coverage-v8":"^3.2.4"},"peerDependencies":{"better-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.3.1_1760479578449_0.31861527128986644","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"better-auth-telegram","version":"0.3.2","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.3.2","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"71996fdb1434615529b847df05ea746668f38970","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.3.2.tgz","fileCount":15,"integrity":"sha512-ssTxVa5qvfX7lzvBQUYysHq4MSdh0WB0Zdi2fSKj+JG1xazz/YjCgf5iC39JGovxIyEM4mBpgu3jaZbddZUjVA==","signatures":[{"sig":"MEQCIGQP+aaX8q4CX5zXC3Dmow1hrrzqZrz9da0+b8lSVlzdAiBOee4t6ahh6e74s8rDP9nkC5NMmTatqPdcZcXYXELWUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210152},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"17912825172e94a4cb51f8aed03771f98697a593","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.6.2","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}":["npx ultracite fix"]},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","happy-dom":"^19.0.2","ultracite":"^5.4.5","@vitest/ui":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.0.0","better-auth":"^1.3.24","lint-staged":"16.2.3","node-loader":"^2.1.0","@biomejs/biome":"2.2.4","@vitest/coverage-v8":"^3.2.4"},"peerDependencies":{"better-auth":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.3.2_1761408366761_0.12371133177420712","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"better-auth-telegram","version":"0.4.0","keywords":["better-auth","telegram","authentication","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@0.4.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"7fb0024b2b96d31e1e78462f27df003a98371dc3","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-0.4.0.tgz","fileCount":15,"integrity":"sha512-erfTTQRkcKci0hBUMsZxwbKZ7N873qvFgV17l/I22k6Wx2IiyTSwOHrz9ttgy9v9omAWT1D1+tcACzfUETirWw==","signatures":[{"sig":"MEUCIEh0IDmj4RuzQWZtUtWi1aunnsgHFpjkcxJ+ugi8qMwdAiEAoyMEONZqqfh/GzgRpkNkzMioWEWu4SnUjF/Y/63YerY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":206483},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"887bcdfb0c88d25d53259db8924199010588d394","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.6.3","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"^1.4.18","lint-staged":"16.2.7","node-loader":"^2.1.0","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.4.18"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_0.4.0_1771679309721_0.21781953733092418","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"better-auth-telegram","version":"1.0.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.0.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"0eb37925581565d1bbb3a85c4cd529cd034bcb73","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.0.0.tgz","fileCount":15,"integrity":"sha512-z3PQ7K1KrS4QRcFZyvT/5V8NLroxltECwneW90cTxTOwXHutjxQsNUXFy2hprkEPFeK13ijfvzmJZ/HRdRCXKw==","signatures":[{"sig":"MEQCIHnMy9dZyffhCis0XaGO/nH1/5zcA6tS30lX0TBr/ai+AiApsTpQHLBVOy1AQ2T44E3M6jgdJZvYcRG+P9FOc7tk7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":876915},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"dca0011496244cf9d140db3fd88ee64208c0141a","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"^1.4.18","lint-staged":"16.2.7","node-loader":"^2.1.0","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.4.18"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.0.0_1772373862509_0.27839926764367884","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"better-auth-telegram","version":"1.1.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.1.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"60e2061ed0a8db569031b444ab630b3134ca38c6","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.1.0.tgz","fileCount":15,"integrity":"sha512-dDihwhUKewUHeLAlcy1HLmk94HVgfC0kos3/YleIoHrGE+Qt79Sg+RT6kuLhiJarS/Fw050wdbxdsbznFeQ2IA==","signatures":[{"sig":"MEUCIQDGxjGNclezN6MQMFzRE9r0e6CbxGoYtJHijZdhpRqXWwIgBCICkEK8kV9kb6Ce1vuc0syNoOf2hvaXGwMacE8y/a0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":597806},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"d33d645d789a5f64f794b15333fe97f49d8f8fdc","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","node-loader":"^2.1.0","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.1.0_1772382636323_0.8666459574745571","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"better-auth-telegram","version":"1.2.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.2.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"a9606d57f28f6acc8d06c280924b743b742f156d","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.2.0.tgz","fileCount":15,"integrity":"sha512-UqGf4jy8O4L8GJd6Mjw8VuSeapGvZEjQeCylAE10B0NK9KaTcqTcId3abFBc2nn3uDGsJ7EPcoYqGLiHoA1Xig==","signatures":[{"sig":"MEUCIQDPc4EOxFxbX58FuohCwWhKhZEHBmfuA2OvXG8jn8P59gIgcJSW8LHcmaJYU8Qry/P7K7TibMw0YUF3YQZ1Ax6XD/8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":601561},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"399dd96e5801bb70d48672eb207950070a559872","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.2.0_1772384438047_0.7481035327134786","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"better-auth-telegram","version":"1.3.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.3.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"2ba7e2b106bddb891324a94d450dfd94fd03289d","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.3.0.tgz","fileCount":15,"integrity":"sha512-yDoHD3mN7eGCIbXdOsAcvIObZNPpBuTsw+AhTNOLJCPW/WNfWLP8kgF+luwfSvr+mLqWJp90C28a5VogeQ2fRw==","signatures":[{"sig":"MEYCIQCa6aTQeYFXaDtca5sJdqaStpxR7T3gd8AYHqHU4DmDTQIhAPxtO33ZVr2i8uHSUU72ZxK8dbYupGnMt/3ovOs4zAYd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":604013},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"60f4d794f1629dff8563d10b3c8d913027364f60","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.3.0_1772392184786_0.49715521742461033","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"better-auth-telegram","version":"1.3.1","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.3.1","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"2b6962cf30b9efc7e7c9180d43adf8fa11c39a7f","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.3.1.tgz","fileCount":15,"integrity":"sha512-LIs48Y6Gzu5WwPL44Z/tXjbKMeKZXWbudsL7kIybLMcy+XaYyOyfrS0IOfCsfn2BOROOWqogKCZvz9mjbzxyaQ==","signatures":[{"sig":"MEUCIGqwqi//CmvjjFf7pYl3HL6y0ZuSVRvJfwkqNIoLkeiBAiEA43bHc0nG2nwBq0nRlgovquGWkcVZ9H2PsHh58umkluU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":604934},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"ad72d21e7abf69594b0ebb4fbec18419506db15f","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.3.1_1772393845213_0.9099367002359426","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"better-auth-telegram","version":"1.3.2","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.3.2","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"11c413363df159cdea93617c9bfcb54593afbe61","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.3.2.tgz","fileCount":15,"integrity":"sha512-I7cNY8Hg7j+s4sJJCZxrKnuW9bqrT368URXcroWph/BZrCdeH24tUgdMQ/0uI9aRkV8L29KYHz34Z5Av7oOj2g==","signatures":[{"sig":"MEUCIENGDTumTXN+bvg49vvM41fvu1hRtq9xpawCai/sCf7WAiEA3tLIBPR3RbIeGo7YQQuAcAf6OfmIUf+2t6pHwm5JGr4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":608430},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"b1c89a5627921d1c4d75d5da66eed1a57a389fab","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.3.2_1772400407478_0.02478745793688364","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"better-auth-telegram","version":"1.3.3","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.3.3","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"baa7e7ce34fe64ea18f2a159f679b36fcc977cad","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.3.3.tgz","fileCount":15,"integrity":"sha512-bkvlNzrLAPLquHArY23ePxCCpDQQehcbMc+Y/IojYL+l/RLAqdd4Ekcrx4d8sMtZeDJ70/vLdi5FXXA2nVvXRg==","signatures":[{"sig":"MEYCIQCSuiUF4owsbwdwOFxTKZ/Q68n+jYpxQAZCLzGWVQE4YwIhANDD2H9Vm5OLQnpEc5GnAIroPcfu69kT+GRQI0PBcHms","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":610544},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"044bdbed723fc9629c3763bfda1a774a2ae2cda8","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.3.3_1772404310682_0.35662461611025553","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"better-auth-telegram","version":"1.4.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.4.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"2059bf53155b983764bfd60c4830c3a7982c87c9","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.4.0.tgz","fileCount":15,"integrity":"sha512-W9SzG9PBj3qLQn10u2fs44NzcFL/ixtD6JsJCJdIxVz5KMhBMs3TOhYARgw6PaxUgyiMMuRrWFxfo3hRMPY/Eg==","signatures":[{"sig":"MEUCIDzG4ndb/wb5p2TkagMZO2FsTBGvMratf+KwNLsvFgwZAiEAnjWhu1PrJqYR5VeIF37+1XyKFiKLNQI02A26RHxQ8GE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":623282},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"34cfe5f90b8c55857f8fe68b25eab6f5e235485d","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.4.0_1772408154455_0.6428278266525225","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"better-auth-telegram","version":"1.5.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@1.5.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"829c4ce07395064fb963b797c399d8f272a12808","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-1.5.0.tgz","fileCount":15,"integrity":"sha512-R/VqLwKRqNbJA2qoDWXfHs/3YWBQnOnChmqcw8++C9mKWWWBLxZ6ehxmV0Qi+mcXihnV3a5ruo+FgLKxrd6zPg==","signatures":[{"sig":"MEUCICix6WkSEJ3YqE3R0U/P+nY+TXZQRUa7SBByaNwohA9+AiEAtN9wZvs9RFC4exgQLkJrCqwyVsjRaGg9R91sLIxQLVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":632984},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"07043a180e04e682d07ca4ab7651c8acafd58fc1","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"vcode.sh","email":"hello@vcode.sh"},"overrides":{"hono":"4.12.3","lodash":"4.17.23"},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"10.9.4","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.0.18","happy-dom":"20.7.0","ultracite":"7.2.3","@vitest/ui":"^4.0.18","typescript":"5.9.3","@types/node":"^25.3.0","better-auth":"1.5.0","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.0.18"},"peerDependencies":{"better-auth":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_1.5.0_1773168934451_0.8621060389605637","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"better-auth-telegram","version":"2.0.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@2.0.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"4f988ac5e5a4b06df4b4a56b13d0b3a31fa7bdf4","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-2.0.0.tgz","fileCount":15,"integrity":"sha512-7SbaEdJ+zcz+k+6Z3LuvU915Wpa6z7HiumbDJXyftKvKW4DHwlEL8bv3+SfMg5Prrvg7zumFzaKPXQk4YKnoew==","signatures":[{"sig":"MEYCIQClQ7EnJ1ywSLKrtqGeG5er3kZ+WNZtb072CKElg/MNJwIhAJD8FUBprqVtFMRPHZY+fKnGJBX819CjcZOfXMv34YQr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":652794},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"2a50c47113e24946cd713e7332acd6b83bc386fb","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.1.10","happy-dom":"20.11.1","ultracite":"7.2.3","@vitest/ui":"^4.1.10","typescript":"5.9.3","@types/node":"^24.13.3","better-auth":"1.6.25","lint-staged":"16.2.7","@biomejs/biome":"2.4.4","@vitest/coverage-v8":"4.1.10"},"peerDependencies":{"better-auth":">=1.6.22 <1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_2.0.0_1785349856745_0.032423853000908","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"better-auth-telegram","version":"2.0.1","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@2.0.1","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"c72c20ce907325d4c55511dc7926ec2bd6b5671b","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-2.0.1.tgz","fileCount":15,"integrity":"sha512-uzG0IDRih3mHclxR8jHOxxcsaQ292dtU2y3soI9iqQaU1oDIG5FtgZhcMoDakA9jLbMjR6EZrzSbTV6aJQXcTQ==","signatures":[{"sig":"MEUCIQCrCNsyklhMMA8QlwfRLMpdF7I3HqKcGIck/64w23RP3AIgdPTATXWJO/pEkOKJBmh/qeqOa1jNlNkIT+l+021nR2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":652794},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"6a1857b3546d6fd9f2a677da7a9f24d0995adc59","scripts":{"dev":"tsup --watch","lint":"npx ultracite check","test":"vitest run","build":"tsup","test:ui":"vitest --ui","lint:fix":"npx ultracite fix","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"npm run type-check && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,css}":["npx ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","vitest":"4.1.10","happy-dom":"20.11.1","ultracite":"7.5.9","@vitest/ui":"^4.1.10","typescript":"5.9.3","@types/node":"^24.13.3","better-auth":"1.6.25","lint-staged":"17.2.0","@biomejs/biome":"2.4.6","@vitest/coverage-v8":"4.1.10"},"peerDependencies":{"better-auth":">=1.6.22 <1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_2.0.1_1785350928606_0.4963057101533703","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"better-auth-telegram","version":"3.0.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@3.0.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"3360ec5940e10899c4b985d0dde1f1dc1ff923c9","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.0.0.tgz","fileCount":25,"integrity":"sha512-ug4J/+9lE5Dwt/6cuN/OCn6cCiCQJk3gmmBA1phqk2LqQlkTWycM5QuTAqV9t0P1/JWaUjJDzZhFXCZC8cNGSA==","signatures":[{"sig":"MEQCIFsf4j3JonOX/+2qBTja/5y1Da/ZAUTgKxn3eTyH05aNAiBYw0uoKrCRZqEks1WpzRUGBxMqGykRnyUlWlpYbPn2oQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEGbSsCTPLemqro39Gnc0lzmwpgC+pVneKVO0W2KD0rbAiEAjGSZ3B7FVM8vsYQYPCAYy7iyz8Gwvbt11AUiWKc8HWY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":491747},"main":"./dist/index.cjs","type":"module","_from":"file:package/better-auth-telegram-3.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.0.0.tgz","_integrity":"sha512-ug4J/+9lE5Dwt/6cuN/OCn6cCiCQJk3gmmBA1phqk2LqQlkTWycM5QuTAqV9t0P1/JWaUjJDzZhFXCZC8cNGSA==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.22.1","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.14","mysql2":"3.24.6","prisma":"6.19.3","tsdown":"0.23.3","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.14","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"6.19.3","@better-auth/core":"1.7.14","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.14","@better-auth/kysely-adapter":"1.7.14","@better-auth/prisma-adapter":"1.7.14","@better-auth/drizzle-adapter":"1.7.14"},"peerDependencies":{"better-auth":">=1.7.12 <1.8.0","@better-auth/core":">=1.7.12 <1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_3.0.0_1793288688590_0.12780790378846907","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"better-auth-telegram","version":"3.1.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@3.1.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"58550c887b3da8487452b3183f06e6ace89aac1b","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.1.0.tgz","fileCount":25,"integrity":"sha512-gH6gy+IvB1+sVqC3InscqvwYRWXRzErCX5285Gf2R5O7bPITuvLDnjFE8iX8Wb6ljzMrViRHL52QRZ0Twaw6Wg==","signatures":[{"sig":"MEYCIQCvq+QxQFf8MmBXWH/AxjkY30mpm+QiwnUKb6/Q7FMeswIhAPQLV9fZYLmCr4/Wd/H9cBOpx39oTsZpCCoHji075ph3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCqwp1ZdrSgRtslfo/NpyrDH14uVUgOproxKxmspnix3gIhAO+heAIXDJH42pY6Ti7netO5BBCGbjwZnAlYbyAJvaqQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":525043},"main":"./dist/index.cjs","type":"module","_from":"file:package/better-auth-telegram-3.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.1.0.tgz","_integrity":"sha512-gH6gy+IvB1+sVqC3InscqvwYRWXRzErCX5285Gf2R5O7bPITuvLDnjFE8iX8Wb6ljzMrViRHL52QRZ0Twaw6Wg==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.22.1","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.14","mysql2":"3.24.6","prisma":"6.19.3","tsdown":"0.23.3","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.14","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"6.19.3","@better-auth/core":"1.7.14","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.14","@better-auth/kysely-adapter":"1.7.14","@better-auth/prisma-adapter":"1.7.14","@better-auth/drizzle-adapter":"1.7.14"},"peerDependencies":{"better-auth":">=1.7.12 <1.8.0","@better-auth/core":">=1.7.12 <1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_3.1.0_1793375104451_0.5927863346452584","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"better-auth-telegram","version":"3.1.1","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@3.1.1","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"a466f4111a64cad2ca02083c61a0b6be9b259b45","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.1.1.tgz","fileCount":25,"integrity":"sha512-6jXU5/qbf0omk6RPry6MSo6gzUXKFDQFv/CSbiVpMubzfdCAs5WxBuenkB5yc5pGpHtXLgJGA5orWlD9L9Q98w==","signatures":[{"sig":"MEUCIQChIvFkhG6hbyAJEO0vS72jTWxlXGvwS1HNm96CKnKR3AIgYruvPbk2heiNp2v1UhDk8kTQohUaNdoNfB0X0Z9JFL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHNV84Fz7Y6oR1WySjg3akUR5cCQDq3xnv3fzjgCEAteAiAu5/MqLW9aJFW7c4iO7ZQe4r/cgM8yf//i+/y7YhENPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":526053},"main":"./dist/index.cjs","type":"module","_from":"file:package/better-auth-telegram-3.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.1.1.tgz","_integrity":"sha512-6jXU5/qbf0omk6RPry6MSo6gzUXKFDQFv/CSbiVpMubzfdCAs5WxBuenkB5yc5pGpHtXLgJGA5orWlD9L9Q98w==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.22.1","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.14","mysql2":"3.24.6","prisma":"7.10.1","tsdown":"0.23.3","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.14","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"7.10.1","@better-auth/core":"1.7.14","@prisma/adapter-pg":"7.10.1","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.14","@better-auth/kysely-adapter":"1.7.14","@better-auth/prisma-adapter":"1.7.14","@better-auth/drizzle-adapter":"1.7.14"},"peerDependencies":{"better-auth":">=1.7.12 <1.8.0","@better-auth/core":">=1.7.12 <1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_3.1.1_1793607785472_0.15532044425951264","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"better-auth-telegram","version":"3.2.0","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@3.2.0","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"95d674633a91da6871a062cb74f47142e054b778","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.2.0.tgz","fileCount":25,"integrity":"sha512-JoeP8g7sfHJDXiLL3aVFSNgWmSJGh9U1lu04p021ggzFrBcW72pI4Ma2a/0RR542OeF9QyDCOD15wTZIKNDZWQ==","signatures":[{"sig":"MEUCIDE+VreKfaKUIMkpwc//PFxj2zvM60zyPOt4QTn95wxRAiEA9aSH+jBdfaF6LSuYIRgM2Z8pbmNbEMNwuXJPPrucWiY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICRMocJIkUWaYoPDgQqk9IxT4efQ2kS7cGZBA74e/+P+AiAt9W8BNZX6oqcE5x9bY0nSu+jG8FigSg9uEL0MwB5Yyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":573121},"main":"./dist/index.cjs","type":"module","_from":"file:package/better-auth-telegram-3.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.2.0.tgz","_integrity":"sha512-JoeP8g7sfHJDXiLL3aVFSNgWmSJGh9U1lu04p021ggzFrBcW72pI4Ma2a/0RR542OeF9QyDCOD15wTZIKNDZWQ==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.22.2","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.14","mysql2":"3.24.6","prisma":"7.10.1","tsdown":"0.23.4","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.14","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"7.10.1","@better-auth/core":"1.7.14","@prisma/adapter-pg":"7.10.1","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.14","@better-auth/kysely-adapter":"1.7.14","@better-auth/prisma-adapter":"1.7.14","@better-auth/drizzle-adapter":"1.7.14"},"peerDependencies":{"better-auth":">=1.7.12 <1.8.0","@better-auth/core":">=1.7.12 <1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_3.2.0_1793779298470_0.30939616795841396","host":"s3://npm-registry-packages-npm-production"}},"3.2.1":{"name":"better-auth-telegram","version":"3.2.1","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","_id":"better-auth-telegram@3.2.1","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"dfbd12f09f88497127a11a12ae5378b188f72e7d","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.2.1.tgz","fileCount":25,"integrity":"sha512-5/4nso97DLkca9yrrxhtm4Hrz4x7RoyUMqTne2zOdWXFq7vGYIi+kTa3joioNFQB2nghW6ifVz8l0z4ZPEVFqA==","signatures":[{"sig":"MEQCIG7Qkt0S9bqGVt7LiQ+3SDY+hS6hHLZLc/hNRGUoBCQTAiBcSQtSjX8qYBfNxPLdxEwn94w+vLs1axIUiR39DiOdYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCFzg3Bt1pWngeiJnSuAx0LMHZGOJ2+agXV+G2MxBvBvAIgIUc8fTcbN2h2PFVMmj185kOyI0t0nQ/QVVWT77tpEP4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":590533},"main":"./dist/index.cjs","type":"module","_from":"file:package/better-auth-telegram-3.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.2.1.tgz","_integrity":"sha512-5/4nso97DLkca9yrrxhtm4Hrz4x7RoyUMqTne2zOdWXFq7vGYIi+kTa3joioNFQB2nghW6ifVz8l0z4ZPEVFqA==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"sideEffects":false,"_nodeVersion":"24.22.1","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.14","mysql2":"3.24.6","prisma":"7.10.1","tsdown":"0.23.4","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.14","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"7.10.1","@better-auth/core":"1.7.14","@prisma/adapter-pg":"7.10.1","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.14","@better-auth/kysely-adapter":"1.7.14","@better-auth/prisma-adapter":"1.7.14","@better-auth/drizzle-adapter":"1.7.14"},"peerDependencies":{"better-auth":">=1.7.12 <1.8.0","@better-auth/core":">=1.7.12 <1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-telegram_3.2.1_1793790657546_0.9198994531345017","host":"s3://npm-registry-packages-npm-production"}},"3.2.2":{"_id":"better-auth-telegram@3.2.2","bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"dist":{"shasum":"c29649408cbffbd54ca726e8ec77169189f3b777","tarball":"https://registry.npmjs.org/better-auth-telegram/-/better-auth-telegram-3.2.2.tgz","fileCount":25,"integrity":"sha512-/Y6rc++D0J1DV5YS57cBTLWBdxYwG4FB7pQffBJW01YWwJomZUBJmZbo6TjoqcFkadrcZ/8YeV+D+W3kwb4Ljg==","signatures":[{"sig":"MEUCICUxFCyrxVtVblmlsc3aOZ1boNtY+OrzAUP4w+z8GiuPAiEA0cmkCLFA6VWV4mUdvacUqysm4wZta68HXCXSlC/4PC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEbVjN+FMnVvHAbGjWNtI2waF9ILIlljnyrXq29N27ACAiBxHBXKlu9mU3+wqkZzKDc0Uc75Z2BblMQxThrYre4C5g=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-telegram@3.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":598855},"main":"./dist/index.cjs","name":"better-auth-telegram","type":"module","_from":"file:package/better-auth-telegram-3.2.2.tgz","types":"./dist/index.d.ts","author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"license":"MIT","scripts":{"dev":"tsdown --watch","lint":"ultracite check","test":"vitest run","build":"tsdown","test:ui":"vitest --ui","lint:fix":"ultracite fix","test:types":"tsc -p test-d && tsc -p test-d/tsconfig.node16.json","test:watch":"vitest","type-check":"tsc --noEmit","test:package":"node scripts/check-package.mjs","test:adapters":"vitest run --config vitest.adapters.config.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run lint && npm run type-check && npm test && npm run build && npm run test:package"},"version":"3.2.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"744ee279-014b-4352-aecf-5f53cb5a0ee1"}},"homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"_resolved":"/home/runner/work/better-auth-telegram/better-auth-telegram/package/better-auth-telegram-3.2.2.tgz","_integrity":"sha512-/Y6rc++D0J1DV5YS57cBTLWBdxYwG4FB7pQffBJW01YWwJomZUBJmZbo6TjoqcFkadrcZ/8YeV+D+W3kwb4Ljg==","repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"_npmVersion":"11.18.0","description":"Telegram authentication plugin for Better Auth","directories":{},"lint-staged":{"*.{ts,tsx,js,jsx,json,jsonc,css}":["ultracite fix"]},"maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"sideEffects":false,"_nodeVersion":"24.22.2","dependencies":{"jose":"^6.2.14"},"_hasShrinkwrap":false,"devDependencies":{"pg":"8.23.1","auth":"1.7.17","mysql2":"3.24.6","prisma":"7.10.1","tsdown":"0.23.4","vitest":"5.0.5","mongodb":"7.7.0","publint":"0.3.25","@types/pg":"8.23.1","happy-dom":"21.0.4","ultracite":"8.1.0","@vitest/ui":"5.0.5","typescript":"7.0.2","@types/node":"^24.13.3","better-auth":"1.7.17","drizzle-kit":"0.31.11","drizzle-orm":"0.45.4","lint-staged":"17.6.0","@biomejs/biome":"2.6.4","@prisma/client":"7.10.1","@better-auth/core":"1.7.17","@prisma/adapter-pg":"7.10.1","@vitest/coverage-v8":"5.0.5","@arethetypeswrong/core":"0.18.5","@better-auth/mongo-adapter":"1.7.17","@better-auth/kysely-adapter":"1.7.17","@better-auth/prisma-adapter":"1.7.17","@better-auth/drizzle-adapter":"1.7.17"},"peerDependencies":{"better-auth":">=1.7.17 <1.8.0","@better-auth/core":">=1.7.17 <1.8.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/better-auth-telegram_3.2.2_1793876247355_0.3165288299571477"}}},"time":{"created":"2025-10-01T09:10:22.777Z","modified":"2026-11-05T10:57:27.815Z","0.1.0":"2025-10-01T09:10:23.050Z","0.2.0":"2025-10-01T09:58:59.597Z","0.3.0":"2025-10-01T11:47:25.782Z","0.3.1":"2025-10-14T22:06:18.655Z","0.3.2":"2025-10-25T16:06:06.977Z","0.4.0":"2026-02-21T13:08:29.896Z","1.0.0":"2026-03-01T14:04:22.719Z","1.1.0":"2026-03-01T16:30:36.489Z","1.2.0":"2026-03-01T17:00:38.195Z","1.3.0":"2026-03-01T19:09:44.931Z","1.3.1":"2026-03-01T19:37:25.387Z","1.3.2":"2026-03-01T21:26:47.662Z","1.3.3":"2026-03-01T22:31:50.864Z","1.4.0":"2026-03-01T23:35:54.652Z","1.5.0":"2026-03-10T18:55:34.607Z","2.0.0":"2026-07-29T18:30:56.903Z","2.0.1":"2026-07-29T18:48:48.767Z","3.0.0":"2026-10-29T15:44:48.687Z","3.1.0":"2026-10-30T15:45:04.570Z","3.1.1":"2026-11-02T08:23:05.586Z","3.2.0":"2026-11-04T08:01:38.568Z","3.2.1":"2026-11-04T11:10:57.664Z","3.2.2":"2026-11-05T10:57:27.519Z"},"bugs":{"url":"https://github.com/vcode-sh/better-auth-telegram/issues"},"author":{"url":"https://vcode.sh","name":"Vibe Code","email":"hello@vcode.sh"},"license":"MIT","homepage":"https://github.com/vcode-sh/better-auth-telegram#readme","keywords":["better-auth","better-auth-plugin","telegram","telegram-login","telegram-mini-apps","authentication","oidc","oauth","plugin","typescript"],"repository":{"url":"git+https://github.com/vcode-sh/better-auth-telegram.git","type":"git"},"description":"Telegram authentication plugin for Better Auth","maintainers":[{"name":"vcode.sh","email":"hello@vcode.sh"}],"readme":"# Better Auth Telegram\n\n[![npm version](https://img.shields.io/npm/v/better-auth-telegram)](https://www.npmjs.com/package/better-auth-telegram)\n[![npm downloads](https://img.shields.io/npm/dm/better-auth-telegram)](https://www.npmjs.com/package/better-auth-telegram)\n[![CI](https://github.com/vcode-sh/better-auth-telegram/actions/workflows/ci.yml/badge.svg)](https://github.com/vcode-sh/better-auth-telegram/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/vcode-sh/better-auth-telegram/branch/main/graph/badge.svg)](https://codecov.io/gh/vcode-sh/better-auth-telegram)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**Let people sign in to your app with their Telegram account.**\n\n`better-auth-telegram` is a plugin for [Better Auth](https://www.better-auth.com), the TypeScript authentication library. You add it to your Better Auth setup, and your users can sign in with Telegram in any of three ways. The plugin checks that every sign-in really comes from Telegram, creates the user in your database, and starts a normal Better Auth session.\n\n- Uses the standard Web Crypto API; release tests run on Node.js and Bun.\n- Tested with SQLite, PostgreSQL, MySQL, Drizzle, Prisma and MongoDB. Other Better Auth adapters need their own deployment checks.\n- Fully typed: `session.user.telegramId` is known to TypeScript on the server and in the browser.\n- Users can move between enabled Telegram sign-in methods and keep one user account, subject to your account-linking policy. [How matching works](docs/oidc.md#use-one-user-across-sign-in-methods).\n\n> **Upgrading from v2?** Read the [v2 to v3 migration guide](docs/migration-v2-to-v3.md). v3 requires Better Auth 1.7, which fixes a critical security issue.\n\n## Contents\n\n- [Which sign-in method should I use?](#which-sign-in-method-should-i-use)\n- [Requirements](#requirements)\n- [Quick start (about 10 minutes)](#quick-start-about-10-minutes)\n- [The other sign-in methods](#the-other-sign-in-methods)\n- [What the plugin stores](#what-the-plugin-stores)\n- [Documentation](#documentation)\n- [Upgrading from v2](#upgrading-from-v2)\n\n## Which sign-in method should I use?\n\nTelegram offers three ways to sign in. The plugin supports all of them, and you can turn on more than one.\n\n| | Login Widget | Mini App | OIDC (\"Log In With Telegram\") |\n|---|---|---|---|\n| **Where your app runs** | Your website | Inside the Telegram app | Your website |\n| **What the user does** | Clicks a Telegram button on your page and confirms | Nothing. Opening the app signs them in | Clicks your button, confirms on Telegram's login page, comes back |\n| **Phone number** | No | No | Yes, if the user agrees |\n| **Telegram's status** | Called \"legacy\" by Telegram, still works | Current | Current, the standard OAuth 2.0 / OpenID Connect flow |\n| **Setup in BotFather** | `/setdomain` | Turn on a Mini App | Switch the bot to OpenID Connect, copy two keys |\n\nPick by where your users are:\n\n- **Your app runs inside Telegram** → **Mini App**. Sign-in is automatic.\n- **Your app is a website and you want the quickest setup** → **Login Widget**. One bot, one command in BotFather.\n- **Your app is a website and you want phone numbers, or a standard OAuth flow like \"Sign in with Google\"** → **OIDC**.\n\n> **The two-bot rule.** A Telegram bot can serve the Login Widget *or* OIDC, never both. When you switch a bot to OpenID Connect in BotFather, Telegram permanently turns off that bot's Login Widget. So if you want both on your website, create two bots. A Mini App isn't affected by the switch (it shares the bot whose token you give the plugin as `botToken`). The plugin warns at startup if it sees the Login Widget and OIDC on one bot.\n\nNew words? The [glossary](docs/README.md#glossary) explains bots, BotFather, OIDC, Mini Apps and the rest in one line each.\n\n## Requirements\n\n- **Node.js 24 or newer** (Bun works too).\n- **Better Auth 1.7.17 or newer, below 1.8**: `better-auth` and `@better-auth/core` `>=1.7.17 <1.8.0`. Better Auth 1.6 is not supported, because it has a critical security issue with no 1.6 fix ([details](docs/migration-v2-to-v3.md#why-upgrade)).\n- **A Telegram account**, to create a bot.\n- **A public HTTPS address** for your app. Telegram does not work with `localhost`. During development, a tunnel such as [ngrok](https://ngrok.com) gives your local server a public HTTPS address.\n\n## Quick start (about 10 minutes)\n\nThis sets up the **Login Widget** on a Next.js app with a SQLite database. Other frameworks and databases work the same way; only steps 4 and 5 change (links are in each step). For OIDC or Mini Apps, follow this quick start up to step 7 (skip `/setdomain` in step 2), then see [The other sign-in methods](#the-other-sign-in-methods).\n\n### 1. Start a tunnel\n\nTelegram needs a public HTTPS address, so start one for your local server (port 3000 here):\n\n```bash\nngrok http 3000\n```\n\nngrok prints a URL like `https://abc123.ngrok-free.app`. Keep it open; you need it in the next steps.\n\n### 2. Create a Telegram bot\n\n1. In Telegram, open a chat with [@BotFather](https://t.me/botfather) and send `/newbot`.\n2. BotFather asks for a **name** (shown to users, for example `My App Login`) and a **username** (must end in `bot`, for example `my_app_login_bot`).\n3. BotFather replies with your **bot token**. It looks like `110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw`. Treat it like a password.\n4. Send `/setdomain`, pick your bot, and send your tunnel's domain without `https://`, for example `abc123.ngrok-free.app`.\n\nMore detail, with what you should see at each step: [Telegram bot setup](docs/telegram-bot-setup.md).\n\n### 3. Install the packages\n\n```bash\nnpm install better-auth-telegram better-auth\n```\n\nThis installs v3 of the plugin. `@better-auth/core` comes with `better-auth`, so you don't install it separately.\n\nThen add these to your `.env` file:\n\n```bash\nTELEGRAM_BOT_TOKEN=\"110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw\"   # from BotFather\nTELEGRAM_BOT_USERNAME=\"my_app_login_bot\"                            # without the @\nBETTER_AUTH_SECRET=\"paste the output of: openssl rand -base64 32\"\nBETTER_AUTH_URL=\"https://abc123.ngrok-free.app\"                     # your tunnel URL\n```\n\n`BETTER_AUTH_URL` must be the address you open in the browser. Better Auth only accepts sign-ins from that origin (and any you list in `trustedOrigins`).\n\n### 4. Set up the server\n\nCreate `auth.ts`. This uses the SQLite database built into Node.js (`node:sqlite`), so there is nothing else to install. For PostgreSQL, MySQL, Prisma, Drizzle or MongoDB, change the `database` line as shown in [Better Auth's database docs](https://www.better-auth.com/docs/concepts/database).\n\n```ts\n// auth.ts\nimport { DatabaseSync } from \"node:sqlite\";\nimport { betterAuth } from \"better-auth\";\nimport { telegram } from \"better-auth-telegram\";\n\nexport const auth = betterAuth({\n  database: new DatabaseSync(\"./sqlite.db\"),\n  plugins: [\n    telegram({\n      botToken: process.env.TELEGRAM_BOT_TOKEN,\n      botUsername: process.env.TELEGRAM_BOT_USERNAME,\n    }),\n  ],\n});\n```\n\n### 5. Connect Better Auth to your framework\n\nBetter Auth answers requests under `/api/auth`. In Next.js (App Router), create this file:\n\n```ts\n// app/api/auth/[...all]/route.ts\nimport { toNextJsHandler } from \"better-auth/next-js\";\nimport { auth } from \"@/auth\";\n\nexport const { GET, POST } = toNextJsHandler(auth);\n```\n\nUsing something else? Better Auth has a page for [each framework](https://www.better-auth.com/docs/integrations/next) (Express, Hono, SvelteKit, Nuxt and more).\n\n### 6. Create the database tables\n\n```bash\nnpx auth@1.7.17 migrate\nnpx auth@1.7.17 check schema\n```\n\nThe first command creates Better Auth's tables plus the plugin's Telegram columns. The second should print `Schema check passed against the live database.` Using Prisma or Drizzle? Run `npx auth@1.7.17 generate` instead of `migrate`, then your ORM's own migration ([details](docs/installation.md#3-update-your-database)).\n\n> **Don't skip this step.** Better Auth refuses to answer any auth request (HTTP 500, \"schema mismatch\") until the database has every column it expects.\n\n### 7. Set up the client\n\n```ts\n// auth-client.ts\nimport { createAuthClient } from \"better-auth/client\";\nimport { telegramClient } from \"better-auth-telegram/client\";\n\nexport const authClient = createAuthClient({\n  plugins: [telegramClient()],\n});\n```\n\nUsing React? Import `createAuthClient` from `better-auth/react` instead, and you get the `useSession()` hook.\n\n### 8. Show the Telegram button\n\nPut an empty element on your login page, for example `<div id=\"telegram-login\"></div>`, then run this in the browser once the page has loaded:\n\n```ts\n// login.ts\nimport { authClient } from \"./auth-client\";\n\nexport async function showTelegramLogin() {\n  const widget = await authClient.initTelegramWidget(\n    \"telegram-login\",\n    { size: \"large\" },\n    async (telegramData) => {\n      const { error } = await authClient.signInWithTelegram(telegramData);\n      if (error) {\n        console.error(\"Telegram sign-in failed:\", error.message);\n        return;\n      }\n      window.location.href = \"/dashboard\";\n    }\n  );\n  return widget; // call widget.destroy() to remove the button\n}\n```\n\nA React version, with cleanup on unmount, is in the [usage guide](docs/usage.md#react-component).\n\n### 9. Try it\n\nOpen your tunnel URL (not `localhost`) and click the Telegram button. Telegram asks you to confirm, then your callback runs and you are signed in.\n\nLook at the new user in your database. Their email is something like `8306595751@telegram.placeholder.invalid`. That is expected: Telegram never shares email addresses, but Better Auth requires one, so the plugin stores an address that can never receive mail. [Why placeholder emails exist](docs/installation.md#placeholder-emails).\n\nSomething not working? [Troubleshooting](docs/troubleshooting.md) is organized by what you see.\n\n## The other sign-in methods\n\n### Mini App\n\nIn `auth.ts` from the quick start, change the `telegram(...)` call to:\n\n```ts\ntelegram({\n  botToken: process.env.TELEGRAM_BOT_TOKEN,\n  botUsername: process.env.TELEGRAM_BOT_USERNAME,\n  miniApp: { enabled: true },\n});\n```\n\nInside your Mini App, one call signs the user in:\n\n```ts\nimport { authClient } from \"./auth-client\";\n\nconst { data, error } = await authClient.autoSignInFromMiniApp();\n```\n\nFull guide, including BotFather setup and cookies inside Telegram Web: [Mini Apps](docs/miniapps.md).\n\n### OIDC\n\nYou need a bot switched to OpenID Connect, its **Client ID** and **Client Secret** from BotFather, and your callback URL registered there ([step by step](docs/telegram-bot-setup.md#oidc)). Then change the `telegram(...)` call in `auth.ts` to:\n\n```ts\ntelegram({\n  loginWidget: false, // or keep the widget on a second bot, see the two-bot rule\n  oidc: {\n    enabled: true,\n    clientId: process.env.TELEGRAM_OIDC_CLIENT_ID,\n    clientSecret: process.env.TELEGRAM_OIDC_CLIENT_SECRET,\n  },\n});\n```\n\nand start sign-in from a button's click handler:\n\n```ts\nimport { authClient } from \"./auth-client\";\n\nawait authClient.signInWithTelegramOIDC({ callbackURL: \"/dashboard\" });\n```\n\nFull guide, including phone numbers and limits: [OIDC](docs/oidc.md).\n\n## What the plugin stores\n\nWhen the Login Widget or Mini App is on (the Login Widget is on by default), the plugin adds five optional columns:\n\n- `user.telegramId`, `user.telegramUsername`, `user.telegramPhoneNumber`\n- `account.telegramId`, `account.telegramUsername`\n\nAn OIDC-only setup (`loginWidget: false`, no Mini App) adds no columns.\n\nNew users get a **placeholder email** unless you give them a real one: `<telegram id>@telegram.placeholder.invalid` (Login Widget and Mini App) or `<sub>@telegram-oidc.placeholder.invalid` (OIDC). These addresses are reserved for Telegram sign-in, and `emailVerified` stays `false`. More in [Installation](docs/installation.md#placeholder-emails).\n\n## Documentation\n\n| I want to... | Read |\n|---|---|\n| Find the right page, or look up a word | [Docs index and glossary](docs/README.md) |\n| Set everything up step by step | [Installation](docs/installation.md) and [Telegram bot setup](docs/telegram-bot-setup.md) |\n| Add the Login Widget, link and unlink accounts | [Usage](docs/usage.md) |\n| Sign in with OIDC | [OIDC](docs/oidc.md) |\n| Sign in inside a Mini App | [Mini Apps](docs/miniapps.md) |\n| See every option | [Configuration](docs/configuration.md) |\n| Understand what is checked, and the known limits | [Security](docs/security.md) |\n| Fix an error | [Troubleshooting](docs/troubleshooting.md) |\n| Look up an endpoint, type or error code | [API reference](docs/api-reference.md) |\n| Upgrade from v2 | [Migration guide](docs/migration-v2-to-v3.md) |\n\nExample code: [`examples/nextjs-app/`](examples/nextjs-app) has components for all three methods plus linking. [`test/`](test) is a complete Next.js playground app.\n\n## Upgrading from v2\n\nv3 supports Better Auth 1.7 and drops Better Auth 1.6. Upgrade because Better Auth below 1.7.7 has a critical account-takeover issue ([GHSA-965c-763c-88jm](https://github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm)) that is not fixed in 1.6.\n\nIn short: upgrade Better Auth to 1.7.17 or newer, update your database schema, set `oidc.clientSecret` if you use OIDC, and check your unlink UI and database hooks. The [migration guide](docs/migration-v2-to-v3.md) walks through every step and every breaking change. Older upgrade notes (v0.x to v2) are in the [changelog](CHANGELOG.md).\n\n## Links\n\n- [Better Auth](https://www.better-auth.com)\n- [Log In With Telegram (OIDC)](https://core.telegram.org/bots/telegram-login)\n- [Telegram Login Widget (legacy)](https://core.telegram.org/widgets/login-legacy)\n- [Telegram Mini Apps](https://core.telegram.org/bots/webapps)\n- [Changelog](CHANGELOG.md)\n- [Report a bug](https://github.com/vcode-sh/better-auth-telegram/issues) · [Security issues](SECURITY.md)\n\n## License\n\nMIT. Created by [Vibe Code](https://x.com/vcode_sh).\n","readmeFilename":"README.md"}