zai-fca 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of zai-fca might be problematic. Click here for more details.
- package/.cache/replit/env/latest +56 -0
- package/.cache/replit/env/latest.json +1 -0
- package/.cache/replit/modules/nodejs-20.res +1 -0
- package/.cache/replit/modules/replit.res +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/typescript/5.6/node_modules/.package-lock.json +178 -0
- package/.cache/typescript/5.6/node_modules/@types/bluebird/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/bluebird/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/bluebird/index.d.ts +1365 -0
- package/.cache/typescript/5.6/node_modules/@types/bluebird/package.json +25 -0
- package/.cache/typescript/5.6/node_modules/@types/caseless/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/caseless/README.md +48 -0
- package/.cache/typescript/5.6/node_modules/@types/caseless/index.d.ts +29 -0
- package/.cache/typescript/5.6/node_modules/@types/caseless/package.json +35 -0
- package/.cache/typescript/5.6/node_modules/@types/mocha/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/mocha/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/mocha/index.d.ts +2929 -0
- package/.cache/typescript/5.6/node_modules/@types/mocha/package.json +56 -0
- package/.cache/typescript/5.6/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.6/node_modules/@types/node/assert.d.ts +1040 -0
- package/.cache/typescript/5.6/node_modules/@types/node/async_hooks.d.ts +541 -0
- package/.cache/typescript/5.6/node_modules/@types/node/buffer.buffer.d.ts +385 -0
- package/.cache/typescript/5.6/node_modules/@types/node/buffer.d.ts +1933 -0
- package/.cache/typescript/5.6/node_modules/@types/node/child_process.d.ts +1549 -0
- package/.cache/typescript/5.6/node_modules/@types/node/cluster.d.ts +579 -0
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/.cache/typescript/5.6/node_modules/@types/node/console.d.ts +452 -0
- package/.cache/typescript/5.6/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.6/node_modules/@types/node/crypto.d.ts +4475 -0
- package/.cache/typescript/5.6/node_modules/@types/node/dgram.d.ts +596 -0
- package/.cache/typescript/5.6/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- package/.cache/typescript/5.6/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/.cache/typescript/5.6/node_modules/@types/node/dns.d.ts +865 -0
- package/.cache/typescript/5.6/node_modules/@types/node/dom-events.d.ts +124 -0
- package/.cache/typescript/5.6/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.6/node_modules/@types/node/events.d.ts +931 -0
- package/.cache/typescript/5.6/node_modules/@types/node/fs/promises.d.ts +1275 -0
- package/.cache/typescript/5.6/node_modules/@types/node/fs.d.ts +4396 -0
- package/.cache/typescript/5.6/node_modules/@types/node/globals.d.ts +566 -0
- package/.cache/typescript/5.6/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/.cache/typescript/5.6/node_modules/@types/node/http.d.ts +1958 -0
- package/.cache/typescript/5.6/node_modules/@types/node/http2.d.ts +2558 -0
- package/.cache/typescript/5.6/node_modules/@types/node/https.d.ts +543 -0
- package/.cache/typescript/5.6/node_modules/@types/node/index.d.ts +92 -0
- package/.cache/typescript/5.6/node_modules/@types/node/inspector.d.ts +3966 -0
- package/.cache/typescript/5.6/node_modules/@types/node/module.d.ts +402 -0
- package/.cache/typescript/5.6/node_modules/@types/node/net.d.ts +1001 -0
- package/.cache/typescript/5.6/node_modules/@types/node/os.d.ts +495 -0
- package/.cache/typescript/5.6/node_modules/@types/node/package.json +220 -0
- package/.cache/typescript/5.6/node_modules/@types/node/path.d.ts +200 -0
- package/.cache/typescript/5.6/node_modules/@types/node/perf_hooks.d.ts +965 -0
- package/.cache/typescript/5.6/node_modules/@types/node/process.d.ts +1963 -0
- package/.cache/typescript/5.6/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.6/node_modules/@types/node/querystring.d.ts +153 -0
- package/.cache/typescript/5.6/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/.cache/typescript/5.6/node_modules/@types/node/readline.d.ts +589 -0
- package/.cache/typescript/5.6/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.6/node_modules/@types/node/sea.d.ts +153 -0
- package/.cache/typescript/5.6/node_modules/@types/node/sqlite.d.ts +213 -0
- package/.cache/typescript/5.6/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.6/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/.cache/typescript/5.6/node_modules/@types/node/stream/web.d.ts +609 -0
- package/.cache/typescript/5.6/node_modules/@types/node/stream.d.ts +1726 -0
- package/.cache/typescript/5.6/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.6/node_modules/@types/node/test.d.ts +2248 -0
- package/.cache/typescript/5.6/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/.cache/typescript/5.6/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.6/node_modules/@types/node/tls.d.ts +1226 -0
- package/.cache/typescript/5.6/node_modules/@types/node/trace_events.d.ts +197 -0
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/.cache/typescript/5.6/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.6/node_modules/@types/node/url.d.ts +972 -0
- package/.cache/typescript/5.6/node_modules/@types/node/util.d.ts +2371 -0
- package/.cache/typescript/5.6/node_modules/@types/node/v8.d.ts +808 -0
- package/.cache/typescript/5.6/node_modules/@types/node/vm.d.ts +976 -0
- package/.cache/typescript/5.6/node_modules/@types/node/wasi.d.ts +181 -0
- package/.cache/typescript/5.6/node_modules/@types/node/worker_threads.d.ts +745 -0
- package/.cache/typescript/5.6/node_modules/@types/node/zlib.d.ts +539 -0
- package/.cache/typescript/5.6/node_modules/@types/node-cron/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/node-cron/README.md +76 -0
- package/.cache/typescript/5.6/node_modules/@types/node-cron/index.d.ts +57 -0
- package/.cache/typescript/5.6/node_modules/@types/node-cron/package.json +50 -0
- package/.cache/typescript/5.6/node_modules/@types/npmlog/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/npmlog/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/npmlog/index.d.ts +84 -0
- package/.cache/typescript/5.6/node_modules/@types/npmlog/package.json +32 -0
- package/.cache/typescript/5.6/node_modules/@types/request/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/request/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/request/index.d.ts +395 -0
- package/.cache/typescript/5.6/node_modules/@types/request/package.json +70 -0
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/README.md +15 -0
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/index.d.ts +321 -0
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/package.json +35 -0
- package/.cache/typescript/5.6/node_modules/asynckit/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/asynckit/README.md +233 -0
- package/.cache/typescript/5.6/node_modules/asynckit/bench.js +76 -0
- package/.cache/typescript/5.6/node_modules/asynckit/index.js +6 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/abort.js +29 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/async.js +34 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/defer.js +26 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/iterate.js +75 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/state.js +37 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/streamify.js +141 -0
- package/.cache/typescript/5.6/node_modules/asynckit/lib/terminator.js +29 -0
- package/.cache/typescript/5.6/node_modules/asynckit/package.json +63 -0
- package/.cache/typescript/5.6/node_modules/asynckit/parallel.js +43 -0
- package/.cache/typescript/5.6/node_modules/asynckit/serial.js +17 -0
- package/.cache/typescript/5.6/node_modules/asynckit/serialOrdered.js +75 -0
- package/.cache/typescript/5.6/node_modules/asynckit/stream.js +21 -0
- package/.cache/typescript/5.6/node_modules/combined-stream/License +19 -0
- package/.cache/typescript/5.6/node_modules/combined-stream/Readme.md +138 -0
- package/.cache/typescript/5.6/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.cache/typescript/5.6/node_modules/combined-stream/package.json +25 -0
- package/.cache/typescript/5.6/node_modules/combined-stream/yarn.lock +17 -0
- package/.cache/typescript/5.6/node_modules/delayed-stream/License +19 -0
- package/.cache/typescript/5.6/node_modules/delayed-stream/Makefile +7 -0
- package/.cache/typescript/5.6/node_modules/delayed-stream/Readme.md +141 -0
- package/.cache/typescript/5.6/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.cache/typescript/5.6/node_modules/delayed-stream/package.json +27 -0
- package/.cache/typescript/5.6/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.6/node_modules/form-data/Readme.md +350 -0
- package/.cache/typescript/5.6/node_modules/form-data/index.d.ts +51 -0
- package/.cache/typescript/5.6/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.6/node_modules/form-data/lib/form_data.js +484 -0
- package/.cache/typescript/5.6/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.6/node_modules/form-data/package.json +72 -0
- package/.cache/typescript/5.6/node_modules/mime-db/HISTORY.md +507 -0
- package/.cache/typescript/5.6/node_modules/mime-db/LICENSE +23 -0
- package/.cache/typescript/5.6/node_modules/mime-db/README.md +100 -0
- package/.cache/typescript/5.6/node_modules/mime-db/db.json +8519 -0
- package/.cache/typescript/5.6/node_modules/mime-db/index.js +12 -0
- package/.cache/typescript/5.6/node_modules/mime-db/package.json +60 -0
- package/.cache/typescript/5.6/node_modules/mime-types/HISTORY.md +397 -0
- package/.cache/typescript/5.6/node_modules/mime-types/LICENSE +23 -0
- package/.cache/typescript/5.6/node_modules/mime-types/README.md +113 -0
- package/.cache/typescript/5.6/node_modules/mime-types/index.js +188 -0
- package/.cache/typescript/5.6/node_modules/mime-types/package.json +44 -0
- package/.cache/typescript/5.6/node_modules/safe-buffer/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/safe-buffer/README.md +584 -0
- package/.cache/typescript/5.6/node_modules/safe-buffer/index.d.ts +187 -0
- package/.cache/typescript/5.6/node_modules/safe-buffer/index.js +65 -0
- package/.cache/typescript/5.6/node_modules/safe-buffer/package.json +51 -0
- package/.cache/typescript/5.6/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.6/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.6/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.6/node_modules/undici-types/LICENSE +21 -0
- package/.cache/typescript/5.6/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.6/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.6/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.6/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/.cache/typescript/5.6/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.6/node_modules/undici-types/client.d.ts +108 -0
- package/.cache/typescript/5.6/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.6/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.6/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.6/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/.cache/typescript/5.6/node_modules/undici-types/dispatcher.d.ts +255 -0
- package/.cache/typescript/5.6/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/.cache/typescript/5.6/node_modules/undici-types/errors.d.ts +149 -0
- package/.cache/typescript/5.6/node_modules/undici-types/eventsource.d.ts +61 -0
- package/.cache/typescript/5.6/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.6/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.6/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.6/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.6/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.6/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.6/node_modules/undici-types/handlers.d.ts +15 -0
- package/.cache/typescript/5.6/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.6/node_modules/undici-types/index.d.ts +71 -0
- package/.cache/typescript/5.6/node_modules/undici-types/interceptors.d.ts +17 -0
- package/.cache/typescript/5.6/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.6/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.6/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.6/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.6/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.6/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.6/node_modules/undici-types/patch.d.ts +33 -0
- package/.cache/typescript/5.6/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.6/node_modules/undici-types/pool.d.ts +39 -0
- package/.cache/typescript/5.6/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/.cache/typescript/5.6/node_modules/undici-types/readable.d.ts +60 -0
- package/.cache/typescript/5.6/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/.cache/typescript/5.6/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/.cache/typescript/5.6/node_modules/undici-types/util.d.ts +18 -0
- package/.cache/typescript/5.6/node_modules/undici-types/webidl.d.ts +222 -0
- package/.cache/typescript/5.6/node_modules/undici-types/websocket.d.ts +150 -0
- package/.cache/typescript/5.6/package-lock.json +190 -0
- package/.cache/typescript/5.6/package.json +1 -0
- package/.replit +4 -0
- package/.upm/store.json +1 -0
- package/LICENSE +21 -0
- package/README.md +289 -0
- package/index.js +460 -0
- package/package.json +45 -0
- package/src/Screenshot.js +83 -0
- package/src/addExternalModule.js +25 -0
- package/src/addUserToGroup.js +115 -0
- package/src/changeAdminStatus.js +103 -0
- package/src/changeArchivedStatus.js +55 -0
- package/src/changeAvatar.js +136 -0
- package/src/changeAvatarV2.js +86 -0
- package/src/changeAvt.js +85 -0
- package/src/changeBio.js +76 -0
- package/src/changeBlockedStatus.js +49 -0
- package/src/changeBlockedStatusMqtt.js +80 -0
- package/src/changeCover.js +72 -0
- package/src/changeGroupImage.js +135 -0
- package/src/changeName.js +79 -0
- package/src/changeNickname.js +59 -0
- package/src/changeThreadColor.js +65 -0
- package/src/changeThreadEmoji.js +55 -0
- package/src/changeUsername.js +59 -0
- package/src/createCommentPost.js +230 -0
- package/src/createNewGroup.js +88 -0
- package/src/createPoll.js +71 -0
- package/src/createPost.js +276 -0
- package/src/deleteMessage.js +56 -0
- package/src/deleteThread.js +56 -0
- package/src/editMessage.js +59 -0
- package/src/editMessageOld.js +67 -0
- package/src/follow.js +74 -0
- package/src/forwardAttachment.js +60 -0
- package/src/getAccess.js +112 -0
- package/src/getAvatarUser.js +78 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +29 -0
- package/src/getFriendsList.js +83 -0
- package/src/getMessage.js +835 -0
- package/src/getRegion.js +7 -0
- package/src/getThreadHistory.js +680 -0
- package/src/getThreadHistoryDeprecated.js +71 -0
- package/src/getThreadInfo.js +232 -0
- package/src/getThreadInfoDeprecated.js +56 -0
- package/src/getThreadList.js +213 -0
- package/src/getThreadListDeprecated.js +46 -0
- package/src/getThreadPictures.js +59 -0
- package/src/getUID.js +119 -0
- package/src/getUserID.js +61 -0
- package/src/getUserInfo.js +66 -0
- package/src/handleFriendRequest.js +46 -0
- package/src/handleMessageRequest.js +47 -0
- package/src/httpGet.js +49 -0
- package/src/httpPost.js +48 -0
- package/src/listenMqtt.js +827 -0
- package/src/listenMqtt.txt +827 -0
- package/src/logout.js +75 -0
- package/src/markAsDelivered.js +47 -0
- package/src/markAsRead.js +70 -0
- package/src/markAsReadAll.js +40 -0
- package/src/markAsSeen.js +48 -0
- package/src/muteThread.js +45 -0
- package/src/postFormData.txt +46 -0
- package/src/refreshFb_dtsg.js +89 -0
- package/src/removeUserFromGroup.js +79 -0
- package/src/resolvePhotoUrl.js +45 -0
- package/src/searchForThread.js +53 -0
- package/src/searchStickers.js +53 -0
- package/src/sendMessage.js +329 -0
- package/src/sendMessageMqtt.js +322 -0
- package/src/sendTypingIndicator.js +101 -0
- package/src/sendTypingIndicatorV2.js +28 -0
- package/src/setMessageReaction.js +122 -0
- package/src/setMessageReactionMqtt.js +62 -0
- package/src/setPostReaction.js +112 -0
- package/src/setProfileGuard.js +45 -0
- package/src/setStoryReaction.js +64 -0
- package/src/setTitle.js +90 -0
- package/src/shareContact.js +110 -0
- package/src/shareLink.js +59 -0
- package/src/stopListenMqtt.js +23 -0
- package/src/threadColors.js +131 -0
- package/src/unfriend.js +52 -0
- package/src/unsendMessage.js +45 -0
- package/src/uploadAttachment.js +94 -0
- package/test/example-config.json +18 -0
- package/test/test-page.js +140 -0
- package/test/test.js +385 -0
- package/utils.js +2876 -0
| @@ -0,0 +1,222 @@ | |
| 1 | 
            +
            // These types are not exported, and are only used internally
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            /**
         | 
| 4 | 
            +
             * Take in an unknown value and return one that is of type T
         | 
| 5 | 
            +
             */
         | 
