{"_id":"@arkadecx/arkade-cloud-functions-auth","_rev":"14-06ca123628e697016b0a87cac0facbff","time":{"created":"2022-10-14T08:58:36.631Z","1.0.0":"2022-10-14T08:47:53.167Z","modified":"2023-11-13T05:32:50.963Z","1.1.0":"2022-10-14T08:58:36.832Z","1.2.0":"2022-10-14T09:15:28.394Z","1.3.0":"2022-10-14T09:24:45.459Z","1.4.0":"2022-10-14T09:25:14.220Z","1.5.0-alpha-1":"2023-11-13T01:53:53.768Z","1.5.0-alpha-2":"2023-11-13T02:37:49.084Z","1.5.0-alpha-3":"2023-11-13T02:42:17.146Z","1.5.0-alpha-4":"2023-11-13T05:21:26.554Z","1.5.0-alpha-5":"2023-11-13T05:23:47.963Z","1.5.0-alpha-7":"2023-11-13T05:25:57.945Z","1.5.0-alpha-8":"2023-11-13T05:32:50.660Z"},"name":"@arkadecx/arkade-cloud-functions-auth","dist-tags":{"latest":"1.5.0-alpha-8"},"versions":{"1.1.0":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.1.0","description":"Cloud functions Auth","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/crypto-js":"^4.1.1","@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"crypto-js":"^4.1.1","url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.1.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-cQTCYjv5trsyTw/wUFNxJ8dz8hWW1FRy62dQjWMa+o4TIKCvvA0bmXD7zQChKhju4EUWwKlXQNkNKw39bYktUg==","shasum":"8816a5d1ce7c33c5c4f3cfcb6a4355654acc9688","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.1.0.tgz","fileCount":11,"unpackedSize":8114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNO3LBLC8v0HQ+gLBXazBJ8yf/QNjcewHJYcwPtHr3DAiA2sAS5OX7lHsgS9zhe+oqEFmJ1gyRD6W/XQ1TglyTm/w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSSS8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnbBAAnvQp771APDUX9Uw0KZy6nmUWVjb4Wt0Nk1JAY13qqMWIdUM9\r\nCXkD+fA0mx4aPXJ+izGCkO78TaNVbaboleyAoxWHMezEoNDQ0YnqZtgo/RHm\r\ndcX7cYQ7EVDOmWaUI9iQs2cErN4jZHfpzn655MjhkuIllHgcjG3z5rad62X8\r\nOhk2WaJkhrWefJy7Cz5IScfGSeWvnO6H8sVVMKBOFwlLYqlKVmszDBD8WEgx\r\nuOSn+3Eq6SuhMj1udp3I+J8JXd+5VOXGSLOh7sl/4mRU24JYMxDv33vY+XRq\r\naYoTARa0ratchw0CS6pxtcnpYyB5ugxtX7LaqU2U6gVTDAzYlcx3J899eCCI\r\nLhXVo0sjR1NJmgtWFEJInfsM30Ty2eD4JJNIAAEZGSJr3/nZdHorqYfP6VJo\r\nBByTHnxFCqp/NOXaRUqbVNMXiXO5JwoILX4deAxJRtJ/Af1PmuYWFg1iG94n\r\nFeJL/sXnNxmicrq+CzzBME8uG+N9mz9MjGyMCW5H30Ob+oedqn29MODh3Pml\r\nriZ5VkoOHKtL30/hGHKjGjkwOkKvRi7mNfBeUiddi2TxXaG6Z8wA2JcsEdxw\r\ndf1yakPTV83G0syJcc25/HXx5Y/Jf0tYCxvEf1sw6bCv4xdEyfpsL/fFIdw5\r\nuZL11C9BUG6unMG87EWWWpEftq8FChKrzUc=\r\n=5Agv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yazhizhou","email":"yazhi@arkade.com.au"},"directories":{},"maintainers":[{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.1.0_1665737916698_0.6648029911813176"},"_hasShrinkwrap":false},"1.2.0":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.2.0","description":"Cloud functions Auth","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/crypto-js":"^4.1.1","@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"crypto-js":"^4.1.1","url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.2.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-S48I/O5e9+eMyNg6UgEofOG4MyGsNVuM24LMrZ4spmolXQpzycILNEHaMwQ6CmKlZwd1FipMCT+1vNkRhRLe0A==","shasum":"e45b0d4615840d5854a6d6f0509f98e19527d771","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.2.0.tgz","fileCount":4,"unpackedSize":5064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOmV5XrJD2bG2fxtefJj5o1I2VN1I/WQ7p0EUkBAuIsAIgeir5Yj1D6yK7e39i4MkKlpdtGGLmZlbjl3enjuMWVfQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSSiwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpsfg/9HDdvWey+pp8uFFeYcZ+11JaRlK2S7NKlvukR3TSxpZ5i//WZ\r\nzSxzWe5HvRw4nui3PRPxocqZ9dJh4U6Q80EN/IZy9WXGgJsuEeSsdh/Wt/XU\r\nyJrmiusaYT3YTG6cknbE5TFTDnc8k8jSdYOhe961WUKyTveJRw7g9jfHCghb\r\njSX1HiNFZNXGCjXddn93Y+T2IzvqTSJ0/eiaUXPrH1wzuA5655OmHVCEjKbO\r\niS+ODfnEiyMEiz1Sle2GtS8UJgAO1GXLQTtAvhB/N82fyboW84sETvibyybn\r\nqxaFjymuJQs9EeDrj1A1YyLEShL/X5tXsnmwO7Y4f1S5sHKim6pl37ML8deU\r\nNxW0Ry6UaE5CRvuewNGANJaksOwiklbdjAXvhSVVVVxbOwpDK08WPr4/Rd2h\r\nkZac80XRk02OQU7kpqQw7h+nMy43vtM0S0/+4+aB0va0zBCU4th562I/9A/D\r\nqltOyfCjcfAUEUqK2mn7fvDw1+vqw0BimtB/tR+4o0UmR1ub2Mlg2x+qylI2\r\nXN7StZtZRjc+zybTEyrALpbgP6atNwnK1TPAqN6LVfe4xb82nWW3jApkD03B\r\nCir0d4vC5e+xrOt71mhZHs1jdBVHao7trE9DYEefP2l8LfGZ9W/92Pc55NXs\r\nlxPkUKsDgFb/685gwsGGwL7toP40XgytYG8=\r\n=aet5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yazhizhou","email":"yazhi@arkade.com.au"},"directories":{},"maintainers":[{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.2.0_1665738928205_0.16753469055754366"},"_hasShrinkwrap":false},"1.3.0":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.3.0","description":"Cloud functions Auth","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/crypto-js":"^4.1.1","@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"crypto-js":"^4.1.1","url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.3.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-NI9BOz4psq+ce5HpJ/STJ8bP5swviGlsAWzC7kDHlf9Q+IvANZRATSM8+yz1Xj+DeatAm2btSQbogIBO//6v/g==","shasum":"4f811121656b2a5dc0e6233e61e6e9f32b60ba77","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.3.0.tgz","fileCount":4,"unpackedSize":5068,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+J6B79Mr3e3ZdshYyD1hBOpzChTZkIa0BQFGLU0mczgIgRgTw0uE9nZ/X/KpW47sSlIrFo+gUztp3SRKOheF7FJo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSSrdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoN3A/+PClN8ZFPJ9Bap+B0jfh5isafCRLh5hTzQeAqaxnxUejpUOMZ\r\nLEHYtrBdKhbZqi99d7SdQt+HkbsXtQmFjtU1M0HnMHO9+f+WXHJbH1EUKTmJ\r\nNr9T/xwxPDVdong9qYFTHopUjBL1UGZHlVFyF+ViDRPcrotvbSbY77/cTLfa\r\nGN23iQueZqUpATUxMJFCOguC+1UfFi+Z/l5nSFQK2N9wv/NvXaxRG9B9qRXi\r\n9K/npn9XtuKKnf7Qj3k92O1338l7MXnygxtMAhLm2Btb2m9bNkclbkhSriVA\r\n42QhtHdktCZdSt26DbrTohrxZPuvYBBGJOgxR51lHrQD/dx+SY5wlk5zbrql\r\nB63laMGTqr6BG4idfSR8cUvzv91P5JYy/bhODYfhR7vm43y4HJ1ELPaPY15V\r\nOYzoCs0Fb8tl7kR0brGPtJX7dRvquD7k4nF0eNGdmJ+sM54ny34AaVLBEU8d\r\n4JyYudOWW2xLB6yqzg3UlORKtgdQQFWk72u2S93e/n22NKOgtPszE3KBt9EG\r\nsOEAE4w6Nm6dgelXayjZg9gyBaUejoYtZz8ijKjUrCulzyLzWF11b1OJBlAb\r\nV0s+uwAASwHGeDev+gmOpjlpiSvA9eMCtwDc79TUqh1unbPmWCy5fI87IWgP\r\nSO2I0/Yat/ZUallQCGEhcAiVihRjvvidHn4=\r\n=Hkcp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yazhizhou","email":"yazhi@arkade.com.au"},"directories":{},"maintainers":[{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.3.0_1665739485293_0.33257197373937997"},"_hasShrinkwrap":false},"1.4.0":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.4.0","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/crypto-js":"^4.1.1","@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"crypto-js":"^4.1.1","url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.4.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-weRmThORTV3zjiczDEx2AmC0c/Kc9twZnrAGJKS2ul/rLNTykWPvRu90OigzregfpGfbiu5fP/Kc6X7/j88Jkw==","shasum":"60e6f163d927f842125ac599aefb0782f8da661a","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.4.0.tgz","fileCount":4,"unpackedSize":5070,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW3ahzfiqb80hXqpfko7GnNRo6N/OZG5cUm8UwuP0/ywIgML3425hCQvai41HzdzITCM+xeFVYf0jA6DIyc0ZUl90="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSSr6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg5A/9GoZDyHKQGv+sw5az8J78MlCq+oLwL1IB+2rX0HgUioh9rkWm\r\nYK0wgWLaeX62VMV1/kM7Mc1zyYmxDT0ajgLA2ieLLPeeZhv8h+1CnyfUTx6/\r\np2fuQS9Txr0e3eJe+TfwtGDGRiTj/0TwRrI3rFJak5PxCK0eM4Hwld7J+mCS\r\nc5++YnLCkF+UWGNE9et1VXzDH+I4EoT4xf+Wy3mCUMCFRrN8XoEvrFSLDf8o\r\nvIT/x0YyS7bAfLUlqk/bdv2QALlr+YrdDwHL3TIU/Vh8xacA9RdEb1+ULkhC\r\nzz+hTx+B6CMEiLQ0jhKcwEKV/zilPY5tlbNvjtONh0uDivMowiXj7/Vs1qio\r\nhZGKrlNm1SDzyZZXtSDrKntuyimTRRnlimgA5/reFPTM6ZGGdOHWLGPtnvDd\r\n0qQQeLmdjcJL2l6+klRxLTiKqjWWU9XrrkZCeydxp/D18PUX+eSxSyYG9AUo\r\nQ04eCtehlm0RC+cwN2c5seLHahX3pl0WjMXs4Sx4eBwucD+zU49xtL5JXhcO\r\nobIBK7/tK8Uyr6QZnYr+WvfX/TXpxYyLhgr3rZcx8d3R1Cdi9ALJX5U4Y6CS\r\n8aC/hu/HXRlRtvmjv5QWLdUTl7blD7QEOaP7PHjhtSfrasne1sUdKE/Ktddh\r\n5k+spdTdHDt//+tD9qhnOivH6b5DcTOyeAQ=\r\n=F5ZK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yazhizhou","email":"yazhi@arkade.com.au"},"directories":{},"maintainers":[{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.4.0_1665739500529_0.18912066321082444"},"_hasShrinkwrap":false},"1.5.0-alpha-1":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-1","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-1","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-hx0Nx+fNPgqdITd6uY1wOq4s4asyhczsv/g3Qy3dCW/C9VKR+svVTgmfpcsnDvIznDiHQdNrC/780gMKYsRADA==","shasum":"90c9144a99e7d79919da5dde9be52c74a6a152e9","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-1.tgz","fileCount":5,"unpackedSize":13297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3h5qOQiOw77DIBUjDXoupJRUxC/ruNkUnv2ZsG6MdKQIhAN1YNZh3Tw4sKfReLvXO+yxQzlgsya3RjycnE07PLBc+"}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-1_1699840433570_0.6905620242574324"},"_hasShrinkwrap":false},"1.5.0-alpha-2":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-2","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-2","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-fAz/7zal/H9m3yaUciHFhSme2Ef/Cp00b/S3kUzzW5XxZBTDHKj3IgSIWQvB2dhZ5YDLC47kJA7em7NPmhGCFA==","shasum":"e168410f4550b5e020898f7337da194f1e1a5c3d","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-2.tgz","fileCount":5,"unpackedSize":13297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATTxrmyPTvr+PnsLHAVFtVYc4uMlg2YgasC1Z/rKEGBAiAdiY/ERGSAL8VxWROSRZ09Wsna+K6uvKwPvb2J6GWqEA=="}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-2_1699843068889_0.025651015171295644"},"_hasShrinkwrap":false},"1.5.0-alpha-3":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-3","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-3","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-acHnecLxsgkztmk4GOEZBoxCKDNEAz5m5iRe9nam+Uyi87yNvEv/DGbB2UyuqQeb9B6kNd81ciTXqX7Tdq9wiA==","shasum":"1244ef38d52907cc5e1b87b7f40d3c2ec6feb7ca","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-3.tgz","fileCount":5,"unpackedSize":14332,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyu8xhX4VZUjaL8NumHtXNimcFTNRr1tidywjNhUHvOAiEAyStV5f99+XVsaH1yaaHilYQLUPnCrwwqK8+6GQOHiEQ="}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-3_1699843336914_0.952936177115443"},"_hasShrinkwrap":false},"1.5.0-alpha-4":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-4","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-4","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-VIrBt+uo5EyMSFS0RRzIzsnKPkswEtzymPkiOcG4Tp5nxPDda7gpnvYXRrzzrO71cC2twbk65rRubA2qT9+t5A==","shasum":"f33385f7e61032ad2910d484a07b56a0eca073b7","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-4.tgz","fileCount":6,"unpackedSize":14779,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwDePvGHCj69zY7IHMaAGz4dMD2MIuT4l7IvKYZLQMRgIgGZ54gAVvJYrbmLT3Zj0XkwCL5f7h5IkUoldUSgt5KoI="}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-4_1699852886335_0.9812398174544259"},"_hasShrinkwrap":false},"1.5.0-alpha-5":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-5","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-5","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-f+ZBN5qiCFtaVxagYJX+j5+Bey8fvxR6ke2mP9nyNVXXk2fQrakmQ4fXwXqMSsLCp3JmrC84Y5xPrZcxjzCRDQ==","shasum":"fdbdef6344db2d30011900e307075e3d75748bb2","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-5.tgz","fileCount":5,"unpackedSize":14662,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnjxH4v8rgOjTD9yFHqberqWca3SDShSTBUtahgRccMwIhAISN95bKR+TH5VFtvw2jSBabDtrzFe2DC6/Vme0mTpfN"}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-5_1699853027756_0.6027159813371099"},"_hasShrinkwrap":false},"1.5.0-alpha-7":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-7","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-7","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-hFGBD48wr/pUeCTwL0WXlZ0ANJIs4wyPqG+hxnwc8fMHVCV71iX0ghk4EhlEoOTUqGAuYh2yjosM2Cz6lqkc9g==","shasum":"325d576fc85db3f0f2e104652de3481fd1ae35a7","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-7.tgz","fileCount":5,"unpackedSize":14662,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdEjE0BjtWLYBUK/EpCYMFcQisIl9SbHMR+JgRdepQNAIhAOTAxQFyJbrllaNEl7L9nfyfgWDHm5uPXQ/u/n9JJDUJ"}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-7_1699853157774_0.136036253923431"},"_hasShrinkwrap":false},"1.5.0-alpha-8":{"name":"@arkadecx/arkade-cloud-functions-auth","version":"1.5.0-alpha-8","description":"Cloud functions Auth","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf ./build && tsc","start:dev":"nodemon","start":"npm run build && node build/index.js","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"keywords":["auth"],"author":{"name":"Yazhi"},"license":"MIT","bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","devDependencies":{"@types/node":"^18.8.5","@types/url-parse":"^1.4.8","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","eslint":"^8.25.0","nodemon":"^2.0.20","prettier":"^2.7.1","rimraf":"^3.0.2","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"url-parse":"^1.5.10"},"_id":"@arkadecx/arkade-cloud-functions-auth@1.5.0-alpha-8","gitHead":"c6c15d4747cefdeaa0ee9184f0b60b7e8b3564f2","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-12jX8+q4pzkEPApnm+RbUqTEs1Lo9uvDlQ8IIDxVGyI7+UgmNWmTciJA7saVowQVmr4Jb95mqw48sBNadjAJhw==","shasum":"5730b07611aa5c5fd04b4e1b9ee2f772807f3c1c","tarball":"https://registry.npmjs.org/@arkadecx/arkade-cloud-functions-auth/-/arkade-cloud-functions-auth-1.5.0-alpha-8.tgz","fileCount":5,"unpackedSize":14657,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiEe6AHuiLyed8Y0eIdhma+rpXRM1f6jF3G2+AFWDEgAIgOyV1W8S/ZVrZ1MyxqPKgLG36d7rE12cWPmChykSx+x8="}]},"_npmUser":{"name":"kyle-arkade","email":"kyle@arkade.com.au"},"directories":{},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arkade-cloud-functions-auth_1.5.0-alpha-8_1699853570479_0.27251849696315156"},"_hasShrinkwrap":false}},"maintainers":[{"name":"tew-arkade","email":"tew@arkade.com.au"},{"name":"fnandogp","email":"fnandogp@gmail.com"},{"name":"yazhizhou","email":"yazhi@arkade.com.au"},{"name":"max.arkade","email":"max@arkade.com.au"},{"name":"kyle-arkade","email":"kyle@arkade.com.au"}],"description":"Cloud functions Auth","homepage":"https://github.com/arkade-digital/arkade-cloud-functions-auth#readme","keywords":["auth"],"repository":{"type":"git","url":"git+https://github.com/arkade-digital/arkade-cloud-functions-auth.git"},"author":{"name":"Yazhi"},"bugs":{"url":"https://github.com/arkade-digital/arkade-cloud-functions-auth/issues"},"license":"MIT","readme":"# arkade-cloud-functions-auth\n\n## Install\n\n```\nyarn install @arkadecx/arkade-cloud-functions-auth\n```\n\n## Usage\n\n### Server side\n\n```\nimport { auth } from '@arkadecx/arkade-cloud-functions-auth';\n\nconst r = auth(req, {\n  hmacSecret: 'any secret',\n  originDomainWhitelist: ['www.google.com.au'],\n});\nif (!r) {\n  return res.status(401).json({ error: 'Unauthorised' });\n}\n```\n\n#### AuthOptions\n\n| name                  | desc                          | default value |\n| --------------------- | ----------------------------- | ------------- |\n| enableHmacCheck       | if enable hmac check          | true          |\n| hmacSecret            | secrect used to encrypt       | ''            |\n| enableOriginCheck     | if enable origin domain check | true          |\n| originDomainWhitelist | origin domain whilelist       | []            |\n\n### Client side\n\n```\nimport { hmacSignature } from '@arkadecx/arkade-cloud-functions-auth';\n\nconst body = {\n    //payload here\n  };\nconst route = '/api/route';\n\nconst now = Date.now();\nconst signature = hmacSignature(\n    'any secret',\n    now,\n    route,\n    body\n);\nconst response = await fetch(route, {\n    method: 'post',\n    headers: {\n        'Content-Type': 'application/json',\n        'x-authentication': `${now}:${signature}`,\n    },\n    body: JSON.stringify(body),\n});\n```\n\n## Limitation\n\n- Only work with NextJS api at the moment\n- If POST request, only works with Content-Type: application/json\n","readmeFilename":"README.md"}