├── .env.example ├── .gitignore ├── README.md ├── config └── db.js ├── index.js ├── model ├── targetModel.js └── userModel.js ├── package-lock.json ├── package.json └── utiles ├── func.js ├── monitor.js └── swap.js /.env.example: -------------------------------------------------------------------------------- 1 | SHYFT_API_KEY = "" 2 | SHYFT_RPC_URL = "" 3 | SHYFT_RPC_CONFIG_URL = "" 4 | JITO_RPC_URL = "" 5 | JUP_SWAP_URL = "" 6 | mongoURI = "" # Replace with your MongoDB connection string like as mongodb+srv://{username}:{password}@cluster0.haemz.mongodb.net/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Solana Telegram Copy Trading Bot 2 | 3 | A sophisticated Telegram bot for automated copy trading on the Solana blockchain, featuring multi-wallet management and real-time monitoring. 4 | 5 | ## Key Features ✨ 6 | - 🛡️ Secure Solana wallet integration (Base58 keypair) 7 | - 📊 Real-time balance tracking with SOL/USD conversion 8 | - 🎯 Multi-target wallet management system 9 | - ⚙️ Granular trading parameters: 10 | - Buy percentage allocation (1-100%) 11 | - Slippage tolerance (0-100%) 12 | - Gas fee customization 13 | - Market cap filters 14 | - Transaction retry logic 15 | - 🚦 Risk management controls: 16 | - Minimum/maximum buy thresholds 17 | - Token blacklisting 18 | - Transaction limits 19 | - 📈 Performance tracking with PNL/ROI metrics 20 | 21 | ## Tech Stack 🛠️ 22 | ```mermaid 23 | graph TD 24 | A[Telegram Bot] --> B[Node.js] 25 | B --> C[Solana Web3.js] 26 | B --> D[MongoDB] 27 | C --> E[Real-time Monitoring] 28 | D --> F[User Configurations] 29 | ``` 30 | 31 | ## Installation 📥 32 | ```bash 33 | git clone https://github.com/terter21002/copy-trading-bot.git 34 | copy-trading-bot 35 | npm install 36 | ``` 37 | 38 | ## Configuration ⚙️ 39 | 1. Create `.env` file: 40 | ```ini 41 | SHYFT_API_KEY = "" 42 | SHYFT_RPC_URL = "" 43 | SHYFT_RPC_CONFIG_URL = "" 44 | JITO_RPC_URL = "" 45 | JUP_SWAP_URL = "" 46 | mongoURI = "" 47 | ``` 48 | 49 | 50 | 2. Database setup: 51 | ```bash 52 | mongod --dbpath ./data/db 53 | ``` 54 | 55 | ## Usage Guide 📖 56 | 1. Start the bot: 57 | ```bash 58 | npm start 59 | ``` 60 | 61 | 2. Telegram commands: 62 | | Command | Description | 63 | |---------|-------------| 64 | | `/start` | Initialize bot session | 65 | | `/stop` | Terminate trading operations | 66 | | Wallet Setup | Connect via inline keyboard | 67 | | Trade Config | Configure through interactive menus | 68 | 69 | ## Security Notes 🔒 70 | - Private keys encrypted using Base58 encoding 71 | - Session management with message purging 72 | - Database isolation for user configurations 73 | - **Warning:** Never share your private key through unsecured channels 74 | 75 | ## Roadmap 🗺️ 76 | - [ ] Cross-chain compatibility 77 | - [ ] DEX integration (Raydium, Orca) 78 | - [ ] Machine learning-based trade prediction 79 | - [ ] Multi-language support 80 | 81 | ## Disclaimer ⚠️ 82 | ```bash 83 | THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. 84 | Cryptocurrency trading involves substantial risk. Always conduct 85 | thorough testing with small amounts before live deployment. 86 | ``` 87 | 88 | ## Contact 📬 89 | For support, feature requests, or collaboration inquiries, contact us via Telegram: 90 | **[@terter21002](https://t.me/terter21002)** 91 | 92 | ## Tip 🍵 93 | If you are intereseted in my projects, please 🔗fork and give me ⭐star 94 | -------------------------------------------------------------------------------- /config/db.js: -------------------------------------------------------------------------------- 1 | import dotenv from 'dotenv'; 2 | import mongoose from 'mongoose'; 3 | dotenv.config(); 4 | import Target from '../model/targetModel.js'; 5 | 6 | 7 | export const connectDB = async () => { 8 | const mongoURI = process.env.mongoURI; 9 | 10 | if (!mongoURI) { 11 | throw new Error('MongoDB URI is not defined in .env file'); 12 | } 13 | 14 | try { 15 | await mongoose.connect(mongoURI, { 16 | useNewUrlParser: true, 17 | useUnifiedTopology: true, 18 | dbName:'CopyTrading' 19 | }); 20 | console.log('MongoDB Connected...'); 21 | } catch (err) { 22 | console.error(err.message); 23 | process.exit(1); // Exit process with failure 24 | } 25 | // await TestDB(); 26 | }; 27 | async function TestDB() { 28 | try { 29 | const existingTrend = await Target.findOne({}); 30 | if (!existingTrend) { 31 | console.log("Default Trend Document Not Found."); 32 | } else { 33 | console.log('Default Trend Document Already Exists'); 34 | } 35 | } catch (error) { 36 | console.error('Error ensuring default Trend:'); 37 | } 38 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import TelegramBot from "node-telegram-bot-api"; 2 | import * as solanaWeb3 from "@solana/web3.js"; 3 | import base58 from "bs58"; 4 | import {connectDB} from "./config/db.js"; 5 | import User from "./model/userModel.js"; 6 | import Target from "./model/targetModel.js"; 7 | import Monitor from "./utiles/monitor.js"; 8 | // Replace 'YOUR_TELEGRAM_BOT_TOKEN' with your actual bot token 9 | const TOKEN = "7897293309:AAGtM0y5fwk-YuNlo1llgRN5LvHgW2DKpcs"; 10 | const bot = new TelegramBot(TOKEN, {polling: true}); 11 | 12 | connectDB(); 13 | // MongoDB connection 14 | // State variable to track if the bot is expecting a private key 15 | const expectingPrivateKey = {}; 16 | 17 | // State variable to track which field the user is editing 18 | const editingField = {}; 19 | 20 | // Dictionary to store message IDs 21 | const messageIds = {}; 22 | 23 | bot.onText(/\/start/, async (msg) => { 24 | console.log("userInfo", msg); 25 | 26 | const chatId = msg.chat.id; 27 | const username = msg.from.username || "Unknown"; 28 | console.log(`User @${username} has started the bot.`); 29 | const userDb = await User.findOne({username}); 30 | 31 | const keyboard = [ 32 | [ 33 | {text: "Copy Trade", callback_data: "trade"}, 34 | {text: "Wallet Setting", callback_data: "setting"}, 35 | ], 36 | ]; 37 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 38 | 39 | let message; 40 | if (!userDb) { 41 | message = ` 42 | *Welcome to copy trade bot \`${username}\`* 43 | 44 | You didn't connect your wallet 45 | 46 | To start copy trade, please connect your wallet`; 47 | } else { 48 | const solBalance = await getSolBalance(userDb.public_key); 49 | message = ` 50 | *Welcome to copy trade bot \`${username}\`* 51 | 52 | *Your current wallet address:* 53 | \`${userDb.public_key}\` 54 | 55 | *Your current balance:* 56 | \`${solBalance} SOL\``; 57 | } 58 | 59 | const sentMessage = await bot.sendMessage(chatId, message, {parse_mode: "MarkdownV2", reply_markup: replyMarkup}); 60 | messageIds[username] = [sentMessage.message_id]; 61 | }); 62 | 63 | bot.onText(/\/stop/, async (msg) => { 64 | const chatId = msg.chat.id; 65 | const username = msg.from.username || "Unknown"; 66 | console.log(username); 67 | 68 | const userDb = await User.findOne({username}); 69 | await Monitor.stopMonitor(username); 70 | let message; 71 | if (!userDb) { 72 | message = ` 73 | *Welcome to copy trade bot \`${username}\`* 74 | 75 | You didn't connect your wallet 76 | 77 | To start copy trade, please connect your wallet`; 78 | } else { 79 | const solBalance = await getSolBalance(userDb.public_key); 80 | message = ` 81 | *Welcome to copy trade bot \`${username}\`* 82 | 83 | *Your current wallet address:* 84 | \`${userDb.public_key}\` 85 | 86 | *Your current balance:* 87 | \`${solBalance} SOL\``; 88 | } 89 | 90 | const keyboard = [ 91 | [{text: "Add new target wallet", callback_data: "add_new_target_wallet"}], 92 | [{text: "All target wallet list", callback_data: "target_wallet_list"}], 93 | [{text: "Start Trade", callback_data: "start_trade"}], 94 | // [{text: "Exclude tokens", callback_data: "exclude_tokens"}], 95 | [ 96 | {text: "🔙 Back", callback_data: "back_to_main"}, 97 | {text: "Refresh", callback_data: "refresh_second"}, 98 | ], 99 | ]; 100 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 101 | const sentMessage = await bot.sendMessage(chatId, message, {parse_mode: "MarkdownV2", reply_markup: replyMarkup}); 102 | if (messageIds[username]) { 103 | messageIds[username].push(sentMessage.message_id); 104 | } else { 105 | messageIds[username] = [sentMessage.message_id]; 106 | } 107 | }); 108 | 109 | bot.on("callback_query", async (query) => { 110 | const chatId = query.message.chat.id; 111 | const username = query.from.username || "Unknown"; 112 | const userDb = await User.findOne({username}); 113 | 114 | if (query.data === "trade") { 115 | if (!userDb) return; 116 | const keyboard = [ 117 | [{text: "Add new target wallet", callback_data: "add_new_target_wallet"}], 118 | [{text: "All target wallet list", callback_data: "target_wallet_list"}], 119 | [{text: "Start Trade", callback_data: "start_trade"}], 120 | // [{text: "Exclude tokens", callback_data: "exclude_tokens"}], 121 | [ 122 | {text: "🔙 Back", callback_data: "back_to_main"}, 123 | {text: "Refresh", callback_data: "refresh_second"}, 124 | ], 125 | ]; 126 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 127 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 128 | if (messageIds[username]) { 129 | messageIds[username].push(query.message.message_id); 130 | } else { 131 | messageIds[username] = [query.message.message_id]; 132 | } 133 | } else if (query.data === "setting") { 134 | if (!userDb) { 135 | const keyboard = [ 136 | [ 137 | {text: "Connect wallet", callback_data: "connect"}, 138 | {text: "Back", callback_data: "back_to_main"}, 139 | ], 140 | ]; 141 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 142 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 143 | } else { 144 | const keyboard = [ 145 | [ 146 | {text: "Change wallet", callback_data: "change"}, 147 | {text: "Back", callback_data: "back_to_main"}, 148 | ], 149 | ]; 150 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 151 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 152 | } 153 | if (messageIds[username]) { 154 | messageIds[username].push(query.message.message_id); 155 | } else { 156 | messageIds[username] = [query.message.message_id]; 157 | } 158 | } else if (query.data === "connect") { 159 | expectingPrivateKey[username] = true; 160 | const keyboard = [[{text: "🔙 Back", callback_data: "back_to_main"}]]; 161 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 162 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 163 | const sentMessage = await bot.sendMessage( 164 | chatId, 165 | "To connect your wallet, please input your wallet private key." 166 | ); 167 | 168 | if (messageIds[username]) { 169 | messageIds[username].push(sentMessage.message_id); 170 | } else { 171 | messageIds[username] = [sentMessage.message_id]; 172 | } 173 | } else if (query.data === "change") { 174 | expectingPrivateKey[username] = true; 175 | const keyboard = [[{text: "🔙 Back", callback_data: "back_to_main"}]]; 176 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 177 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 178 | const sentMessage = await bot.sendMessage( 179 | chatId, 180 | "To change your wallet, please input your other wallet private key." 181 | ); 182 | if (messageIds[username]) { 183 | messageIds[username].push(sentMessage.message_id); 184 | } else { 185 | messageIds[username] = [sentMessage.message_id]; 186 | } 187 | } else if (query.data === "add_new_target_wallet") { 188 | let currentWallet = await Target.findOne({added: false, username}); 189 | if (currentWallet == null) { 190 | await Target.insertOne({ 191 | added: false, 192 | username, 193 | wallet_label: "-", 194 | target_wallet: "", 195 | buy_percentage: 100, 196 | max_buy: 0, 197 | min_buy: 0, 198 | total_invest_sol: 0, 199 | each_token_buy_times: 0, 200 | trader_tx_max_limit: 0, 201 | exclude_tokens: [], 202 | max_marketcap: 0, 203 | min_marketcap: 0, 204 | auto_retry_times: 1, 205 | buy_slippage: 50, 206 | sell_slippage: 50, 207 | tip: 50, 208 | buy_gas_fee: 0.005, 209 | sell_gas_fee: 0.005, 210 | created_at: new Date(), 211 | }); 212 | currentWallet = await Target.findOne({username, added: false}); 213 | } 214 | const keyboard = [ 215 | [{text: `Wallet label: ${currentWallet.wallet_label || "-"}`, callback_data: "wallet_label"}], 216 | [ 217 | { 218 | text: `Target wallet: ${currentWallet.target_wallet.slice( 219 | 0, 220 | 5 221 | )}...${currentWallet.target_wallet.slice(-5)}`, 222 | callback_data: "target_wallet", 223 | }, 224 | ], 225 | [{text: `Buy percentage: ${currentWallet.buy_percentage || 0}%`, callback_data: "buy_percentage"}], 226 | [ 227 | {text: `Max Buy: ${currentWallet.max_buy || 0}`, callback_data: "max_buy"}, 228 | {text: `Min Buy: ${currentWallet.min_buy || 0}`, callback_data: "min_buy"}, 229 | ], 230 | [{text: `Total invest: ${currentWallet.total_invest_sol || 0} sol`, callback_data: "total_invest_sol"}], 231 | [ 232 | { 233 | text: `Each Token Buy times: ${currentWallet.each_token_buy_times || 0}`, 234 | callback_data: "each_token_buy_times", 235 | }, 236 | ], 237 | [ 238 | { 239 | text: `Trader's Tx max limit: ${currentWallet.trader_tx_max_limit || 0}`, 240 | callback_data: "trader_tx_max_limit", 241 | }, 242 | ], 243 | [{text: `Exclude tokens: ${currentWallet.exclude_tokens.length || 0}`, callback_data: "exclude_tokens"}], 244 | [ 245 | {text: `Max MC: ${currentWallet.max_marketcap || 0}`, callback_data: "max_mc"}, 246 | {text: `Min MC: ${currentWallet.min_marketcap || 0}`, callback_data: "min_mc"}, 247 | ], 248 | [{text: `Auto Retry: ${currentWallet.auto_retry_times || 0}`, callback_data: "auto_retry"}], 249 | [ 250 | {text: `Buy Slippage: ${currentWallet.buy_slippage || 0}%`, callback_data: "buy_slippage"}, 251 | {text: `Sell Slippage: ${currentWallet.sell_slippage || 0}%`, callback_data: "sell_slippage"}, 252 | ], 253 | [{text: `Jito Dynamic Tip: ${currentWallet.tip || 0}%`, callback_data: "tip"}], 254 | [ 255 | {text: `Buy Gas Fee: ${currentWallet.buy_gas_fee || 0} sol`, callback_data: "buy_gas_fee"}, 256 | {text: `Sell Gas Fee: ${currentWallet.sell_gas_fee || 0} sol`, callback_data: "sell_gas_fee"}, 257 | ], 258 | [{text: "➕ Create", callback_data: "create"}], 259 | [ 260 | {text: "🔙 Back", callback_data: "back_to_second"}, 261 | {text: "Refresh", callback_data: "refresh"}, 262 | ], 263 | ]; 264 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 265 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 266 | if (messageIds[username]) { 267 | messageIds[username].push(query.message.message_id); 268 | } else { 269 | messageIds[username] = [query.message.message_id]; 270 | } 271 | } else if (query.data.startsWith("edit_")) { 272 | const walletName = query.data.split("_")[1]; 273 | const wallet = await Target.findOne({username, target_wallet: walletName, added: true}); 274 | const totalPnl = 0; 275 | const totalRoi = 0; 276 | const traded = 0; 277 | 278 | const copyPnl = 0; 279 | const copyRoi = 0; 280 | const copyTraded = 0; 281 | const message = ` 282 | Target Wallet: 283 | ${walletName} 284 | PNL: ${totalPnl.toFixed(2)} 285 | ROI: ${totalRoi.toFixed(2)} 286 | Traded: ${traded} 287 | 288 | Copy trade: 289 | PNL: ${copyPnl.toFixed(2)} 290 | ROI: ${copyRoi.toFixed(2)} 291 | Traded: ${copyTraded} 292 | `; 293 | 294 | const keyboard = [ 295 | [{text: "Change setting", callback_data: `change_${walletName}`}], 296 | [ 297 | {text: "OK", callback_data: "back_to_main"}, 298 | {text: "Remove", callback_data: "Remove"}, 299 | ], 300 | ]; 301 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 302 | const sentMessage = await bot.sendMessage(chatId, message, {parse_mode: "HTML", reply_markup: replyMarkup}); 303 | if (messageIds[username]) { 304 | messageIds[username].push(sentMessage.message_id); 305 | } else { 306 | messageIds[username] = [sentMessage.message_id]; 307 | } 308 | } else if (query.data.startsWith("change_")) { 309 | const targetWallet = query.data.split("_")[1]; 310 | await Target.deleteOne({username, added: false}); 311 | const currentWallet = await Target.findOne({username, target_wallet: targetWallet, added: true}); 312 | currentWallet.added = false; 313 | await Target.updateOne({username, target_wallet: targetWallet, added: true}, {$set: currentWallet}); 314 | const userDb = await User.findOne({username}); 315 | const solBalance = await getSolBalance(userDb.public_key); 316 | const message = ` 317 | *Welcome to copy trade bot \`${username}\`* 318 | 319 | *Your current wallet address:* 320 | \`${userDb.public_key}\` 321 | 322 | *Your current balance:* 323 | \`${solBalance} SOL\``; 324 | 325 | const keyboard = [ 326 | [{text: `Wallet label: ${currentWallet.wallet_label || "-"}`, callback_data: "wallet_label"}], 327 | [ 328 | { 329 | text: `Target wallet: ${currentWallet.target_wallet.slice( 330 | 0, 331 | 5 332 | )}...${currentWallet.target_wallet.slice(-5)}`, 333 | callback_data: "target_wallet", 334 | }, 335 | ], 336 | [{text: `Buy percentage: ${currentWallet.buy_percentage || 0}%`, callback_data: "buy_percentage"}], 337 | [ 338 | {text: `Max Buy: ${currentWallet.max_buy || 0}`, callback_data: "max_buy"}, 339 | {text: `Min Buy: ${currentWallet.min_buy || 0}`, callback_data: "min_buy"}, 340 | ], 341 | [{text: `Total invest: ${currentWallet.total_invest_sol || 0} sol`, callback_data: "total_invest_sol"}], 342 | [ 343 | { 344 | text: `Each Token Buy times: ${currentWallet.each_token_buy_times || 0}`, 345 | callback_data: "each_token_buy_times", 346 | }, 347 | ], 348 | [ 349 | { 350 | text: `Trader's Tx max limit: ${currentWallet.trader_tx_max_limit || 0}`, 351 | callback_data: "trader_tx_max_limit", 352 | }, 353 | ], 354 | [{text: `Exclude tokens: ${currentWallet.exclude_tokens.length || 0}`, callback_data: "exclude_tokens"}], 355 | [ 356 | {text: `Max MC: ${currentWallet.max_marketcap || 0}`, callback_data: "max_mc"}, 357 | {text: `Min MC: ${currentWallet.min_marketcap || 0}`, callback_data: "min_mc"}, 358 | ], 359 | [{text: `Auto Retry: ${currentWallet.auto_retry_times || 0}`, callback_data: "auto_retry"}], 360 | [ 361 | {text: `Buy Slippage: ${currentWallet.buy_slippage || 0}%`, callback_data: "buy_slippage"}, 362 | {text: `Sell Slippage: ${currentWallet.sell_slippage || 0}%`, callback_data: "sell_slippage"}, 363 | ], 364 | [{text: `Jito Dynamic Tip: ${currentWallet.tip || 0}%`, callback_data: "tip"}], 365 | [ 366 | {text: `Buy Gas Fee: ${currentWallet.buy_gas_fee || 0} sol`, callback_data: "buy_gas_fee"}, 367 | {text: `Sell Gas Fee: ${currentWallet.sell_gas_fee || 0} sol`, callback_data: "sell_gas_fee"}, 368 | ], 369 | [{text: "✅ Ok", callback_data: "create"}], 370 | [ 371 | {text: "Remove", callback_data: "target_wallet_list"}, 372 | {text: "Refresh", callback_data: "refresh"}, 373 | ], 374 | ]; 375 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 376 | await bot.editMessageText(message, { 377 | chat_id: chatId, 378 | message_id: query.message.message_id, 379 | parse_mode: "MarkdownV2", 380 | reply_markup: replyMarkup, 381 | }); 382 | } else if (query.data === "target_wallet_list") { 383 | const targetWallets = await Target.find({username, added: true}); 384 | const keyboard = []; 385 | let index = 1; 386 | for (const wallet of targetWallets) { 387 | keyboard.push([ 388 | {text: `${index} : ${wallet.target_wallet}`, callback_data: `edit_${wallet.target_wallet}`}, 389 | ]); 390 | index += 1; 391 | } 392 | keyboard.push([{text: "🔙 Back", callback_data: "back_to_second"}]); 393 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 394 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 395 | if (messageIds[username]) { 396 | messageIds[username].push(query.message.message_id); 397 | } else { 398 | messageIds[username] = [query.message.message_id]; 399 | } 400 | } else if ( 401 | [ 402 | "wallet_label", 403 | "target_wallet", 404 | "buy_percentage", 405 | "max_buy", 406 | "min_buy", 407 | "total_invest_sol", 408 | "each_token_buy_times", 409 | "tip", 410 | "trader_tx_max_limit", 411 | "exclude_tokens", 412 | "max_marketcap", 413 | "min_marketcap", 414 | "auto_retry", 415 | "buy_slippage", 416 | "sell_slippage", 417 | "buy_gas_fee", 418 | "sell_gas_fee", 419 | ].includes(query.data) 420 | ) { 421 | editingField[username] = query.data; 422 | const sentMessage = await bot.sendMessage( 423 | chatId, 424 | `Please enter the new value for ${query.data 425 | .replace(/_/g, " ") // Replace underscores with spaces 426 | .split(" ") // Split into words 427 | .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) // Capitalize first letter 428 | .join(" ")}:` // Join words back into a string 429 | ); 430 | if (messageIds[username]) { 431 | messageIds[username].push(sentMessage.message_id); 432 | } else { 433 | messageIds[username] = [sentMessage.message_id]; 434 | } 435 | } else if (query.data === "create") { 436 | const currentWallet = await Target.findOne({added: false, username}); 437 | if (currentWallet.target_wallet === "" || currentWallet.wallet_label === "-") { 438 | const sentMessage = await bot.sendMessage( 439 | chatId, 440 | "Please input required fields (target wallet & wallet label)" 441 | ); 442 | if (messageIds[username]) { 443 | messageIds[username].push(sentMessage.message_id); 444 | } else { 445 | messageIds[username] = [sentMessage.message_id]; 446 | } 447 | return; 448 | } 449 | currentWallet.added = true; 450 | await Target.updateOne({username, added: false}, {$set: currentWallet}); 451 | const targetWallets = await Target.find({username, added: true}); 452 | const keyboard = []; 453 | let index = 1; 454 | for (const wallet of targetWallets) { 455 | keyboard.push([ 456 | {text: `${index} : ${wallet.target_wallet}`, callback_data: `edit_${wallet.target_wallet}`}, 457 | ]); 458 | index += 1; 459 | } 460 | keyboard.push([{text: "🔙 Back", callback_data: "back_to_second"}]); 461 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 462 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 463 | } else if (query.data === "refresh_second") { 464 | const userDb = await User.findOne({username}); 465 | const solBalance = await getSolBalance(userDb.public_key); 466 | 467 | const message = ` 468 | *Welcome to copy trade bot \`${username}\`* 469 | 470 | *Your current wallet address:* 471 | \`${userDb.public_key}\` 472 | 473 | *Your current balance:* 474 | \`${solBalance} SOL\``; 475 | 476 | const keyboard = { 477 | inline_keyboard: [ 478 | [{text: "Add new target wallet", callback_data: "add_new_target_wallet"}], 479 | [{text: "All target wallet list", callback_data: "target_wallet_list"}], 480 | [{text: "Start Trade", callback_data: "start_trade"}], 481 | // [{ text: "Exclude tokens", callback_data: "exclude_tokens" }], 482 | [ 483 | {text: "🔙 Back", callback_data: "back_to_main"}, 484 | {text: "Refresh", callback_data: "refresh_second"}, 485 | ], 486 | ], 487 | }; 488 | try { 489 | await bot.editMessageText(message, { 490 | chat_id: query.message.chat.id, 491 | message_id: query.message.message_id, 492 | reply_markup: keyboard, 493 | parse_mode: "MarkdownV2", 494 | }); 495 | } catch (e) { 496 | console.log("haha"); 497 | } 498 | 499 | if (messageIds[username]) { 500 | messageIds[username].push(query.message.message_id); 501 | } else { 502 | messageIds[username] = [query.message.message_id]; 503 | } 504 | } else if (query.data === "refresh") { 505 | const editingFieldData = { 506 | added: false, 507 | username, 508 | wallet_label: "-", 509 | target_wallet: "", 510 | buy_percentage: 100, 511 | max_buy: 0, 512 | min_buy: 0, 513 | total_invest_sol: 0, 514 | each_token_buy_times: 0, 515 | trader_tx_max_limit: 0, 516 | exclude_tokens: [], 517 | max_marketcap: 0, 518 | min_marketcap: 0, 519 | auto_retry_times: 1, 520 | buy_slippage: 50, 521 | sell_slippage: 50, 522 | buy_gas_fee: 0.005, 523 | sell_gas_fee: 0.005, 524 | tip: 50, 525 | created_at: new Date(), 526 | }; 527 | await Target.updateOne({username, added: false}, {$set: editingFieldData}); 528 | const currentWallet = await Target.findOne({username, added: false}); 529 | const keyboard = [ 530 | [{text: `Wallet label: ${currentWallet.wallet_label || "-"}`, callback_data: "wallet_label"}], 531 | [ 532 | { 533 | text: `Target wallet: ${currentWallet.target_wallet.slice( 534 | 0, 535 | 5 536 | )}...${currentWallet.target_wallet.slice(-5)}`, 537 | callback_data: "target_wallet", 538 | }, 539 | ], 540 | [{text: `Buy percentage: ${currentWallet.buy_percentage || 0}%`, callback_data: "buy_percentage"}], 541 | [ 542 | {text: `Max Buy: ${currentWallet.max_buy || 0}`, callback_data: "max_buy"}, 543 | {text: `Min Buy: ${currentWallet.min_buy || 0}`, callback_data: "min_buy"}, 544 | ], 545 | [{text: `Total invest: ${currentWallet.total_invest_sol || 0} sol`, callback_data: "total_invest_sol"}], 546 | [ 547 | { 548 | text: `Each Token Buy times: ${currentWallet.each_token_buy_times || 0}`, 549 | callback_data: "each_token_buy_times", 550 | }, 551 | ], 552 | [ 553 | { 554 | text: `Trader's Tx max limit: ${currentWallet.trader_tx_max_limit || 0}`, 555 | callback_data: "trader_tx_max_limit", 556 | }, 557 | ], 558 | [{text: `Exclude tokens: ${currentWallet.exclude_tokens.length || 0}`, callback_data: "exclude_tokens"}], 559 | [ 560 | {text: `Max MC: ${currentWallet.max_marketcap || 0}`, callback_data: "max_mc"}, 561 | {text: `Min MC: ${currentWallet.min_marketcap || 0}`, callback_data: "min_mc"}, 562 | ], 563 | [{text: `Auto Retry: ${currentWallet.auto_retry_times || 0}`, callback_data: "auto_retry"}], 564 | [ 565 | {text: `Buy Slippage: ${currentWallet.buy_slippage || 0}%`, callback_data: "buy_slippage"}, 566 | {text: `Sell Slippage: ${currentWallet.sell_slippage || 0}%`, callback_data: "sell_slippage"}, 567 | ], 568 | [{text: `Jito Dynamic Tip: ${currentWallet.tip || 0}%`, callback_data: "tip"}], 569 | [ 570 | {text: `Buy Gas Fee: ${currentWallet.buy_gas_fee || 0} sol`, callback_data: "buy_gas_fee"}, 571 | {text: `Sell Gas Fee: ${currentWallet.sell_gas_fee || 0} sol`, callback_data: "sell_gas_fee"}, 572 | ], 573 | [{text: "➕ Create", callback_data: "create"}], 574 | [ 575 | {text: "🔙 Back", callback_data: "back_to_second"}, 576 | {text: "Refresh", callback_data: "refresh"}, 577 | ], 578 | ]; 579 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 580 | try { 581 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 582 | } catch (e) { 583 | console.log("haha"); 584 | } 585 | } else if (query.data === "back_to_second") { 586 | const keyboard = [ 587 | [{text: "Add new target wallet", callback_data: "add_new_target_wallet"}], 588 | [{text: "All target wallet list", callback_data: "target_wallet_list"}], 589 | [{text: "Start Trade", callback_data: "start_trade"}], 590 | // [{text: "Exclude tokens", callback_data: "exclude_tokens"}], 591 | [ 592 | {text: "🔙 Back", callback_data: "back_to_main"}, 593 | {text: "Refresh", callback_data: "refresh_second"}, 594 | ], 595 | ]; 596 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 597 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 598 | if (messageIds[username]) { 599 | messageIds[username].push(query.message.message_id); 600 | } else { 601 | messageIds[username] = [query.message.message_id]; 602 | } 603 | } else if (query.data === "back_to_main") { 604 | const keyboard = [ 605 | [ 606 | {text: "Copy Trade", callback_data: "trade"}, 607 | {text: "Wallet Setting", callback_data: "setting"}, 608 | ], 609 | ]; 610 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 611 | await bot.editMessageReplyMarkup(replyMarkup, {chat_id: chatId, message_id: query.message.message_id}); 612 | } else if (query.data === "start_trade") { 613 | const username = query.from.username || "Unknown"; 614 | const userid = query.from.id || "Unknown"; 615 | console.log("start trade", username, userid); 616 | await bot.sendMessage(chatId, "Copy trading bot running..."); 617 | await Monitor.startMonitor(username, userid); 618 | } 619 | 620 | await bot.answerCallbackQuery(query.id); 621 | }); 622 | 623 | async function backTrade(msg, username) { 624 | const chatId = msg.chat.id; 625 | const userDb = await User.findOne({username}); 626 | if (userDb == null) return; 627 | const solBalance = await getSolBalance(userDb.public_key); 628 | const message = ` 629 | *Welcome to copy trade bot \`${username}\`* 630 | 631 | *Your current wallet address:* 632 | \`${userDb.public_key}\` 633 | 634 | *Your current balance:* 635 | \`${solBalance} SOL\``; 636 | 637 | const currentWallet = await Target.findOne({username, added: false}); 638 | if (currentWallet != null) { 639 | const keyboard = [ 640 | [{text: `Wallet label: ${currentWallet.wallet_label || "-"}`, callback_data: "wallet_label"}], 641 | [ 642 | { 643 | text: `Target wallet: ${currentWallet.target_wallet.slice( 644 | 0, 645 | 5 646 | )}...${currentWallet.target_wallet.slice(-5)}`, 647 | callback_data: "target_wallet", 648 | }, 649 | ], 650 | [{text: `Buy percentage: ${currentWallet.buy_percentage || 0}%`, callback_data: "buy_percentage"}], 651 | [ 652 | {text: `Max Buy: ${currentWallet.max_buy || 0}`, callback_data: "max_buy"}, 653 | {text: `Min Buy: ${currentWallet.min_buy || 0}`, callback_data: "min_buy"}, 654 | ], 655 | [{text: `Total invest: ${currentWallet.total_invest_sol || 0} sol`, callback_data: "total_invest_sol"}], 656 | [ 657 | { 658 | text: `Each Token Buy times: ${currentWallet.each_token_buy_times || 0}`, 659 | callback_data: "each_token_buy_times", 660 | }, 661 | ], 662 | [ 663 | { 664 | text: `Trader's Tx max limit: ${currentWallet.trader_tx_max_limit || 0}`, 665 | callback_data: "trader_tx_max_limit", 666 | }, 667 | ], 668 | [{text: `Exclude tokens: ${currentWallet.exclude_tokens.length || 0}`, callback_data: "exclude_tokens"}], 669 | [ 670 | {text: `Max MC: ${currentWallet.max_marketcap || 0}`, callback_data: "max_mc"}, 671 | {text: `Min MC: ${currentWallet.min_marketcap || 0}`, callback_data: "min_mc"}, 672 | ], 673 | [{text: `Auto Retry: ${currentWallet.auto_retry_times || 0}`, callback_data: "auto_retry"}], 674 | [ 675 | {text: `Buy Slippage: ${currentWallet.buy_slippage || 0}%`, callback_data: "buy_slippage"}, 676 | {text: `Sell Slippage: ${currentWallet.sell_slippage || 0}%`, callback_data: "sell_slippage"}, 677 | ], 678 | [{text: `Jito Dynamic Tip: ${currentWallet.tip || 0}%`, callback_data: "tip"}], 679 | [ 680 | {text: `Buy Gas Fee: ${currentWallet.buy_gas_fee || 0} sol`, callback_data: "buy_gas_fee"}, 681 | {text: `Sell Gas Fee: ${currentWallet.sell_gas_fee || 0} sol`, callback_data: "sell_gas_fee"}, 682 | ], 683 | [{text: "➕ Create", callback_data: "create"}], 684 | [ 685 | {text: "🔙 Back", callback_data: "back_to_second"}, 686 | {text: "Refresh", callback_data: "refresh"}, 687 | ], 688 | ]; 689 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 690 | const sentMessage = await bot.sendMessage(chatId, message, { 691 | parse_mode: "MarkdownV2", 692 | reply_markup: replyMarkup, 693 | }); 694 | await deletePreviousMessages(chatId, username); 695 | if (messageIds[username]) { 696 | messageIds[username].push(sentMessage.message_id); 697 | } else { 698 | messageIds[username] = [sentMessage.message_id]; 699 | } 700 | } 701 | } 702 | 703 | async function handlePrivateKey(msg, username) { 704 | const chatId = msg.chat.id; 705 | const privateKey = msg.text; 706 | console.log(`Received private key for user @${username}: ${privateKey}`); 707 | await bot.deleteMessage(chatId, msg.message_id); 708 | let sol_public_key_str = ""; 709 | try { 710 | sol_public_key_str = await derive_public_key(privateKey); 711 | await User.findOne({username}); 712 | await User.updateOne( 713 | {username: username}, 714 | { 715 | $set: {public_key: sol_public_key_str, private_key: privateKey}, 716 | }, 717 | {upsert: true} 718 | ); 719 | const solBalance = await getSolBalance(sol_public_key_str); 720 | await deletePreviousMessages(chatId, username); 721 | const keyboard = [ 722 | [ 723 | {text: "Copy Trade", callback_data: "trade"}, 724 | {text: "Wallet Setting", callback_data: "setting"}, 725 | ], 726 | ]; 727 | const replyMarkup = JSON.stringify({inline_keyboard: keyboard}); 728 | const message = ` 729 | *Wallet updated successfully \`${username}\`* 730 | 731 | *Your current wallet address:* 732 | \`${sol_public_key_str}\` 733 | 734 | *Your current balance:* 735 | \`${solBalance} SOL\``; 736 | const sentMessage = await bot.sendMessage(chatId, message, { 737 | parse_mode: "MarkdownV2", 738 | reply_markup: replyMarkup, 739 | }); 740 | if (messageIds[username]) { 741 | messageIds[username].push(sentMessage.message_id); 742 | } else { 743 | messageIds[username] = [sentMessage.message_id]; 744 | } 745 | } catch (e) { 746 | console.error("Error fetching SOL balance:", e); 747 | const sentMessage = await bot.sendMessage(chatId, "Error fetching SOL balance. Please try again."); 748 | if (messageIds[username]) { 749 | messageIds[username].push(sentMessage.message_id); 750 | } else { 751 | messageIds[username] = [sentMessage.message_id]; 752 | } 753 | } 754 | 755 | expectingPrivateKey[username] = false; 756 | } 757 | 758 | async function handleInput(msg, username) { 759 | const chatId = msg.chat.id; 760 | const field = editingField[username]; 761 | const value = msg.text; 762 | 763 | if ( 764 | field === "buy_percentage" || 765 | field === "max_buy" || 766 | field === "min_buy" || 767 | field === "total_invest_sol" || 768 | field === "each_token_buy_times" || 769 | field === "trader_tx_max_limit" || 770 | field === "max_marketcap" || 771 | field === "min_marketcap" || 772 | field === "buy_slippage" || 773 | field === "auto_retry_times" || 774 | field === "buy_slippage" || 775 | field === "sell_slippage" || 776 | field === "tip" || 777 | field === "buy_gas_fee" || 778 | field === "sell_gas_fee" 779 | ) { 780 | // if (!/^\d+$/.test(value) || parseFloat(value) < 0) { 781 | // const sentMessage = await bot.sendMessage(chatId, "Please enter a valid number."); 782 | // if (messageIds[username]) { 783 | // messageIds[username].push(sentMessage.message_id); 784 | // } else { 785 | // messageIds[username] = [sentMessage.message_id]; 786 | // } 787 | // return; 788 | // } 789 | if (!/^\d+(\.\d+)?$/.test(value) || parseFloat(value) < 0) { 790 | const sentMessage = await bot.sendMessage(chatId, "Please enter a valid number."); 791 | if (messageIds[username]) { 792 | messageIds[username].push(sentMessage.message_id); 793 | } else { 794 | messageIds[username] = [sentMessage.message_id]; 795 | } 796 | return; 797 | } 798 | } 799 | 800 | if (field === "wallet_label") { 801 | const existWalletWallet = await Target.findOne({username, wallet_label: value}); 802 | if (existWalletWallet) { 803 | const sentMessage = await bot.sendMessage(chatId, "This wallet label already exists."); 804 | if (messageIds[username]) { 805 | messageIds[username].push(sentMessage.message_id); 806 | } else { 807 | messageIds[username] = [sentMessage.message_id]; 808 | } 809 | return; 810 | } 811 | } 812 | 813 | if (field === "target_wallet" || field === "exclude_tokens") { 814 | if (field === "target_wallet") { 815 | const existWallet = await Target.findOne({username, added: true, target_wallet: value}); 816 | if (existWallet) { 817 | const sentMessage = await bot.sendMessage( 818 | chatId, 819 | "This wallet address already exists in target wallet list." 820 | ); 821 | if (messageIds[username]) { 822 | messageIds[username].push(sentMessage.message_id); 823 | } else { 824 | messageIds[username] = [sentMessage.message_id]; 825 | } 826 | return; 827 | } 828 | } 829 | if (value.length !== 43 && value.length !== 44) { 830 | const sentMessage = await bot.sendMessage(chatId, "Please enter valid target wallet address."); 831 | if (messageIds[username]) { 832 | messageIds[username].push(sentMessage.message_id); 833 | } else { 834 | messageIds[username] = [sentMessage.message_id]; 835 | } 836 | return; 837 | } 838 | const base58Pattern = /^[A-HJ-NP-Za-km-z1-9]+$/; 839 | if (!base58Pattern.test(value)) { 840 | const sentMessage = await bot.sendMessage(chatId, "Please enter valid target wallet address."); 841 | if (messageIds[username]) { 842 | messageIds[username].push(sentMessage.message_id); 843 | } else { 844 | messageIds[username] = [sentMessage.message_id]; 845 | } 846 | return; 847 | } 848 | } 849 | await bot.deleteMessage(chatId, msg.message_id); 850 | await Target.updateOne({username, added: false}, {$set: {[field]: value}}); 851 | editingField[username] = []; 852 | await deletePreviousMessages(chatId, username); 853 | await backTrade(msg, username); 854 | } 855 | 856 | async function derive_public_key(privateKey) { 857 | const privateKeyBytes = base58.decode(privateKey); 858 | if (privateKeyBytes.length !== 64) { 859 | throw new Error("Invalid private key length for Solana."); 860 | } 861 | const solKeypair = solanaWeb3.Keypair.fromSecretKey(privateKeyBytes); 862 | const solPublicKey = solKeypair.publicKey.toBase58(); 863 | // console.log(`Derived Solana public key: ${solPublicKey}`); 864 | return solPublicKey; 865 | } 866 | 867 | async function getSolBalance(publicKey) { 868 | const solClient = new solanaWeb3.Connection(solanaWeb3.clusterApiUrl("mainnet-beta")); 869 | const solBalance = await solClient.getBalance(new solanaWeb3.PublicKey(publicKey)); 870 | const balanceInSol = solBalance / solanaWeb3.LAMPORTS_PER_SOL; 871 | // console.log(`SOL balance for ${publicKey}: ${balanceInSol} SOL`); 872 | return balanceInSol; 873 | } 874 | 875 | bot.on("message", async (msg) => { 876 | const chatId = msg.chat.id; 877 | const username = msg.from.username || "Unknown"; 878 | 879 | if (expectingPrivateKey[username]) { 880 | await handlePrivateKey(msg, username); 881 | } else { 882 | await handleInput(msg, username); 883 | } 884 | }); 885 | 886 | async function deletePreviousMessages(chatId, username) { 887 | console.log("msgIDs", messageIds); 888 | if (messageIds[username]) { 889 | for (const messageId of messageIds[username]) { 890 | try { 891 | await bot.deleteMessage(chatId, messageId); 892 | } catch (e) { 893 | console.error("Failed to delete message"); 894 | } 895 | } 896 | messageIds[username] = []; 897 | } 898 | console.log("aftermsgIDs", messageIds); 899 | } 900 | -------------------------------------------------------------------------------- /model/targetModel.js: -------------------------------------------------------------------------------- 1 | import mongoose from "mongoose"; 2 | const Schema = mongoose.Schema; 3 | 4 | // Define the User Schema 5 | const TargetSchema = new Schema( 6 | { 7 | username: { type: String, required: true }, 8 | added:{type:Boolean, default:false}, 9 | wallet_label: { type: String, default: '' }, 10 | target_wallet: { type: String, default: '' }, 11 | buy_percentage: { type: Number, default: 50 }, 12 | max_buy: { type: Number, default: 1 }, 13 | min_buy: { type: Number, default: 0.001 }, 14 | total_invest_sol: { type: Number, default: 0 }, 15 | each_token_buy_times: { type: Number, default: 0 }, 16 | trader_tx_max_limit: { type: Number, default: 0 }, 17 | exclude_tokens: { type: [String], default: [] }, 18 | max_marketcap: { type: Number, default: 0 }, 19 | min_marketcap: { type: Number, default: 0 }, 20 | auto_retry_times: { type: Number, default: 1 }, 21 | buy_slippage: { type: Number, default: 50 }, 22 | sell_slippage: { type: Number, default: 50 }, 23 | tip: { type: Number, default: 50 }, 24 | buy_gas_fee: { type: Number, default: 0.005 }, 25 | sell_gas_fee: { type: Number, default: 0.005 }, 26 | created_at: { type: Date, default: Date.now }, 27 | }, 28 | { timestamps: true } // Optional: Adds createdAt and updatedAt timestamps 29 | ); 30 | 31 | // Register the Trend model 32 | const Target = mongoose.model("Target", TargetSchema, "Target"); 33 | 34 | // Export the Trend model instead of the schema 35 | export default Target; 36 | -------------------------------------------------------------------------------- /model/userModel.js: -------------------------------------------------------------------------------- 1 | import mongoose from "mongoose"; 2 | const Schema = mongoose.Schema; 3 | 4 | // Define the User Schema 5 | const UserSchema = new Schema( 6 | { 7 | username: { type: String, required: true, unique: true }, 8 | private_key: { type: String, required: true }, 9 | public_key: { type: String, required: true } 10 | }, { 11 | timestamps: true // Automatically manage createdAt and updatedAt fields 12 | } 13 | ); 14 | 15 | // Register the Trend model 16 | const User = mongoose.model("User", UserSchema, "Userinfo"); 17 | 18 | // Export the Trend model instead of the schema 19 | export default User; 20 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "javascript", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "javascript", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@project-serum/anchor": "^0.26.0", 13 | "@solana/web3.js": "^1.98.0", 14 | "axios": "^1.7.9", 15 | "bs58": "^6.0.0", 16 | "cross-fetch": "^4.1.0", 17 | "dotenv": "^16.4.7", 18 | "mongoose": "^8.10.0", 19 | "node-telegram-bot-api": "^0.66.0", 20 | "nodemon": "^3.1.9" 21 | } 22 | }, 23 | "node_modules/@babel/runtime": { 24 | "version": "7.26.7", 25 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz", 26 | "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==", 27 | "license": "MIT", 28 | "dependencies": { 29 | "regenerator-runtime": "^0.14.0" 30 | }, 31 | "engines": { 32 | "node": ">=6.9.0" 33 | } 34 | }, 35 | "node_modules/@coral-xyz/borsh": { 36 | "version": "0.26.0", 37 | "resolved": "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.26.0.tgz", 38 | "integrity": "sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ==", 39 | "license": "Apache-2.0", 40 | "dependencies": { 41 | "bn.js": "^5.1.2", 42 | "buffer-layout": "^1.2.0" 43 | }, 44 | "engines": { 45 | "node": ">=10" 46 | }, 47 | "peerDependencies": { 48 | "@solana/web3.js": "^1.68.0" 49 | } 50 | }, 51 | "node_modules/@cypress/request": { 52 | "version": "3.0.7", 53 | "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.7.tgz", 54 | "integrity": "sha512-LzxlLEMbBOPYB85uXrDqvD4MgcenjRBLIns3zyhx7vTPj/0u2eQhzXvPiGcaJrV38Q9dbkExWp6cOHPJ+EtFYg==", 55 | "license": "Apache-2.0", 56 | "dependencies": { 57 | "aws-sign2": "~0.7.0", 58 | "aws4": "^1.8.0", 59 | "caseless": "~0.12.0", 60 | "combined-stream": "~1.0.6", 61 | "extend": "~3.0.2", 62 | "forever-agent": "~0.6.1", 63 | "form-data": "~4.0.0", 64 | "http-signature": "~1.4.0", 65 | "is-typedarray": "~1.0.0", 66 | "isstream": "~0.1.2", 67 | "json-stringify-safe": "~5.0.1", 68 | "mime-types": "~2.1.19", 69 | "performance-now": "^2.1.0", 70 | "qs": "6.13.1", 71 | "safe-buffer": "^5.1.2", 72 | "tough-cookie": "^5.0.0", 73 | "tunnel-agent": "^0.6.0", 74 | "uuid": "^8.3.2" 75 | }, 76 | "engines": { 77 | "node": ">= 6" 78 | } 79 | }, 80 | "node_modules/@cypress/request-promise": { 81 | "version": "5.0.0", 82 | "resolved": "https://registry.npmjs.org/@cypress/request-promise/-/request-promise-5.0.0.tgz", 83 | "integrity": "sha512-eKdYVpa9cBEw2kTBlHeu1PP16Blwtum6QHg/u9s/MoHkZfuo1pRGka1VlUHXF5kdew82BvOJVVGk0x8X0nbp+w==", 84 | "license": "ISC", 85 | "dependencies": { 86 | "bluebird": "^3.5.0", 87 | "request-promise-core": "1.1.3", 88 | "stealthy-require": "^1.1.1", 89 | "tough-cookie": "^4.1.3" 90 | }, 91 | "engines": { 92 | "node": ">=0.10.0" 93 | }, 94 | "peerDependencies": { 95 | "@cypress/request": "^3.0.0" 96 | } 97 | }, 98 | "node_modules/@cypress/request-promise/node_modules/tough-cookie": { 99 | "version": "4.1.4", 100 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", 101 | "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", 102 | "license": "BSD-3-Clause", 103 | "dependencies": { 104 | "psl": "^1.1.33", 105 | "punycode": "^2.1.1", 106 | "universalify": "^0.2.0", 107 | "url-parse": "^1.5.3" 108 | }, 109 | "engines": { 110 | "node": ">=6" 111 | } 112 | }, 113 | "node_modules/@mongodb-js/saslprep": { 114 | "version": "1.1.9", 115 | "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.9.tgz", 116 | "integrity": "sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw==", 117 | "license": "MIT", 118 | "dependencies": { 119 | "sparse-bitfield": "^3.0.3" 120 | } 121 | }, 122 | "node_modules/@noble/curves": { 123 | "version": "1.8.1", 124 | "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.8.1.tgz", 125 | "integrity": "sha512-warwspo+UYUPep0Q+vtdVB4Ugn8GGQj8iyB3gnRWsztmUHTI3S1nhdiWNsPUGL0vud7JlRRk1XEu7Lq1KGTnMQ==", 126 | "license": "MIT", 127 | "dependencies": { 128 | "@noble/hashes": "1.7.1" 129 | }, 130 | "engines": { 131 | "node": "^14.21.3 || >=16" 132 | }, 133 | "funding": { 134 | "url": "https://paulmillr.com/funding/" 135 | } 136 | }, 137 | "node_modules/@noble/hashes": { 138 | "version": "1.7.1", 139 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.7.1.tgz", 140 | "integrity": "sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==", 141 | "license": "MIT", 142 | "engines": { 143 | "node": "^14.21.3 || >=16" 144 | }, 145 | "funding": { 146 | "url": "https://paulmillr.com/funding/" 147 | } 148 | }, 149 | "node_modules/@project-serum/anchor": { 150 | "version": "0.26.0", 151 | "resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.26.0.tgz", 152 | "integrity": "sha512-Nq+COIjE1135T7qfnOHEn7E0q39bQTgXLFk837/rgFe6Hkew9WML7eHsS+lSYD2p3OJaTiUOHTAq1lHy36oIqQ==", 153 | "license": "(MIT OR Apache-2.0)", 154 | "dependencies": { 155 | "@coral-xyz/borsh": "^0.26.0", 156 | "@solana/web3.js": "^1.68.0", 157 | "base64-js": "^1.5.1", 158 | "bn.js": "^5.1.2", 159 | "bs58": "^4.0.1", 160 | "buffer-layout": "^1.2.2", 161 | "camelcase": "^6.3.0", 162 | "cross-fetch": "^3.1.5", 163 | "crypto-hash": "^1.3.0", 164 | "eventemitter3": "^4.0.7", 165 | "js-sha256": "^0.9.0", 166 | "pako": "^2.0.3", 167 | "snake-case": "^3.0.4", 168 | "superstruct": "^0.15.4", 169 | "toml": "^3.0.0" 170 | }, 171 | "engines": { 172 | "node": ">=11" 173 | } 174 | }, 175 | "node_modules/@project-serum/anchor/node_modules/base-x": { 176 | "version": "3.0.10", 177 | "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", 178 | "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", 179 | "license": "MIT", 180 | "dependencies": { 181 | "safe-buffer": "^5.0.1" 182 | } 183 | }, 184 | "node_modules/@project-serum/anchor/node_modules/bs58": { 185 | "version": "4.0.1", 186 | "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", 187 | "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", 188 | "license": "MIT", 189 | "dependencies": { 190 | "base-x": "^3.0.2" 191 | } 192 | }, 193 | "node_modules/@project-serum/anchor/node_modules/cross-fetch": { 194 | "version": "3.2.0", 195 | "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz", 196 | "integrity": "sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==", 197 | "license": "MIT", 198 | "dependencies": { 199 | "node-fetch": "^2.7.0" 200 | } 201 | }, 202 | "node_modules/@project-serum/anchor/node_modules/eventemitter3": { 203 | "version": "4.0.7", 204 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", 205 | "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", 206 | "license": "MIT" 207 | }, 208 | "node_modules/@project-serum/anchor/node_modules/superstruct": { 209 | "version": "0.15.5", 210 | "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.15.5.tgz", 211 | "integrity": "sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==", 212 | "license": "MIT" 213 | }, 214 | "node_modules/@solana/buffer-layout": { 215 | "version": "4.0.1", 216 | "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", 217 | "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", 218 | "license": "MIT", 219 | "dependencies": { 220 | "buffer": "~6.0.3" 221 | }, 222 | "engines": { 223 | "node": ">=5.10" 224 | } 225 | }, 226 | "node_modules/@solana/web3.js": { 227 | "version": "1.98.0", 228 | "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.98.0.tgz", 229 | "integrity": "sha512-nz3Q5OeyGFpFCR+erX2f6JPt3sKhzhYcSycBCSPkWjzSVDh/Rr1FqTVMRe58FKO16/ivTUcuJjeS5MyBvpkbzA==", 230 | "license": "MIT", 231 | "dependencies": { 232 | "@babel/runtime": "^7.25.0", 233 | "@noble/curves": "^1.4.2", 234 | "@noble/hashes": "^1.4.0", 235 | "@solana/buffer-layout": "^4.0.1", 236 | "agentkeepalive": "^4.5.0", 237 | "bigint-buffer": "^1.1.5", 238 | "bn.js": "^5.2.1", 239 | "borsh": "^0.7.0", 240 | "bs58": "^4.0.1", 241 | "buffer": "6.0.3", 242 | "fast-stable-stringify": "^1.0.0", 243 | "jayson": "^4.1.1", 244 | "node-fetch": "^2.7.0", 245 | "rpc-websockets": "^9.0.2", 246 | "superstruct": "^2.0.2" 247 | } 248 | }, 249 | "node_modules/@solana/web3.js/node_modules/base-x": { 250 | "version": "3.0.10", 251 | "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", 252 | "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", 253 | "license": "MIT", 254 | "dependencies": { 255 | "safe-buffer": "^5.0.1" 256 | } 257 | }, 258 | "node_modules/@solana/web3.js/node_modules/bs58": { 259 | "version": "4.0.1", 260 | "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", 261 | "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", 262 | "license": "MIT", 263 | "dependencies": { 264 | "base-x": "^3.0.2" 265 | } 266 | }, 267 | "node_modules/@swc/helpers": { 268 | "version": "0.5.15", 269 | "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz", 270 | "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==", 271 | "license": "Apache-2.0", 272 | "dependencies": { 273 | "tslib": "^2.8.0" 274 | } 275 | }, 276 | "node_modules/@types/connect": { 277 | "version": "3.4.38", 278 | "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", 279 | "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", 280 | "license": "MIT", 281 | "dependencies": { 282 | "@types/node": "*" 283 | } 284 | }, 285 | "node_modules/@types/node": { 286 | "version": "12.20.55", 287 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", 288 | "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", 289 | "license": "MIT" 290 | }, 291 | "node_modules/@types/uuid": { 292 | "version": "8.3.4", 293 | "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", 294 | "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", 295 | "license": "MIT" 296 | }, 297 | "node_modules/@types/webidl-conversions": { 298 | "version": "7.0.3", 299 | "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", 300 | "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==", 301 | "license": "MIT" 302 | }, 303 | "node_modules/@types/whatwg-url": { 304 | "version": "11.0.5", 305 | "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", 306 | "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", 307 | "license": "MIT", 308 | "dependencies": { 309 | "@types/webidl-conversions": "*" 310 | } 311 | }, 312 | "node_modules/@types/ws": { 313 | "version": "7.4.7", 314 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", 315 | "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", 316 | "license": "MIT", 317 | "dependencies": { 318 | "@types/node": "*" 319 | } 320 | }, 321 | "node_modules/agentkeepalive": { 322 | "version": "4.6.0", 323 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz", 324 | "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", 325 | "license": "MIT", 326 | "dependencies": { 327 | "humanize-ms": "^1.2.1" 328 | }, 329 | "engines": { 330 | "node": ">= 8.0.0" 331 | } 332 | }, 333 | "node_modules/ajv": { 334 | "version": "6.12.6", 335 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 336 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 337 | "license": "MIT", 338 | "peer": true, 339 | "dependencies": { 340 | "fast-deep-equal": "^3.1.1", 341 | "fast-json-stable-stringify": "^2.0.0", 342 | "json-schema-traverse": "^0.4.1", 343 | "uri-js": "^4.2.2" 344 | }, 345 | "funding": { 346 | "type": "github", 347 | "url": "https://github.com/sponsors/epoberezkin" 348 | } 349 | }, 350 | "node_modules/anymatch": { 351 | "version": "3.1.3", 352 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 353 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 354 | "license": "ISC", 355 | "dependencies": { 356 | "normalize-path": "^3.0.0", 357 | "picomatch": "^2.0.4" 358 | }, 359 | "engines": { 360 | "node": ">= 8" 361 | } 362 | }, 363 | "node_modules/array-buffer-byte-length": { 364 | "version": "1.0.2", 365 | "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", 366 | "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", 367 | "license": "MIT", 368 | "dependencies": { 369 | "call-bound": "^1.0.3", 370 | "is-array-buffer": "^3.0.5" 371 | }, 372 | "engines": { 373 | "node": ">= 0.4" 374 | }, 375 | "funding": { 376 | "url": "https://github.com/sponsors/ljharb" 377 | } 378 | }, 379 | "node_modules/array.prototype.findindex": { 380 | "version": "2.2.4", 381 | "resolved": "https://registry.npmjs.org/array.prototype.findindex/-/array.prototype.findindex-2.2.4.tgz", 382 | "integrity": "sha512-LLm4mhxa9v8j0A/RPnpQAP4svXToJFh+Hp1pNYl5ZD5qpB4zdx/D4YjpVcETkhFbUKWO3iGMVLvrOnnmkAJT6A==", 383 | "license": "MIT", 384 | "dependencies": { 385 | "call-bind": "^1.0.8", 386 | "call-bound": "^1.0.3", 387 | "define-properties": "^1.2.1", 388 | "es-abstract": "^1.23.6", 389 | "es-object-atoms": "^1.0.0", 390 | "es-shim-unscopables": "^1.0.2" 391 | }, 392 | "engines": { 393 | "node": ">= 0.4" 394 | } 395 | }, 396 | "node_modules/arraybuffer.prototype.slice": { 397 | "version": "1.0.4", 398 | "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", 399 | "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", 400 | "license": "MIT", 401 | "dependencies": { 402 | "array-buffer-byte-length": "^1.0.1", 403 | "call-bind": "^1.0.8", 404 | "define-properties": "^1.2.1", 405 | "es-abstract": "^1.23.5", 406 | "es-errors": "^1.3.0", 407 | "get-intrinsic": "^1.2.6", 408 | "is-array-buffer": "^3.0.4" 409 | }, 410 | "engines": { 411 | "node": ">= 0.4" 412 | }, 413 | "funding": { 414 | "url": "https://github.com/sponsors/ljharb" 415 | } 416 | }, 417 | "node_modules/asn1": { 418 | "version": "0.2.6", 419 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", 420 | "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", 421 | "license": "MIT", 422 | "dependencies": { 423 | "safer-buffer": "~2.1.0" 424 | } 425 | }, 426 | "node_modules/assert-plus": { 427 | "version": "1.0.0", 428 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 429 | "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", 430 | "license": "MIT", 431 | "engines": { 432 | "node": ">=0.8" 433 | } 434 | }, 435 | "node_modules/async-function": { 436 | "version": "1.0.0", 437 | "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", 438 | "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", 439 | "license": "MIT", 440 | "engines": { 441 | "node": ">= 0.4" 442 | } 443 | }, 444 | "node_modules/asynckit": { 445 | "version": "0.4.0", 446 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 447 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", 448 | "license": "MIT" 449 | }, 450 | "node_modules/available-typed-arrays": { 451 | "version": "1.0.7", 452 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", 453 | "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", 454 | "license": "MIT", 455 | "dependencies": { 456 | "possible-typed-array-names": "^1.0.0" 457 | }, 458 | "engines": { 459 | "node": ">= 0.4" 460 | }, 461 | "funding": { 462 | "url": "https://github.com/sponsors/ljharb" 463 | } 464 | }, 465 | "node_modules/aws-sign2": { 466 | "version": "0.7.0", 467 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 468 | "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", 469 | "license": "Apache-2.0", 470 | "engines": { 471 | "node": "*" 472 | } 473 | }, 474 | "node_modules/aws4": { 475 | "version": "1.13.2", 476 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", 477 | "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==", 478 | "license": "MIT" 479 | }, 480 | "node_modules/axios": { 481 | "version": "1.7.9", 482 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", 483 | "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", 484 | "license": "MIT", 485 | "dependencies": { 486 | "follow-redirects": "^1.15.6", 487 | "form-data": "^4.0.0", 488 | "proxy-from-env": "^1.1.0" 489 | } 490 | }, 491 | "node_modules/balanced-match": { 492 | "version": "1.0.2", 493 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 494 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 495 | "license": "MIT" 496 | }, 497 | "node_modules/base-x": { 498 | "version": "5.0.0", 499 | "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.0.tgz", 500 | "integrity": "sha512-sMW3VGSX1QWVFA6l8U62MLKz29rRfpTlYdCqLdpLo1/Yd4zZwSbnUaDfciIAowAqvq7YFnWq9hrhdg1KYgc1lQ==", 501 | "license": "MIT" 502 | }, 503 | "node_modules/base64-js": { 504 | "version": "1.5.1", 505 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 506 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 507 | "funding": [ 508 | { 509 | "type": "github", 510 | "url": "https://github.com/sponsors/feross" 511 | }, 512 | { 513 | "type": "patreon", 514 | "url": "https://www.patreon.com/feross" 515 | }, 516 | { 517 | "type": "consulting", 518 | "url": "https://feross.org/support" 519 | } 520 | ], 521 | "license": "MIT" 522 | }, 523 | "node_modules/bcrypt-pbkdf": { 524 | "version": "1.0.2", 525 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 526 | "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", 527 | "license": "BSD-3-Clause", 528 | "dependencies": { 529 | "tweetnacl": "^0.14.3" 530 | } 531 | }, 532 | "node_modules/bigint-buffer": { 533 | "version": "1.1.5", 534 | "resolved": "https://registry.npmjs.org/bigint-buffer/-/bigint-buffer-1.1.5.tgz", 535 | "integrity": "sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==", 536 | "hasInstallScript": true, 537 | "license": "Apache-2.0", 538 | "dependencies": { 539 | "bindings": "^1.3.0" 540 | }, 541 | "engines": { 542 | "node": ">= 10.0.0" 543 | } 544 | }, 545 | "node_modules/binary-extensions": { 546 | "version": "2.3.0", 547 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 548 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 549 | "license": "MIT", 550 | "engines": { 551 | "node": ">=8" 552 | }, 553 | "funding": { 554 | "url": "https://github.com/sponsors/sindresorhus" 555 | } 556 | }, 557 | "node_modules/bindings": { 558 | "version": "1.5.0", 559 | "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", 560 | "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", 561 | "license": "MIT", 562 | "dependencies": { 563 | "file-uri-to-path": "1.0.0" 564 | } 565 | }, 566 | "node_modules/bl": { 567 | "version": "1.2.3", 568 | "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz", 569 | "integrity": "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==", 570 | "license": "MIT", 571 | "dependencies": { 572 | "readable-stream": "^2.3.5", 573 | "safe-buffer": "^5.1.1" 574 | } 575 | }, 576 | "node_modules/bluebird": { 577 | "version": "3.7.2", 578 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", 579 | "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", 580 | "license": "MIT" 581 | }, 582 | "node_modules/bn.js": { 583 | "version": "5.2.1", 584 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", 585 | "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", 586 | "license": "MIT" 587 | }, 588 | "node_modules/borsh": { 589 | "version": "0.7.0", 590 | "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", 591 | "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", 592 | "license": "Apache-2.0", 593 | "dependencies": { 594 | "bn.js": "^5.2.0", 595 | "bs58": "^4.0.0", 596 | "text-encoding-utf-8": "^1.0.2" 597 | } 598 | }, 599 | "node_modules/borsh/node_modules/base-x": { 600 | "version": "3.0.10", 601 | "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", 602 | "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", 603 | "license": "MIT", 604 | "dependencies": { 605 | "safe-buffer": "^5.0.1" 606 | } 607 | }, 608 | "node_modules/borsh/node_modules/bs58": { 609 | "version": "4.0.1", 610 | "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", 611 | "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", 612 | "license": "MIT", 613 | "dependencies": { 614 | "base-x": "^3.0.2" 615 | } 616 | }, 617 | "node_modules/brace-expansion": { 618 | "version": "1.1.11", 619 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 620 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 621 | "license": "MIT", 622 | "dependencies": { 623 | "balanced-match": "^1.0.0", 624 | "concat-map": "0.0.1" 625 | } 626 | }, 627 | "node_modules/braces": { 628 | "version": "3.0.3", 629 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 630 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 631 | "license": "MIT", 632 | "dependencies": { 633 | "fill-range": "^7.1.1" 634 | }, 635 | "engines": { 636 | "node": ">=8" 637 | } 638 | }, 639 | "node_modules/bs58": { 640 | "version": "6.0.0", 641 | "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz", 642 | "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==", 643 | "license": "MIT", 644 | "dependencies": { 645 | "base-x": "^5.0.0" 646 | } 647 | }, 648 | "node_modules/bson": { 649 | "version": "6.10.2", 650 | "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.2.tgz", 651 | "integrity": "sha512-5afhLTjqDSA3akH56E+/2J6kTDuSIlBxyXPdQslj9hcIgOUE378xdOfZvC/9q3LifJNI6KR/juZ+d0NRNYBwXg==", 652 | "license": "Apache-2.0", 653 | "engines": { 654 | "node": ">=16.20.1" 655 | } 656 | }, 657 | "node_modules/buffer": { 658 | "version": "6.0.3", 659 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", 660 | "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", 661 | "funding": [ 662 | { 663 | "type": "github", 664 | "url": "https://github.com/sponsors/feross" 665 | }, 666 | { 667 | "type": "patreon", 668 | "url": "https://www.patreon.com/feross" 669 | }, 670 | { 671 | "type": "consulting", 672 | "url": "https://feross.org/support" 673 | } 674 | ], 675 | "license": "MIT", 676 | "dependencies": { 677 | "base64-js": "^1.3.1", 678 | "ieee754": "^1.2.1" 679 | } 680 | }, 681 | "node_modules/buffer-layout": { 682 | "version": "1.2.2", 683 | "resolved": "https://registry.npmjs.org/buffer-layout/-/buffer-layout-1.2.2.tgz", 684 | "integrity": "sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==", 685 | "license": "MIT", 686 | "engines": { 687 | "node": ">=4.5" 688 | } 689 | }, 690 | "node_modules/bufferutil": { 691 | "version": "4.0.9", 692 | "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.9.tgz", 693 | "integrity": "sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw==", 694 | "hasInstallScript": true, 695 | "license": "MIT", 696 | "optional": true, 697 | "dependencies": { 698 | "node-gyp-build": "^4.3.0" 699 | }, 700 | "engines": { 701 | "node": ">=6.14.2" 702 | } 703 | }, 704 | "node_modules/call-bind": { 705 | "version": "1.0.8", 706 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", 707 | "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", 708 | "license": "MIT", 709 | "dependencies": { 710 | "call-bind-apply-helpers": "^1.0.0", 711 | "es-define-property": "^1.0.0", 712 | "get-intrinsic": "^1.2.4", 713 | "set-function-length": "^1.2.2" 714 | }, 715 | "engines": { 716 | "node": ">= 0.4" 717 | }, 718 | "funding": { 719 | "url": "https://github.com/sponsors/ljharb" 720 | } 721 | }, 722 | "node_modules/call-bind-apply-helpers": { 723 | "version": "1.0.1", 724 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", 725 | "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", 726 | "license": "MIT", 727 | "dependencies": { 728 | "es-errors": "^1.3.0", 729 | "function-bind": "^1.1.2" 730 | }, 731 | "engines": { 732 | "node": ">= 0.4" 733 | } 734 | }, 735 | "node_modules/call-bound": { 736 | "version": "1.0.3", 737 | "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", 738 | "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", 739 | "license": "MIT", 740 | "dependencies": { 741 | "call-bind-apply-helpers": "^1.0.1", 742 | "get-intrinsic": "^1.2.6" 743 | }, 744 | "engines": { 745 | "node": ">= 0.4" 746 | }, 747 | "funding": { 748 | "url": "https://github.com/sponsors/ljharb" 749 | } 750 | }, 751 | "node_modules/camelcase": { 752 | "version": "6.3.0", 753 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 754 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 755 | "license": "MIT", 756 | "engines": { 757 | "node": ">=10" 758 | }, 759 | "funding": { 760 | "url": "https://github.com/sponsors/sindresorhus" 761 | } 762 | }, 763 | "node_modules/caseless": { 764 | "version": "0.12.0", 765 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 766 | "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", 767 | "license": "Apache-2.0" 768 | }, 769 | "node_modules/chokidar": { 770 | "version": "3.6.0", 771 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 772 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 773 | "license": "MIT", 774 | "dependencies": { 775 | "anymatch": "~3.1.2", 776 | "braces": "~3.0.2", 777 | "glob-parent": "~5.1.2", 778 | "is-binary-path": "~2.1.0", 779 | "is-glob": "~4.0.1", 780 | "normalize-path": "~3.0.0", 781 | "readdirp": "~3.6.0" 782 | }, 783 | "engines": { 784 | "node": ">= 8.10.0" 785 | }, 786 | "funding": { 787 | "url": "https://paulmillr.com/funding/" 788 | }, 789 | "optionalDependencies": { 790 | "fsevents": "~2.3.2" 791 | } 792 | }, 793 | "node_modules/combined-stream": { 794 | "version": "1.0.8", 795 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 796 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 797 | "license": "MIT", 798 | "dependencies": { 799 | "delayed-stream": "~1.0.0" 800 | }, 801 | "engines": { 802 | "node": ">= 0.8" 803 | } 804 | }, 805 | "node_modules/commander": { 806 | "version": "2.20.3", 807 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 808 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 809 | "license": "MIT" 810 | }, 811 | "node_modules/concat-map": { 812 | "version": "0.0.1", 813 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 814 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 815 | "license": "MIT" 816 | }, 817 | "node_modules/core-util-is": { 818 | "version": "1.0.3", 819 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 820 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", 821 | "license": "MIT" 822 | }, 823 | "node_modules/cross-fetch": { 824 | "version": "4.1.0", 825 | "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", 826 | "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==", 827 | "license": "MIT", 828 | "dependencies": { 829 | "node-fetch": "^2.7.0" 830 | } 831 | }, 832 | "node_modules/crypto-hash": { 833 | "version": "1.3.0", 834 | "resolved": "https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.3.0.tgz", 835 | "integrity": "sha512-lyAZ0EMyjDkVvz8WOeVnuCPvKVBXcMv1l5SVqO1yC7PzTwrD/pPje/BIRbWhMoPe436U+Y2nD7f5bFx0kt+Sbg==", 836 | "license": "MIT", 837 | "engines": { 838 | "node": ">=8" 839 | }, 840 | "funding": { 841 | "url": "https://github.com/sponsors/sindresorhus" 842 | } 843 | }, 844 | "node_modules/dashdash": { 845 | "version": "1.14.1", 846 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 847 | "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", 848 | "license": "MIT", 849 | "dependencies": { 850 | "assert-plus": "^1.0.0" 851 | }, 852 | "engines": { 853 | "node": ">=0.10" 854 | } 855 | }, 856 | "node_modules/data-view-buffer": { 857 | "version": "1.0.2", 858 | "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", 859 | "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", 860 | "license": "MIT", 861 | "dependencies": { 862 | "call-bound": "^1.0.3", 863 | "es-errors": "^1.3.0", 864 | "is-data-view": "^1.0.2" 865 | }, 866 | "engines": { 867 | "node": ">= 0.4" 868 | }, 869 | "funding": { 870 | "url": "https://github.com/sponsors/ljharb" 871 | } 872 | }, 873 | "node_modules/data-view-byte-length": { 874 | "version": "1.0.2", 875 | "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", 876 | "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", 877 | "license": "MIT", 878 | "dependencies": { 879 | "call-bound": "^1.0.3", 880 | "es-errors": "^1.3.0", 881 | "is-data-view": "^1.0.2" 882 | }, 883 | "engines": { 884 | "node": ">= 0.4" 885 | }, 886 | "funding": { 887 | "url": "https://github.com/sponsors/inspect-js" 888 | } 889 | }, 890 | "node_modules/data-view-byte-offset": { 891 | "version": "1.0.1", 892 | "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", 893 | "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", 894 | "license": "MIT", 895 | "dependencies": { 896 | "call-bound": "^1.0.2", 897 | "es-errors": "^1.3.0", 898 | "is-data-view": "^1.0.1" 899 | }, 900 | "engines": { 901 | "node": ">= 0.4" 902 | }, 903 | "funding": { 904 | "url": "https://github.com/sponsors/ljharb" 905 | } 906 | }, 907 | "node_modules/debug": { 908 | "version": "3.2.7", 909 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 910 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 911 | "license": "MIT", 912 | "dependencies": { 913 | "ms": "^2.1.1" 914 | } 915 | }, 916 | "node_modules/define-data-property": { 917 | "version": "1.1.4", 918 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", 919 | "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", 920 | "license": "MIT", 921 | "dependencies": { 922 | "es-define-property": "^1.0.0", 923 | "es-errors": "^1.3.0", 924 | "gopd": "^1.0.1" 925 | }, 926 | "engines": { 927 | "node": ">= 0.4" 928 | }, 929 | "funding": { 930 | "url": "https://github.com/sponsors/ljharb" 931 | } 932 | }, 933 | "node_modules/define-properties": { 934 | "version": "1.2.1", 935 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", 936 | "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", 937 | "license": "MIT", 938 | "dependencies": { 939 | "define-data-property": "^1.0.1", 940 | "has-property-descriptors": "^1.0.0", 941 | "object-keys": "^1.1.1" 942 | }, 943 | "engines": { 944 | "node": ">= 0.4" 945 | }, 946 | "funding": { 947 | "url": "https://github.com/sponsors/ljharb" 948 | } 949 | }, 950 | "node_modules/delay": { 951 | "version": "5.0.0", 952 | "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", 953 | "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", 954 | "license": "MIT", 955 | "engines": { 956 | "node": ">=10" 957 | }, 958 | "funding": { 959 | "url": "https://github.com/sponsors/sindresorhus" 960 | } 961 | }, 962 | "node_modules/delayed-stream": { 963 | "version": "1.0.0", 964 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 965 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 966 | "license": "MIT", 967 | "engines": { 968 | "node": ">=0.4.0" 969 | } 970 | }, 971 | "node_modules/dot-case": { 972 | "version": "3.0.4", 973 | "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", 974 | "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", 975 | "license": "MIT", 976 | "dependencies": { 977 | "no-case": "^3.0.4", 978 | "tslib": "^2.0.3" 979 | } 980 | }, 981 | "node_modules/dotenv": { 982 | "version": "16.4.7", 983 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", 984 | "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", 985 | "license": "BSD-2-Clause", 986 | "engines": { 987 | "node": ">=12" 988 | }, 989 | "funding": { 990 | "url": "https://dotenvx.com" 991 | } 992 | }, 993 | "node_modules/dunder-proto": { 994 | "version": "1.0.1", 995 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", 996 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", 997 | "license": "MIT", 998 | "dependencies": { 999 | "call-bind-apply-helpers": "^1.0.1", 1000 | "es-errors": "^1.3.0", 1001 | "gopd": "^1.2.0" 1002 | }, 1003 | "engines": { 1004 | "node": ">= 0.4" 1005 | } 1006 | }, 1007 | "node_modules/ecc-jsbn": { 1008 | "version": "0.1.2", 1009 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 1010 | "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", 1011 | "license": "MIT", 1012 | "dependencies": { 1013 | "jsbn": "~0.1.0", 1014 | "safer-buffer": "^2.1.0" 1015 | } 1016 | }, 1017 | "node_modules/end-of-stream": { 1018 | "version": "1.4.4", 1019 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 1020 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 1021 | "license": "MIT", 1022 | "dependencies": { 1023 | "once": "^1.4.0" 1024 | } 1025 | }, 1026 | "node_modules/es-abstract": { 1027 | "version": "1.23.9", 1028 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", 1029 | "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", 1030 | "license": "MIT", 1031 | "dependencies": { 1032 | "array-buffer-byte-length": "^1.0.2", 1033 | "arraybuffer.prototype.slice": "^1.0.4", 1034 | "available-typed-arrays": "^1.0.7", 1035 | "call-bind": "^1.0.8", 1036 | "call-bound": "^1.0.3", 1037 | "data-view-buffer": "^1.0.2", 1038 | "data-view-byte-length": "^1.0.2", 1039 | "data-view-byte-offset": "^1.0.1", 1040 | "es-define-property": "^1.0.1", 1041 | "es-errors": "^1.3.0", 1042 | "es-object-atoms": "^1.0.0", 1043 | "es-set-tostringtag": "^2.1.0", 1044 | "es-to-primitive": "^1.3.0", 1045 | "function.prototype.name": "^1.1.8", 1046 | "get-intrinsic": "^1.2.7", 1047 | "get-proto": "^1.0.0", 1048 | "get-symbol-description": "^1.1.0", 1049 | "globalthis": "^1.0.4", 1050 | "gopd": "^1.2.0", 1051 | "has-property-descriptors": "^1.0.2", 1052 | "has-proto": "^1.2.0", 1053 | "has-symbols": "^1.1.0", 1054 | "hasown": "^2.0.2", 1055 | "internal-slot": "^1.1.0", 1056 | "is-array-buffer": "^3.0.5", 1057 | "is-callable": "^1.2.7", 1058 | "is-data-view": "^1.0.2", 1059 | "is-regex": "^1.2.1", 1060 | "is-shared-array-buffer": "^1.0.4", 1061 | "is-string": "^1.1.1", 1062 | "is-typed-array": "^1.1.15", 1063 | "is-weakref": "^1.1.0", 1064 | "math-intrinsics": "^1.1.0", 1065 | "object-inspect": "^1.13.3", 1066 | "object-keys": "^1.1.1", 1067 | "object.assign": "^4.1.7", 1068 | "own-keys": "^1.0.1", 1069 | "regexp.prototype.flags": "^1.5.3", 1070 | "safe-array-concat": "^1.1.3", 1071 | "safe-push-apply": "^1.0.0", 1072 | "safe-regex-test": "^1.1.0", 1073 | "set-proto": "^1.0.0", 1074 | "string.prototype.trim": "^1.2.10", 1075 | "string.prototype.trimend": "^1.0.9", 1076 | "string.prototype.trimstart": "^1.0.8", 1077 | "typed-array-buffer": "^1.0.3", 1078 | "typed-array-byte-length": "^1.0.3", 1079 | "typed-array-byte-offset": "^1.0.4", 1080 | "typed-array-length": "^1.0.7", 1081 | "unbox-primitive": "^1.1.0", 1082 | "which-typed-array": "^1.1.18" 1083 | }, 1084 | "engines": { 1085 | "node": ">= 0.4" 1086 | }, 1087 | "funding": { 1088 | "url": "https://github.com/sponsors/ljharb" 1089 | } 1090 | }, 1091 | "node_modules/es-define-property": { 1092 | "version": "1.0.1", 1093 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", 1094 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", 1095 | "license": "MIT", 1096 | "engines": { 1097 | "node": ">= 0.4" 1098 | } 1099 | }, 1100 | "node_modules/es-errors": { 1101 | "version": "1.3.0", 1102 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 1103 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", 1104 | "license": "MIT", 1105 | "engines": { 1106 | "node": ">= 0.4" 1107 | } 1108 | }, 1109 | "node_modules/es-object-atoms": { 1110 | "version": "1.1.1", 1111 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", 1112 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", 1113 | "license": "MIT", 1114 | "dependencies": { 1115 | "es-errors": "^1.3.0" 1116 | }, 1117 | "engines": { 1118 | "node": ">= 0.4" 1119 | } 1120 | }, 1121 | "node_modules/es-set-tostringtag": { 1122 | "version": "2.1.0", 1123 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", 1124 | "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", 1125 | "license": "MIT", 1126 | "dependencies": { 1127 | "es-errors": "^1.3.0", 1128 | "get-intrinsic": "^1.2.6", 1129 | "has-tostringtag": "^1.0.2", 1130 | "hasown": "^2.0.2" 1131 | }, 1132 | "engines": { 1133 | "node": ">= 0.4" 1134 | } 1135 | }, 1136 | "node_modules/es-shim-unscopables": { 1137 | "version": "1.0.2", 1138 | "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", 1139 | "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", 1140 | "license": "MIT", 1141 | "dependencies": { 1142 | "hasown": "^2.0.0" 1143 | } 1144 | }, 1145 | "node_modules/es-to-primitive": { 1146 | "version": "1.3.0", 1147 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", 1148 | "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", 1149 | "license": "MIT", 1150 | "dependencies": { 1151 | "is-callable": "^1.2.7", 1152 | "is-date-object": "^1.0.5", 1153 | "is-symbol": "^1.0.4" 1154 | }, 1155 | "engines": { 1156 | "node": ">= 0.4" 1157 | }, 1158 | "funding": { 1159 | "url": "https://github.com/sponsors/ljharb" 1160 | } 1161 | }, 1162 | "node_modules/es6-promise": { 1163 | "version": "4.2.8", 1164 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", 1165 | "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", 1166 | "license": "MIT" 1167 | }, 1168 | "node_modules/es6-promisify": { 1169 | "version": "5.0.0", 1170 | "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", 1171 | "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", 1172 | "license": "MIT", 1173 | "dependencies": { 1174 | "es6-promise": "^4.0.3" 1175 | } 1176 | }, 1177 | "node_modules/eventemitter3": { 1178 | "version": "3.1.2", 1179 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz", 1180 | "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==", 1181 | "license": "MIT" 1182 | }, 1183 | "node_modules/extend": { 1184 | "version": "3.0.2", 1185 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 1186 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", 1187 | "license": "MIT" 1188 | }, 1189 | "node_modules/extsprintf": { 1190 | "version": "1.3.0", 1191 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 1192 | "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", 1193 | "engines": [ 1194 | "node >=0.6.0" 1195 | ], 1196 | "license": "MIT" 1197 | }, 1198 | "node_modules/eyes": { 1199 | "version": "0.1.8", 1200 | "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", 1201 | "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", 1202 | "engines": { 1203 | "node": "> 0.1.90" 1204 | } 1205 | }, 1206 | "node_modules/fast-deep-equal": { 1207 | "version": "3.1.3", 1208 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1209 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1210 | "license": "MIT", 1211 | "peer": true 1212 | }, 1213 | "node_modules/fast-json-stable-stringify": { 1214 | "version": "2.1.0", 1215 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1216 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1217 | "license": "MIT", 1218 | "peer": true 1219 | }, 1220 | "node_modules/fast-stable-stringify": { 1221 | "version": "1.0.0", 1222 | "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz", 1223 | "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==", 1224 | "license": "MIT" 1225 | }, 1226 | "node_modules/file-type": { 1227 | "version": "3.9.0", 1228 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", 1229 | "integrity": "sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==", 1230 | "license": "MIT", 1231 | "engines": { 1232 | "node": ">=0.10.0" 1233 | } 1234 | }, 1235 | "node_modules/file-uri-to-path": { 1236 | "version": "1.0.0", 1237 | "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", 1238 | "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", 1239 | "license": "MIT" 1240 | }, 1241 | "node_modules/fill-range": { 1242 | "version": "7.1.1", 1243 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1244 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1245 | "license": "MIT", 1246 | "dependencies": { 1247 | "to-regex-range": "^5.0.1" 1248 | }, 1249 | "engines": { 1250 | "node": ">=8" 1251 | } 1252 | }, 1253 | "node_modules/follow-redirects": { 1254 | "version": "1.15.9", 1255 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", 1256 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", 1257 | "funding": [ 1258 | { 1259 | "type": "individual", 1260 | "url": "https://github.com/sponsors/RubenVerborgh" 1261 | } 1262 | ], 1263 | "license": "MIT", 1264 | "engines": { 1265 | "node": ">=4.0" 1266 | }, 1267 | "peerDependenciesMeta": { 1268 | "debug": { 1269 | "optional": true 1270 | } 1271 | } 1272 | }, 1273 | "node_modules/for-each": { 1274 | "version": "0.3.4", 1275 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.4.tgz", 1276 | "integrity": "sha512-kKaIINnFpzW6ffJNDjjyjrk21BkDx38c0xa/klsT8VzLCaMEefv4ZTacrcVR4DmgTeBra++jMDAfS/tS799YDw==", 1277 | "license": "MIT", 1278 | "dependencies": { 1279 | "is-callable": "^1.2.7" 1280 | }, 1281 | "engines": { 1282 | "node": ">= 0.4" 1283 | }, 1284 | "funding": { 1285 | "url": "https://github.com/sponsors/ljharb" 1286 | } 1287 | }, 1288 | "node_modules/forever-agent": { 1289 | "version": "0.6.1", 1290 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 1291 | "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", 1292 | "license": "Apache-2.0", 1293 | "engines": { 1294 | "node": "*" 1295 | } 1296 | }, 1297 | "node_modules/form-data": { 1298 | "version": "4.0.1", 1299 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", 1300 | "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", 1301 | "license": "MIT", 1302 | "dependencies": { 1303 | "asynckit": "^0.4.0", 1304 | "combined-stream": "^1.0.8", 1305 | "mime-types": "^2.1.12" 1306 | }, 1307 | "engines": { 1308 | "node": ">= 6" 1309 | } 1310 | }, 1311 | "node_modules/fsevents": { 1312 | "version": "2.3.3", 1313 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 1314 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 1315 | "hasInstallScript": true, 1316 | "license": "MIT", 1317 | "optional": true, 1318 | "os": [ 1319 | "darwin" 1320 | ], 1321 | "engines": { 1322 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1323 | } 1324 | }, 1325 | "node_modules/function-bind": { 1326 | "version": "1.1.2", 1327 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 1328 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 1329 | "license": "MIT", 1330 | "funding": { 1331 | "url": "https://github.com/sponsors/ljharb" 1332 | } 1333 | }, 1334 | "node_modules/function.prototype.name": { 1335 | "version": "1.1.8", 1336 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz", 1337 | "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", 1338 | "license": "MIT", 1339 | "dependencies": { 1340 | "call-bind": "^1.0.8", 1341 | "call-bound": "^1.0.3", 1342 | "define-properties": "^1.2.1", 1343 | "functions-have-names": "^1.2.3", 1344 | "hasown": "^2.0.2", 1345 | "is-callable": "^1.2.7" 1346 | }, 1347 | "engines": { 1348 | "node": ">= 0.4" 1349 | }, 1350 | "funding": { 1351 | "url": "https://github.com/sponsors/ljharb" 1352 | } 1353 | }, 1354 | "node_modules/functions-have-names": { 1355 | "version": "1.2.3", 1356 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", 1357 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", 1358 | "license": "MIT", 1359 | "funding": { 1360 | "url": "https://github.com/sponsors/ljharb" 1361 | } 1362 | }, 1363 | "node_modules/get-intrinsic": { 1364 | "version": "1.2.7", 1365 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz", 1366 | "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", 1367 | "license": "MIT", 1368 | "dependencies": { 1369 | "call-bind-apply-helpers": "^1.0.1", 1370 | "es-define-property": "^1.0.1", 1371 | "es-errors": "^1.3.0", 1372 | "es-object-atoms": "^1.0.0", 1373 | "function-bind": "^1.1.2", 1374 | "get-proto": "^1.0.0", 1375 | "gopd": "^1.2.0", 1376 | "has-symbols": "^1.1.0", 1377 | "hasown": "^2.0.2", 1378 | "math-intrinsics": "^1.1.0" 1379 | }, 1380 | "engines": { 1381 | "node": ">= 0.4" 1382 | }, 1383 | "funding": { 1384 | "url": "https://github.com/sponsors/ljharb" 1385 | } 1386 | }, 1387 | "node_modules/get-proto": { 1388 | "version": "1.0.1", 1389 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", 1390 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", 1391 | "license": "MIT", 1392 | "dependencies": { 1393 | "dunder-proto": "^1.0.1", 1394 | "es-object-atoms": "^1.0.0" 1395 | }, 1396 | "engines": { 1397 | "node": ">= 0.4" 1398 | } 1399 | }, 1400 | "node_modules/get-symbol-description": { 1401 | "version": "1.1.0", 1402 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", 1403 | "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", 1404 | "license": "MIT", 1405 | "dependencies": { 1406 | "call-bound": "^1.0.3", 1407 | "es-errors": "^1.3.0", 1408 | "get-intrinsic": "^1.2.6" 1409 | }, 1410 | "engines": { 1411 | "node": ">= 0.4" 1412 | }, 1413 | "funding": { 1414 | "url": "https://github.com/sponsors/ljharb" 1415 | } 1416 | }, 1417 | "node_modules/getpass": { 1418 | "version": "0.1.7", 1419 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 1420 | "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", 1421 | "license": "MIT", 1422 | "dependencies": { 1423 | "assert-plus": "^1.0.0" 1424 | } 1425 | }, 1426 | "node_modules/glob-parent": { 1427 | "version": "5.1.2", 1428 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1429 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1430 | "license": "ISC", 1431 | "dependencies": { 1432 | "is-glob": "^4.0.1" 1433 | }, 1434 | "engines": { 1435 | "node": ">= 6" 1436 | } 1437 | }, 1438 | "node_modules/globalthis": { 1439 | "version": "1.0.4", 1440 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", 1441 | "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", 1442 | "license": "MIT", 1443 | "dependencies": { 1444 | "define-properties": "^1.2.1", 1445 | "gopd": "^1.0.1" 1446 | }, 1447 | "engines": { 1448 | "node": ">= 0.4" 1449 | }, 1450 | "funding": { 1451 | "url": "https://github.com/sponsors/ljharb" 1452 | } 1453 | }, 1454 | "node_modules/gopd": { 1455 | "version": "1.2.0", 1456 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", 1457 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", 1458 | "license": "MIT", 1459 | "engines": { 1460 | "node": ">= 0.4" 1461 | }, 1462 | "funding": { 1463 | "url": "https://github.com/sponsors/ljharb" 1464 | } 1465 | }, 1466 | "node_modules/har-schema": { 1467 | "version": "2.0.0", 1468 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 1469 | "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==", 1470 | "license": "ISC", 1471 | "peer": true, 1472 | "engines": { 1473 | "node": ">=4" 1474 | } 1475 | }, 1476 | "node_modules/har-validator": { 1477 | "version": "5.1.5", 1478 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", 1479 | "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", 1480 | "deprecated": "this library is no longer supported", 1481 | "license": "MIT", 1482 | "peer": true, 1483 | "dependencies": { 1484 | "ajv": "^6.12.3", 1485 | "har-schema": "^2.0.0" 1486 | }, 1487 | "engines": { 1488 | "node": ">=6" 1489 | } 1490 | }, 1491 | "node_modules/has-bigints": { 1492 | "version": "1.1.0", 1493 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", 1494 | "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", 1495 | "license": "MIT", 1496 | "engines": { 1497 | "node": ">= 0.4" 1498 | }, 1499 | "funding": { 1500 | "url": "https://github.com/sponsors/ljharb" 1501 | } 1502 | }, 1503 | "node_modules/has-flag": { 1504 | "version": "3.0.0", 1505 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1506 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 1507 | "license": "MIT", 1508 | "engines": { 1509 | "node": ">=4" 1510 | } 1511 | }, 1512 | "node_modules/has-property-descriptors": { 1513 | "version": "1.0.2", 1514 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", 1515 | "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", 1516 | "license": "MIT", 1517 | "dependencies": { 1518 | "es-define-property": "^1.0.0" 1519 | }, 1520 | "funding": { 1521 | "url": "https://github.com/sponsors/ljharb" 1522 | } 1523 | }, 1524 | "node_modules/has-proto": { 1525 | "version": "1.2.0", 1526 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", 1527 | "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", 1528 | "license": "MIT", 1529 | "dependencies": { 1530 | "dunder-proto": "^1.0.0" 1531 | }, 1532 | "engines": { 1533 | "node": ">= 0.4" 1534 | }, 1535 | "funding": { 1536 | "url": "https://github.com/sponsors/ljharb" 1537 | } 1538 | }, 1539 | "node_modules/has-symbols": { 1540 | "version": "1.1.0", 1541 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", 1542 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", 1543 | "license": "MIT", 1544 | "engines": { 1545 | "node": ">= 0.4" 1546 | }, 1547 | "funding": { 1548 | "url": "https://github.com/sponsors/ljharb" 1549 | } 1550 | }, 1551 | "node_modules/has-tostringtag": { 1552 | "version": "1.0.2", 1553 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", 1554 | "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", 1555 | "license": "MIT", 1556 | "dependencies": { 1557 | "has-symbols": "^1.0.3" 1558 | }, 1559 | "engines": { 1560 | "node": ">= 0.4" 1561 | }, 1562 | "funding": { 1563 | "url": "https://github.com/sponsors/ljharb" 1564 | } 1565 | }, 1566 | "node_modules/hasown": { 1567 | "version": "2.0.2", 1568 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1569 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1570 | "license": "MIT", 1571 | "dependencies": { 1572 | "function-bind": "^1.1.2" 1573 | }, 1574 | "engines": { 1575 | "node": ">= 0.4" 1576 | } 1577 | }, 1578 | "node_modules/http-signature": { 1579 | "version": "1.4.0", 1580 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.4.0.tgz", 1581 | "integrity": "sha512-G5akfn7eKbpDN+8nPS/cb57YeA1jLTVxjpCj7tmm3QKPdyDy7T+qSC40e9ptydSWvkwjSXw1VbkpyEm39ukeAg==", 1582 | "license": "MIT", 1583 | "dependencies": { 1584 | "assert-plus": "^1.0.0", 1585 | "jsprim": "^2.0.2", 1586 | "sshpk": "^1.18.0" 1587 | }, 1588 | "engines": { 1589 | "node": ">=0.10" 1590 | } 1591 | }, 1592 | "node_modules/humanize-ms": { 1593 | "version": "1.2.1", 1594 | "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", 1595 | "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", 1596 | "license": "MIT", 1597 | "dependencies": { 1598 | "ms": "^2.0.0" 1599 | } 1600 | }, 1601 | "node_modules/ieee754": { 1602 | "version": "1.2.1", 1603 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1604 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 1605 | "funding": [ 1606 | { 1607 | "type": "github", 1608 | "url": "https://github.com/sponsors/feross" 1609 | }, 1610 | { 1611 | "type": "patreon", 1612 | "url": "https://www.patreon.com/feross" 1613 | }, 1614 | { 1615 | "type": "consulting", 1616 | "url": "https://feross.org/support" 1617 | } 1618 | ], 1619 | "license": "BSD-3-Clause" 1620 | }, 1621 | "node_modules/ignore-by-default": { 1622 | "version": "1.0.1", 1623 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 1624 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", 1625 | "license": "ISC" 1626 | }, 1627 | "node_modules/inherits": { 1628 | "version": "2.0.4", 1629 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1630 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1631 | "license": "ISC" 1632 | }, 1633 | "node_modules/internal-slot": { 1634 | "version": "1.1.0", 1635 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", 1636 | "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", 1637 | "license": "MIT", 1638 | "dependencies": { 1639 | "es-errors": "^1.3.0", 1640 | "hasown": "^2.0.2", 1641 | "side-channel": "^1.1.0" 1642 | }, 1643 | "engines": { 1644 | "node": ">= 0.4" 1645 | } 1646 | }, 1647 | "node_modules/is-array-buffer": { 1648 | "version": "3.0.5", 1649 | "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", 1650 | "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", 1651 | "license": "MIT", 1652 | "dependencies": { 1653 | "call-bind": "^1.0.8", 1654 | "call-bound": "^1.0.3", 1655 | "get-intrinsic": "^1.2.6" 1656 | }, 1657 | "engines": { 1658 | "node": ">= 0.4" 1659 | }, 1660 | "funding": { 1661 | "url": "https://github.com/sponsors/ljharb" 1662 | } 1663 | }, 1664 | "node_modules/is-async-function": { 1665 | "version": "2.1.1", 1666 | "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", 1667 | "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", 1668 | "license": "MIT", 1669 | "dependencies": { 1670 | "async-function": "^1.0.0", 1671 | "call-bound": "^1.0.3", 1672 | "get-proto": "^1.0.1", 1673 | "has-tostringtag": "^1.0.2", 1674 | "safe-regex-test": "^1.1.0" 1675 | }, 1676 | "engines": { 1677 | "node": ">= 0.4" 1678 | }, 1679 | "funding": { 1680 | "url": "https://github.com/sponsors/ljharb" 1681 | } 1682 | }, 1683 | "node_modules/is-bigint": { 1684 | "version": "1.1.0", 1685 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", 1686 | "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", 1687 | "license": "MIT", 1688 | "dependencies": { 1689 | "has-bigints": "^1.0.2" 1690 | }, 1691 | "engines": { 1692 | "node": ">= 0.4" 1693 | }, 1694 | "funding": { 1695 | "url": "https://github.com/sponsors/ljharb" 1696 | } 1697 | }, 1698 | "node_modules/is-binary-path": { 1699 | "version": "2.1.0", 1700 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1701 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1702 | "license": "MIT", 1703 | "dependencies": { 1704 | "binary-extensions": "^2.0.0" 1705 | }, 1706 | "engines": { 1707 | "node": ">=8" 1708 | } 1709 | }, 1710 | "node_modules/is-boolean-object": { 1711 | "version": "1.2.2", 1712 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", 1713 | "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", 1714 | "license": "MIT", 1715 | "dependencies": { 1716 | "call-bound": "^1.0.3", 1717 | "has-tostringtag": "^1.0.2" 1718 | }, 1719 | "engines": { 1720 | "node": ">= 0.4" 1721 | }, 1722 | "funding": { 1723 | "url": "https://github.com/sponsors/ljharb" 1724 | } 1725 | }, 1726 | "node_modules/is-callable": { 1727 | "version": "1.2.7", 1728 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 1729 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 1730 | "license": "MIT", 1731 | "engines": { 1732 | "node": ">= 0.4" 1733 | }, 1734 | "funding": { 1735 | "url": "https://github.com/sponsors/ljharb" 1736 | } 1737 | }, 1738 | "node_modules/is-data-view": { 1739 | "version": "1.0.2", 1740 | "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", 1741 | "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", 1742 | "license": "MIT", 1743 | "dependencies": { 1744 | "call-bound": "^1.0.2", 1745 | "get-intrinsic": "^1.2.6", 1746 | "is-typed-array": "^1.1.13" 1747 | }, 1748 | "engines": { 1749 | "node": ">= 0.4" 1750 | }, 1751 | "funding": { 1752 | "url": "https://github.com/sponsors/ljharb" 1753 | } 1754 | }, 1755 | "node_modules/is-date-object": { 1756 | "version": "1.1.0", 1757 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", 1758 | "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", 1759 | "license": "MIT", 1760 | "dependencies": { 1761 | "call-bound": "^1.0.2", 1762 | "has-tostringtag": "^1.0.2" 1763 | }, 1764 | "engines": { 1765 | "node": ">= 0.4" 1766 | }, 1767 | "funding": { 1768 | "url": "https://github.com/sponsors/ljharb" 1769 | } 1770 | }, 1771 | "node_modules/is-extglob": { 1772 | "version": "2.1.1", 1773 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1774 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1775 | "license": "MIT", 1776 | "engines": { 1777 | "node": ">=0.10.0" 1778 | } 1779 | }, 1780 | "node_modules/is-finalizationregistry": { 1781 | "version": "1.1.1", 1782 | "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", 1783 | "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", 1784 | "license": "MIT", 1785 | "dependencies": { 1786 | "call-bound": "^1.0.3" 1787 | }, 1788 | "engines": { 1789 | "node": ">= 0.4" 1790 | }, 1791 | "funding": { 1792 | "url": "https://github.com/sponsors/ljharb" 1793 | } 1794 | }, 1795 | "node_modules/is-generator-function": { 1796 | "version": "1.1.0", 1797 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz", 1798 | "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", 1799 | "license": "MIT", 1800 | "dependencies": { 1801 | "call-bound": "^1.0.3", 1802 | "get-proto": "^1.0.0", 1803 | "has-tostringtag": "^1.0.2", 1804 | "safe-regex-test": "^1.1.0" 1805 | }, 1806 | "engines": { 1807 | "node": ">= 0.4" 1808 | }, 1809 | "funding": { 1810 | "url": "https://github.com/sponsors/ljharb" 1811 | } 1812 | }, 1813 | "node_modules/is-glob": { 1814 | "version": "4.0.3", 1815 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1816 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1817 | "license": "MIT", 1818 | "dependencies": { 1819 | "is-extglob": "^2.1.1" 1820 | }, 1821 | "engines": { 1822 | "node": ">=0.10.0" 1823 | } 1824 | }, 1825 | "node_modules/is-map": { 1826 | "version": "2.0.3", 1827 | "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", 1828 | "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", 1829 | "license": "MIT", 1830 | "engines": { 1831 | "node": ">= 0.4" 1832 | }, 1833 | "funding": { 1834 | "url": "https://github.com/sponsors/ljharb" 1835 | } 1836 | }, 1837 | "node_modules/is-number": { 1838 | "version": "7.0.0", 1839 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1840 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1841 | "license": "MIT", 1842 | "engines": { 1843 | "node": ">=0.12.0" 1844 | } 1845 | }, 1846 | "node_modules/is-number-object": { 1847 | "version": "1.1.1", 1848 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", 1849 | "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", 1850 | "license": "MIT", 1851 | "dependencies": { 1852 | "call-bound": "^1.0.3", 1853 | "has-tostringtag": "^1.0.2" 1854 | }, 1855 | "engines": { 1856 | "node": ">= 0.4" 1857 | }, 1858 | "funding": { 1859 | "url": "https://github.com/sponsors/ljharb" 1860 | } 1861 | }, 1862 | "node_modules/is-regex": { 1863 | "version": "1.2.1", 1864 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", 1865 | "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", 1866 | "license": "MIT", 1867 | "dependencies": { 1868 | "call-bound": "^1.0.2", 1869 | "gopd": "^1.2.0", 1870 | "has-tostringtag": "^1.0.2", 1871 | "hasown": "^2.0.2" 1872 | }, 1873 | "engines": { 1874 | "node": ">= 0.4" 1875 | }, 1876 | "funding": { 1877 | "url": "https://github.com/sponsors/ljharb" 1878 | } 1879 | }, 1880 | "node_modules/is-set": { 1881 | "version": "2.0.3", 1882 | "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", 1883 | "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", 1884 | "license": "MIT", 1885 | "engines": { 1886 | "node": ">= 0.4" 1887 | }, 1888 | "funding": { 1889 | "url": "https://github.com/sponsors/ljharb" 1890 | } 1891 | }, 1892 | "node_modules/is-shared-array-buffer": { 1893 | "version": "1.0.4", 1894 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", 1895 | "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", 1896 | "license": "MIT", 1897 | "dependencies": { 1898 | "call-bound": "^1.0.3" 1899 | }, 1900 | "engines": { 1901 | "node": ">= 0.4" 1902 | }, 1903 | "funding": { 1904 | "url": "https://github.com/sponsors/ljharb" 1905 | } 1906 | }, 1907 | "node_modules/is-string": { 1908 | "version": "1.1.1", 1909 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", 1910 | "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", 1911 | "license": "MIT", 1912 | "dependencies": { 1913 | "call-bound": "^1.0.3", 1914 | "has-tostringtag": "^1.0.2" 1915 | }, 1916 | "engines": { 1917 | "node": ">= 0.4" 1918 | }, 1919 | "funding": { 1920 | "url": "https://github.com/sponsors/ljharb" 1921 | } 1922 | }, 1923 | "node_modules/is-symbol": { 1924 | "version": "1.1.1", 1925 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", 1926 | "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", 1927 | "license": "MIT", 1928 | "dependencies": { 1929 | "call-bound": "^1.0.2", 1930 | "has-symbols": "^1.1.0", 1931 | "safe-regex-test": "^1.1.0" 1932 | }, 1933 | "engines": { 1934 | "node": ">= 0.4" 1935 | }, 1936 | "funding": { 1937 | "url": "https://github.com/sponsors/ljharb" 1938 | } 1939 | }, 1940 | "node_modules/is-typed-array": { 1941 | "version": "1.1.15", 1942 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", 1943 | "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", 1944 | "license": "MIT", 1945 | "dependencies": { 1946 | "which-typed-array": "^1.1.16" 1947 | }, 1948 | "engines": { 1949 | "node": ">= 0.4" 1950 | }, 1951 | "funding": { 1952 | "url": "https://github.com/sponsors/ljharb" 1953 | } 1954 | }, 1955 | "node_modules/is-typedarray": { 1956 | "version": "1.0.0", 1957 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1958 | "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", 1959 | "license": "MIT" 1960 | }, 1961 | "node_modules/is-weakmap": { 1962 | "version": "2.0.2", 1963 | "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", 1964 | "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", 1965 | "license": "MIT", 1966 | "engines": { 1967 | "node": ">= 0.4" 1968 | }, 1969 | "funding": { 1970 | "url": "https://github.com/sponsors/ljharb" 1971 | } 1972 | }, 1973 | "node_modules/is-weakref": { 1974 | "version": "1.1.1", 1975 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", 1976 | "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", 1977 | "license": "MIT", 1978 | "dependencies": { 1979 | "call-bound": "^1.0.3" 1980 | }, 1981 | "engines": { 1982 | "node": ">= 0.4" 1983 | }, 1984 | "funding": { 1985 | "url": "https://github.com/sponsors/ljharb" 1986 | } 1987 | }, 1988 | "node_modules/is-weakset": { 1989 | "version": "2.0.4", 1990 | "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", 1991 | "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", 1992 | "license": "MIT", 1993 | "dependencies": { 1994 | "call-bound": "^1.0.3", 1995 | "get-intrinsic": "^1.2.6" 1996 | }, 1997 | "engines": { 1998 | "node": ">= 0.4" 1999 | }, 2000 | "funding": { 2001 | "url": "https://github.com/sponsors/ljharb" 2002 | } 2003 | }, 2004 | "node_modules/isarray": { 2005 | "version": "1.0.0", 2006 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2007 | "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", 2008 | "license": "MIT" 2009 | }, 2010 | "node_modules/isomorphic-ws": { 2011 | "version": "4.0.1", 2012 | "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", 2013 | "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", 2014 | "license": "MIT", 2015 | "peerDependencies": { 2016 | "ws": "*" 2017 | } 2018 | }, 2019 | "node_modules/isstream": { 2020 | "version": "0.1.2", 2021 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 2022 | "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", 2023 | "license": "MIT" 2024 | }, 2025 | "node_modules/jayson": { 2026 | "version": "4.1.3", 2027 | "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.3.tgz", 2028 | "integrity": "sha512-LtXh5aYZodBZ9Fc3j6f2w+MTNcnxteMOrb+QgIouguGOulWi0lieEkOUg+HkjjFs0DGoWDds6bi4E9hpNFLulQ==", 2029 | "license": "MIT", 2030 | "dependencies": { 2031 | "@types/connect": "^3.4.33", 2032 | "@types/node": "^12.12.54", 2033 | "@types/ws": "^7.4.4", 2034 | "commander": "^2.20.3", 2035 | "delay": "^5.0.0", 2036 | "es6-promisify": "^5.0.0", 2037 | "eyes": "^0.1.8", 2038 | "isomorphic-ws": "^4.0.1", 2039 | "json-stringify-safe": "^5.0.1", 2040 | "JSONStream": "^1.3.5", 2041 | "uuid": "^8.3.2", 2042 | "ws": "^7.5.10" 2043 | }, 2044 | "bin": { 2045 | "jayson": "bin/jayson.js" 2046 | }, 2047 | "engines": { 2048 | "node": ">=8" 2049 | } 2050 | }, 2051 | "node_modules/js-sha256": { 2052 | "version": "0.9.0", 2053 | "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", 2054 | "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==", 2055 | "license": "MIT" 2056 | }, 2057 | "node_modules/jsbn": { 2058 | "version": "0.1.1", 2059 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 2060 | "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", 2061 | "license": "MIT" 2062 | }, 2063 | "node_modules/json-schema": { 2064 | "version": "0.4.0", 2065 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", 2066 | "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", 2067 | "license": "(AFL-2.1 OR BSD-3-Clause)" 2068 | }, 2069 | "node_modules/json-schema-traverse": { 2070 | "version": "0.4.1", 2071 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 2072 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 2073 | "license": "MIT", 2074 | "peer": true 2075 | }, 2076 | "node_modules/json-stringify-safe": { 2077 | "version": "5.0.1", 2078 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 2079 | "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", 2080 | "license": "ISC" 2081 | }, 2082 | "node_modules/jsonparse": { 2083 | "version": "1.3.1", 2084 | "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", 2085 | "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", 2086 | "engines": [ 2087 | "node >= 0.2.0" 2088 | ], 2089 | "license": "MIT" 2090 | }, 2091 | "node_modules/JSONStream": { 2092 | "version": "1.3.5", 2093 | "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", 2094 | "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", 2095 | "license": "(MIT OR Apache-2.0)", 2096 | "dependencies": { 2097 | "jsonparse": "^1.2.0", 2098 | "through": ">=2.2.7 <3" 2099 | }, 2100 | "bin": { 2101 | "JSONStream": "bin.js" 2102 | }, 2103 | "engines": { 2104 | "node": "*" 2105 | } 2106 | }, 2107 | "node_modules/jsprim": { 2108 | "version": "2.0.2", 2109 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz", 2110 | "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==", 2111 | "engines": [ 2112 | "node >=0.6.0" 2113 | ], 2114 | "license": "MIT", 2115 | "dependencies": { 2116 | "assert-plus": "1.0.0", 2117 | "extsprintf": "1.3.0", 2118 | "json-schema": "0.4.0", 2119 | "verror": "1.10.0" 2120 | } 2121 | }, 2122 | "node_modules/kareem": { 2123 | "version": "2.6.3", 2124 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.6.3.tgz", 2125 | "integrity": "sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==", 2126 | "license": "Apache-2.0", 2127 | "engines": { 2128 | "node": ">=12.0.0" 2129 | } 2130 | }, 2131 | "node_modules/lodash": { 2132 | "version": "4.17.21", 2133 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 2134 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 2135 | "license": "MIT" 2136 | }, 2137 | "node_modules/lower-case": { 2138 | "version": "2.0.2", 2139 | "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", 2140 | "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", 2141 | "license": "MIT", 2142 | "dependencies": { 2143 | "tslib": "^2.0.3" 2144 | } 2145 | }, 2146 | "node_modules/math-intrinsics": { 2147 | "version": "1.1.0", 2148 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", 2149 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", 2150 | "license": "MIT", 2151 | "engines": { 2152 | "node": ">= 0.4" 2153 | } 2154 | }, 2155 | "node_modules/memory-pager": { 2156 | "version": "1.5.0", 2157 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 2158 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", 2159 | "license": "MIT" 2160 | }, 2161 | "node_modules/mime": { 2162 | "version": "1.6.0", 2163 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 2164 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 2165 | "license": "MIT", 2166 | "bin": { 2167 | "mime": "cli.js" 2168 | }, 2169 | "engines": { 2170 | "node": ">=4" 2171 | } 2172 | }, 2173 | "node_modules/mime-db": { 2174 | "version": "1.52.0", 2175 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 2176 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 2177 | "license": "MIT", 2178 | "engines": { 2179 | "node": ">= 0.6" 2180 | } 2181 | }, 2182 | "node_modules/mime-types": { 2183 | "version": "2.1.35", 2184 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 2185 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 2186 | "license": "MIT", 2187 | "dependencies": { 2188 | "mime-db": "1.52.0" 2189 | }, 2190 | "engines": { 2191 | "node": ">= 0.6" 2192 | } 2193 | }, 2194 | "node_modules/minimatch": { 2195 | "version": "3.1.2", 2196 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2197 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2198 | "license": "ISC", 2199 | "dependencies": { 2200 | "brace-expansion": "^1.1.7" 2201 | }, 2202 | "engines": { 2203 | "node": "*" 2204 | } 2205 | }, 2206 | "node_modules/mongodb": { 2207 | "version": "6.13.0", 2208 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.13.0.tgz", 2209 | "integrity": "sha512-KeESYR5TEaFxOuwRqkOm3XOsMqCSkdeDMjaW5u2nuKfX7rqaofp7JQGoi7sVqQcNJTKuveNbzZtWMstb8ABP6Q==", 2210 | "license": "Apache-2.0", 2211 | "dependencies": { 2212 | "@mongodb-js/saslprep": "^1.1.9", 2213 | "bson": "^6.10.1", 2214 | "mongodb-connection-string-url": "^3.0.0" 2215 | }, 2216 | "engines": { 2217 | "node": ">=16.20.1" 2218 | }, 2219 | "peerDependencies": { 2220 | "@aws-sdk/credential-providers": "^3.188.0", 2221 | "@mongodb-js/zstd": "^1.1.0 || ^2.0.0", 2222 | "gcp-metadata": "^5.2.0", 2223 | "kerberos": "^2.0.1", 2224 | "mongodb-client-encryption": ">=6.0.0 <7", 2225 | "snappy": "^7.2.2", 2226 | "socks": "^2.7.1" 2227 | }, 2228 | "peerDependenciesMeta": { 2229 | "@aws-sdk/credential-providers": { 2230 | "optional": true 2231 | }, 2232 | "@mongodb-js/zstd": { 2233 | "optional": true 2234 | }, 2235 | "gcp-metadata": { 2236 | "optional": true 2237 | }, 2238 | "kerberos": { 2239 | "optional": true 2240 | }, 2241 | "mongodb-client-encryption": { 2242 | "optional": true 2243 | }, 2244 | "snappy": { 2245 | "optional": true 2246 | }, 2247 | "socks": { 2248 | "optional": true 2249 | } 2250 | } 2251 | }, 2252 | "node_modules/mongodb-connection-string-url": { 2253 | "version": "3.0.2", 2254 | "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.2.tgz", 2255 | "integrity": "sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==", 2256 | "license": "Apache-2.0", 2257 | "dependencies": { 2258 | "@types/whatwg-url": "^11.0.2", 2259 | "whatwg-url": "^14.1.0 || ^13.0.0" 2260 | } 2261 | }, 2262 | "node_modules/mongoose": { 2263 | "version": "8.10.0", 2264 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.10.0.tgz", 2265 | "integrity": "sha512-nLhk3Qrv6q/HpD2k1O7kbBqsq+/kmKpdv5KJ+LLhQlII3e1p/SSLoLP6jMuSiU6+iLK7zFw4T1niAk3mA3QVug==", 2266 | "license": "MIT", 2267 | "dependencies": { 2268 | "bson": "^6.10.1", 2269 | "kareem": "2.6.3", 2270 | "mongodb": "~6.13.0", 2271 | "mpath": "0.9.0", 2272 | "mquery": "5.0.0", 2273 | "ms": "2.1.3", 2274 | "sift": "17.1.3" 2275 | }, 2276 | "engines": { 2277 | "node": ">=16.20.1" 2278 | }, 2279 | "funding": { 2280 | "type": "opencollective", 2281 | "url": "https://opencollective.com/mongoose" 2282 | } 2283 | }, 2284 | "node_modules/mpath": { 2285 | "version": "0.9.0", 2286 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", 2287 | "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", 2288 | "license": "MIT", 2289 | "engines": { 2290 | "node": ">=4.0.0" 2291 | } 2292 | }, 2293 | "node_modules/mquery": { 2294 | "version": "5.0.0", 2295 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", 2296 | "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", 2297 | "license": "MIT", 2298 | "dependencies": { 2299 | "debug": "4.x" 2300 | }, 2301 | "engines": { 2302 | "node": ">=14.0.0" 2303 | } 2304 | }, 2305 | "node_modules/mquery/node_modules/debug": { 2306 | "version": "4.4.0", 2307 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 2308 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 2309 | "license": "MIT", 2310 | "dependencies": { 2311 | "ms": "^2.1.3" 2312 | }, 2313 | "engines": { 2314 | "node": ">=6.0" 2315 | }, 2316 | "peerDependenciesMeta": { 2317 | "supports-color": { 2318 | "optional": true 2319 | } 2320 | } 2321 | }, 2322 | "node_modules/ms": { 2323 | "version": "2.1.3", 2324 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2325 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2326 | "license": "MIT" 2327 | }, 2328 | "node_modules/no-case": { 2329 | "version": "3.0.4", 2330 | "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", 2331 | "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", 2332 | "license": "MIT", 2333 | "dependencies": { 2334 | "lower-case": "^2.0.2", 2335 | "tslib": "^2.0.3" 2336 | } 2337 | }, 2338 | "node_modules/node-fetch": { 2339 | "version": "2.7.0", 2340 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 2341 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 2342 | "license": "MIT", 2343 | "dependencies": { 2344 | "whatwg-url": "^5.0.0" 2345 | }, 2346 | "engines": { 2347 | "node": "4.x || >=6.0.0" 2348 | }, 2349 | "peerDependencies": { 2350 | "encoding": "^0.1.0" 2351 | }, 2352 | "peerDependenciesMeta": { 2353 | "encoding": { 2354 | "optional": true 2355 | } 2356 | } 2357 | }, 2358 | "node_modules/node-fetch/node_modules/tr46": { 2359 | "version": "0.0.3", 2360 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 2361 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", 2362 | "license": "MIT" 2363 | }, 2364 | "node_modules/node-fetch/node_modules/webidl-conversions": { 2365 | "version": "3.0.1", 2366 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 2367 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", 2368 | "license": "BSD-2-Clause" 2369 | }, 2370 | "node_modules/node-fetch/node_modules/whatwg-url": { 2371 | "version": "5.0.0", 2372 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 2373 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 2374 | "license": "MIT", 2375 | "dependencies": { 2376 | "tr46": "~0.0.3", 2377 | "webidl-conversions": "^3.0.0" 2378 | } 2379 | }, 2380 | "node_modules/node-gyp-build": { 2381 | "version": "4.8.4", 2382 | "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", 2383 | "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", 2384 | "license": "MIT", 2385 | "optional": true, 2386 | "bin": { 2387 | "node-gyp-build": "bin.js", 2388 | "node-gyp-build-optional": "optional.js", 2389 | "node-gyp-build-test": "build-test.js" 2390 | } 2391 | }, 2392 | "node_modules/node-telegram-bot-api": { 2393 | "version": "0.66.0", 2394 | "resolved": "https://registry.npmjs.org/node-telegram-bot-api/-/node-telegram-bot-api-0.66.0.tgz", 2395 | "integrity": "sha512-s4Hrg5q+VPl4/tJVG++pImxF6eb8tNJNj4KnDqAOKL6zGU34lo9RXmyAN158njwGN+v8hdNf8s9fWIYW9hPb5A==", 2396 | "license": "MIT", 2397 | "dependencies": { 2398 | "@cypress/request": "^3.0.1", 2399 | "@cypress/request-promise": "^5.0.0", 2400 | "array.prototype.findindex": "^2.0.2", 2401 | "bl": "^1.2.3", 2402 | "debug": "^3.2.7", 2403 | "eventemitter3": "^3.0.0", 2404 | "file-type": "^3.9.0", 2405 | "mime": "^1.6.0", 2406 | "pump": "^2.0.0" 2407 | }, 2408 | "engines": { 2409 | "node": ">=0.12" 2410 | } 2411 | }, 2412 | "node_modules/nodemon": { 2413 | "version": "3.1.9", 2414 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz", 2415 | "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==", 2416 | "license": "MIT", 2417 | "dependencies": { 2418 | "chokidar": "^3.5.2", 2419 | "debug": "^4", 2420 | "ignore-by-default": "^1.0.1", 2421 | "minimatch": "^3.1.2", 2422 | "pstree.remy": "^1.1.8", 2423 | "semver": "^7.5.3", 2424 | "simple-update-notifier": "^2.0.0", 2425 | "supports-color": "^5.5.0", 2426 | "touch": "^3.1.0", 2427 | "undefsafe": "^2.0.5" 2428 | }, 2429 | "bin": { 2430 | "nodemon": "bin/nodemon.js" 2431 | }, 2432 | "engines": { 2433 | "node": ">=10" 2434 | }, 2435 | "funding": { 2436 | "type": "opencollective", 2437 | "url": "https://opencollective.com/nodemon" 2438 | } 2439 | }, 2440 | "node_modules/nodemon/node_modules/debug": { 2441 | "version": "4.4.0", 2442 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 2443 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 2444 | "license": "MIT", 2445 | "dependencies": { 2446 | "ms": "^2.1.3" 2447 | }, 2448 | "engines": { 2449 | "node": ">=6.0" 2450 | }, 2451 | "peerDependenciesMeta": { 2452 | "supports-color": { 2453 | "optional": true 2454 | } 2455 | } 2456 | }, 2457 | "node_modules/normalize-path": { 2458 | "version": "3.0.0", 2459 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2460 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2461 | "license": "MIT", 2462 | "engines": { 2463 | "node": ">=0.10.0" 2464 | } 2465 | }, 2466 | "node_modules/oauth-sign": { 2467 | "version": "0.9.0", 2468 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 2469 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", 2470 | "license": "Apache-2.0", 2471 | "peer": true, 2472 | "engines": { 2473 | "node": "*" 2474 | } 2475 | }, 2476 | "node_modules/object-inspect": { 2477 | "version": "1.13.4", 2478 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", 2479 | "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", 2480 | "license": "MIT", 2481 | "engines": { 2482 | "node": ">= 0.4" 2483 | }, 2484 | "funding": { 2485 | "url": "https://github.com/sponsors/ljharb" 2486 | } 2487 | }, 2488 | "node_modules/object-keys": { 2489 | "version": "1.1.1", 2490 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 2491 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 2492 | "license": "MIT", 2493 | "engines": { 2494 | "node": ">= 0.4" 2495 | } 2496 | }, 2497 | "node_modules/object.assign": { 2498 | "version": "4.1.7", 2499 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", 2500 | "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", 2501 | "license": "MIT", 2502 | "dependencies": { 2503 | "call-bind": "^1.0.8", 2504 | "call-bound": "^1.0.3", 2505 | "define-properties": "^1.2.1", 2506 | "es-object-atoms": "^1.0.0", 2507 | "has-symbols": "^1.1.0", 2508 | "object-keys": "^1.1.1" 2509 | }, 2510 | "engines": { 2511 | "node": ">= 0.4" 2512 | }, 2513 | "funding": { 2514 | "url": "https://github.com/sponsors/ljharb" 2515 | } 2516 | }, 2517 | "node_modules/once": { 2518 | "version": "1.4.0", 2519 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2520 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2521 | "license": "ISC", 2522 | "dependencies": { 2523 | "wrappy": "1" 2524 | } 2525 | }, 2526 | "node_modules/own-keys": { 2527 | "version": "1.0.1", 2528 | "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", 2529 | "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", 2530 | "license": "MIT", 2531 | "dependencies": { 2532 | "get-intrinsic": "^1.2.6", 2533 | "object-keys": "^1.1.1", 2534 | "safe-push-apply": "^1.0.0" 2535 | }, 2536 | "engines": { 2537 | "node": ">= 0.4" 2538 | }, 2539 | "funding": { 2540 | "url": "https://github.com/sponsors/ljharb" 2541 | } 2542 | }, 2543 | "node_modules/pako": { 2544 | "version": "2.1.0", 2545 | "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", 2546 | "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", 2547 | "license": "(MIT AND Zlib)" 2548 | }, 2549 | "node_modules/performance-now": { 2550 | "version": "2.1.0", 2551 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 2552 | "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", 2553 | "license": "MIT" 2554 | }, 2555 | "node_modules/picomatch": { 2556 | "version": "2.3.1", 2557 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2558 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2559 | "license": "MIT", 2560 | "engines": { 2561 | "node": ">=8.6" 2562 | }, 2563 | "funding": { 2564 | "url": "https://github.com/sponsors/jonschlinkert" 2565 | } 2566 | }, 2567 | "node_modules/possible-typed-array-names": { 2568 | "version": "1.1.0", 2569 | "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", 2570 | "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", 2571 | "license": "MIT", 2572 | "engines": { 2573 | "node": ">= 0.4" 2574 | } 2575 | }, 2576 | "node_modules/process-nextick-args": { 2577 | "version": "2.0.1", 2578 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2579 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 2580 | "license": "MIT" 2581 | }, 2582 | "node_modules/proxy-from-env": { 2583 | "version": "1.1.0", 2584 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 2585 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", 2586 | "license": "MIT" 2587 | }, 2588 | "node_modules/psl": { 2589 | "version": "1.15.0", 2590 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", 2591 | "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", 2592 | "license": "MIT", 2593 | "dependencies": { 2594 | "punycode": "^2.3.1" 2595 | }, 2596 | "funding": { 2597 | "url": "https://github.com/sponsors/lupomontero" 2598 | } 2599 | }, 2600 | "node_modules/pstree.remy": { 2601 | "version": "1.1.8", 2602 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 2603 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", 2604 | "license": "MIT" 2605 | }, 2606 | "node_modules/pump": { 2607 | "version": "2.0.1", 2608 | "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", 2609 | "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", 2610 | "license": "MIT", 2611 | "dependencies": { 2612 | "end-of-stream": "^1.1.0", 2613 | "once": "^1.3.1" 2614 | } 2615 | }, 2616 | "node_modules/punycode": { 2617 | "version": "2.3.1", 2618 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 2619 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 2620 | "license": "MIT", 2621 | "engines": { 2622 | "node": ">=6" 2623 | } 2624 | }, 2625 | "node_modules/qs": { 2626 | "version": "6.13.1", 2627 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", 2628 | "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", 2629 | "license": "BSD-3-Clause", 2630 | "dependencies": { 2631 | "side-channel": "^1.0.6" 2632 | }, 2633 | "engines": { 2634 | "node": ">=0.6" 2635 | }, 2636 | "funding": { 2637 | "url": "https://github.com/sponsors/ljharb" 2638 | } 2639 | }, 2640 | "node_modules/querystringify": { 2641 | "version": "2.2.0", 2642 | "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", 2643 | "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", 2644 | "license": "MIT" 2645 | }, 2646 | "node_modules/readable-stream": { 2647 | "version": "2.3.8", 2648 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", 2649 | "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", 2650 | "license": "MIT", 2651 | "dependencies": { 2652 | "core-util-is": "~1.0.0", 2653 | "inherits": "~2.0.3", 2654 | "isarray": "~1.0.0", 2655 | "process-nextick-args": "~2.0.0", 2656 | "safe-buffer": "~5.1.1", 2657 | "string_decoder": "~1.1.1", 2658 | "util-deprecate": "~1.0.1" 2659 | } 2660 | }, 2661 | "node_modules/readable-stream/node_modules/safe-buffer": { 2662 | "version": "5.1.2", 2663 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2664 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2665 | "license": "MIT" 2666 | }, 2667 | "node_modules/readdirp": { 2668 | "version": "3.6.0", 2669 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2670 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2671 | "license": "MIT", 2672 | "dependencies": { 2673 | "picomatch": "^2.2.1" 2674 | }, 2675 | "engines": { 2676 | "node": ">=8.10.0" 2677 | } 2678 | }, 2679 | "node_modules/reflect.getprototypeof": { 2680 | "version": "1.0.10", 2681 | "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", 2682 | "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", 2683 | "license": "MIT", 2684 | "dependencies": { 2685 | "call-bind": "^1.0.8", 2686 | "define-properties": "^1.2.1", 2687 | "es-abstract": "^1.23.9", 2688 | "es-errors": "^1.3.0", 2689 | "es-object-atoms": "^1.0.0", 2690 | "get-intrinsic": "^1.2.7", 2691 | "get-proto": "^1.0.1", 2692 | "which-builtin-type": "^1.2.1" 2693 | }, 2694 | "engines": { 2695 | "node": ">= 0.4" 2696 | }, 2697 | "funding": { 2698 | "url": "https://github.com/sponsors/ljharb" 2699 | } 2700 | }, 2701 | "node_modules/regenerator-runtime": { 2702 | "version": "0.14.1", 2703 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", 2704 | "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", 2705 | "license": "MIT" 2706 | }, 2707 | "node_modules/regexp.prototype.flags": { 2708 | "version": "1.5.4", 2709 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", 2710 | "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", 2711 | "license": "MIT", 2712 | "dependencies": { 2713 | "call-bind": "^1.0.8", 2714 | "define-properties": "^1.2.1", 2715 | "es-errors": "^1.3.0", 2716 | "get-proto": "^1.0.1", 2717 | "gopd": "^1.2.0", 2718 | "set-function-name": "^2.0.2" 2719 | }, 2720 | "engines": { 2721 | "node": ">= 0.4" 2722 | }, 2723 | "funding": { 2724 | "url": "https://github.com/sponsors/ljharb" 2725 | } 2726 | }, 2727 | "node_modules/request": { 2728 | "version": "2.88.2", 2729 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", 2730 | "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", 2731 | "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", 2732 | "license": "Apache-2.0", 2733 | "peer": true, 2734 | "dependencies": { 2735 | "aws-sign2": "~0.7.0", 2736 | "aws4": "^1.8.0", 2737 | "caseless": "~0.12.0", 2738 | "combined-stream": "~1.0.6", 2739 | "extend": "~3.0.2", 2740 | "forever-agent": "~0.6.1", 2741 | "form-data": "~2.3.2", 2742 | "har-validator": "~5.1.3", 2743 | "http-signature": "~1.2.0", 2744 | "is-typedarray": "~1.0.0", 2745 | "isstream": "~0.1.2", 2746 | "json-stringify-safe": "~5.0.1", 2747 | "mime-types": "~2.1.19", 2748 | "oauth-sign": "~0.9.0", 2749 | "performance-now": "^2.1.0", 2750 | "qs": "~6.5.2", 2751 | "safe-buffer": "^5.1.2", 2752 | "tough-cookie": "~2.5.0", 2753 | "tunnel-agent": "^0.6.0", 2754 | "uuid": "^3.3.2" 2755 | }, 2756 | "engines": { 2757 | "node": ">= 6" 2758 | } 2759 | }, 2760 | "node_modules/request-promise-core": { 2761 | "version": "1.1.3", 2762 | "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz", 2763 | "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==", 2764 | "license": "ISC", 2765 | "dependencies": { 2766 | "lodash": "^4.17.15" 2767 | }, 2768 | "engines": { 2769 | "node": ">=0.10.0" 2770 | }, 2771 | "peerDependencies": { 2772 | "request": "^2.34" 2773 | } 2774 | }, 2775 | "node_modules/request/node_modules/form-data": { 2776 | "version": "2.3.3", 2777 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 2778 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 2779 | "license": "MIT", 2780 | "peer": true, 2781 | "dependencies": { 2782 | "asynckit": "^0.4.0", 2783 | "combined-stream": "^1.0.6", 2784 | "mime-types": "^2.1.12" 2785 | }, 2786 | "engines": { 2787 | "node": ">= 0.12" 2788 | } 2789 | }, 2790 | "node_modules/request/node_modules/http-signature": { 2791 | "version": "1.2.0", 2792 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 2793 | "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==", 2794 | "license": "MIT", 2795 | "peer": true, 2796 | "dependencies": { 2797 | "assert-plus": "^1.0.0", 2798 | "jsprim": "^1.2.2", 2799 | "sshpk": "^1.7.0" 2800 | }, 2801 | "engines": { 2802 | "node": ">=0.8", 2803 | "npm": ">=1.3.7" 2804 | } 2805 | }, 2806 | "node_modules/request/node_modules/jsprim": { 2807 | "version": "1.4.2", 2808 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", 2809 | "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", 2810 | "license": "MIT", 2811 | "peer": true, 2812 | "dependencies": { 2813 | "assert-plus": "1.0.0", 2814 | "extsprintf": "1.3.0", 2815 | "json-schema": "0.4.0", 2816 | "verror": "1.10.0" 2817 | }, 2818 | "engines": { 2819 | "node": ">=0.6.0" 2820 | } 2821 | }, 2822 | "node_modules/request/node_modules/qs": { 2823 | "version": "6.5.3", 2824 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", 2825 | "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", 2826 | "license": "BSD-3-Clause", 2827 | "peer": true, 2828 | "engines": { 2829 | "node": ">=0.6" 2830 | } 2831 | }, 2832 | "node_modules/request/node_modules/tough-cookie": { 2833 | "version": "2.5.0", 2834 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", 2835 | "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", 2836 | "license": "BSD-3-Clause", 2837 | "peer": true, 2838 | "dependencies": { 2839 | "psl": "^1.1.28", 2840 | "punycode": "^2.1.1" 2841 | }, 2842 | "engines": { 2843 | "node": ">=0.8" 2844 | } 2845 | }, 2846 | "node_modules/request/node_modules/uuid": { 2847 | "version": "3.4.0", 2848 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 2849 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", 2850 | "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", 2851 | "license": "MIT", 2852 | "peer": true, 2853 | "bin": { 2854 | "uuid": "bin/uuid" 2855 | } 2856 | }, 2857 | "node_modules/requires-port": { 2858 | "version": "1.0.0", 2859 | "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", 2860 | "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", 2861 | "license": "MIT" 2862 | }, 2863 | "node_modules/rpc-websockets": { 2864 | "version": "9.0.4", 2865 | "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.4.tgz", 2866 | "integrity": "sha512-yWZWN0M+bivtoNLnaDbtny4XchdAIF5Q4g/ZsC5UC61Ckbp0QczwO8fg44rV3uYmY4WHd+EZQbn90W1d8ojzqQ==", 2867 | "license": "LGPL-3.0-only", 2868 | "dependencies": { 2869 | "@swc/helpers": "^0.5.11", 2870 | "@types/uuid": "^8.3.4", 2871 | "@types/ws": "^8.2.2", 2872 | "buffer": "^6.0.3", 2873 | "eventemitter3": "^5.0.1", 2874 | "uuid": "^8.3.2", 2875 | "ws": "^8.5.0" 2876 | }, 2877 | "funding": { 2878 | "type": "paypal", 2879 | "url": "https://paypal.me/kozjak" 2880 | }, 2881 | "optionalDependencies": { 2882 | "bufferutil": "^4.0.1", 2883 | "utf-8-validate": "^5.0.2" 2884 | } 2885 | }, 2886 | "node_modules/rpc-websockets/node_modules/@types/ws": { 2887 | "version": "8.5.14", 2888 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.14.tgz", 2889 | "integrity": "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw==", 2890 | "license": "MIT", 2891 | "dependencies": { 2892 | "@types/node": "*" 2893 | } 2894 | }, 2895 | "node_modules/rpc-websockets/node_modules/eventemitter3": { 2896 | "version": "5.0.1", 2897 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", 2898 | "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", 2899 | "license": "MIT" 2900 | }, 2901 | "node_modules/rpc-websockets/node_modules/ws": { 2902 | "version": "8.18.0", 2903 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", 2904 | "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", 2905 | "license": "MIT", 2906 | "engines": { 2907 | "node": ">=10.0.0" 2908 | }, 2909 | "peerDependencies": { 2910 | "bufferutil": "^4.0.1", 2911 | "utf-8-validate": ">=5.0.2" 2912 | }, 2913 | "peerDependenciesMeta": { 2914 | "bufferutil": { 2915 | "optional": true 2916 | }, 2917 | "utf-8-validate": { 2918 | "optional": true 2919 | } 2920 | } 2921 | }, 2922 | "node_modules/safe-array-concat": { 2923 | "version": "1.1.3", 2924 | "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", 2925 | "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", 2926 | "license": "MIT", 2927 | "dependencies": { 2928 | "call-bind": "^1.0.8", 2929 | "call-bound": "^1.0.2", 2930 | "get-intrinsic": "^1.2.6", 2931 | "has-symbols": "^1.1.0", 2932 | "isarray": "^2.0.5" 2933 | }, 2934 | "engines": { 2935 | "node": ">=0.4" 2936 | }, 2937 | "funding": { 2938 | "url": "https://github.com/sponsors/ljharb" 2939 | } 2940 | }, 2941 | "node_modules/safe-array-concat/node_modules/isarray": { 2942 | "version": "2.0.5", 2943 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 2944 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", 2945 | "license": "MIT" 2946 | }, 2947 | "node_modules/safe-buffer": { 2948 | "version": "5.2.1", 2949 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2950 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2951 | "funding": [ 2952 | { 2953 | "type": "github", 2954 | "url": "https://github.com/sponsors/feross" 2955 | }, 2956 | { 2957 | "type": "patreon", 2958 | "url": "https://www.patreon.com/feross" 2959 | }, 2960 | { 2961 | "type": "consulting", 2962 | "url": "https://feross.org/support" 2963 | } 2964 | ], 2965 | "license": "MIT" 2966 | }, 2967 | "node_modules/safe-push-apply": { 2968 | "version": "1.0.0", 2969 | "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", 2970 | "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", 2971 | "license": "MIT", 2972 | "dependencies": { 2973 | "es-errors": "^1.3.0", 2974 | "isarray": "^2.0.5" 2975 | }, 2976 | "engines": { 2977 | "node": ">= 0.4" 2978 | }, 2979 | "funding": { 2980 | "url": "https://github.com/sponsors/ljharb" 2981 | } 2982 | }, 2983 | "node_modules/safe-push-apply/node_modules/isarray": { 2984 | "version": "2.0.5", 2985 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 2986 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", 2987 | "license": "MIT" 2988 | }, 2989 | "node_modules/safe-regex-test": { 2990 | "version": "1.1.0", 2991 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", 2992 | "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", 2993 | "license": "MIT", 2994 | "dependencies": { 2995 | "call-bound": "^1.0.2", 2996 | "es-errors": "^1.3.0", 2997 | "is-regex": "^1.2.1" 2998 | }, 2999 | "engines": { 3000 | "node": ">= 0.4" 3001 | }, 3002 | "funding": { 3003 | "url": "https://github.com/sponsors/ljharb" 3004 | } 3005 | }, 3006 | "node_modules/safer-buffer": { 3007 | "version": "2.1.2", 3008 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 3009 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 3010 | "license": "MIT" 3011 | }, 3012 | "node_modules/semver": { 3013 | "version": "7.7.1", 3014 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 3015 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 3016 | "license": "ISC", 3017 | "bin": { 3018 | "semver": "bin/semver.js" 3019 | }, 3020 | "engines": { 3021 | "node": ">=10" 3022 | } 3023 | }, 3024 | "node_modules/set-function-length": { 3025 | "version": "1.2.2", 3026 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", 3027 | "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", 3028 | "license": "MIT", 3029 | "dependencies": { 3030 | "define-data-property": "^1.1.4", 3031 | "es-errors": "^1.3.0", 3032 | "function-bind": "^1.1.2", 3033 | "get-intrinsic": "^1.2.4", 3034 | "gopd": "^1.0.1", 3035 | "has-property-descriptors": "^1.0.2" 3036 | }, 3037 | "engines": { 3038 | "node": ">= 0.4" 3039 | } 3040 | }, 3041 | "node_modules/set-function-name": { 3042 | "version": "2.0.2", 3043 | "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", 3044 | "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", 3045 | "license": "MIT", 3046 | "dependencies": { 3047 | "define-data-property": "^1.1.4", 3048 | "es-errors": "^1.3.0", 3049 | "functions-have-names": "^1.2.3", 3050 | "has-property-descriptors": "^1.0.2" 3051 | }, 3052 | "engines": { 3053 | "node": ">= 0.4" 3054 | } 3055 | }, 3056 | "node_modules/set-proto": { 3057 | "version": "1.0.0", 3058 | "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", 3059 | "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", 3060 | "license": "MIT", 3061 | "dependencies": { 3062 | "dunder-proto": "^1.0.1", 3063 | "es-errors": "^1.3.0", 3064 | "es-object-atoms": "^1.0.0" 3065 | }, 3066 | "engines": { 3067 | "node": ">= 0.4" 3068 | } 3069 | }, 3070 | "node_modules/side-channel": { 3071 | "version": "1.1.0", 3072 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", 3073 | "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", 3074 | "license": "MIT", 3075 | "dependencies": { 3076 | "es-errors": "^1.3.0", 3077 | "object-inspect": "^1.13.3", 3078 | "side-channel-list": "^1.0.0", 3079 | "side-channel-map": "^1.0.1", 3080 | "side-channel-weakmap": "^1.0.2" 3081 | }, 3082 | "engines": { 3083 | "node": ">= 0.4" 3084 | }, 3085 | "funding": { 3086 | "url": "https://github.com/sponsors/ljharb" 3087 | } 3088 | }, 3089 | "node_modules/side-channel-list": { 3090 | "version": "1.0.0", 3091 | "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", 3092 | "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", 3093 | "license": "MIT", 3094 | "dependencies": { 3095 | "es-errors": "^1.3.0", 3096 | "object-inspect": "^1.13.3" 3097 | }, 3098 | "engines": { 3099 | "node": ">= 0.4" 3100 | }, 3101 | "funding": { 3102 | "url": "https://github.com/sponsors/ljharb" 3103 | } 3104 | }, 3105 | "node_modules/side-channel-map": { 3106 | "version": "1.0.1", 3107 | "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", 3108 | "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", 3109 | "license": "MIT", 3110 | "dependencies": { 3111 | "call-bound": "^1.0.2", 3112 | "es-errors": "^1.3.0", 3113 | "get-intrinsic": "^1.2.5", 3114 | "object-inspect": "^1.13.3" 3115 | }, 3116 | "engines": { 3117 | "node": ">= 0.4" 3118 | }, 3119 | "funding": { 3120 | "url": "https://github.com/sponsors/ljharb" 3121 | } 3122 | }, 3123 | "node_modules/side-channel-weakmap": { 3124 | "version": "1.0.2", 3125 | "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", 3126 | "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", 3127 | "license": "MIT", 3128 | "dependencies": { 3129 | "call-bound": "^1.0.2", 3130 | "es-errors": "^1.3.0", 3131 | "get-intrinsic": "^1.2.5", 3132 | "object-inspect": "^1.13.3", 3133 | "side-channel-map": "^1.0.1" 3134 | }, 3135 | "engines": { 3136 | "node": ">= 0.4" 3137 | }, 3138 | "funding": { 3139 | "url": "https://github.com/sponsors/ljharb" 3140 | } 3141 | }, 3142 | "node_modules/sift": { 3143 | "version": "17.1.3", 3144 | "resolved": "https://registry.npmjs.org/sift/-/sift-17.1.3.tgz", 3145 | "integrity": "sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==", 3146 | "license": "MIT" 3147 | }, 3148 | "node_modules/simple-update-notifier": { 3149 | "version": "2.0.0", 3150 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", 3151 | "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", 3152 | "license": "MIT", 3153 | "dependencies": { 3154 | "semver": "^7.5.3" 3155 | }, 3156 | "engines": { 3157 | "node": ">=10" 3158 | } 3159 | }, 3160 | "node_modules/snake-case": { 3161 | "version": "3.0.4", 3162 | "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz", 3163 | "integrity": "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==", 3164 | "license": "MIT", 3165 | "dependencies": { 3166 | "dot-case": "^3.0.4", 3167 | "tslib": "^2.0.3" 3168 | } 3169 | }, 3170 | "node_modules/sparse-bitfield": { 3171 | "version": "3.0.3", 3172 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 3173 | "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", 3174 | "license": "MIT", 3175 | "dependencies": { 3176 | "memory-pager": "^1.0.2" 3177 | } 3178 | }, 3179 | "node_modules/sshpk": { 3180 | "version": "1.18.0", 3181 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", 3182 | "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", 3183 | "license": "MIT", 3184 | "dependencies": { 3185 | "asn1": "~0.2.3", 3186 | "assert-plus": "^1.0.0", 3187 | "bcrypt-pbkdf": "^1.0.0", 3188 | "dashdash": "^1.12.0", 3189 | "ecc-jsbn": "~0.1.1", 3190 | "getpass": "^0.1.1", 3191 | "jsbn": "~0.1.0", 3192 | "safer-buffer": "^2.0.2", 3193 | "tweetnacl": "~0.14.0" 3194 | }, 3195 | "bin": { 3196 | "sshpk-conv": "bin/sshpk-conv", 3197 | "sshpk-sign": "bin/sshpk-sign", 3198 | "sshpk-verify": "bin/sshpk-verify" 3199 | }, 3200 | "engines": { 3201 | "node": ">=0.10.0" 3202 | } 3203 | }, 3204 | "node_modules/stealthy-require": { 3205 | "version": "1.1.1", 3206 | "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", 3207 | "integrity": "sha512-ZnWpYnYugiOVEY5GkcuJK1io5V8QmNYChG62gSit9pQVGErXtrKuPC55ITaVSukmMta5qpMU7vqLt2Lnni4f/g==", 3208 | "license": "ISC", 3209 | "engines": { 3210 | "node": ">=0.10.0" 3211 | } 3212 | }, 3213 | "node_modules/string_decoder": { 3214 | "version": "1.1.1", 3215 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 3216 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 3217 | "license": "MIT", 3218 | "dependencies": { 3219 | "safe-buffer": "~5.1.0" 3220 | } 3221 | }, 3222 | "node_modules/string_decoder/node_modules/safe-buffer": { 3223 | "version": "5.1.2", 3224 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 3225 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 3226 | "license": "MIT" 3227 | }, 3228 | "node_modules/string.prototype.trim": { 3229 | "version": "1.2.10", 3230 | "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", 3231 | "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", 3232 | "license": "MIT", 3233 | "dependencies": { 3234 | "call-bind": "^1.0.8", 3235 | "call-bound": "^1.0.2", 3236 | "define-data-property": "^1.1.4", 3237 | "define-properties": "^1.2.1", 3238 | "es-abstract": "^1.23.5", 3239 | "es-object-atoms": "^1.0.0", 3240 | "has-property-descriptors": "^1.0.2" 3241 | }, 3242 | "engines": { 3243 | "node": ">= 0.4" 3244 | }, 3245 | "funding": { 3246 | "url": "https://github.com/sponsors/ljharb" 3247 | } 3248 | }, 3249 | "node_modules/string.prototype.trimend": { 3250 | "version": "1.0.9", 3251 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", 3252 | "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", 3253 | "license": "MIT", 3254 | "dependencies": { 3255 | "call-bind": "^1.0.8", 3256 | "call-bound": "^1.0.2", 3257 | "define-properties": "^1.2.1", 3258 | "es-object-atoms": "^1.0.0" 3259 | }, 3260 | "engines": { 3261 | "node": ">= 0.4" 3262 | }, 3263 | "funding": { 3264 | "url": "https://github.com/sponsors/ljharb" 3265 | } 3266 | }, 3267 | "node_modules/string.prototype.trimstart": { 3268 | "version": "1.0.8", 3269 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", 3270 | "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", 3271 | "license": "MIT", 3272 | "dependencies": { 3273 | "call-bind": "^1.0.7", 3274 | "define-properties": "^1.2.1", 3275 | "es-object-atoms": "^1.0.0" 3276 | }, 3277 | "engines": { 3278 | "node": ">= 0.4" 3279 | }, 3280 | "funding": { 3281 | "url": "https://github.com/sponsors/ljharb" 3282 | } 3283 | }, 3284 | "node_modules/superstruct": { 3285 | "version": "2.0.2", 3286 | "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", 3287 | "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", 3288 | "license": "MIT", 3289 | "engines": { 3290 | "node": ">=14.0.0" 3291 | } 3292 | }, 3293 | "node_modules/supports-color": { 3294 | "version": "5.5.0", 3295 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 3296 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 3297 | "license": "MIT", 3298 | "dependencies": { 3299 | "has-flag": "^3.0.0" 3300 | }, 3301 | "engines": { 3302 | "node": ">=4" 3303 | } 3304 | }, 3305 | "node_modules/text-encoding-utf-8": { 3306 | "version": "1.0.2", 3307 | "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", 3308 | "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==" 3309 | }, 3310 | "node_modules/through": { 3311 | "version": "2.3.8", 3312 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 3313 | "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", 3314 | "license": "MIT" 3315 | }, 3316 | "node_modules/tldts": { 3317 | "version": "6.1.77", 3318 | "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.77.tgz", 3319 | "integrity": "sha512-lBpoWgy+kYmuXWQ83+R7LlJCnsd9YW8DGpZSHhrMl4b8Ly/1vzOie3OdtmUJDkKxcgRGOehDu5btKkty+JEe+g==", 3320 | "license": "MIT", 3321 | "dependencies": { 3322 | "tldts-core": "^6.1.77" 3323 | }, 3324 | "bin": { 3325 | "tldts": "bin/cli.js" 3326 | } 3327 | }, 3328 | "node_modules/tldts-core": { 3329 | "version": "6.1.77", 3330 | "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.77.tgz", 3331 | "integrity": "sha512-bCaqm24FPk8OgBkM0u/SrEWJgHnhBWYqeBo6yUmcZJDCHt/IfyWBb+14CXdGi4RInMv4v7eUAin15W0DoA+Ytg==", 3332 | "license": "MIT" 3333 | }, 3334 | "node_modules/to-regex-range": { 3335 | "version": "5.0.1", 3336 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3337 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3338 | "license": "MIT", 3339 | "dependencies": { 3340 | "is-number": "^7.0.0" 3341 | }, 3342 | "engines": { 3343 | "node": ">=8.0" 3344 | } 3345 | }, 3346 | "node_modules/toml": { 3347 | "version": "3.0.0", 3348 | "resolved": "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz", 3349 | "integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==", 3350 | "license": "MIT" 3351 | }, 3352 | "node_modules/touch": { 3353 | "version": "3.1.1", 3354 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", 3355 | "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", 3356 | "license": "ISC", 3357 | "bin": { 3358 | "nodetouch": "bin/nodetouch.js" 3359 | } 3360 | }, 3361 | "node_modules/tough-cookie": { 3362 | "version": "5.1.1", 3363 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.1.tgz", 3364 | "integrity": "sha512-Ek7HndSVkp10hmHP9V4qZO1u+pn1RU5sI0Fw+jCU3lyvuMZcgqsNgc6CmJJZyByK4Vm/qotGRJlfgAX8q+4JiA==", 3365 | "license": "BSD-3-Clause", 3366 | "dependencies": { 3367 | "tldts": "^6.1.32" 3368 | }, 3369 | "engines": { 3370 | "node": ">=16" 3371 | } 3372 | }, 3373 | "node_modules/tr46": { 3374 | "version": "5.0.0", 3375 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.0.0.tgz", 3376 | "integrity": "sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==", 3377 | "license": "MIT", 3378 | "dependencies": { 3379 | "punycode": "^2.3.1" 3380 | }, 3381 | "engines": { 3382 | "node": ">=18" 3383 | } 3384 | }, 3385 | "node_modules/tslib": { 3386 | "version": "2.8.1", 3387 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", 3388 | "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", 3389 | "license": "0BSD" 3390 | }, 3391 | "node_modules/tunnel-agent": { 3392 | "version": "0.6.0", 3393 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 3394 | "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", 3395 | "license": "Apache-2.0", 3396 | "dependencies": { 3397 | "safe-buffer": "^5.0.1" 3398 | }, 3399 | "engines": { 3400 | "node": "*" 3401 | } 3402 | }, 3403 | "node_modules/tweetnacl": { 3404 | "version": "0.14.5", 3405 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 3406 | "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", 3407 | "license": "Unlicense" 3408 | }, 3409 | "node_modules/typed-array-buffer": { 3410 | "version": "1.0.3", 3411 | "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", 3412 | "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", 3413 | "license": "MIT", 3414 | "dependencies": { 3415 | "call-bound": "^1.0.3", 3416 | "es-errors": "^1.3.0", 3417 | "is-typed-array": "^1.1.14" 3418 | }, 3419 | "engines": { 3420 | "node": ">= 0.4" 3421 | } 3422 | }, 3423 | "node_modules/typed-array-byte-length": { 3424 | "version": "1.0.3", 3425 | "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", 3426 | "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", 3427 | "license": "MIT", 3428 | "dependencies": { 3429 | "call-bind": "^1.0.8", 3430 | "for-each": "^0.3.3", 3431 | "gopd": "^1.2.0", 3432 | "has-proto": "^1.2.0", 3433 | "is-typed-array": "^1.1.14" 3434 | }, 3435 | "engines": { 3436 | "node": ">= 0.4" 3437 | }, 3438 | "funding": { 3439 | "url": "https://github.com/sponsors/ljharb" 3440 | } 3441 | }, 3442 | "node_modules/typed-array-byte-offset": { 3443 | "version": "1.0.4", 3444 | "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", 3445 | "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", 3446 | "license": "MIT", 3447 | "dependencies": { 3448 | "available-typed-arrays": "^1.0.7", 3449 | "call-bind": "^1.0.8", 3450 | "for-each": "^0.3.3", 3451 | "gopd": "^1.2.0", 3452 | "has-proto": "^1.2.0", 3453 | "is-typed-array": "^1.1.15", 3454 | "reflect.getprototypeof": "^1.0.9" 3455 | }, 3456 | "engines": { 3457 | "node": ">= 0.4" 3458 | }, 3459 | "funding": { 3460 | "url": "https://github.com/sponsors/ljharb" 3461 | } 3462 | }, 3463 | "node_modules/typed-array-length": { 3464 | "version": "1.0.7", 3465 | "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", 3466 | "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", 3467 | "license": "MIT", 3468 | "dependencies": { 3469 | "call-bind": "^1.0.7", 3470 | "for-each": "^0.3.3", 3471 | "gopd": "^1.0.1", 3472 | "is-typed-array": "^1.1.13", 3473 | "possible-typed-array-names": "^1.0.0", 3474 | "reflect.getprototypeof": "^1.0.6" 3475 | }, 3476 | "engines": { 3477 | "node": ">= 0.4" 3478 | }, 3479 | "funding": { 3480 | "url": "https://github.com/sponsors/ljharb" 3481 | } 3482 | }, 3483 | "node_modules/unbox-primitive": { 3484 | "version": "1.1.0", 3485 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", 3486 | "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", 3487 | "license": "MIT", 3488 | "dependencies": { 3489 | "call-bound": "^1.0.3", 3490 | "has-bigints": "^1.0.2", 3491 | "has-symbols": "^1.1.0", 3492 | "which-boxed-primitive": "^1.1.1" 3493 | }, 3494 | "engines": { 3495 | "node": ">= 0.4" 3496 | }, 3497 | "funding": { 3498 | "url": "https://github.com/sponsors/ljharb" 3499 | } 3500 | }, 3501 | "node_modules/undefsafe": { 3502 | "version": "2.0.5", 3503 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 3504 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", 3505 | "license": "MIT" 3506 | }, 3507 | "node_modules/universalify": { 3508 | "version": "0.2.0", 3509 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", 3510 | "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", 3511 | "license": "MIT", 3512 | "engines": { 3513 | "node": ">= 4.0.0" 3514 | } 3515 | }, 3516 | "node_modules/uri-js": { 3517 | "version": "4.4.1", 3518 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 3519 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 3520 | "license": "BSD-2-Clause", 3521 | "peer": true, 3522 | "dependencies": { 3523 | "punycode": "^2.1.0" 3524 | } 3525 | }, 3526 | "node_modules/url-parse": { 3527 | "version": "1.5.10", 3528 | "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", 3529 | "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", 3530 | "license": "MIT", 3531 | "dependencies": { 3532 | "querystringify": "^2.1.1", 3533 | "requires-port": "^1.0.0" 3534 | } 3535 | }, 3536 | "node_modules/utf-8-validate": { 3537 | "version": "5.0.10", 3538 | "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", 3539 | "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", 3540 | "hasInstallScript": true, 3541 | "license": "MIT", 3542 | "optional": true, 3543 | "dependencies": { 3544 | "node-gyp-build": "^4.3.0" 3545 | }, 3546 | "engines": { 3547 | "node": ">=6.14.2" 3548 | } 3549 | }, 3550 | "node_modules/util-deprecate": { 3551 | "version": "1.0.2", 3552 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3553 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 3554 | "license": "MIT" 3555 | }, 3556 | "node_modules/uuid": { 3557 | "version": "8.3.2", 3558 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", 3559 | "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", 3560 | "license": "MIT", 3561 | "bin": { 3562 | "uuid": "dist/bin/uuid" 3563 | } 3564 | }, 3565 | "node_modules/verror": { 3566 | "version": "1.10.0", 3567 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 3568 | "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", 3569 | "engines": [ 3570 | "node >=0.6.0" 3571 | ], 3572 | "license": "MIT", 3573 | "dependencies": { 3574 | "assert-plus": "^1.0.0", 3575 | "core-util-is": "1.0.2", 3576 | "extsprintf": "^1.2.0" 3577 | } 3578 | }, 3579 | "node_modules/verror/node_modules/core-util-is": { 3580 | "version": "1.0.2", 3581 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 3582 | "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", 3583 | "license": "MIT" 3584 | }, 3585 | "node_modules/webidl-conversions": { 3586 | "version": "7.0.0", 3587 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", 3588 | "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", 3589 | "license": "BSD-2-Clause", 3590 | "engines": { 3591 | "node": ">=12" 3592 | } 3593 | }, 3594 | "node_modules/whatwg-url": { 3595 | "version": "14.1.0", 3596 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.1.0.tgz", 3597 | "integrity": "sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==", 3598 | "license": "MIT", 3599 | "dependencies": { 3600 | "tr46": "^5.0.0", 3601 | "webidl-conversions": "^7.0.0" 3602 | }, 3603 | "engines": { 3604 | "node": ">=18" 3605 | } 3606 | }, 3607 | "node_modules/which-boxed-primitive": { 3608 | "version": "1.1.1", 3609 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", 3610 | "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", 3611 | "license": "MIT", 3612 | "dependencies": { 3613 | "is-bigint": "^1.1.0", 3614 | "is-boolean-object": "^1.2.1", 3615 | "is-number-object": "^1.1.1", 3616 | "is-string": "^1.1.1", 3617 | "is-symbol": "^1.1.1" 3618 | }, 3619 | "engines": { 3620 | "node": ">= 0.4" 3621 | }, 3622 | "funding": { 3623 | "url": "https://github.com/sponsors/ljharb" 3624 | } 3625 | }, 3626 | "node_modules/which-builtin-type": { 3627 | "version": "1.2.1", 3628 | "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", 3629 | "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", 3630 | "license": "MIT", 3631 | "dependencies": { 3632 | "call-bound": "^1.0.2", 3633 | "function.prototype.name": "^1.1.6", 3634 | "has-tostringtag": "^1.0.2", 3635 | "is-async-function": "^2.0.0", 3636 | "is-date-object": "^1.1.0", 3637 | "is-finalizationregistry": "^1.1.0", 3638 | "is-generator-function": "^1.0.10", 3639 | "is-regex": "^1.2.1", 3640 | "is-weakref": "^1.0.2", 3641 | "isarray": "^2.0.5", 3642 | "which-boxed-primitive": "^1.1.0", 3643 | "which-collection": "^1.0.2", 3644 | "which-typed-array": "^1.1.16" 3645 | }, 3646 | "engines": { 3647 | "node": ">= 0.4" 3648 | }, 3649 | "funding": { 3650 | "url": "https://github.com/sponsors/ljharb" 3651 | } 3652 | }, 3653 | "node_modules/which-builtin-type/node_modules/isarray": { 3654 | "version": "2.0.5", 3655 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 3656 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", 3657 | "license": "MIT" 3658 | }, 3659 | "node_modules/which-collection": { 3660 | "version": "1.0.2", 3661 | "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", 3662 | "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", 3663 | "license": "MIT", 3664 | "dependencies": { 3665 | "is-map": "^2.0.3", 3666 | "is-set": "^2.0.3", 3667 | "is-weakmap": "^2.0.2", 3668 | "is-weakset": "^2.0.3" 3669 | }, 3670 | "engines": { 3671 | "node": ">= 0.4" 3672 | }, 3673 | "funding": { 3674 | "url": "https://github.com/sponsors/ljharb" 3675 | } 3676 | }, 3677 | "node_modules/which-typed-array": { 3678 | "version": "1.1.18", 3679 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.18.tgz", 3680 | "integrity": "sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==", 3681 | "license": "MIT", 3682 | "dependencies": { 3683 | "available-typed-arrays": "^1.0.7", 3684 | "call-bind": "^1.0.8", 3685 | "call-bound": "^1.0.3", 3686 | "for-each": "^0.3.3", 3687 | "gopd": "^1.2.0", 3688 | "has-tostringtag": "^1.0.2" 3689 | }, 3690 | "engines": { 3691 | "node": ">= 0.4" 3692 | }, 3693 | "funding": { 3694 | "url": "https://github.com/sponsors/ljharb" 3695 | } 3696 | }, 3697 | "node_modules/wrappy": { 3698 | "version": "1.0.2", 3699 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3700 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3701 | "license": "ISC" 3702 | }, 3703 | "node_modules/ws": { 3704 | "version": "7.5.10", 3705 | "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", 3706 | "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", 3707 | "license": "MIT", 3708 | "engines": { 3709 | "node": ">=8.3.0" 3710 | }, 3711 | "peerDependencies": { 3712 | "bufferutil": "^4.0.1", 3713 | "utf-8-validate": "^5.0.2" 3714 | }, 3715 | "peerDependenciesMeta": { 3716 | "bufferutil": { 3717 | "optional": true 3718 | }, 3719 | "utf-8-validate": { 3720 | "optional": true 3721 | } 3722 | } 3723 | } 3724 | } 3725 | } 3726 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "javascript", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1", 7 | "dev": "nodemon index.js" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "description": "", 12 | "type": "module", 13 | "dependencies": { 14 | "@project-serum/anchor": "^0.26.0", 15 | "@solana/web3.js": "^1.98.0", 16 | "axios": "^1.7.9", 17 | "bs58": "^6.0.0", 18 | "cross-fetch": "^4.1.0", 19 | "dotenv": "^16.4.7", 20 | "mongoose": "^8.10.0", 21 | "node-telegram-bot-api": "^0.66.0", 22 | "nodemon": "^3.1.9" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /utiles/func.js: -------------------------------------------------------------------------------- 1 | import {Connection, PublicKey} from "@solana/web3.js"; 2 | import dotenv from "dotenv"; 3 | dotenv.config(); 4 | 5 | const SHYFT_RPC_URL = process.env.SHYFT_RPC_URL; 6 | const connection = new Connection("https://mainnet.helius-rpc.com/?api-key=d1ea1c76-d8f6-408e-8e28-f760424fe325"); 7 | 8 | export function toSciNotationFixed(num) { 9 | if (num === 0) return "0.00"; 10 | 11 | let exponent = 0; 12 | while (Math.abs(num) < 1) { 13 | num *= 10; 14 | exponent--; 15 | } 16 | while (Math.abs(num) >= 10) { 17 | num /= 10; 18 | exponent++; 19 | } 20 | return `${num.toFixed(2)} e${exponent}`; 21 | } 22 | 23 | export function convertUtcToLocalTime(utcTimestamp) { 24 | const utcDate = new Date(utcTimestamp * 1000); 25 | return utcDate.toISOString().replace("T", " ").split(".")[0] + " UTC"; 26 | } 27 | 28 | export function shortenString(s) { 29 | return s.length <= 5 ? s : `${s.slice(0, 5)}...${s.slice(-4)}`; 30 | } 31 | 32 | export async function getBalance(tokenMintAddress, walletAddress) { 33 | try { 34 | const tokenMint = new PublicKey(tokenMintAddress); 35 | const owner = new PublicKey(walletAddress); 36 | const tokenAccountAddress = await PublicKey.findProgramAddress( 37 | [owner.toBuffer(), tokenMint.toBuffer()], 38 | PublicKey.default 39 | ); 40 | const response = await connection.getTokenAccountBalance(tokenAccountAddress[0]); 41 | return response?.value?.uiAmount || 0.0; 42 | } catch (error) { 43 | console.error("Error getting token balance:", error); 44 | return 0.0; 45 | } 46 | } 47 | 48 | export async function getSolBalance(publicKey) { 49 | try { 50 | const solConnection = new Connection(SHYFT_RPC_URL); 51 | const balance = await solConnection.getBalance(new PublicKey(publicKey)); 52 | return balance / 10 ** 9; // Convert lamports to SOL 53 | } catch (error) { 54 | console.error("Error getting SOL balance:", error); 55 | return 0.0; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /utiles/monitor.js: -------------------------------------------------------------------------------- 1 | import fetch from "node-fetch"; 2 | import WebSocket from "ws"; 3 | import axios from "axios"; 4 | import {swap_init, swapTokens} from "./swap.js"; 5 | import {toSciNotationFixed, convertUtcToLocalTime, shortenString, getSolBalance, getBalance} from "./func.js"; 6 | import Target from "../model/targetModel.js"; 7 | import User from "../model/userModel.js"; 8 | let ws = null; 9 | let wsThread = null; 10 | const TOKEN = "7897293309:AAGtM0y5fwk-YuNlo1llgRN5LvHgW2DKpcs"; 11 | let tgID = ""; 12 | let mineWallet = ""; 13 | let tgUsername = ""; 14 | let myTargetWalletList = []; 15 | const cieloUrl = "https://feed-api.cielo.finance/api/v1/tracked-wallets"; 16 | const headers = { 17 | accept: "application/json", 18 | "content-type": "application/json", 19 | "X-API-KEY": "22e3b1e2-df44-4cbf-8b36-207b80a68ac4", 20 | }; 21 | 22 | function runWebSocket() { 23 | ws = new WebSocket("wss://feed-api.cielo.finance/api/v1/ws", { 24 | headers: {"X-API-KEY": "22e3b1e2-df44-4cbf-8b36-207b80a68ac4"}, 25 | }); 26 | 27 | ws.on("open", onOpen); 28 | ws.on("message", onMessage); 29 | ws.on("error", onError); 30 | ws.on("close", onClose); 31 | } 32 | 33 | async function addTrackedWallets(wallet, label) { 34 | try { 35 | const response = await fetch(cieloUrl, { 36 | method: "POST", 37 | headers, 38 | body: JSON.stringify({wallet, label}), 39 | }); 40 | console.log(`${wallet} is added to track wallet list ${label}`); 41 | } catch (error) { 42 | console.error("An error occurred:", error); 43 | } 44 | } 45 | 46 | async function getTrackedWallets() { 47 | const response = await fetch(cieloUrl, {headers}); 48 | return response.json(); 49 | } 50 | 51 | async function sendMessageToTelegram(message) { 52 | const { 53 | token0_amount, 54 | token0_address, 55 | token0_symbol, 56 | token0_amount_usd, 57 | token1_amount, 58 | token1_address, 59 | token1_symbol, 60 | token1_amount_usd, 61 | tx_hash, 62 | wallet, 63 | timestamp, 64 | } = message; 65 | console.log("mineWallet", mineWallet, wallet); 66 | console.log("myWalletList", myTargetWalletList); 67 | 68 | if (myTargetWalletList.includes(wallet)) { 69 | if (mineWallet !== wallet) { 70 | const messageContent = 71 | `💼 \`${shortenString(wallet)}\`\n` + 72 | `⭐️ **From**: ${toSciNotationFixed(token0_amount)} #${token0_symbol} ➡️ **To**: ${toSciNotationFixed( 73 | token1_amount 74 | )} #${token1_symbol} ($${token1_amount_usd.toFixed(3)})\n` + 75 | `🔗 [Tx Hash](https://solscan.io/tx/${tx_hash}) 📅 **Date**: ${convertUtcToLocalTime(timestamp)}`; 76 | 77 | try { 78 | await axios.post(`https://api.telegram.org/bot${TOKEN}/sendMessage`, { 79 | chat_id: tgID, 80 | text: messageContent, 81 | parse_mode: "Markdown", 82 | disable_web_page_preview: true, 83 | }); 84 | } catch (error) { 85 | console.error("Error sending message to Telegram:", error); 86 | } 87 | const userData = await Target.findOne({target_wallet: wallet, username: tgUsername}); 88 | if (!userData) return; 89 | 90 | const max_buy = parseFloat(userData.max_buy); 91 | const min_buy = parseFloat(userData.min_buy); 92 | const buy_percentage = parseFloat(userData.buy_percentage); 93 | const buy_slippage = parseFloat(userData.buy_slippage); 94 | const sell_slippage = parseFloat(userData.buy_slippage); 95 | 96 | if (token0_symbol === "SOL") { 97 | const solBal = await getSolBalance(mineWallet); 98 | const expBal = token0_amount * (buy_percentage / 100); 99 | 100 | if (expBal > max_buy) { 101 | if (max_buy > solBal) { 102 | sendAlert(solBal, expBal, token1_symbol); 103 | } else { 104 | console.log("swap", solBal, max_buy); 105 | swapTokens(token0_address, token1_address, Math.max(min_buy, max_buy), buy_slippage); 106 | } 107 | } else { 108 | if (expBal > solBal) { 109 | sendAlert(solBal, expBal, token1_symbol); 110 | } else { 111 | console.log("swap buy", expBal, solBal); 112 | swapTokens(token0_address, token1_address, Math.max(min_buy, expBal), buy_slippage); 113 | } 114 | } 115 | } else { 116 | const tokenBal = await getBalance(mineWallet); 117 | const expBal = token0_amount * (buy_percentage / 100); 118 | console.log("swap sell", tokenBal, expBal); 119 | swapTokens(token0_address, token1_address, Math.min(tokenBal, expBal), sell_slippage); 120 | } 121 | } else { 122 | const messageContent = 123 | `💼 My Wallet \`${shortenString(wallet)}\`\n` + 124 | `⭐️ **From**: ${toSciNotationFixed(token0_amount)} #${token0_symbol} ➡️ **To**: ${toSciNotationFixed( 125 | token1_amount 126 | )} #${token1_symbol} ($${token1_amount_usd.toFixed(3)})\n` + 127 | `🔗 [Tx Hash](https://solscan.io/tx/${tx_hash}) 📅 **Date**: ${convertUtcToLocalTime(timestamp)}`; 128 | 129 | try { 130 | await axios.post(`https://api.telegram.org/bot${TOKEN}/sendMessage`, { 131 | chat_id: tgID, 132 | text: messageContent, 133 | parse_mode: "Markdown", 134 | disable_web_page_preview: true, 135 | }); 136 | } catch (error) { 137 | console.error("Error sending message to Telegram:", error); 138 | } 139 | } 140 | } 141 | } 142 | 143 | async function sendAlert(currentBalance, requiredBalance, tokenName) { 144 | console.log("alert"); 145 | 146 | const alertContent = 147 | `⚠️ **Insufficient SOL Balance Alert!**\n\n` + 148 | `Your current SOL balance is **${currentBalance} SOL**, which is not enough to cover **${requiredBalance} SOL** for **${tokenName}**.\n\n` + 149 | `**Action Required:** Ensure you have enough SOL in your wallet to proceed.`; 150 | 151 | await axios.post(`https://api.telegram.org/bot${TOKEN}/sendMessage`, { 152 | chat_id: tgID, 153 | text: alertContent, 154 | parse_mode: "Markdown", 155 | disable_web_page_preview: true, 156 | }); 157 | } 158 | 159 | async function deleteTrackedWallets(id) { 160 | await fetch(cieloUrl, { 161 | method: "DELETE", 162 | headers, 163 | body: JSON.stringify({wallet_ids: id}), 164 | }); 165 | } 166 | 167 | function onOpen() { 168 | console.log("Real-time tracking started.."); 169 | const subscribeMessage = { 170 | type: "subscribe_feed", 171 | filter: { 172 | tx_types: ["swap"], 173 | chains: ["solana"], 174 | }, 175 | }; 176 | ws.send(JSON.stringify(subscribeMessage)); 177 | } 178 | 179 | function onMessage(data) { 180 | const message = JSON.parse(data); 181 | if (message.type === "tx" && message.data.token0_address !== message.data.token1_address) { 182 | sendMessageToTelegram(message.data); 183 | } 184 | } 185 | 186 | function onError(error) { 187 | console.error("WebSocket error:", error); 188 | onOpen(); 189 | } 190 | 191 | function onClose(code, msg) { 192 | console.log("WebSocket connection closed", code, msg); 193 | } 194 | 195 | async function startMonitor(username, userid) { 196 | console.log("Start monitor", username); 197 | tgID = userid; 198 | tgUsername = username; 199 | const currentWallet = await Target.find({username, added: true}); 200 | const mineWalletData = await User.findOne({username}); 201 | mineWallet = mineWalletData.public_key; 202 | swap_init(mineWalletData.private_key); 203 | const walletList = currentWallet.map((wallet) => wallet.target_wallet); 204 | walletList.push(mineWallet); 205 | myTargetWalletList = []; 206 | currentWallet.map((wallet) => { 207 | myTargetWalletList.push(wallet.target_wallet); 208 | }); 209 | const trackedData = await getTrackedWallets(); 210 | 211 | for (const traderWallet of walletList) { 212 | if (!trackedData.data.tracked_wallets.some((wallet) => wallet.wallet === traderWallet)) { 213 | try { 214 | await addTrackedWallets(traderWallet, traderWallet); 215 | } catch (error) { 216 | console.error("Error adding wallet:", traderWallet, error); 217 | } 218 | } 219 | } 220 | 221 | wsThread = new Promise((resolve) => { 222 | runWebSocket(); 223 | resolve(); 224 | }); 225 | } 226 | 227 | async function stopMonitor(username) { 228 | console.log("Stop monitor", username); 229 | if (ws) { 230 | ws.close(); 231 | ws = null; 232 | } 233 | if (wsThread) { 234 | await wsThread; 235 | wsThread = null; 236 | } 237 | } 238 | 239 | export default {startMonitor, stopMonitor}; 240 | -------------------------------------------------------------------------------- /utiles/swap.js: -------------------------------------------------------------------------------- 1 | import { 2 | SystemProgram, 3 | Connection, 4 | Keypair, 5 | VersionedTransaction, 6 | TransactionMessage, 7 | PublicKey, 8 | } from "@solana/web3.js"; 9 | import axios from "axios"; 10 | import fetch from "cross-fetch"; 11 | import { Wallet } from "@project-serum/anchor"; 12 | import bs58 from "bs58"; 13 | import dotenv from "dotenv"; 14 | dotenv.config({ 15 | path: ".env", 16 | }); 17 | let privateKey = 18 | "3J1An9kwrHEz2ruEvyENYzzNxAQJGj1eEaBpKCQozrPFg2RgpHwsMFV99Z3em6cTYZBgBvZGNiM9ApS1LYuSkKFs"; 19 | const secretKeyBase58 = privateKey; 20 | const secretKeyBuffer = bs58.decode(String(secretKeyBase58)); 21 | const secretKeyUint8Array = new Uint8Array(secretKeyBuffer); 22 | const wallet = new Wallet(Keypair.fromSecretKey(secretKeyUint8Array)); 23 | const SHYFT_RPC_URL = process.env.SHYFT_RPC_URL; 24 | const JITO_RPC_URL = process.env.JITO_RPC_URL; 25 | const JUP_SWAP_URL = process.env.JUP_SWAP_URL; 26 | 27 | const connection = new Connection(String(SHYFT_RPC_URL), { 28 | commitment: "confirmed", 29 | }); 30 | 31 | const TIP_ACCOUNTS = [ 32 | "96gYZGLnJYVFmbjzopPSU6QiEV5fGqZNyN9nmNhvrZU5", 33 | "HFqU5x63VTqvQss8hp11i4wVV8bD44PvwucfZ2bU7gRe", 34 | "Cw8CFyM9FkoMi7K7Crf6HNQqf4uEMzpKw6QNghXLvLkY", 35 | "ADaUMid9yfUytqMBgopwjb2DTLSokTSzL1zt6iGPaS49", 36 | "DfXygSm4jCyNCybVYYK6DwvWqjKee8pbDmJGcLWNDXjh", 37 | "ADuUkR4vqLUMWXxW9gh6D6L8pMSawimctcNZ5pGwDcEt", 38 | "DttWaMuVvTiduZRnguLF7jNxTgiMBZ1hyAumKUiL2KRL", 39 | "3AVi9Tg9Uo68tJfuvoKvqKNWKkC5wPdSSdeBnizKZ6jT", 40 | ].map((pubkey) => new PublicKey(pubkey)); 41 | 42 | const sendBundle = async (connection, signedTransaction) => { 43 | try { 44 | const { blockhash } = await connection.getLatestBlockhash("finalized"); 45 | const tipAccount = 46 | TIP_ACCOUNTS[Math.floor(Math.random() * TIP_ACCOUNTS.length)]; 47 | 48 | const instruction1 = SystemProgram.transfer({ 49 | fromPubkey: wallet.publicKey, 50 | toPubkey: tipAccount, 51 | lamports: 100000, 52 | }); 53 | 54 | const messageV0 = new TransactionMessage({ 55 | payerKey: wallet.publicKey, 56 | instructions: [instruction1], 57 | recentBlockhash: blockhash, 58 | }).compileToV0Message(); 59 | 60 | const vTxn = new VersionedTransaction(messageV0); 61 | vTxn.sign([wallet.payer]); 62 | 63 | const encodedTx = [signedTransaction, vTxn].map((tx) => 64 | bs58.encode(tx.serialize()) 65 | ); 66 | const jitoURL = JITO_RPC_URL; 67 | const payload = { 68 | jsonrpc: "2.0", 69 | id: 1, 70 | method: "sendBundle", 71 | params: [encodedTx], 72 | }; 73 | 74 | const response = await axios.post(jitoURL, payload, { 75 | headers: { "Content-Type": "application/json" }, 76 | }); 77 | return response.data.result; 78 | } catch (error) { 79 | console.error("Error sending bundle:", error.message); 80 | if (error.message.includes("Bundle Dropped, no connected leader up soon")) { 81 | console.error("Bundle Dropped: No connected leader up soon."); 82 | } 83 | return null; 84 | } 85 | }; 86 | 87 | export async function swapTokens(from, to, Amount, slippage) { 88 | try { 89 | const inputMint = from; 90 | const outputMint = to; 91 | const tokenMint = new PublicKey(inputMint); 92 | const mintInfo = await connection.getParsedAccountInfo(tokenMint); 93 | const decimals = mintInfo.value.data.parsed.info.decimals; 94 | 95 | const amount = Amount * Math.pow(10, decimals); // The amount of tokens you want to swap 96 | console.log("amount: ", amount); 97 | const slippageBps = slippage; 98 | // const quoteUrl = `https://jup.ny.shyft.to/quote?inputMint=${inputMint}&outputMint=${outputMint}&amount=${amount}&slippageBps=${slippageBps}`; 99 | const quoteUrl = `https:quote-api.jup.ag/v6/quote?inputMint=${inputMint}&outputMint=${outputMint}&amount=${amount}&slippageBps=${slippageBps}`; 100 | const quoteResponse = await fetch(quoteUrl, { 101 | headers: { 102 | "Content-Type": "application/json", 103 | // "x-api-key": SHYFT_API_KEY, 104 | }, 105 | }).then((res) => res.json()); 106 | 107 | if (quoteResponse.error) 108 | throw new Error(`Quote API Error: ${quoteResponse.error}`); 109 | 110 | const swapResponse = await fetch(JUP_SWAP_URL, { 111 | method: "POST", 112 | headers: { "Content-Type": "application/json" }, 113 | body: JSON.stringify({ 114 | quoteResponse, 115 | userPublicKey: wallet.publicKey.toString(), 116 | wrapAndUnwrapSol: true, 117 | }), 118 | }).then((res) => res.json()); 119 | 120 | if (swapResponse.error) 121 | throw new Error(`Swap API Error: ${swapResponse.error}`); 122 | if (!swapResponse.swapTransaction) 123 | throw new Error("Swap transaction not found in response"); 124 | 125 | const swapTransactionBuf = Buffer.from( 126 | swapResponse.swapTransaction, 127 | "base64" 128 | ); 129 | const latestBlockHash = await connection.getLatestBlockhash(); 130 | const swapTransactionUint8Array = new Uint8Array(swapTransactionBuf); 131 | const transaction = VersionedTransaction.deserialize( 132 | swapTransactionUint8Array 133 | ); 134 | 135 | transaction.message.recentBlockhash = latestBlockHash.blockhash; 136 | 137 | console.log("Signing the transaction..."); 138 | transaction.sign([wallet.payer]); 139 | 140 | console.log("Simulating the transaction..."); 141 | const resSimTx = await connection.simulateTransaction(transaction); 142 | 143 | if (resSimTx.value.err) { 144 | console.error("Transaction simulation failed:", resSimTx.value.err); 145 | return 0; 146 | } 147 | 148 | console.log("Transaction simulation successful!"); 149 | 150 | const bundleResult = await sendBundle(connection, transaction); 151 | if (bundleResult) { 152 | console.log("Bundle sent successfully! Transaction Hash:", bundleResult); 153 | return 1; 154 | } else { 155 | console.log("Failed to send bundle."); 156 | } 157 | } catch (error) { 158 | console.error("Error performing swap:", error); 159 | return 0; 160 | } 161 | } 162 | 163 | export function swap_init(secretKey) { 164 | privateKey = secretKey; 165 | } 166 | // swapTokens( 167 | // "5sSYcgJLJvXYVR46ipW8PE8WgXx5Uv91n3gzm6qjpump", // token A address (from) 168 | // "So11111111111111111111111111111111111111112", // token B address (to) 169 | // 700000 // Replace with the amount of tokens you want to swap (fromm token A)) 170 | // ); 171 | --------------------------------------------------------------------------------