{"_id":"@animelist/auth-sveltekit","_rev":"16-6884b9a668f8087f6754229be163eabc","name":"@animelist/auth-sveltekit","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1-alpha.0":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.0","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.0","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"d36d4a7853c2035a7025e21888a9f1633ce5346b","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.0.tgz","fileCount":59,"integrity":"sha512-Evij2bLjzGYuDHfUH1qZaCEDW32qoBY9HBwyft90IzW1nR9jgwBoYxKR6qsLbHGNYWcdsK+K3z/SeIxPUcv64w==","signatures":[{"sig":"MEYCIQChy32+JP2DtWlscuBAGXJHdJio7bBxXoazIJtoP09uSwIhAPXrf4o6wu31QBv9Bsy2qbd67QL1yCze7mC1JadTAccC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84007},"main":"dist/animelist-auth-sveltekit/src/index.js","module":"dist/animelist-auth-sveltekit/src/index.js","gitHead":"b326a4864fcca74f71e0b2b4d9e1abc288e96540","scripts":{"lint":"eslint ./src","build":"tsc","typecheck":"tsc --noEmit"},"typings":"dist/animelist-auth-sveltekit/src/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_npmVersion":"9.6.7","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@sveltejs/kit":"^1.25.0","@animelist/auth":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.0_1695266139009_0.4907724041740318","host":"s3://npm-registry-packages"}},"0.0.1-alpha.1":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.1","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.1","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"e50e3b6296d123e113c796252e735c6563623a47","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.1.tgz","fileCount":23,"integrity":"sha512-sf3YqaHu/tMHf+UNfRkV2lODsUhdnpL7C2SCK7lH8EOfc8sjMkP9+QW0LfL/b3OxRGOMOmreXroWdUIX1JVuhw==","signatures":[{"sig":"MEYCIQC6kFxidaMjXFV4P4H5/nXkZFsyREKtSPlxEY8fWUe/MAIhAIg3dc49YB15f45wwrBoZ7Hujt1UMYR+Gkz/OI6xuzEw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23555},"type":"module","_from":"file:animelist-auth-sveltekit-0.0.1-alpha.1.tgz","module":"dist/index.mjs","exports":{"./client":{"import":"./dist/client/index.mjs","default":"./dist/client/index.mjs"},"./server":{"import":"./dist/server/index.mjs","default":"./dist/server/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_resolved":"C:\\Users\\FreddyL\\AppData\\Local\\Temp\\a8e9cef7d966b62dbd59012929a26454\\animelist-auth-sveltekit-0.0.1-alpha.1.tgz","_integrity":"sha512-sf3YqaHu/tMHf+UNfRkV2lODsUhdnpL7C2SCK7lH8EOfc8sjMkP9+QW0LfL/b3OxRGOMOmreXroWdUIX1JVuhw==","_npmVersion":"9.6.7","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@sveltejs/kit":"^1.25.0","@animelist/auth":"0.0.1-alpha.2","@animelist/core":"0.0.1-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.1_1696048180941_0.7775605075735503","host":"s3://npm-registry-packages"}},"0.0.1-alpha.2":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.2","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.2","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"9d6ed40297280951ec27d9c8e920ccdfee26fe58","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.2.tgz","fileCount":23,"integrity":"sha512-qpbJVhIE9zvHePRddfhNa4GgWzthAO7O1MRplsSRvTbcRplpgEND/eoS8OgcgmcY3Kju0VsnMJx1O517bFPhFg==","signatures":[{"sig":"MEQCIF/tt8TeIHMMO8YWh1CaN22ydXHiNT8cQxANVvuaV8UdAiBH5GUSjLdZ5FjazvsxdUTkgAgit6a2aNGaUTl6DLkXpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23555},"type":"module","_from":"file:animelist-auth-sveltekit-0.0.1-alpha.2.tgz","module":"dist/index.mjs","exports":{"./client":{"import":"./dist/client/index.mjs","default":"./dist/client/index.mjs"},"./server":{"import":"./dist/server/index.mjs","default":"./dist/server/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_resolved":"C:\\Users\\FreddyL\\AppData\\Local\\Temp\\3d830d4b9b0c5511656b0faaf566a8d9\\animelist-auth-sveltekit-0.0.1-alpha.2.tgz","_integrity":"sha512-qpbJVhIE9zvHePRddfhNa4GgWzthAO7O1MRplsSRvTbcRplpgEND/eoS8OgcgmcY3Kju0VsnMJx1O517bFPhFg==","_npmVersion":"9.6.7","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@sveltejs/kit":"^1.25.0","@animelist/auth":"0.0.1-alpha.3","@animelist/core":"0.0.1-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.2_1696102658383_0.08830552818872595","host":"s3://npm-registry-packages"}},"0.0.1-alpha.3":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.3","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.3","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"ea1e9d308271e0a1d52fdf11c12b009285de4f23","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.3.tgz","fileCount":31,"integrity":"sha512-ry8U/C6gJHb7e5fxUj4D9kYFhwT6gIk9/LRvLOOJYCE/C3vv59zIo8u0DvecaZG7QidVE/OWcHYiXLmBee6nJQ==","signatures":[{"sig":"MEUCIQC87J5d0vE3LY0j1Am+VQ0wuOvcD+kRDvS9Xm5TAxoHnwIgG6mMfpjS2gq7jTpbzJV2K4wkGMM4wSYpp2Oc0Szh6bk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23867},"type":"module","_from":"file:animelist-auth-sveltekit-0.0.1-alpha.3.tgz","module":"dist/index.mjs","exports":{"./client":{"import":"./dist/client/index.mjs","default":"./dist/client/index.mjs"},"./server":{"import":"./dist/server/index.mjs","default":"./dist/server/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_resolved":"C:\\Users\\FreddyL\\AppData\\Local\\Temp\\d8d52301cddfcf35743d2c7b56e0bc66\\animelist-auth-sveltekit-0.0.1-alpha.3.tgz","_integrity":"sha512-ry8U/C6gJHb7e5fxUj4D9kYFhwT6gIk9/LRvLOOJYCE/C3vv59zIo8u0DvecaZG7QidVE/OWcHYiXLmBee6nJQ==","_npmVersion":"9.6.7","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@sveltejs/kit":"^1.25.0","@animelist/auth":"0.0.1-alpha.4","@animelist/core":"0.0.1-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.3_1696104381613_0.36057427672601916","host":"s3://npm-registry-packages"}},"0.0.1-alpha.4":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.4","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.4","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"6da4332830a46fe07adbba645a1097deaf34c093","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.4.tgz","fileCount":31,"integrity":"sha512-I03hELCCOhFF4hx8Ku8WbMdQHpp03PMCdtGWO4leOZUTzbD4GZjYaH2ZJNhFnvAonrPDE3FI2yT+cQgg7PxLgA==","signatures":[{"sig":"MEYCIQCFXe9a/nmOigQrujrl8pV52Naokkagg1pfjXCrcQxzFAIhAJvOaInFUxI+HV251IFWTmlyFGoqeZkEqKox875noO62","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24636},"type":"module","_from":"file:animelist-auth-sveltekit-0.0.1-alpha.4.tgz","module":"dist/index.mjs","exports":{"./client":{"import":"./dist/client/index.mjs","default":"./dist/client/index.mjs"},"./server":{"import":"./dist/server/index.mjs","default":"./dist/server/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_resolved":"C:\\Users\\FreddyL\\AppData\\Local\\Temp\\3501f19113468bce3ab2025bb28f02b7\\animelist-auth-sveltekit-0.0.1-alpha.4.tgz","_integrity":"sha512-I03hELCCOhFF4hx8Ku8WbMdQHpp03PMCdtGWO4leOZUTzbD4GZjYaH2ZJNhFnvAonrPDE3FI2yT+cQgg7PxLgA==","_npmVersion":"9.6.7","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@sveltejs/kit":"^1.25.0","@animelist/auth":"0.0.1-alpha.5","@animelist/core":"0.0.1-alpha.4","@animelist/client":"0.0.1-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.4_1696215183409_0.0714540105123127","host":"s3://npm-registry-packages"}},"0.0.1-alpha.7":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.7","keywords":[],"author":"","license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.7","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"dist":{"shasum":"5d8f6fe9cbf19bf1903a3ae1d104706b5795c79c","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.7.tgz","fileCount":29,"integrity":"sha512-y1jhbrgdurU10s2SM3WNDV5bbDL6GiMuxcenos170EMFGbXSHHss3wMNLj/HcJZn6sn8d33enLOnC3mjhOsBew==","signatures":[{"sig":"MEUCIQCrNC70q/kkzoplAj6Hgdci/h5QnNc2UCOED5YozYnwQQIgZgosZOdZN013SHmwdnE5WoAtJuttgVxfcY5fRRf0VrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25053},"type":"module","module":"dist/index.js","exports":{"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"2accaa435fccf3d17be4273f5c3e0046d92aeff4","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.7","@animelist/core":"0.0.1-alpha.7","@animelist/client":"0.0.1-alpha.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.7_1696308219943_0.5263479384153062","host":"s3://npm-registry-packages"}},"0.0.1-alpha.8":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.8","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.8","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"bc98ee8cc36ecbdcb2dbb8288b0423f956f32ad2","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.8.tgz","fileCount":29,"integrity":"sha512-oHxtulRlyXTVwWQNrohDJakS3BPvij159CR6lE3oaRigJCZAHgWYyTxn9I/+a8+M/2qs/eY+AhTgPWAszNrBcQ==","signatures":[{"sig":"MEUCIQCLF9iVd7YhCv1Di+Vq2+36BTOUBpfi7oqweBrWWW1CpAIgfH9u1xc7sdmWeupAFtQsTv0tbiRA+FHZRHQeTtgVzmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26255},"type":"module","module":"dist/index.js","exports":{"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"52b7d75acdc94f05df40047911bff2f2df727954","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.8","@animelist/core":"0.0.1-alpha.8","@animelist/client":"0.0.1-alpha.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.8_1696546557346_0.9576421908369244","host":"s3://npm-registry-packages"}},"0.0.1-alpha.9":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.9","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.9","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"e94d5cf14e6fa8f6d8a7890b54da9a7d1cf5f6c0","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.9.tgz","fileCount":25,"integrity":"sha512-vIb49P5uxOyjRxl/jeAlkoFGjDiX26z5/gNN2DREHR6ilXbf3d6ejUo8rqx7L2PpwsJXps8+AvuhI/rviRQirw==","signatures":[{"sig":"MEUCIA0BoNXd6jsNiNAtNN41CO9ld3lEwa0Hq9WmP1nYa7R+AiEA7Z1Zl+NNV4A04bYh8YbZfCeT0T0U672FQEoBwXFb0Ts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21379},"type":"module","module":"dist/index.js","exports":{"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"4c600f68f92623368f01f4adb1d34e53a8e1f0a5","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","rollup":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client","prepublishOnly":"pnpm rollup"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.9","@animelist/core":"0.0.1-alpha.9","@animelist/client":"0.0.1-alpha.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.9_1696568743411_0.5452177945081569","host":"s3://npm-registry-packages"}},"0.0.1-alpha.10":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.10","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.10","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"edce21d10cade5d7a8123c69d44af32b3bc24910","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.10.tgz","fileCount":25,"integrity":"sha512-qf+QmBAAJetpIln4ZjWFIAQ6cJMQ3o1OA7ZmXyy2sVge0ECR2+mpQIe3Civ3buJH0BfzgKeCrLomjMHMnCgTcw==","signatures":[{"sig":"MEUCIQC3jU1/mzyuaaA/Z8F+Bd/NiAKSrIOBsY/cplCfBIc8hAIgV9MI0VEQTtAchRuqaDBgh4yeSefxFonLo7j/9I+4dgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20247},"type":"module","module":"dist/index.js","exports":{"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"63c518ee19a013367b247c2ca6f3e36a9345300b","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && pnpm build:lib && pnpm entrypoints","rollup":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","build:lib":"tsx esbuild.mts","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","build:svelte":"svelte-package -i src/client -o dist/client","prepublishOnly":"pnpm rollup"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.10","@animelist/core":"0.0.1-alpha.10","@animelist/client":"0.0.1-alpha.10"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.10_1696569940046_0.0447975445048554","host":"s3://npm-registry-packages"}},"0.0.1-alpha.11":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.11","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.11","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"d7ed14b39260c44d63d4ca3852c06a175c33f8d6","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.11.tgz","fileCount":25,"integrity":"sha512-faqd1YgO+jjR4ZvBDyRjEG612tNzcGTvmDu43eoF3FHuAkxIJWVnD0CHY7aCA4THB8vwJJDC+1WraOv9Km/c8w==","signatures":[{"sig":"MEUCIQCH8MvZkQ6/8pkrXCAxxe1stBsQCBX0E7ExL1nqHCmcvgIgNxg2CK5C22Zere6lNySBxjduuaQDd6VUiMSkefynrhc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19900},"type":"module","module":"dist/index.js","exports":{"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"36e976c32a7e03794bbdb27c95ba83ebf44dc6f2","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.11","@animelist/core":"0.0.1-alpha.11","@animelist/client":"0.0.1-alpha.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.11_1696645813429_0.12421229976050374","host":"s3://npm-registry-packages"}},"0.0.1-alpha.12":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.12","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.12","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"f566d19b9672038aeaef52a17894c276d21ce315","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.12.tgz","fileCount":25,"integrity":"sha512-wGutcrDOwx9X25u/5fk7gDhO4oPhkdhOQWVBu4e/Ok11YKRY9KubvMKHIsVn/ae6vScx6X1iFrWr5nWtnm+m8w==","signatures":[{"sig":"MEUCIQCyfCL80v24KT2mSrbr/GUMtijEul13yT2utplvw64NzAIgednGJ7GfRWFNKZxts+0rvY96ePSeOxy+p/AQXRGKQDk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19988},"type":"module","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"869a3626729690db484bc3b19a934af5e8576bb2","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.12","@animelist/core":"0.0.1-alpha.12","@animelist/client":"0.0.1-alpha.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.12_1696725610773_0.8249616820215384","host":"s3://npm-registry-packages"}},"0.0.1-alpha.13":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.13","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.13","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"8d2ff256aa0e67d848d77548a8d8d2df6b5eba4e","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.13.tgz","fileCount":25,"integrity":"sha512-E9wZDDAREKD2fON1oYKU/OLV6QiLwBkkGnVuE/4TOi/Cfk/aTf7B1C7xQC474trtF00Z6CFnm1lltl0Dv2//pg==","signatures":[{"sig":"MEYCIQDmaglnQOCVyMnp9IV2Ws2U+M65Pefo4OXobXW/IlANyQIhALES2b2i2Spt7pJLPkhsqqRlbPjJUN4Whu1YT6VCikrn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19988},"type":"module","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"4b3af50edc6a6be963b31f3867809cd13a6ea30d","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.13","@animelist/core":"0.0.1-alpha.12","@animelist/client":"0.0.1-alpha.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.13_1696903205027_0.036901820656901396","host":"s3://npm-registry-packages"}},"0.0.1-alpha.14":{"name":"@animelist/auth-sveltekit","version":"0.0.1-alpha.14","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.0.1-alpha.14","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"0de6c6f995b23107b703be79f8d81468e8b1202f","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.0.1-alpha.14.tgz","fileCount":25,"integrity":"sha512-zinM2U3PzKqEffmlqJcxnNtl4RmMB2Nuwh5mBJjAxAaxSswHc9smV7pS788VhcO7JRt4BhA2IR0rUM68nf9DVg==","signatures":[{"sig":"MEUCIAteg5OuweBgWv9qdJBDrZjKvuKIWIyEptX2Th0pTgctAiEAjyxBEuNtUee+OCjb0APPkf67HpZ8HyY8FllscHQLJww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19267},"type":"module","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"eb02ba82952642aec4d1b28fd6c3816a9d24f9dd","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.0.1-alpha.14","@animelist/core":"0.0.1-alpha.14","@animelist/client":"0.0.1-alpha.14"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.0.1-alpha.14_1696907754305_0.7409308887138313","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@animelist/auth-sveltekit","version":"0.1.0","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.1.0","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"341d1dfd4716c830b2d9de0c7d0e7e3ee02756ea","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.1.0.tgz","fileCount":25,"integrity":"sha512-2e66zmZsSEneMSbzgB2BrMrg9NNj6s0vs4BaQpWUO3e3MtsiRhHlTME9W0shDKfpTFNo1GtlDs7WYe3BiGkhIA==","signatures":[{"sig":"MEUCIQCKjaMfhrnQEX+Gmaq8i22rg074UtFlTWwFzhyGRlyXhwIgefZ1u6NDkRFiyYer2ksZRya2kMIHcU1wv56WrZ9oGXo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19231},"type":"module","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"64b43412c044aff9a8eab55f9e45ee6df9947afe","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.1.0","@animelist/core":"0.1.0","@animelist/client":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.1.0_1696988444060_0.6392618004213115","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@animelist/auth-sveltekit","version":"0.1.1","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"author":{"name":"Freddy L."},"license":"ISC","_id":"@animelist/auth-sveltekit@0.1.1","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"homepage":"https://github.com/Neo-Ciber94/animelist#readme","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"dist":{"shasum":"b717b2f34545df0d9a146d54fa24fb519f0d9983","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.1.1.tgz","fileCount":25,"integrity":"sha512-CEZdTKL8X9d3B0lhuBAYf2Ih9F7modkFw0LoCn6Q/f+5JBBm/1Y9EnAzb8v7NTlb9txr9/K5zbiW7E6O1YJARg==","signatures":[{"sig":"MEUCIFqQBHYpf1gAvfHaUnd6hHKhN7yqY5AbLvSIUMyZoZ4SAiEA0m3/qobDrWlXUzymYZVjXXAiVGCuxW4GmuDSBxFx4sQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21855},"type":"module","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"},"./package.json":"./package.json"},"gitHead":"9445926f64c7657913f6e2a26187c521803de53b","scripts":{"lint":"eslint ./src","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","entrypoints":"tsx entrypoints.script.mts","prepublishOnly":"pnpm build"},"typings":"dist/index.d.ts","_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"repository":{"url":"git+https://github.com/Neo-Ciber94/animelist.git","type":"git","directory":"packages/animelist-client"},"_npmVersion":"lerna/7.3.0/node@v18.17.0+x64 (win32)","description":"Integration with the @animelist/auth for SvelteKit","directories":{},"_nodeVersion":"18.17.0","dependencies":{"svelte":"^4.0.5","@animelist/auth":"0.1.1","@animelist/core":"0.1.0","@animelist/client":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","typescript":"^5.2.2","@sveltejs/kit":"^1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sveltekit_0.1.1_1696993315572_0.8686291078695687","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@animelist/auth-sveltekit","version":"0.1.2","description":"Integration with the @animelist/auth for SvelteKit","author":{"name":"Freddy L."},"type":"module","module":"dist/index.js","typings":"dist/index.d.ts","scripts":{"typecheck":"tsc --noEmit","lint":"eslint ./src","entrypoints":"tsx entrypoints.script.mts","build:types":"tsc --emitDeclarationOnly","build":"rimraf dist && pnpm build:types && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3 && pnpm entrypoints","prepublishOnly":"pnpm build"},"repository":{"type":"git","url":"git+https://github.com/Neo-Ciber94/animelist.git","directory":"packages/animelist-client"},"keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"license":"ISC","dependencies":{"@animelist/auth":"0.1.2","@animelist/client":"0.1.2","@animelist/core":"0.1.0","svelte":"^4.0.5"},"devDependencies":{"@sveltejs/kit":"^1.25.0","eslint":"^8.49.0","typescript":"^5.2.2"},"publishConfig":{"access":"public"},"exports":{"./package.json":"./package.json",".":{"import":"./dist/index.js","default":"./dist/index.js"},"./client":{"import":"./dist/client/index.js","default":"./dist/client/index.js"},"./server":{"import":"./dist/server/index.js","default":"./dist/server/index.js"}},"gitHead":"5d7b227873e5414f1db104eed99a5377a790c75c","bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"homepage":"https://github.com/Neo-Ciber94/animelist#readme","_id":"@animelist/auth-sveltekit@0.1.2","_nodeVersion":"20.14.0","_npmVersion":"lerna/7.3.0/node@v20.14.0+x64 (win32)","dist":{"integrity":"sha512-L0A+WpNtnDioW59tlQ/tuMivgeCiYlLyCzYo+WJuqr2nBVy3tZOiDw64UZP0FhitbiGl/iogZetKJpkTcQvTuA==","shasum":"3a82599999317644408ae18f9f25a5416021db56","tarball":"https://registry.npmjs.org/@animelist/auth-sveltekit/-/auth-sveltekit-0.1.2.tgz","fileCount":25,"unpackedSize":22165,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCE9XsgjwzE7Ag0NAVeKBwNH9Ni+oB5W0QAqwZ9Pn+uqgIhALgF/hGjSb+G+a6X+UvNUktAwOF+ADi+AXNcQZUPuK+C"}]},"_npmUser":{"name":"neociber94","email":"neo-ciber_94@hotmail.com"},"directories":{},"maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-sveltekit_0.1.2_1742758598562_0.9171750723158776"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-21T03:15:38.907Z","modified":"2025-03-23T19:36:38.899Z","0.0.1-alpha.0":"2023-09-21T03:15:39.319Z","0.0.1-alpha.1":"2023-09-30T04:29:41.173Z","0.0.1-alpha.2":"2023-09-30T19:37:38.584Z","0.0.1-alpha.3":"2023-09-30T20:06:21.762Z","0.0.1-alpha.4":"2023-10-02T02:53:03.605Z","0.0.1-alpha.7":"2023-10-03T04:43:40.248Z","0.0.1-alpha.8":"2023-10-05T22:55:57.652Z","0.0.1-alpha.9":"2023-10-06T05:05:43.586Z","0.0.1-alpha.10":"2023-10-06T05:25:40.229Z","0.0.1-alpha.11":"2023-10-07T02:30:13.632Z","0.0.1-alpha.12":"2023-10-08T00:40:11.011Z","0.0.1-alpha.13":"2023-10-10T02:00:05.224Z","0.0.1-alpha.14":"2023-10-10T03:15:54.545Z","0.1.0":"2023-10-11T01:40:44.246Z","0.1.1":"2023-10-11T03:01:55.782Z","0.1.2":"2025-03-23T19:36:38.727Z"},"bugs":{"url":"https://github.com/Neo-Ciber94/animelist/issues"},"author":{"name":"Freddy L."},"license":"ISC","homepage":"https://github.com/Neo-Ciber94/animelist#readme","keywords":["anime","myanimelist","svelte","sveltekit","authorization","oauth2","node","typescript"],"repository":{"type":"git","url":"git+https://github.com/Neo-Ciber94/animelist.git","directory":"packages/animelist-client"},"description":"Integration with the @animelist/auth for SvelteKit","maintainers":[{"name":"neociber94","email":"neo-ciber_94@hotmail.com"}],"readme":"# @animelist/auth-next\r\n\r\nImplementation of the `@animelist/auth` for `SvelteKit`.\r\n\r\nYou can checkout this [Example](https://github.com/Neo-Ciber94/animelist/tree/main/examples/sveltekit-mal-auth).\r\n\r\n## Table of Contents\r\n\r\n1. [Setup](#setup)\r\n2. [Get Current User](#get-current-user)\r\n3. [Load user from server](#load-user-from-server)\r\n4. [License](#license)\r\n\r\n\r\n## Setup\r\n\r\nIn your `Sveltekit` project install the packages:\r\n\r\n_npm_\r\n\r\n```bash\r\nnpm install @animelist/auth-sveltekit @animelist/client\r\n```\r\n\r\n_yarn_\r\n\r\n```bash\r\nyarn add @animelist/auth-sveltekit @animelist/client\r\n```\r\n\r\n_pnpm_\r\n\r\n```bash\r\npnpm install @animelist/auth-sveltekit @animelist/client\r\n```\r\n\r\n1.  This package reads environment variables from `process.env`, which is not available for some targets, for that you need to define them in your `vite.config.ts`.\r\n\r\nYou can define them directly, `dotenv` or any other plugin that do the job.\r\n\r\nThis is an example on how can be done:\r\n\r\n\r\n  ```ts\r\n    import { sveltekit } from \"@sveltejs/kit/vite\";\r\n    import { defineConfig } from \"vite\";\r\n    import dotenv from \"dotenv\"; // npm install -D dotenv\r\n    dotenv.config();\r\n\r\n    const defineProcessEnv = () => {\r\n      const definedEnvs = Object.fromEntries(\r\n        Object.entries(process.env || {}).map(([key, value]) => [\r\n          `process.env.${key}`,\r\n          JSON.stringify(value),\r\n        ])\r\n      );\r\n\r\n      return definedEnvs;\r\n    };\r\n\r\n    export default defineConfig({\r\n      plugins: [sveltekit()],\r\n      define: defineProcessEnv(),\r\n    });\r\n  ```\r\n\r\n  > You may need to mark `@animelist/auth` as external to allow vite to replace the values correctly.\r\n  >```ts\r\n  >    export default defineConfig({\r\n  >      ssr: {\r\n  >        noExternal: [\"@animelist/auth\"]\r\n  >      },\r\n  >      // ...\r\n  >  });\r\n  >```\r\n\r\n2.  You need to provide the following environment variables:\r\n\r\n    ```bash\r\n    MAL_CLIENT_ID = <client_id>\r\n    MAL_CLIENT_SECRET = <client_secret>\r\n    MAL_REQUEST_DEBUG = true # optional\r\n    ```\r\n\r\n    To get the **client id** and **client secret** you need to log into your <https://myanimelist.net/>:\r\n\r\n    - Go to `Preferences > API` and create a new client.\r\n    - On the `App Redirect URL` use `<url>/api/myanimelist/auth/callback`.\r\n      - For example `http://localhost:3000/api/myanimelist/auth/callback` if your app is running on `localhost:3000`.\r\n\r\n    If you used the example `vite.config.ts` you can just create a `.env` file and the `dotenv` will load the variables.\r\n\r\n3.  Create a `hooks.server.ts` with the contents:\r\n\r\n```ts\r\nimport type { Handle } from \"@sveltejs/kit\";\r\nimport {\r\n  createMyAnimeListFetchHandler,\r\n  getUser,\r\n} from \"@animelist/auth-sveltekit/server\";\r\n\r\nconst handler = createMyAnimeListFetchHandler();\r\n\r\nexport const handle: Handle = async ({ event, resolve }) => {\r\n  event.locals.session = await getUser(event.cookies);\r\n\r\n  if (event.url.pathname.startsWith(\"/api/myanimelist\")) {\r\n    return handler(event.request);\r\n  }\r\n\r\n  return resolve(event);\r\n};\r\n```\r\n\r\nAlso may need to modify your `app.d.ts`\r\n\r\n```ts\r\nimport type { Session } from \"@animelist/auth-sveltekit/client\";\r\n\r\ndeclare global {\r\n  namespace App {\r\n    interface Locals {\r\n      session?: Session | null;\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n4. In your `src/routes/+layout.svelte` initializes the session\r\n\r\n```svelte\r\n<script lang=\"ts\">\r\n  import { session } from \"@animelist/auth-sveltekit/client\";\r\n  session.initialize().catch(console.error);\r\n</script>\r\n\r\n<slot />\r\n```\r\n\r\n5. You are ready! in a `src/routes/+page.svelte` you can add this:\r\n\r\n```svelte\r\n<script lang=\"ts\">\r\n  import { signIn, signOut, session } from \"@animelist/auth-sveltekit/client\";\r\n</script>\r\n\r\n{#if $session.loading}\r\n  <p>Loading...</p>\r\n{:else if $session.user == null}\r\n  <button on:click=\"{signIn}\">Sign In</button>\r\n{:else if $session.user}\r\n  <p>Hello {$session.user.name}</p>\r\n  <button on:click=\"{signOut}\">Sign Out</button>\r\n{/if}\r\n```\r\n\r\n6. `$session` also returns an `accessToken` that can be used to make requests.\r\n\r\n```svelte\r\n<script lang=\"ts\">\r\n  import { signIn, signOut, session } from \"@animelist/auth-sveltekit/client\";\r\n  import { MALClient } from \"@animelist/client\";\r\n\r\n$: (async function(){\r\n    if (!$session.accessToken) {\r\n      return;\r\n    }\r\n\r\n    // We need the 'proxyUrl' because we are running on the client\r\n    const client = new MALClient({\r\n      proxyUrl: \"/api/myanimelist\",\r\n      accessToken: $session.accessToken,\r\n    });\r\n\r\n    const result = await client.getSuggestedAnime();\r\n    console.log(result);\r\n})()\r\n</script>\r\n```\r\n\r\n## Get Current User\r\n\r\nAfter the user is logged you can get the current user information using `getServerSession`.\r\n\r\nWhich returns `null` if the user is not logged or `UserSession`:\r\n\r\n```ts\r\ntype UserSession = {\r\n  userId: number;\r\n  refreshToken: string;\r\n  accessToken: string;\r\n};\r\n```\r\n\r\n```ts\r\nimport { getServerSession } from \"@animelist/auth-next/server\";\r\n\r\nconst session = await getServerSession(cookies);\r\n\r\nif (session) {\r\n  console.log(\"User is logged in\");\r\n}\r\n```\r\n\r\nYou can also use `getRequiredServerSession(cookies)` which throws an error if the user is not logged in.\r\n\r\n> If you want to get the user information you can use the `getUser`, keep in mind this fetches the user,\r\ninstead of just retrieve the information from the cookie.\r\n\r\n```ts\r\nimport { getUser } from \"@animelist/auth-next/server\";\r\n\r\nconst user = await getUser(cookies);\r\n\r\nif (user) {\r\n  console.log(\"User is logged in\");\r\n}\r\n```\r\n\r\n## Load user from server\r\n\r\nEach time we load a page `session.initialize` will fetch the user from the client side,\r\nso you may need to show a spinner while the user is loading.\r\nTo prevent this we can fetch the user from the server side.\r\n\r\nFollowing our **setup** example, we can add a `+layout.server.ts` to load the user to all our pages.\r\n\r\n```ts\r\nimport type { LayoutServerLoad } from './$types';\r\n\r\n// `hooks.server.ts` already set the session\r\nexport const load: LayoutServerLoad = async ({ locals }) => {\r\n  return { session: locals.session };\r\n};\r\n\r\n```\r\n\r\n```svelte\r\n<script lang=\"ts\">\r\n  import { session } from \"@animelist/auth-sveltekit/client\";\r\n  import type { LayoutServerData } from './$types';\r\n\r\n  export let data: LayoutServerData;\r\n\r\n  session.initialize(data.session).catch(console.error);\r\n</script>\r\n\r\n<slot />\r\n```\r\n\r\nAlternatively you can drop the usage of `$session` and just access the `$page.data.session`.\r\n\r\n```svelte\r\n<script lang=\"ts\">\r\nimport { page } from '$app/stores';\r\n</script>\r\n\r\n<div>{$page.data.session?.user.name}</div>\r\n```\r\n\r\nRemember to also update your `app.d.ts` for type safety.\r\n\r\n```ts\r\n// app.d.ts\r\nimport type { Session } from '@animelist/auth-sveltekit/client';\r\n\r\ndeclare global {\r\n  namespace App {\r\n    interface Locals {\r\n      session?: Session | null;\r\n    }\r\n\r\n    interface PageData {\r\n      session?: Session | null;\r\n    }\r\n    \r\n    // interface Error {}\r\n    // interface Platform {}\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Good to know\r\n\r\nYou may also notice you are receiving this warning:\r\n\r\n> ⚠️ 'process.env.MAL_SECRET_KEY' was not set, using a default secret key\r\n\r\nTo fix that add other environment variable `MAL_SECRET_KEY`, to generate a secret key you can use:\r\n\r\n```bash\r\nopenssl rand --base64 32\r\n```\r\n\r\nOr this beauty:\r\n\r\n```bash\r\necho \"console.log(require('crypto').randomBytes(32).toString('base64'))\" | node\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n","readmeFilename":"README.md"}