| 6 | 
            +
            type Converter<T> = (object: unknown) => T
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            type SequenceConverter<T> = (object: unknown, iterable?: IterableIterator<T>) => T[]
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            interface ConvertToIntOpts {
         | 
| 13 | 
            +
              clamp?: boolean
         | 
| 14 | 
            +
              enforceRange?: boolean
         | 
| 15 | 
            +
            }
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            interface WebidlErrors {
         | 
| 18 | 
            +
              exception (opts: { header: string, message: string }): TypeError
         | 
| 19 | 
            +
              /**
         | 
| 20 | 
            +
               * @description Throw an error when conversion from one type to another has failed
         | 
| 21 | 
            +
               */
         | 
| 22 | 
            +
              conversionFailed (opts: {
         | 
| 23 | 
            +
                prefix: string
         | 
| 24 | 
            +
                argument: string
         | 
| 25 | 
            +
                types: string[]
         | 
| 26 | 
            +
              }): TypeError
         | 
| 27 | 
            +
              /**
         | 
| 28 | 
            +
               * @description Throw an error when an invalid argument is provided
         | 
| 29 | 
            +
               */
         | 
| 30 | 
            +
              invalidArgument (opts: {
         | 
| 31 | 
            +
                prefix: string
         | 
| 32 | 
            +
                value: string
         | 
| 33 | 
            +
                type: string
         | 
| 34 | 
            +
              }): TypeError
         | 
| 35 | 
            +
            }
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            interface WebidlUtil {
         | 
| 38 | 
            +
              /**
         | 
| 39 | 
            +
               * @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
         | 
| 40 | 
            +
               */
         | 
| 41 | 
            +
              Type (object: unknown):
         | 
| 42 | 
            +
                | 'Undefined'
         | 
| 43 | 
            +
                | 'Boolean'
         | 
| 44 | 
            +
                | 'String'
         | 
| 45 | 
            +
                | 'Symbol'
         | 
| 46 | 
            +
                | 'Number'
         | 
| 47 | 
            +
                | 'BigInt'
         | 
| 48 | 
            +
                | 'Null'
         | 
| 49 | 
            +
                | 'Object'
         | 
| 50 | 
            +
             | 
| 51 | 
            +
              /**
         | 
| 52 | 
            +
               * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
         | 
| 53 | 
            +
               */
         | 
| 54 | 
            +
              ConvertToInt (
         | 
| 55 | 
            +
                V: unknown,
         | 
| 56 | 
            +
                bitLength: number,
         | 
| 57 | 
            +
                signedness: 'signed' | 'unsigned',
         | 
| 58 | 
            +
                opts?: ConvertToIntOpts
         | 
| 59 | 
            +
              ): number
         | 
| 60 | 
            +
             | 
| 61 | 
            +
              /**
         | 
| 62 | 
            +
               * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
         | 
| 63 | 
            +
               */
         | 
| 64 | 
            +
              IntegerPart (N: number): number
         | 
| 65 | 
            +
             | 
| 66 | 
            +
              /**
         | 
| 67 | 
            +
               * Stringifies {@param V}
         | 
| 68 | 
            +
               */
         | 
| 69 | 
            +
              Stringify (V: any): string
         | 
| 70 | 
            +
            }
         | 
