{"_id":"stellar-api-core","_rev":"8-cb7076c1827398b1673c85d8716f48e2","name":"stellar-api-core","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"stellar-api-core","version":"1.0.0","_id":"stellar-api-core@1.0.0","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"356aa9d394126dc49a4e8ebbb56603f1fbd60b23","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.0.tgz","fileCount":3,"integrity":"sha512-PR2qzuY0BfafpvQGI0iIV5ikGKYX6mAmcp7vO0vAd5xm9YR2oq0LBYzkTPtEgNICuSV3lq6UGDDYD9FuxTUhGw==","signatures":[{"sig":"MEUCIC4LB0RZG0jTgqD6RHMsja1oiiJmFPBeX8InUJjJxA6RAiEAl5pnnRuMOhnnknVlemKQsZomeJpZbUJQ8tPLXiTVKwQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13130},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.0_1784329868736_0.30354618160923397","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"stellar-api-core","version":"1.0.1","_id":"stellar-api-core@1.0.1","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"ebeb9fd1caae988584f3924ddc353e86a93b7077","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.1.tgz","fileCount":3,"integrity":"sha512-M/18jroSyakBD1miql2pfFjxgOfMt72+OZkw+70xWQiVPdSRMitpRh3aR1od5DXNQRWCFwmhOU/8sdiijX4uRg==","signatures":[{"sig":"MEUCIEi2yM+WntJCbqzyB7bLW7FYU0uQ9Cg3+ssP0LgnJvsfAiEA4VDoPyvBu9D7mhQ3HHeSLv0OJOPOLzneL0nb1NojHv0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13157},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.1_1784346911235_0.9666480357356471","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"stellar-api-core","version":"1.0.2","_id":"stellar-api-core@1.0.2","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"aa3a9584f72f66c69d3d19b3d715fff8a9370937","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.2.tgz","fileCount":3,"integrity":"sha512-MCUje+ysuxH0G2p2jJ6VucckJtraza6ov+aBCidxEuohV0vQqlopL+007yAc5ZZOjsUuXyt6jWs2bQ5Ouy3mNg==","signatures":[{"sig":"MEQCIHG1O/qUdjwJ4E9kyTdfu3UiUdJqPHEXD70Nar3Rygg7AiAD7Pxdns4Yk39WaHxU1BHTnvPgnefjMQy3ZEbHGUAZow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13955},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.2_1784347436547_0.5895618061454502","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"stellar-api-core","version":"1.0.3","_id":"stellar-api-core@1.0.3","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"6ed1b7afcbbef19ba64461acdde0a51dad500827","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.3.tgz","fileCount":3,"integrity":"sha512-zvV7HMy4EdHSl0o0fcu0SOQIjHacmjrAxPjezTPqezmzZDjtIsfOWTpaI+rrhWx2nfAk0EVtHurrK7nKI7GPDA==","signatures":[{"sig":"MEYCIQCRtO/pLINLhD7P3eYO3L0kHQ1tm1GSi75lTGUzeriQgAIhAJM1ZKvxqMyCcxk0b85aMteQZSqCE+JNP6O0Y3dr9FkP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14221},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.3_1784347710675_0.7204204997022148","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"stellar-api-core","version":"1.0.4","_id":"stellar-api-core@1.0.4","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"b8aef879cfb35eff101435c8018b3afa8130deff","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.4.tgz","fileCount":5,"integrity":"sha512-pRgq5PzPN5cY8kpLOiaN7YNvOTBkUwuiGWRPQleo5sOq38PIkDwAf7N3bIMVX/YUXVwbAFerfFAQet1o8yqz8w==","signatures":[{"sig":"MEQCIBWmJejlpJZy2j3SehJwAAvEadD6lCoQ01m2mWex/nTzAiBO+4IMzueEhxPQ5IX7Q/EZmUGmhtBaJ52Yxz+dvuaFJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15457},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.4_1784348498518_0.4040839162836556","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"stellar-api-core","version":"1.0.5","_id":"stellar-api-core@1.0.5","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"a6df4f014aa95b1b408932e3890fd18013281894","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.5.tgz","fileCount":5,"integrity":"sha512-5iQapjXvFMpWeCR/PrQzCDqq95KR1o1WJuZnbVL5uvwGkB7zAgbuBmCWbA0SmxTyQSKzG2EDHTU+GUTD1ZiN3w==","signatures":[{"sig":"MEUCIDJWxSRgfJW1MyWparUWM0BE1kQ8H7cuNDJAH9oj9QSUAiEA/pp1FpHYL/jFj46EvJ89vXX95HrbVR7066qHBUAnQT8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16699},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.5_1784349448661_0.17907602050666238","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"stellar-api-core","version":"1.0.6","_id":"stellar-api-core@1.0.6","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"dist":{"shasum":"51a1a2ac6abec01bfa43a929676dad8f3d9b48d0","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.6.tgz","fileCount":3,"integrity":"sha512-Lehp8jnuGBeRz2TQpecy/IGAQwO3LVVNOsVWOEZfTF9tyNLQVGfH+j1EREL6wFloJa+r0jfqRpVxFPlsmlF1Tg==","signatures":[{"sig":"MEUCIQD7cvn/2XFPY6Umc2I5UefSHzsaC87/Djrhcc3GAFeESAIgShegWg9pP0/VR3bpIbHTZCdcw8+kEKwpIqzefDg3jPE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15556},"main":"index.js","_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"_npmVersion":"11.13.0","description":"The official Stellar API wrapper for Nakama token management bots.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stellar-api-core_1.0.6_1784391357288_0.5028544005617783","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"stellar-api-core","version":"1.0.7","description":"The official Stellar API wrapper for Nakama token management bots.","main":"index.js","dependencies":{"axios":"^1.7.2","discord.js":"^14.15.3","stellar-api-core":"^1.0.0"},"_id":"stellar-api-core@1.0.7","_nodeVersion":"24.14.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-exj8TmoFo8S6uIfReO8ii5dZhmwN88sHW77rhTo/13RbSqdor4sbxhw/cCybNlT2xHOLEBc1HbIyqyYhSiunCg==","shasum":"ef06a5d4a3a46fd97ac555755970ea98694a0769","tarball":"https://registry.npmjs.org/stellar-api-core/-/stellar-api-core-1.0.7.tgz","fileCount":3,"unpackedSize":15572,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBqLUnAk3aspCvzpB1wRdpoJZOkRbaW2AxGQKVfH6+1bAiEAjEEfxyiJ7yuUvtc3HmUWNDcjmsSckFMfQAzH046Tls4="}]},"_npmUser":{"name":"kuro1234","email":"richwebb050@gmail.com"},"directories":{},"maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stellar-api-core_1.0.7_1784391961807_0.37164099679853924"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-17T23:11:08.676Z","modified":"2026-07-18T16:26:02.091Z","1.0.0":"2026-07-17T23:11:08.875Z","1.0.1":"2026-07-18T03:55:11.373Z","1.0.2":"2026-07-18T04:03:56.673Z","1.0.3":"2026-07-18T04:08:30.841Z","1.0.4":"2026-07-18T04:21:38.651Z","1.0.5":"2026-07-18T04:37:28.790Z","1.0.6":"2026-07-18T16:15:57.403Z","1.0.7":"2026-07-18T16:26:01.942Z"},"description":"The official Stellar API wrapper for Nakama token management bots.","maintainers":[{"name":"kuro1234","email":"richwebb050@gmail.com"}],"readme":"# Stellar API\n\nThe official, ultra-powerful API wrapper for building Nakama Discord Bots instantly. \n**Architecture designed & engineered by @kur0125.**\n\n## Features\n- **13 Lines of Code**: You can get a complete bot running with almost no programming experience.\n- **Dynamic Admin Panel**: It automatically creates an interactive dropdown panel in your server when new users link their tokens.\n- **Channel Auto-Cleaner**: Keeps your chat clean by automatically deleting old messages in the bot's channel.\n- **Autonomous Refreshing**: Handles Nakama token refresh cycles in the background, ensuring tokens don't expire.\n- **Webhook Integration**: Includes automatic webhook logging so you can easily track user activity.\n\n## Installation\n\n```bash\nnpm install stellar-api-core\n```\n\n## How to Use\n\nCreate an `index.js` file and paste the following code:\n\n```javascript\nconst StellarBot = require('stellar-api-core');\n\nconst bot = new StellarBot({\n    // Your Discord Bot Token (from Discord Developer Portal)\n    discordToken: 'YOUR_BOT_TOKEN_HERE',\n    \n    // The ID of the server where the bot will run\n    serverId: '123456789012345678',\n    \n    // The specific channel where the bot will spawn the panel and delete messages\n    channelId: '987654321098765432',\n    \n    // An array of Discord User IDs who are allowed to use the Dropdown panel\n    adminIds: ['YOUR_DISCORD_USER_ID'],\n    \n    // Provided by the Stellar API owner\n    apiUrl: 'https://stellarapi-backend-production.up.railway.app' \n});\n\n// Starts the bot!\nbot.start();\n```\n\n## Commands Included Automatically:\n- `/add`: Users can securely link their `token` and `refresh_token`.\n- `/refresh`: Users can manually force a refresh and download their new `token.json`.\n- `/delete`: Users can permanently wipe their token data from the server.\n\n---\n*Powered by Stellar API | @kur0125*\n","readmeFilename":"README.md"}