| 71 | 
            +
             | 
| 72 | 
            +
            interface WebidlConverters {
         | 
| 73 | 
            +
              /**
         | 
| 74 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-DOMString
         | 
| 75 | 
            +
               */
         | 
| 76 | 
            +
              DOMString (V: unknown, prefix: string, argument: string, opts?: {
         | 
| 77 | 
            +
                legacyNullToEmptyString: boolean
         | 
| 78 | 
            +
              }): string
         | 
| 79 | 
            +
             | 
| 80 | 
            +
              /**
         | 
| 81 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-ByteString
         | 
| 82 | 
            +
               */
         | 
| 83 | 
            +
              ByteString (V: unknown, prefix: string, argument: string): string
         | 
| 84 | 
            +
             | 
| 85 | 
            +
              /**
         | 
| 86 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-USVString
         | 
| 87 | 
            +
               */
         | 
| 88 | 
            +
              USVString (V: unknown): string
         | 
| 89 | 
            +
             | 
| 90 | 
            +
              /**
         | 
| 91 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-boolean
         | 
| 92 | 
            +
               */
         | 
| 93 | 
            +
              boolean (V: unknown): boolean
         | 
| 94 | 
            +
             | 
| 95 | 
            +
              /**
         | 
| 96 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-any
         | 
| 97 | 
            +
               */
         | 
| 98 | 
            +
              any <Value>(V: Value): Value
         | 
| 99 | 
            +
             | 
| 100 | 
            +
              /**
         | 
| 101 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-long-long
         | 
| 102 | 
            +
               */
         | 
| 103 | 
            +
              ['long long'] (V: unknown): number
         | 
| 104 | 
            +
             | 
| 105 | 
            +
              /**
         | 
| 106 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
         | 
| 107 | 
            +
               */
         | 
| 108 | 
            +
              ['unsigned long long'] (V: unknown): number
         | 
| 109 | 
            +
             | 
| 110 | 
            +
              /**
         | 
| 111 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-unsigned-long
         | 
| 112 | 
            +
               */
         | 
| 113 | 
            +
              ['unsigned long'] (V: unknown): number
         | 
| 114 | 
            +
             | 
| 115 | 
            +
              /**
         | 
| 116 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-unsigned-short
         | 
| 117 | 
            +
               */
         | 
| 118 | 
            +
              ['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
         | 
| 119 | 
            +
             | 
| 120 | 
            +
              /**
         | 
| 121 | 
            +
               * @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
         | 
| 122 | 
            +
               */
         | 
| 123 | 
            +
              ArrayBuffer (V: unknown): ArrayBufferLike
         | 
| 124 | 
            +
              ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
         | 
| 125 | 
            +
             | 
| 126 | 
            +
              /**
         | 
| 127 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
         | 
| 128 | 
            +
               */
         | 
| 129 | 
            +
              TypedArray (
         | 
| 130 | 
            +
                V: unknown,
         | 
| 131 | 
            +
                TypedArray: NodeJS.TypedArray | ArrayBufferLike
         | 
| 132 | 
            +
              ): NodeJS.TypedArray | ArrayBufferLike
         | 
| 133 | 
            +
              TypedArray (
         | 
| 134 | 
            +
                V: unknown,
         | 
| 135 | 
            +
                TypedArray: NodeJS.TypedArray | ArrayBufferLike,
         | 
| 136 | 
            +
                opts?: { allowShared: false }
         | 
| 137 | 
            +
              ): NodeJS.TypedArray | ArrayBuffer
         | 
| 138 | 
            +
             | 
| 139 | 
            +
              /**
         | 
| 140 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
         | 
| 141 | 
            +
               */
         | 
| 142 | 
            +
              DataView (V: unknown, opts?: { allowShared: boolean }): DataView
         | 
| 143 | 
            +
             | 
| 144 | 
            +
              /**
         | 
| 145 | 
            +
               * @see https://webidl.spec.whatwg.org/#BufferSource
         | 
| 146 | 
            +
               */
         | 
| 147 | 
            +
              BufferSource (
         | 
| 148 | 
            +
                V: unknown,
         | 
| 149 | 
            +
                opts?: { allowShared: boolean }
         | 
| 150 | 
            +
              ): NodeJS.TypedArray | ArrayBufferLike | DataView
         | 
| 151 | 
            +
             | 
| 152 | 
            +
              ['sequence<ByteString>']: SequenceConverter<string>
         | 
| 153 | 
            +
              
         | 
| 154 | 
            +
              ['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
         | 
| 155 | 
            +
             | 
| 156 | 
            +
              ['record<ByteString, ByteString>']: RecordConverter<string, string>
         | 
| 157 | 
            +
             | 
| 158 | 
            +
              [Key: string]: (...args: any[]) => unknown
         | 
| 159 | 
            +
            }
         | 
| 160 | 
            +
             | 
| 161 | 
            +
            export interface Webidl {
         | 
| 162 | 
            +
              errors: WebidlErrors
         | 
| 163 | 
            +
              util: WebidlUtil
         | 
| 164 | 
            +
              converters: WebidlConverters
         | 
| 165 | 
            +
             | 
| 166 | 
            +
              /**
         | 
| 167 | 
            +
               * @description Performs a brand-check on {@param V} to ensure it is a
         | 
| 168 | 
            +
               * {@param cls} object.
         | 
| 169 | 
            +
               */
         | 
| 170 | 
            +
              brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
         | 
| 171 | 
            +
             | 
| 172 | 
            +
              /**
         | 
| 173 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-sequence
         | 
| 174 | 
            +
               * @description Convert a value, V, to a WebIDL sequence type.
         | 
| 175 | 
            +
               */
         | 
| 176 | 
            +
              sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
         | 
| 177 | 
            +
             | 
| 178 | 
            +
              illegalConstructor (): never
         | 
| 179 | 
            +
             | 
| 180 | 
            +
              /**
         | 
| 181 | 
            +
               * @see https://webidl.spec.whatwg.org/#es-to-record
         | 
| 182 | 
            +
               * @description Convert a value, V, to a WebIDL record type.
         | 
| 183 | 
            +
               */
         | 
| 184 | 
            +
              recordConverter <K extends string, V>(
         | 
| 185 | 
            +
                keyConverter: Converter<K>,
         | 
| 186 | 
            +
                valueConverter: Converter<V>
         | 
| 187 | 
            +
              ): RecordConverter<K, V>
         | 
| 188 | 
            +
             | 
| 189 | 
            +
              /**
         | 
| 190 | 
            +
               * Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
         | 
| 191 | 
            +
               * interfaces are allowed.
         | 
| 192 | 
            +
               */
         | 
| 193 | 
            +
              interfaceConverter <Interface>(cls: Interface): (
         | 
| 194 | 
            +
                V: unknown,
         | 
| 195 | 
            +
                opts?: { strict: boolean }
         | 
| 196 | 
            +
              ) => asserts V is typeof cls
         | 
| 197 | 
            +
             | 
| 198 | 
            +
              // TODO(@KhafraDev): a type could likely be implemented that can infer the return type
         | 
| 199 | 
            +
              // from the converters given?
         | 
| 200 | 
            +
              /**
         | 
| 201 | 
            +
               * Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
         | 
| 202 | 
            +
               * allowed, values allowed, optional and required keys. Auto converts the value to
         | 
| 203 | 
            +
               * a type given a converter.
         | 
| 204 | 
            +
               */
         | 
| 205 | 
            +
              dictionaryConverter (converters: {
         | 
| 206 | 
            +
                key: string,
         | 
| 207 | 
            +
                defaultValue?: () => unknown,
         | 
| 208 | 
            +
                required?: boolean,
         | 
| 209 | 
            +
                converter: (...args: unknown[]) => unknown,
         | 
| 210 | 
            +
                allowedValues?: unknown[]
         | 
| 211 | 
            +
              }[]): (V: unknown) => Record<string, unknown>
         | 
| 212 | 
            +
             | 
| 213 | 
            +
              /**
         | 
| 214 | 
            +
               * @see https://webidl.spec.whatwg.org/#idl-nullable-type
         | 
| 215 | 
            +
               * @description allows a type, V, to be null
         | 
| 216 | 
            +
               */
         | 
| 217 | 
            +
              nullableConverter <T>(
         | 
| 218 | 
            +
                converter: Converter<T>
         | 
| 219 | 
            +
              ): (V: unknown) => ReturnType<typeof converter> | null
         | 
| 220 | 
            +
             | 
| 221 | 
            +
              argumentLengthCheck (args: { length: number }, min: number, context: string): void
         | 
| 222 | 
            +
            }
         | 
| @@ -0,0 +1,150 @@ | |
| 1 | 
            +
            /// <reference types="node" />
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            import type { Blob } from 'buffer'
         | 
| 4 | 
            +
            import type { MessagePort } from 'worker_threads'
         | 
| 5 | 
            +
            import {
         | 
| 6 | 
            +
              EventInit,
         | 
| 7 | 
            +
              EventListenerOptions,
         | 
| 8 | 
            +
              AddEventListenerOptions,
         | 
| 9 | 
            +
              EventListenerOrEventListenerObject
         | 
| 10 | 
            +
            } from './patch'
         | 
| 11 | 
            +
            import Dispatcher from './dispatcher'
         | 
| 12 | 
            +
            import { HeadersInit } from './fetch'
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            export type BinaryType = 'blob' | 'arraybuffer'
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            interface WebSocketEventMap {
         | 
| 17 | 
            +
              close: CloseEvent
         | 
| 18 | 
            +
              error: ErrorEvent
         | 
| 19 | 
            +
              message: MessageEvent
         | 
| 20 | 
            +
              open: Event
         | 
| 21 | 
            +
            }
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            interface WebSocket extends EventTarget {
         | 
| 24 | 
            +
              binaryType: BinaryType
         | 
| 25 | 
            +
              
         | 
| 26 | 
            +
              readonly bufferedAmount: number
         | 
| 27 | 
            +
              readonly extensions: string
         | 
| 28 | 
            +
             | 
| 29 | 
            +
              onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
         | 
| 30 | 
            +
              onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
         | 
| 31 | 
            +
              onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
         | 
| 32 | 
            +
              onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              readonly protocol: string
         | 
| 35 | 
            +
              readonly readyState: number
         | 
| 36 | 
            +
              readonly url: string
         | 
| 37 | 
            +
             | 
| 38 | 
            +
              close(code?: number, reason?: string): void
         | 
| 39 | 
            +
              send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              readonly CLOSED: number
         | 
| 42 | 
            +
              readonly CLOSING: number
         | 
| 43 | 
            +
              readonly CONNECTING: number
         | 
| 44 | 
            +
              readonly OPEN: number
         | 
| 45 | 
            +
             | 
| 46 | 
            +
              addEventListener<K extends keyof WebSocketEventMap>(
         | 
| 47 | 
            +
                type: K,
         | 
| 48 | 
            +
                listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
         | 
| 49 | 
            +
                options?: boolean | AddEventListenerOptions
         | 
| 50 | 
            +
              ): void
         | 
| 51 | 
            +
              addEventListener(
         | 
| 52 | 
            +
                type: string,
         | 
| 53 | 
            +
                listener: EventListenerOrEventListenerObject,
         | 
| 54 | 
            +
                options?: boolean | AddEventListenerOptions
         | 
| 55 | 
            +
              ): void
         | 
| 56 | 
            +
              removeEventListener<K extends keyof WebSocketEventMap>(
         | 
| 57 | 
            +
                type: K,
         | 
| 58 | 
            +
                listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
         | 
| 59 | 
            +
                options?: boolean | EventListenerOptions
         | 
| 60 | 
            +
              ): void
         | 
| 61 | 
            +
              removeEventListener(
         | 
| 62 | 
            +
                type: string,
         | 
| 63 | 
            +
                listener: EventListenerOrEventListenerObject,
         | 
| 64 | 
            +
                options?: boolean | EventListenerOptions
         | 
| 65 | 
            +
              ): void
         | 
| 66 | 
            +
            }
         | 
| 67 | 
            +
             | 
| 68 | 
            +
            export declare const WebSocket: {
         | 
| 69 | 
            +
              prototype: WebSocket
         | 
| 70 | 
            +
              new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
         | 
| 71 | 
            +
              readonly CLOSED: number
         | 
| 72 | 
            +
              readonly CLOSING: number
         | 
| 73 | 
            +
              readonly CONNECTING: number
         | 
| 74 | 
            +
              readonly OPEN: number
         | 
| 75 | 
            +
            }
         | 
| 76 | 
            +
             | 
| 77 | 
            +
            interface CloseEventInit extends EventInit {
         | 
| 78 | 
            +
              code?: number
         | 
| 79 | 
            +
              reason?: string
         | 
| 80 | 
            +
              wasClean?: boolean
         | 
| 81 | 
            +
            }
         | 
| 82 | 
            +
             | 
| 83 | 
            +
            interface CloseEvent extends Event {
         | 
| 84 | 
            +
              readonly code: number
         | 
| 85 | 
            +
              readonly reason: string
         | 
| 86 | 
            +
              readonly wasClean: boolean
         | 
| 87 | 
            +
            }
         | 
| 88 | 
            +
             | 
| 89 | 
            +
            export declare const CloseEvent: {
         | 
| 90 | 
            +
              prototype: CloseEvent
         | 
| 91 | 
            +
              new (type: string, eventInitDict?: CloseEventInit): CloseEvent
         | 
| 92 | 
            +
            }
         | 
| 93 | 
            +
             | 
| 94 | 
            +
            interface MessageEventInit<T = any> extends EventInit {
         | 
| 95 | 
            +
              data?: T
         | 
| 96 | 
            +
              lastEventId?: string
         | 
| 97 | 
            +
              origin?: string
         | 
| 98 | 
            +
              ports?: (typeof MessagePort)[]
         | 
| 99 | 
            +
              source?: typeof MessagePort | null
         | 
| 100 | 
            +
            }
         | 
| 101 | 
            +
             | 
| 102 | 
            +
            interface MessageEvent<T = any> extends Event {
         | 
| 103 | 
            +
              readonly data: T
         | 
| 104 | 
            +
              readonly lastEventId: string
         | 
| 105 | 
            +
              readonly origin: string
         | 
| 106 | 
            +
              readonly ports: ReadonlyArray<typeof MessagePort>
         | 
| 107 | 
            +
              readonly source: typeof MessagePort | null
         | 
| 108 | 
            +
              initMessageEvent(
         | 
| 109 | 
            +
                type: string,
         | 
| 110 | 
            +
                bubbles?: boolean,
         | 
| 111 | 
            +
                cancelable?: boolean,
         | 
| 112 | 
            +
                data?: any,
         | 
| 113 | 
            +
                origin?: string,
         | 
| 114 | 
            +
                lastEventId?: string,
         | 
| 115 | 
            +
                source?: typeof MessagePort | null,
         | 
| 116 | 
            +
                ports?: (typeof MessagePort)[]
         | 
| 117 | 
            +
              ): void;
         | 
| 118 | 
            +
            }
         | 
| 119 | 
            +
             | 
| 120 | 
            +
            export declare const MessageEvent: {
         | 
| 121 | 
            +
              prototype: MessageEvent
         | 
| 122 | 
            +
              new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
         | 
| 123 | 
            +
            }
         | 
| 124 | 
            +
             | 
| 125 | 
            +
            interface ErrorEventInit extends EventInit {
         | 
| 126 | 
            +
              message?: string
         | 
| 127 | 
            +
              filename?: string
         | 
| 128 | 
            +
              lineno?: number
         | 
| 129 | 
            +
              colno?: number
         | 
| 130 | 
            +
              error?: any
         | 
| 131 | 
            +
            }
         | 
| 132 | 
            +
             | 
| 133 | 
            +
            interface ErrorEvent extends Event {
         | 
| 134 | 
            +
              readonly message: string
         | 
| 135 | 
            +
              readonly filename: string
         | 
| 136 | 
            +
              readonly lineno: number
         | 
| 137 | 
            +
              readonly colno: number
         | 
| 138 | 
            +
              readonly error: any
         | 
| 139 | 
            +
            }
         | 
| 140 | 
            +
             | 
| 141 | 
            +
            export declare const ErrorEvent: {
         | 
| 142 | 
            +
              prototype: ErrorEvent
         | 
| 143 | 
            +
              new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent
         | 
| 144 | 
            +
            }
         | 
| 145 | 
            +
             | 
| 146 | 
            +
            interface WebSocketInit {
         | 
| 147 | 
            +
              protocols?: string | string[],
         | 
| 148 | 
            +
              dispatcher?: Dispatcher,
         | 
| 149 | 
            +
              headers?: HeadersInit
         | 
| 150 | 
            +
            }
         | 
| @@ -0,0 +1,190 @@ | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "5.6",
         | 
| 3 | 
            +
              "lockfileVersion": 3,
         | 
| 4 | 
            +
              "requires": true,
         | 
| 5 | 
            +
              "packages": {
         | 
| 6 | 
            +
                "": {
         | 
| 7 | 
            +
                  "dependencies": {
         | 
| 8 | 
            +
                    "types-registry": "^0.1.701"
         | 
| 9 | 
            +
                  },
         | 
| 10 | 
            +
                  "devDependencies": {
         | 
| 11 | 
            +
                    "@types/bluebird": "^3.5.42",
         | 
| 12 | 
            +
                    "@types/mocha": "^10.0.10",
         | 
| 13 | 
            +
                    "@types/node-cron": "^3.0.11",
         | 
| 14 | 
            +
                    "@types/npmlog": "^7.0.0",
         | 
| 15 | 
            +
                    "@types/request": "^2.48.12"
         | 
| 16 | 
            +
                  }
         | 
| 17 | 
            +
                },
         | 
| 18 | 
            +
                "node_modules/@types/bluebird": {
         | 
| 19 | 
            +
                  "version": "3.5.42",
         | 
| 20 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.42.tgz",
         | 
| 21 | 
            +
                  "integrity": "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==",
         | 
| 22 | 
            +
                  "dev": true,
         | 
| 23 | 
            +
                  "license": "MIT"
         | 
| 24 | 
            +
                },
         | 
| 25 | 
            +
                "node_modules/@types/caseless": {
         | 
| 26 | 
            +
                  "version": "0.12.5",
         | 
| 27 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz",
         | 
| 28 | 
            +
                  "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==",
         | 
| 29 | 
            +
                  "dev": true,
         | 
| 30 | 
            +
                  "license": "MIT"
         | 
| 31 | 
            +
                },
         | 
| 32 | 
            +
                "node_modules/@types/mocha": {
         | 
| 33 | 
            +
                  "version": "10.0.10",
         | 
| 34 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz",
         | 
| 35 | 
            +
                  "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==",
         | 
| 36 | 
            +
                  "dev": true,
         | 
| 37 | 
            +
                  "license": "MIT"
         | 
| 38 | 
            +
                },
         | 
| 39 | 
            +
                "node_modules/@types/node": {
         | 
| 40 | 
            +
                  "version": "22.10.3",
         | 
| 41 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.3.tgz",
         | 
| 42 | 
            +
                  "integrity": "sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==",
         | 
| 43 | 
            +
                  "dev": true,
         | 
| 44 | 
            +
                  "license": "MIT",
         | 
| 45 | 
            +
                  "dependencies": {
         | 
| 46 | 
            +
                    "undici-types": "~6.20.0"
         | 
| 47 | 
            +
                  }
         | 
| 48 | 
            +
                },
         | 
| 49 | 
            +
                "node_modules/@types/node-cron": {
         | 
| 50 | 
            +
                  "version": "3.0.11",
         | 
| 51 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/node-cron/-/node-cron-3.0.11.tgz",
         | 
| 52 | 
            +
                  "integrity": "sha512-0ikrnug3/IyneSHqCBeslAhlK2aBfYek1fGo4bP4QnZPmiqSGRK+Oy7ZMisLWkesffJvQ1cqAcBnJC+8+nxIAg==",
         | 
| 53 | 
            +
                  "dev": true,
         | 
| 54 | 
            +
                  "license": "MIT"
         | 
| 55 | 
            +
                },
         | 
| 56 | 
            +
                "node_modules/@types/npmlog": {
         | 
| 57 | 
            +
                  "version": "7.0.0",
         | 
| 58 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/npmlog/-/npmlog-7.0.0.tgz",
         | 
| 59 | 
            +
                  "integrity": "sha512-hJWbrKFvxKyWwSUXjZMYTINsSOY6IclhvGOZ97M8ac2tmR9hMwmTnYaMdpGhvju9ctWLTPhCS+eLfQNluiEjQQ==",
         | 
| 60 | 
            +
                  "dev": true,
         | 
| 61 | 
            +
                  "license": "MIT",
         | 
| 62 | 
            +
                  "dependencies": {
         | 
| 63 | 
            +
                    "@types/node": "*"
         | 
| 64 | 
            +
                  }
         | 
| 65 | 
            +
                },
         | 
| 66 | 
            +
                "node_modules/@types/request": {
         | 
| 67 | 
            +
                  "version": "2.48.12",
         | 
| 68 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
         | 
| 69 | 
            +
                  "integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==",
         | 
| 70 | 
            +
                  "dev": true,
         | 
| 71 | 
            +
                  "license": "MIT",
         | 
| 72 | 
            +
                  "dependencies": {
         | 
| 73 | 
            +
                    "@types/caseless": "*",
         | 
| 74 | 
            +
                    "@types/node": "*",
         | 
| 75 | 
            +
                    "@types/tough-cookie": "*",
         | 
| 76 | 
            +
                    "form-data": "^2.5.0"
         | 
| 77 | 
            +
                  }
         | 
| 78 | 
            +
                },
         | 
| 79 | 
            +
                "node_modules/@types/tough-cookie": {
         | 
| 80 | 
            +
                  "version": "4.0.5",
         | 
| 81 | 
            +
                  "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
         | 
| 82 | 
            +
                  "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
         | 
| 83 | 
            +
                  "dev": true,
         | 
| 84 | 
            +
                  "license": "MIT"
         | 
| 85 | 
            +
                },
         | 
| 86 | 
            +
                "node_modules/asynckit": {
         | 
| 87 | 
            +
                  "version": "0.4.0",
         | 
| 88 | 
            +
                  "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
         | 
| 89 | 
            +
                  "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
         | 
| 90 | 
            +
                  "dev": true,
         | 
| 91 | 
            +
                  "license": "MIT"
         | 
| 92 | 
            +
                },
         | 
| 93 | 
            +
                "node_modules/combined-stream": {
         | 
| 94 | 
            +
                  "version": "1.0.8",
         | 
| 95 | 
            +
                  "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
         | 
| 96 | 
            +
                  "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
         | 
| 97 | 
            +
                  "dev": true,
         | 
| 98 | 
            +
                  "license": "MIT",
         | 
| 99 | 
            +
                  "dependencies": {
         | 
| 100 | 
            +
                    "delayed-stream": "~1.0.0"
         | 
| 101 | 
            +
                  },
         | 
| 102 | 
            +
                  "engines": {
         | 
| 103 | 
            +
                    "node": ">= 0.8"
         | 
| 104 | 
            +
                  }
         | 
| 105 | 
            +
                },
         | 
| 106 | 
            +
                "node_modules/delayed-stream": {
         | 
| 107 | 
            +
                  "version": "1.0.0",
         | 
| 108 | 
            +
                  "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
         | 
| 109 | 
            +
                  "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
         | 
| 110 | 
            +
                  "dev": true,
         | 
| 111 | 
            +
                  "license": "MIT",
         | 
| 112 | 
            +
                  "engines": {
         | 
| 113 | 
            +
                    "node": ">=0.4.0"
         | 
| 114 | 
            +
                  }
         | 
| 115 | 
            +
                },
         | 
| 116 | 
            +
                "node_modules/form-data": {
         | 
| 117 | 
            +
                  "version": "2.5.2",
         | 
| 118 | 
            +
                  "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz",
         | 
| 119 | 
            +
                  "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==",
         | 
| 120 | 
            +
                  "dev": true,
         | 
| 121 | 
            +
                  "license": "MIT",
         | 
| 122 | 
            +
                  "dependencies": {
         | 
| 123 | 
            +
                    "asynckit": "^0.4.0",
         | 
| 124 | 
            +
                    "combined-stream": "^1.0.6",
         | 
| 125 | 
            +
                    "mime-types": "^2.1.12",
         | 
| 126 | 
            +
                    "safe-buffer": "^5.2.1"
         | 
| 127 | 
            +
                  },
         | 
| 128 | 
            +
                  "engines": {
         | 
| 129 | 
            +
                    "node": ">= 0.12"
         | 
| 130 | 
            +
                  }
         | 
| 131 | 
            +
                },
         | 
| 132 | 
            +
                "node_modules/mime-db": {
         | 
| 133 | 
            +
                  "version": "1.52.0",
         | 
| 134 | 
            +
                  "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
         | 
| 135 | 
            +
                  "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
         | 
| 136 | 
            +
                  "dev": true,
         | 
| 137 | 
            +
                  "license": "MIT",
         | 
| 138 | 
            +
                  "engines": {
         | 
| 139 | 
            +
                    "node": ">= 0.6"
         | 
| 140 | 
            +
                  }
         | 
| 141 | 
            +
                },
         | 
| 142 | 
            +
                "node_modules/mime-types": {
         | 
| 143 | 
            +
                  "version": "2.1.35",
         | 
| 144 | 
            +
                  "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
         | 
| 145 | 
            +
                  "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
         | 
| 146 | 
            +
                  "dev": true,
         | 
| 147 | 
            +
                  "license": "MIT",
         | 
| 148 | 
            +
                  "dependencies": {
         | 
| 149 | 
            +
                    "mime-db": "1.52.0"
         | 
| 150 | 
            +
                  },
         | 
| 151 | 
            +
                  "engines": {
         | 
| 152 | 
            +
                    "node": ">= 0.6"
         | 
| 153 | 
            +
                  }
         | 
| 154 | 
            +
                },
         | 
| 155 | 
            +
                "node_modules/safe-buffer": {
         | 
| 156 | 
            +
                  "version": "5.2.1",
         | 
| 157 | 
            +
                  "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
         | 
| 158 | 
            +
                  "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
         | 
| 159 | 
            +
                  "dev": true,
         | 
| 160 | 
            +
                  "funding": [
         | 
| 161 | 
            +
                    {
         | 
| 162 | 
            +
                      "type": "github",
         | 
| 163 | 
            +
                      "url": "https://github.com/sponsors/feross"
         | 
| 164 | 
            +
                    },
         | 
| 165 | 
            +
                    {
         | 
| 166 | 
            +
                      "type": "patreon",
         | 
| 167 | 
            +
                      "url": "https://www.patreon.com/feross"
         | 
| 168 | 
            +
                    },
         | 
| 169 | 
            +
                    {
         | 
| 170 | 
            +
                      "type": "consulting",
         | 
| 171 | 
            +
                      "url": "https://feross.org/support"
         | 
| 172 | 
            +
                    }
         | 
| 173 | 
            +
                  ],
         | 
| 174 | 
            +
                  "license": "MIT"
         | 
| 175 | 
            +
                },
         | 
| 176 | 
            +
                "node_modules/types-registry": {
         | 
| 177 | 
            +
                  "version": "0.1.701",
         | 
| 178 | 
            +
                  "resolved": "https://registry.npmjs.org/types-registry/-/types-registry-0.1.701.tgz",
         | 
| 179 | 
            +
                  "integrity": "sha512-risiPg6ANtMZvHX6Idly8H2EM72d8tsQSVtgjRis6GY2RTHivZuMXzet0ML+I7gm5TTu/Tz45N1VG2gBnoxDgw==",
         | 
| 180 | 
            +
                  "license": "MIT"
         | 
| 181 | 
            +
                },
         | 
| 182 | 
            +
                "node_modules/undici-types": {
         | 
| 183 | 
            +
                  "version": "6.20.0",
         | 
| 184 | 
            +
                  "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
         | 
| 185 | 
            +
                  "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
         | 
| 186 | 
            +
                  "dev": true,
         | 
| 187 | 
            +
                  "license": "MIT"
         | 
| 188 | 
            +
                }
         | 
| 189 | 
            +
              }
         | 
| 190 | 
            +
            }
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            {"private":true,"dependencies":{"types-registry":"^0.1.701"},"devDependencies":{"@types/bluebird":"^3.5.42","@types/mocha":"^10.0.10","@types/node-cron":"^3.0.11","@types/npmlog":"^7.0.0","@types/request":"^2.48.12"}}
         | 
    
        package/.replit
    ADDED
    
    
    
        package/.upm/store.json
    ADDED
    
    | @@ -0,0 +1 @@ | |
| 1 | 
            +
            {"version":2,"languages":{"nodejs-npm":{"specfileHash":"11981d5dac09b9c54e6ecda0a9e73858","lockfileHash":"5cc7887a3a9318c976689efe5b330b6b"}}}
         | 
    
        package/LICENSE
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            The MIT License (MIT)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2015 Avery, Benjamin, David, Maude
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         | 
| 6 | 
            +
            of this software and associated documentation files (the "Software"), to deal
         | 
| 7 | 
            +
            in the Software without restriction, including without limitation the rights
         | 
| 8 | 
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         | 
| 9 | 
            +
            copies of the Software, and to permit persons to whom the Software is
         | 
| 10 | 
            +
            furnished to do so, subject to the following conditions:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            The above copyright notice and this permission notice shall be included in
         | 
| 13 | 
            +
            all copies or substantial portions of the Software.
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         | 
| 16 | 
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         | 
| 17 | 
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         | 
| 18 | 
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         | 
| 19 | 
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         | 
| 20 | 
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
         | 
| 21 | 
            +
            THE SOFTWARE.
         |