From 646ce69e6676f5b89f3360d5763c626da74467d3 Mon Sep 17 00:00:00 2001 From: Neztore Date: Wed, 14 Feb 2024 15:55:33 +0000 Subject: [PATCH] deploy: 0d347116f880c45a96ca6aa22ac6928b9917ab1c --- ...accountinformation_getUserSocialLinks.js.html | 2 +- lib_accountsettings_block.js.html | 4 ++-- lib_accountsettings_unblock.js.html | 4 ++-- lib_asset_deleteFromInventory.js.html | 4 ++-- lib_asset_uploadAnimation.js.html | 2 +- lib_asset_uploadItem.js.html | 6 +++--- lib_asset_uploadModel.js.html | 2 +- lib_avatar_avatarRules.js.html | 2 +- lib_avatar_getCurrentAvatar.js.html | 2 +- lib_avatar_getRecentItems.js.html | 2 +- lib_avatar_redrawAvatar.js.html | 4 ++-- lib_avatar_removeAssetId.js.html | 4 ++-- lib_avatar_setAvatarBodyColors.js.html | 16 ++++++++-------- lib_avatar_setAvatarScales.js.html | 16 ++++++++-------- lib_avatar_setPlayerAvatarType.js.html | 4 ++-- lib_avatar_setWearingAssets.js.html | 6 +++--- lib_avatar_wearAssetId.js.html | 4 ++-- lib_badges_updateBadgeInfo.js.html | 8 ++++---- lib_chat_addUsersToConversation.js.html | 6 +++--- lib_chat_chatSettings.js.html | 2 +- lib_chat_getChatMessages.js.html | 2 +- lib_chat_getConversations.js.html | 2 +- lib_chat_getRolloutSettings.js.html | 2 +- lib_chat_getUnreadConversationCount.js.html | 2 +- lib_chat_getUnreadMessages.js.html | 2 +- lib_chat_getUserConversations.js.html | 2 +- lib_chat_markChatAsRead.js.html | 8 ++++---- lib_chat_markChatAsSeen.js.html | 4 ++-- lib_chat_multiGetLatestMessages.js.html | 2 +- lib_chat_onNewConversation.js.html | 2 +- lib_chat_onNewMessage.js.html | 2 +- lib_chat_onNewMessageBySelf.js.html | 2 +- lib_chat_onUserOnline.js.html | 2 +- lib_chat_onUserTyping.js.html | 2 +- lib_chat_removeFromGroupConversation.js.html | 6 +++--- lib_chat_renameGroupConversation.js.html | 8 ++++---- lib_chat_sendChatMessage.js.html | 6 +++--- lib_chat_setChatUserTyping.js.html | 8 ++++---- lib_chat_start121Conversation.js.html | 4 ++-- lib_chat_startCloudEditConversation.js.html | 6 +++--- lib_chat_startGroupConversation.js.html | 4 ++-- lib_develop_configureItem.js.html | 10 +++++----- lib_economy_buy.js.html | 4 ++-- lib_economy_getGroupFunds.js.html | 2 +- lib_economy_getGroupRevenueSummary.js.html | 2 +- lib_economy_getUserTransactions.js.html | 2 +- lib_economy_onGroupTransaction.js.html | 4 ++-- lib_friends_acceptFriendRequest.js.html | 4 ++-- lib_friends_declineAllFriendRequests.js.html | 4 ++-- lib_friends_declineFriendRequest.js.html | 4 ++-- lib_friends_getFollowers.js.html | 2 +- lib_friends_getFollowings.js.html | 2 +- lib_friends_getFriendRequests.js.html | 2 +- lib_friends_getFriends.js.html | 2 +- lib_friends_onFriendRequest.js.html | 2 +- lib_friends_removeFriend.js.html | 4 ++-- lib_friends_sendFriendRequest.js.html | 4 ++-- lib_friends_unfollow.js.html | 4 ++-- lib_games_addDeveloperProduct.js.html | 4 ++-- lib_games_checkDeveloperProductName.js.html | 2 +- lib_games_configureGamePass.js.html | 2 +- lib_games_getDeveloperProducts.js.html | 2 +- lib_games_getGameRevenue.js.html | 4 ++-- lib_games_getGameSocialLinks.js.html | 2 +- lib_games_getPlaceInfo.js.html | 2 +- lib_games_getUniverseInfo.js.html | 2 +- lib_games_updateDeveloperProduct.js.html | 4 ++-- lib_groups_changeRank.js.html | 6 +++--- lib_groups_deleteWallPost.js.html | 4 ++-- lib_groups_deleteWallPostsByUser.js.html | 4 ++-- lib_groups_exile.js.html | 4 ++-- lib_groups_getAuditLog.js.html | 2 +- lib_groups_getGroupSocialLinks.js.html | 2 +- lib_groups_getGroups.js.html | 2 +- lib_groups_getJoinRequest.js.html | 2 +- lib_groups_getJoinRequests.js.html | 2 +- lib_groups_getPlayers.js.html | 2 +- lib_groups_getRolePermissions.js.html | 2 +- lib_groups_getShout.js.html | 2 +- lib_groups_getWall.js.html | 2 +- lib_groups_groupPayout.js.html | 4 ++-- lib_groups_handleJoinRequest.js.html | 4 ++-- lib_groups_leaveGroup.js.html | 6 +++--- lib_groups_onAuditLog.js.html | 4 ++-- lib_groups_onJoinRequest.js.html | 2 +- lib_groups_onJoinRequestHandle.js.html | 4 ++-- lib_groups_onShout.js.html | 4 ++-- lib_groups_onWallPost.js.html | 4 ++-- lib_groups_setGroupDescription.js.html | 4 ++-- lib_groups_setGroupName.js.html | 4 ++-- lib_groups_setRank.js.html | 4 ++-- lib_groups_shout.js.html | 4 ++-- lib_inventory_getUAIDs.js.html | 2 +- lib_party_onPartyDeleted.js.html | 2 +- lib_party_onPartyInvite.js.html | 2 +- lib_party_onPartyJoinedGame.js.html | 2 +- lib_party_onPartyLeftGame.js.html | 2 +- lib_party_onPartySelfJoined.js.html | 2 +- lib_party_onPartySelfLeft.js.html | 2 +- lib_party_onPartyUserJoined.js.html | 2 +- lib_party_onPartyUserLeft.js.html | 2 +- lib_premiumfeatures_getPremium.js.html | 2 +- lib_presence_getPresences.js.html | 4 ++-- lib_privatemessages_getMessages.js.html | 2 +- lib_privatemessages_message.js.html | 8 ++++---- lib_privatemessages_onMessage.js.html | 6 +++--- lib_trades_acceptTrade.js.html | 4 ++-- lib_trades_canTradeWith.js.html | 2 +- lib_trades_counterTrade.js.html | 6 +++--- lib_trades_declineTrade.js.html | 4 ++-- lib_trades_getTradeInfo.js.html | 2 +- lib_trades_sendTrade.js.html | 6 +++--- lib_users_getPlayerInfo.js.html | 12 ++++++------ lib_users_onBlurbChange.js.html | 2 +- lib_util_generalRequest.js.html | 10 +++++----- lib_util_getAction.js.html | 2 +- lib_util_getCurrentUser.js.html | 2 +- lib_util_getGeneralToken.js.html | 4 ++-- lib_util_getPageResults.js.html | 4 ++-- lib_util_getSenderUserId.js.html | 4 ++-- lib_util_getVerification.js.html | 8 ++++---- lib_util_http.js.html | 2 +- 122 files changed, 229 insertions(+), 229 deletions(-) diff --git a/lib_accountinformation_getUserSocialLinks.js.html b/lib_accountinformation_getUserSocialLinks.js.html index 5c4244a6b..5ad712b90 100644 --- a/lib_accountinformation_getUserSocialLinks.js.html +++ b/lib_accountinformation_getUserSocialLinks.js.html @@ -169,7 +169,7 @@

lib/accountinformation/getUserSocialLinks.js

return http({ url: `//accountinformation.roblox.com/v1/users/${userId}/promotion-channels`, options: { - jar: jar, + jar, resolveWithFullResponse: true } }) diff --git a/lib_accountsettings_block.js.html b/lib_accountsettings_block.js.html index 7b5dc3836..3169297b1 100644 --- a/lib_accountsettings_block.js.html +++ b/lib_accountsettings_block.js.html @@ -173,7 +173,7 @@

lib/accountsettings/block.js

url: `//accountsettings.roblox.com/v1/users/${userId}/block`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -199,7 +199,7 @@

lib/accountsettings/block.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return block(jar, xcsrf, args.userId) }) diff --git a/lib_accountsettings_unblock.js.html b/lib_accountsettings_unblock.js.html index ed9b72fff..cdd925e59 100644 --- a/lib_accountsettings_unblock.js.html +++ b/lib_accountsettings_unblock.js.html @@ -173,7 +173,7 @@

lib/accountsettings/unblock.js

url: `//accountsettings.roblox.com/v1/users/${userId}/unblock`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -199,7 +199,7 @@

lib/accountsettings/unblock.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return unblock(jar, xcsrf, args.userId) }) diff --git a/lib_asset_deleteFromInventory.js.html b/lib_asset_deleteFromInventory.js.html index 544561650..401a7294f 100644 --- a/lib_asset_deleteFromInventory.js.html +++ b/lib_asset_deleteFromInventory.js.html @@ -175,7 +175,7 @@

lib/asset/deleteFromInventory.js

method: 'POST', resolveWithFullResponse: true, body: `assetId=${assetId}`, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8' @@ -210,7 +210,7 @@

lib/asset/deleteFromInventory.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return deleteFromInventory(jar, args.assetId, xcsrf) }) diff --git a/lib_asset_uploadAnimation.js.html b/lib_asset_uploadAnimation.js.html index 94b0bbdb9..afd8dc4ed 100644 --- a/lib_asset_uploadAnimation.js.html +++ b/lib_asset_uploadAnimation.js.html @@ -187,7 +187,7 @@

lib/asset/uploadAnimation.js

options: { resolveWithFullResponse: true, method: 'POST', - jar: jar, + jar, body: data, headers: { 'X-CSRF-TOKEN': token, diff --git a/lib_asset_uploadItem.js.html b/lib_asset_uploadItem.js.html index d8406f98f..3f51ff10e 100644 --- a/lib_asset_uploadItem.js.html +++ b/lib_asset_uploadItem.js.html @@ -176,11 +176,11 @@

lib/asset/uploadItem.js

return getVerification({ url: 'https://www.roblox.com/build/upload', options: { - jar: jar + jar } }).then(function (ver) { const data = { - name: name, + name, assetTypeId: assetType, groupId: groupId || '', __RequestVerificationToken: ver.inputs.__RequestVerificationToken, @@ -199,7 +199,7 @@

lib/asset/uploadItem.js

verification: ver.header, formData: data, resolveWithFullResponse: true, - jar: jar + jar } }).then(function (res) { if (res.statusCode === 302) { diff --git a/lib_asset_uploadModel.js.html b/lib_asset_uploadModel.js.html index c6b2e9e05..cadfea0b1 100644 --- a/lib_asset_uploadModel.js.html +++ b/lib_asset_uploadModel.js.html @@ -187,7 +187,7 @@

lib/asset/uploadModel.js

options: { resolveWithFullResponse: true, method: 'POST', - jar: jar, + jar, body: data, headers: { 'X-CSRF-TOKEN': token, diff --git a/lib_avatar_avatarRules.js.html b/lib_avatar_avatarRules.js.html index 8077c9423..2db571155 100644 --- a/lib_avatar_avatarRules.js.html +++ b/lib_avatar_avatarRules.js.html @@ -169,7 +169,7 @@

lib/avatar/avatarRules.js

url: '//avatar.roblox.com/v1/avatar-rules', options: { method: 'GET', - jar: jar, + jar, followRedirect: false, resolveWithFullResponse: true } diff --git a/lib_avatar_getCurrentAvatar.js.html b/lib_avatar_getCurrentAvatar.js.html index e569d320d..f3ffbe0a6 100644 --- a/lib_avatar_getCurrentAvatar.js.html +++ b/lib_avatar_getCurrentAvatar.js.html @@ -170,7 +170,7 @@

lib/avatar/getCurrentAvatar.js

url: '//avatar.roblox.com/v1/avatar', options: { method: 'GET', - jar: jar, + jar, followRedirect: false, resolveWithFullResponse: true } diff --git a/lib_avatar_getRecentItems.js.html b/lib_avatar_getRecentItems.js.html index b3b130b9d..a0b5e7d96 100644 --- a/lib_avatar_getRecentItems.js.html +++ b/lib_avatar_getRecentItems.js.html @@ -170,7 +170,7 @@

lib/avatar/getRecentItems.js

url: '//avatar.roblox.com/v1/recent-items/' + listType + '/list', options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_avatar_redrawAvatar.js.html b/lib_avatar_redrawAvatar.js.html index 476a1db39..ca9706ded 100644 --- a/lib_avatar_redrawAvatar.js.html +++ b/lib_avatar_redrawAvatar.js.html @@ -168,7 +168,7 @@

lib/avatar/redrawAvatar.js

url: '//avatar.roblox.com/v1/avatar/redraw-thumbnail', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -190,7 +190,7 @@

lib/avatar/redrawAvatar.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return redrawAvatar(jar, xcsrf) }) } diff --git a/lib_avatar_removeAssetId.js.html b/lib_avatar_removeAssetId.js.html index e833ee650..52f7ff730 100644 --- a/lib_avatar_removeAssetId.js.html +++ b/lib_avatar_removeAssetId.js.html @@ -170,7 +170,7 @@

lib/avatar/removeAssetId.js

url: 'https://avatar.roblox.com/v1/avatar/assets/' + assetId + '/remove', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf }, @@ -197,7 +197,7 @@

lib/avatar/removeAssetId.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return removeAssetId(args.assetId, jar, xcsrf) }) } diff --git a/lib_avatar_setAvatarBodyColors.js.html b/lib_avatar_setAvatarBodyColors.js.html index 384349445..5a61899bb 100644 --- a/lib_avatar_setAvatarBodyColors.js.html +++ b/lib_avatar_setAvatarBodyColors.js.html @@ -174,17 +174,17 @@

lib/avatar/setAvatarBodyColors.js

url: '//avatar.roblox.com/v1/avatar/set-body-colors', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - headColorId: headColorId, - torsoColorId: torsoColorId, - rightArmColorId: rightArmColorId, - leftArmColorId: leftArmColorId, - rightLegColorId: rightLegColorId, - leftLegColorId: leftLegColorId + headColorId, + torsoColorId, + rightArmColorId, + leftArmColorId, + rightLegColorId, + leftLegColorId }, resolveWithFullResponse: true } @@ -202,7 +202,7 @@

lib/avatar/setAvatarBodyColors.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.headColorId, args.torsoColorId, args.rightArmColorId, args.leftArmColorId, args.rightLegColorId, args.leftLegColorId) }) } diff --git a/lib_avatar_setAvatarScales.js.html b/lib_avatar_setAvatarScales.js.html index df23cf21b..2edc68285 100644 --- a/lib_avatar_setAvatarScales.js.html +++ b/lib_avatar_setAvatarScales.js.html @@ -174,17 +174,17 @@

lib/avatar/setAvatarScales.js

url: '//avatar.roblox.com/v1/avatar/set-scales', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - height: height, - width: width, - head: head, - depth: depth, - proportion: proportion, - bodyType: bodyType + height, + width, + head, + depth, + proportion, + bodyType }, resolveWithFullResponse: true } @@ -202,7 +202,7 @@

lib/avatar/setAvatarScales.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.height, args.width, args.head, args.depth, args.proportion, args.bodyType) }) } diff --git a/lib_avatar_setPlayerAvatarType.js.html b/lib_avatar_setPlayerAvatarType.js.html index 3b233c839..b2a9d103c 100644 --- a/lib_avatar_setPlayerAvatarType.js.html +++ b/lib_avatar_setPlayerAvatarType.js.html @@ -169,7 +169,7 @@

lib/avatar/setPlayerAvatarType.js

url: '//avatar.roblox.com/v1/avatar/set-player-avatar-type', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -192,7 +192,7 @@

lib/avatar/setPlayerAvatarType.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.avatarType) }) } diff --git a/lib_avatar_setWearingAssets.js.html b/lib_avatar_setWearingAssets.js.html index 7696dec54..918da20c7 100644 --- a/lib_avatar_setWearingAssets.js.html +++ b/lib_avatar_setWearingAssets.js.html @@ -169,12 +169,12 @@

lib/avatar/setWearingAssets.js

url: '//avatar.roblox.com/v1/avatar/set-wearing-assets', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - assetIds: assetIds + assetIds }, resolveWithFullResponse: true } @@ -192,7 +192,7 @@

lib/avatar/setWearingAssets.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.assetIds) }) } diff --git a/lib_avatar_wearAssetId.js.html b/lib_avatar_wearAssetId.js.html index 61981956d..bd1bd7528 100644 --- a/lib_avatar_wearAssetId.js.html +++ b/lib_avatar_wearAssetId.js.html @@ -170,7 +170,7 @@

lib/avatar/wearAssetId.js

url: 'https://avatar.roblox.com/v1/avatar/assets/' + assetId + '/wear', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf }, @@ -197,7 +197,7 @@

lib/avatar/wearAssetId.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return wearAssetId(args.assetId, jar, xcsrf) }) } diff --git a/lib_badges_updateBadgeInfo.js.html b/lib_badges_updateBadgeInfo.js.html index b281160ae..e3cd07484 100644 --- a/lib_badges_updateBadgeInfo.js.html +++ b/lib_badges_updateBadgeInfo.js.html @@ -176,15 +176,15 @@

lib/badges/updateBadgeInfo.js

options: { resolveWithFullResponse: true, method: 'PATCH', - jar: jar, + jar, headers: { 'Content-Type': 'application/json', 'X-CSRF-TOKEN': xcrsf }, body: JSON.stringify({ - name: name, + name, description: desc, - enabled: enabled + enabled }) } }).then(res => { @@ -223,7 +223,7 @@

lib/badges/updateBadgeInfo.js

const enabled = args.enabled || true const jar = args.jar - const xcsrf = await getGeneralToken({ jar: jar }) + const xcsrf = await getGeneralToken({ jar }) return updateInfo(args.badgeId, name, description, enabled, xcsrf, jar) } diff --git a/lib_chat_addUsersToConversation.js.html b/lib_chat_addUsersToConversation.js.html index 5f37f40a3..771261a00 100644 --- a/lib_chat_addUsersToConversation.js.html +++ b/lib_chat_addUsersToConversation.js.html @@ -171,12 +171,12 @@

lib/chat/addUsersToConversation.js

url: '//chat.roblox.com/v2/add-to-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, + conversationId, participantUserIds: userIds }, resolveWithFullResponse: true @@ -203,7 +203,7 @@

lib/chat/addUsersToConversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return addUsersToConversation(args.conversationId, args.userIds, jar, xcsrf) }) } diff --git a/lib_chat_chatSettings.js.html b/lib_chat_chatSettings.js.html index a0b6a29ed..808619a59 100644 --- a/lib_chat_chatSettings.js.html +++ b/lib_chat_chatSettings.js.html @@ -168,7 +168,7 @@

lib/chat/chatSettings.js

url: '//chat.roblox.com/v2/chat-settings', options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getChatMessages.js.html b/lib_chat_getChatMessages.js.html index cc22e274a..51e8f3862 100644 --- a/lib_chat_getChatMessages.js.html +++ b/lib_chat_getChatMessages.js.html @@ -175,7 +175,7 @@

lib/chat/getChatMessages.js

url: '//chat.roblox.com/v2/get-messages?conversationId=' + conversationId + '&pageSize=' + pageSize + '&exclusiveStartMessageId=' + startMessageId, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getConversations.js.html b/lib_chat_getConversations.js.html index c957d50c3..fff5e301b 100644 --- a/lib_chat_getConversations.js.html +++ b/lib_chat_getConversations.js.html @@ -171,7 +171,7 @@

lib/chat/getConversations.js

url: '//chat.roblox.com/v2/get-conversations?conversationIds=' + conversationIds.join('&conversationIds='), options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getRolloutSettings.js.html b/lib_chat_getRolloutSettings.js.html index 9512d702e..84099ec54 100644 --- a/lib_chat_getRolloutSettings.js.html +++ b/lib_chat_getRolloutSettings.js.html @@ -170,7 +170,7 @@

lib/chat/getRolloutSettings.js

url: '//chat.roblox.com/v2/get-rollout-settings?featureNames=' + featureNames.join('&featureNames='), options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getUnreadConversationCount.js.html b/lib_chat_getUnreadConversationCount.js.html index 0e114f281..f692a222e 100644 --- a/lib_chat_getUnreadConversationCount.js.html +++ b/lib_chat_getUnreadConversationCount.js.html @@ -168,7 +168,7 @@

lib/chat/getUnreadConversationCount.js

url: '//chat.roblox.com/v2/get-unread-conversation-count', options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getUnreadMessages.js.html b/lib_chat_getUnreadMessages.js.html index 463734d1b..895ee267a 100644 --- a/lib_chat_getUnreadMessages.js.html +++ b/lib_chat_getUnreadMessages.js.html @@ -173,7 +173,7 @@

lib/chat/getUnreadMessages.js

url: '//chat.roblox.com/v2/get-unread-messages?pageSize=' + pageSize + '&conversationIds=' + conversationIds.join('&conversationIds='), options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_getUserConversations.js.html b/lib_chat_getUserConversations.js.html index 402f3365c..4fd6930a2 100644 --- a/lib_chat_getUserConversations.js.html +++ b/lib_chat_getUserConversations.js.html @@ -172,7 +172,7 @@

lib/chat/getUserConversations.js

url: '//chat.roblox.com/v2/get-user-conversations?pageNumber=' + pageNumber + '&pageSize=' + pageSize, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_markChatAsRead.js.html b/lib_chat_markChatAsRead.js.html index 8798f3ef3..d9c7690a7 100644 --- a/lib_chat_markChatAsRead.js.html +++ b/lib_chat_markChatAsRead.js.html @@ -170,13 +170,13 @@

lib/chat/markChatAsRead.js

url: '//chat.roblox.com/v2/mark-as-read', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, - endMessageId: endMessageId + conversationId, + endMessageId }, resolveWithFullResponse: true } @@ -194,7 +194,7 @@

lib/chat/markChatAsRead.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.conversationId, args.endMessageId) }) } diff --git a/lib_chat_markChatAsSeen.js.html b/lib_chat_markChatAsSeen.js.html index 234175ef7..36f524fb1 100644 --- a/lib_chat_markChatAsSeen.js.html +++ b/lib_chat_markChatAsSeen.js.html @@ -169,7 +169,7 @@

lib/chat/markChatAsSeen.js

url: '//chat.roblox.com/v2/mark-as-seen', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -192,7 +192,7 @@

lib/chat/markChatAsSeen.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.conversationIds) }) } diff --git a/lib_chat_multiGetLatestMessages.js.html b/lib_chat_multiGetLatestMessages.js.html index 14188163f..fcf74ba9f 100644 --- a/lib_chat_multiGetLatestMessages.js.html +++ b/lib_chat_multiGetLatestMessages.js.html @@ -172,7 +172,7 @@

lib/chat/multiGetLatestMessages.js

url: '//chat.roblox.com/v2/multi-get-latest-messages?pageSize=' + pageSize + '&conversationIds=' + conversationIds.join('&conversationIds='), options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_chat_onNewConversation.js.html b/lib_chat_onNewConversation.js.html index ac2732dc2..eefd7e73e 100644 --- a/lib_chat_onNewConversation.js.html +++ b/lib_chat_onNewConversation.js.html @@ -173,7 +173,7 @@

lib/chat/onNewConversation.js

exports.func = (args) => { const jar = args.jar const onChatEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'ChatNotifications' && message.Type === 'NewConversation') { diff --git a/lib_chat_onNewMessage.js.html b/lib_chat_onNewMessage.js.html index e01082836..bad9f040c 100644 --- a/lib_chat_onNewMessage.js.html +++ b/lib_chat_onNewMessage.js.html @@ -176,7 +176,7 @@

lib/chat/onNewMessage.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'ChatNotifications' && message.Type === 'NewMessage') { diff --git a/lib_chat_onNewMessageBySelf.js.html b/lib_chat_onNewMessageBySelf.js.html index 442c67e1a..ec976d9be 100644 --- a/lib_chat_onNewMessageBySelf.js.html +++ b/lib_chat_onNewMessageBySelf.js.html @@ -173,7 +173,7 @@

lib/chat/onNewMessageBySelf.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'ChatNotifications' && message.Type === 'NewMessageBySelf') { diff --git a/lib_chat_onUserOnline.js.html b/lib_chat_onUserOnline.js.html index 579b3da5b..4854c53a9 100644 --- a/lib_chat_onUserOnline.js.html +++ b/lib_chat_onUserOnline.js.html @@ -173,7 +173,7 @@

lib/chat/onUserOnline.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PresenceNotifications' && message.Type === 'UserOnline') { diff --git a/lib_chat_onUserTyping.js.html b/lib_chat_onUserTyping.js.html index caf220235..e2399ca99 100644 --- a/lib_chat_onUserTyping.js.html +++ b/lib_chat_onUserTyping.js.html @@ -173,7 +173,7 @@

lib/chat/onUserTyping.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'ChatNotifications' && message.Type === 'ParticipantTyping') { diff --git a/lib_chat_removeFromGroupConversation.js.html b/lib_chat_removeFromGroupConversation.js.html index abb7739af..52c6ebfa9 100644 --- a/lib_chat_removeFromGroupConversation.js.html +++ b/lib_chat_removeFromGroupConversation.js.html @@ -171,12 +171,12 @@

lib/chat/removeFromGroupConversation.js

url: '//chat.roblox.com/v2/remove-from-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, + conversationId, participantUserId: userId }, resolveWithFullResponse: true @@ -204,7 +204,7 @@

lib/chat/removeFromGroupConversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return removeFromGroupConversation(args.conversationId, args.userId, jar, xcsrf) }) } diff --git a/lib_chat_renameGroupConversation.js.html b/lib_chat_renameGroupConversation.js.html index 86661a6db..9a9283c25 100644 --- a/lib_chat_renameGroupConversation.js.html +++ b/lib_chat_renameGroupConversation.js.html @@ -171,13 +171,13 @@

lib/chat/renameGroupConversation.js

url: '//chat.roblox.com/v2/rename-group-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, - newTitle: newTitle + conversationId, + newTitle }, resolveWithFullResponse: true } @@ -199,7 +199,7 @@

lib/chat/renameGroupConversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return renameGroupConversation(args.conversationId, args.title, jar, xcsrf) }) } diff --git a/lib_chat_sendChatMessage.js.html b/lib_chat_sendChatMessage.js.html index 21a47a204..07abea8c6 100644 --- a/lib_chat_sendChatMessage.js.html +++ b/lib_chat_sendChatMessage.js.html @@ -171,12 +171,12 @@

lib/chat/sendChatMessage.js

url: '//chat.roblox.com/v2/send-message', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, + conversationId, message: messageText }, resolveWithFullResponse: true @@ -199,7 +199,7 @@

lib/chat/sendChatMessage.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return sendChatMessage(args.conversationId, args.message, jar, xcsrf) }) } diff --git a/lib_chat_setChatUserTyping.js.html b/lib_chat_setChatUserTyping.js.html index 414c693d9..11a8eb34a 100644 --- a/lib_chat_setChatUserTyping.js.html +++ b/lib_chat_setChatUserTyping.js.html @@ -171,13 +171,13 @@

lib/chat/setChatUserTyping.js

url: '//chat.roblox.com/v2/update-user-typing-status', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - conversationId: conversationId, - isTyping: isTyping + conversationId, + isTyping }, resolveWithFullResponse: true } @@ -203,7 +203,7 @@

lib/chat/setChatUserTyping.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return setChatUserTyping(args.conversationId, args.isTyping, jar, xcsrf) }) } diff --git a/lib_chat_start121Conversation.js.html b/lib_chat_start121Conversation.js.html index e1c0ac5ff..4981382ae 100644 --- a/lib_chat_start121Conversation.js.html +++ b/lib_chat_start121Conversation.js.html @@ -169,7 +169,7 @@

lib/chat/start121Conversation.js

url: '//chat.roblox.com/v2/start-one-to-one-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -192,7 +192,7 @@

lib/chat/start121Conversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.userId) }) } diff --git a/lib_chat_startCloudEditConversation.js.html b/lib_chat_startCloudEditConversation.js.html index a8b746f4f..53a598579 100644 --- a/lib_chat_startCloudEditConversation.js.html +++ b/lib_chat_startCloudEditConversation.js.html @@ -169,12 +169,12 @@

lib/chat/startCloudEditConversation.js

url: '//chat.roblox.com/v2/start-cloud-edit-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - placeId: placeId + placeId }, resolveWithFullResponse: true } @@ -192,7 +192,7 @@

lib/chat/startCloudEditConversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.placeId) }) } diff --git a/lib_chat_startGroupConversation.js.html b/lib_chat_startGroupConversation.js.html index 8d23e543c..dc040147c 100644 --- a/lib_chat_startGroupConversation.js.html +++ b/lib_chat_startGroupConversation.js.html @@ -171,7 +171,7 @@

lib/chat/startGroupConversation.js

url: '//chat.roblox.com/v2/start-group-conversation', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -204,7 +204,7 @@

lib/chat/startGroupConversation.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return startGroupConversation(args.userIds, args.title, jar, xcsrf) }) } diff --git a/lib_develop_configureItem.js.html b/lib_develop_configureItem.js.html index 45d33d1bd..23b720f97 100644 --- a/lib_develop_configureItem.js.html +++ b/lib_develop_configureItem.js.html @@ -177,14 +177,14 @@

lib/develop/configureItem.js

url: '//develop.roblox.com/v1/assets/' + id, options: { method: 'PATCH', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, json: { - name: name, - description: description, - enableComments: enableComments, + name, + description, + enableComments, genres: genreSelection || ['All'], isCopyingAllowed: typeof (sellForRobux) === 'boolean' ? sellForRobux : null } @@ -270,7 +270,7 @@

lib/develop/configureItem.js

function runWithToken (args) { const jar = args.jar return getGeneralToken({ - jar: jar + jar }) .then(function (token) { if (typeof (args.sellForRobux) === 'number') { diff --git a/lib_economy_buy.js.html b/lib_economy_buy.js.html index 228912f1d..7d4d51c99 100644 --- a/lib_economy_buy.js.html +++ b/lib_economy_buy.js.html @@ -195,7 +195,7 @@

lib/economy/buy.js

url: '//economy.roblox.com/v1/purchases/products/' + productId, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -225,7 +225,7 @@

lib/economy/buy.js

function runWithToken (args) { const jar = args.jar return getGeneralToken({ - jar: jar + jar }) .then(function (token) { return buy(jar, token, args.product, args.price) diff --git a/lib_economy_getGroupFunds.js.html b/lib_economy_getGroupFunds.js.html index ab19e36a9..d53189e01 100644 --- a/lib_economy_getGroupFunds.js.html +++ b/lib_economy_getGroupFunds.js.html @@ -170,7 +170,7 @@

lib/economy/getGroupFunds.js

return http({ url: `//economy.roblox.com/v1/groups/${group}/currency`, options: { - jar: jar, + jar, resolveWithFullResponse: true } }) diff --git a/lib_economy_getGroupRevenueSummary.js.html b/lib_economy_getGroupRevenueSummary.js.html index a0d6e4652..efd758759 100644 --- a/lib_economy_getGroupRevenueSummary.js.html +++ b/lib_economy_getGroupRevenueSummary.js.html @@ -171,7 +171,7 @@

lib/economy/getGroupRevenueSummary.js

return http({ url: `//economy.roblox.com/v1/groups/${group}/revenue/summary/${timeFrame}`, options: { - jar: jar, + jar, resolveWithFullResponse: true } }) diff --git a/lib_economy_getUserTransactions.js.html b/lib_economy_getUserTransactions.js.html index 17162d362..f40cdd578 100644 --- a/lib_economy_getUserTransactions.js.html +++ b/lib_economy_getUserTransactions.js.html @@ -168,7 +168,7 @@

lib/economy/getUserTransactions.js

exports.func = async function (args) { const jar = args.jar - const currentUser = await getCurrentUser({ jar: jar }) + const currentUser = await getCurrentUser({ jar }) // return getTransactions(currentUser.UserID, transactionType, limit, cursor) return getPageResults({ jar: args.jar, diff --git a/lib_economy_onGroupTransaction.js.html b/lib_economy_onGroupTransaction.js.html index 88b2595c4..cd994e476 100644 --- a/lib_economy_onGroupTransaction.js.html +++ b/lib_economy_onGroupTransaction.js.html @@ -205,13 +205,13 @@

lib/economy/onGroupTransaction.js

const date = new Date() date.setMilliseconds(0) - given.push({ date: date }) + given.push({ date }) latest = date empty = true } } return { - latest: latest, + latest, data: given } } diff --git a/lib_friends_acceptFriendRequest.js.html b/lib_friends_acceptFriendRequest.js.html index 1c90c6c2e..4b3658f44 100644 --- a/lib_friends_acceptFriendRequest.js.html +++ b/lib_friends_acceptFriendRequest.js.html @@ -173,7 +173,7 @@

lib/friends/acceptFriendRequest.js

url: `//friends.roblox.com/v1/users/${userId}/accept-friend-request`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'application/json' @@ -200,7 +200,7 @@

lib/friends/acceptFriendRequest.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return acceptFriendRequest(jar, xcsrf, args.userId) }) diff --git a/lib_friends_declineAllFriendRequests.js.html b/lib_friends_declineAllFriendRequests.js.html index 5ea26674f..b87aa751c 100644 --- a/lib_friends_declineAllFriendRequests.js.html +++ b/lib_friends_declineAllFriendRequests.js.html @@ -172,7 +172,7 @@

lib/friends/declineAllFriendRequests.js

url: '//friends.roblox.com/v1/user/friend-requests/decline-all', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -198,7 +198,7 @@

lib/friends/declineAllFriendRequests.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return declineAllFriendRequests(jar, xcsrf) }) diff --git a/lib_friends_declineFriendRequest.js.html b/lib_friends_declineFriendRequest.js.html index 32a307cf2..7e617a2b0 100644 --- a/lib_friends_declineFriendRequest.js.html +++ b/lib_friends_declineFriendRequest.js.html @@ -173,7 +173,7 @@

lib/friends/declineFriendRequest.js

url: `//friends.roblox.com/v1/users/${userId}/decline-friend-request`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'application/json' @@ -200,7 +200,7 @@

lib/friends/declineFriendRequest.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return declineFriendRequest(jar, xcsrf, args.userId) }) diff --git a/lib_friends_getFollowers.js.html b/lib_friends_getFollowers.js.html index a50a90261..c4bf3f984 100644 --- a/lib_friends_getFollowers.js.html +++ b/lib_friends_getFollowers.js.html @@ -174,7 +174,7 @@

lib/friends/getFollowers.js

url: `//friends.roblox.com/v1/users/${userId}/followers?limit=${limit}&sortOrder=${sortOrder}&cursor=${cursor}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_friends_getFollowings.js.html b/lib_friends_getFollowings.js.html index ae401c755..e2c886969 100644 --- a/lib_friends_getFollowings.js.html +++ b/lib_friends_getFollowings.js.html @@ -174,7 +174,7 @@

lib/friends/getFollowings.js

url: `//friends.roblox.com/v1/users/${userId}/followings?limit=${limit}&sortOrder=${sortOrder}&cursor=${cursor}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_friends_getFriendRequests.js.html b/lib_friends_getFriendRequests.js.html index 51d049414..38f06c01f 100644 --- a/lib_friends_getFriendRequests.js.html +++ b/lib_friends_getFriendRequests.js.html @@ -175,7 +175,7 @@

lib/friends/getFriendRequests.js

url: '//friends.roblox.com/v1/my/friends/requests', options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_friends_getFriends.js.html b/lib_friends_getFriends.js.html index 2a7440748..557318042 100644 --- a/lib_friends_getFriends.js.html +++ b/lib_friends_getFriends.js.html @@ -170,7 +170,7 @@

lib/friends/getFriends.js

url: `//friends.roblox.com/v1/users/${userId}/friends`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_friends_onFriendRequest.js.html b/lib_friends_onFriendRequest.js.html index 52a888305..9c3970439 100644 --- a/lib_friends_onFriendRequest.js.html +++ b/lib_friends_onFriendRequest.js.html @@ -178,7 +178,7 @@

lib/friends/onFriendRequest.js

exports.func = function (args) { const jar = args.jar const onFriendRequest = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', function (name, message) { if (name === 'FriendshipNotifications' && message.Type === 'FriendshipRequested') { onFriendRequest.emit('data', message.EventArgs.UserId1) diff --git a/lib_friends_removeFriend.js.html b/lib_friends_removeFriend.js.html index 829ab2da5..5d24e0f2f 100644 --- a/lib_friends_removeFriend.js.html +++ b/lib_friends_removeFriend.js.html @@ -173,7 +173,7 @@

lib/friends/removeFriend.js

url: `//friends.roblox.com/v1/users/${userId}/unfriend`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -199,7 +199,7 @@

lib/friends/removeFriend.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return removeFriend(jar, xcsrf, args.userId) }) diff --git a/lib_friends_sendFriendRequest.js.html b/lib_friends_sendFriendRequest.js.html index 24d253f38..5db706051 100644 --- a/lib_friends_sendFriendRequest.js.html +++ b/lib_friends_sendFriendRequest.js.html @@ -173,7 +173,7 @@

lib/friends/sendFriendRequest.js

url: `//friends.roblox.com/v1/users/${userId}/request-friendship`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'application/json' @@ -200,7 +200,7 @@

lib/friends/sendFriendRequest.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return sendFriendRequest(jar, xcsrf, args.userId) }) diff --git a/lib_friends_unfollow.js.html b/lib_friends_unfollow.js.html index 391508227..2f65aed53 100644 --- a/lib_friends_unfollow.js.html +++ b/lib_friends_unfollow.js.html @@ -173,7 +173,7 @@

lib/friends/unfollow.js

url: `//friends.roblox.com/v1/users/${userId}/unfollow`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -199,7 +199,7 @@

lib/friends/unfollow.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return unfollow(jar, xcsrf, args.userId) }) diff --git a/lib_games_addDeveloperProduct.js.html b/lib_games_addDeveloperProduct.js.html index da4945f40..cfc068b62 100644 --- a/lib_games_addDeveloperProduct.js.html +++ b/lib_games_addDeveloperProduct.js.html @@ -178,7 +178,7 @@

lib/games/addDeveloperProduct.js

url: '//apis.roblox.com/developer-products/v1/universes/' + universeId + '/developerproducts?name=' + name + '&description=' + description + '&priceInRobux=' + priceInRobux, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -207,7 +207,7 @@

lib/games/addDeveloperProduct.js

exports.func = (args) => { const jar = args.jar - return getGeneralToken({ jar: jar }).then((xcsrf) => { + return getGeneralToken({ jar }).then((xcsrf) => { return nextFunction(jar, xcsrf, args.universeId, args.name, args.priceInRobux, args.description) }) } diff --git a/lib_games_checkDeveloperProductName.js.html b/lib_games_checkDeveloperProductName.js.html index 19c417f43..9a933319f 100644 --- a/lib_games_checkDeveloperProductName.js.html +++ b/lib_games_checkDeveloperProductName.js.html @@ -174,7 +174,7 @@

lib/games/checkDeveloperProductName.js

url: '//www.roblox.com/places/check-developerproduct-name?universeId=' + universeId + '&developerProductId=' + productId + '&developerProductName=' + args.productName + '&_=1515792139751', options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } }).then((res) => { diff --git a/lib_games_configureGamePass.js.html b/lib_games_configureGamePass.js.html index 77930513e..9519c8260 100644 --- a/lib_games_configureGamePass.js.html +++ b/lib_games_configureGamePass.js.html @@ -186,7 +186,7 @@

lib/games/configureGamePass.js

url: '//www.roblox.com/game-pass/update', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryKMFaNaAn4j7XeMO' diff --git a/lib_games_getDeveloperProducts.js.html b/lib_games_getDeveloperProducts.js.html index fe2dcd711..0b4dc1bf5 100644 --- a/lib_games_getDeveloperProducts.js.html +++ b/lib_games_getDeveloperProducts.js.html @@ -169,7 +169,7 @@

lib/games/getDeveloperProducts.js

url: `//api.roblox.com/developerproducts/list?placeid=${placeId}&page=${page}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_games_getGameRevenue.js.html b/lib_games_getGameRevenue.js.html index 015f624b8..e1ba1737c 100644 --- a/lib_games_getGameRevenue.js.html +++ b/lib_games_getGameRevenue.js.html @@ -170,7 +170,7 @@

lib/games/getGameRevenue.js

url: `//develop.roblox.com/v1/places/${placeId}/stats/${type}?granularity=${granularity}`, options: { method: 'GET', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -190,7 +190,7 @@

lib/games/getGameRevenue.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return getGameRevenue(args.placeId, args.type, args.granularity, jar, xcsrf) }) diff --git a/lib_games_getGameSocialLinks.js.html b/lib_games_getGameSocialLinks.js.html index a158b19e0..968bc2215 100644 --- a/lib_games_getGameSocialLinks.js.html +++ b/lib_games_getGameSocialLinks.js.html @@ -170,7 +170,7 @@

lib/games/getGameSocialLinks.js

return http({ url: `//games.roblox.com/v1/games/${universeId}/social-links/list`, options: { - jar: jar, + jar, resolveWithFullResponse: true } }) diff --git a/lib_games_getPlaceInfo.js.html b/lib_games_getPlaceInfo.js.html index 5a209af92..d63b4889a 100644 --- a/lib_games_getPlaceInfo.js.html +++ b/lib_games_getPlaceInfo.js.html @@ -173,7 +173,7 @@

lib/games/getPlaceInfo.js

options: { json: true, resolveWithFullResponse: true, - jar: jar, + jar, method: 'GET' } } diff --git a/lib_games_getUniverseInfo.js.html b/lib_games_getUniverseInfo.js.html index c859855e2..453726443 100644 --- a/lib_games_getUniverseInfo.js.html +++ b/lib_games_getUniverseInfo.js.html @@ -171,7 +171,7 @@

lib/games/getUniverseInfo.js

options: { json: true, resolveWithFullResponse: true, - jar: jar, + jar, method: 'GET' } } diff --git a/lib_games_updateDeveloperProduct.js.html b/lib_games_updateDeveloperProduct.js.html index 51df1fd86..8acab7e34 100644 --- a/lib_games_updateDeveloperProduct.js.html +++ b/lib_games_updateDeveloperProduct.js.html @@ -168,13 +168,13 @@

lib/games/updateDeveloperProduct.js

* noblox.updateDeveloperProduct(1, 2, 10, "An Updated Developer Product", "My new updated product.") **/ -function updateDeveloperProduct(universeId, productId, priceInRobux, name, description, jar, token) { +function updateDeveloperProduct (universeId, productId, priceInRobux, name, description, jar, token) { return new Promise((resolve, reject) => { return http({ url: `//apis.roblox.com/developer-products/v1/universes/${universeId}/developerproducts/${productId}/update`, options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, diff --git a/lib_groups_changeRank.js.html b/lib_groups_changeRank.js.html index a802630a9..bfe4ec34b 100644 --- a/lib_groups_changeRank.js.html +++ b/lib_groups_changeRank.js.html @@ -175,12 +175,12 @@

lib/groups/changeRank.js

const target = args.target const amount = args.change const jar = args.jar - return getRankNameInGroup({ group: group, userId: target }) + return getRankNameInGroup({ group, userId: target }) .then(function (rank) { if (rank === 'Guest') { throw new Error('Target user is not in group') } - return getRoles({ group: group }) + return getRoles({ group }) .then(function (roles) { for (let i = 0; i < roles.length; i++) { const role = roles[i] @@ -196,7 +196,7 @@

lib/groups/changeRank.js

throw new Error('Group members cannot be demoted to guest.') } - return setRank({ group: group, target: target, rank: found.id, jar: jar }) + return setRank({ group, target, rank: found.id, jar }) .then(function () { return { newRole: found, oldRole: role } }) diff --git a/lib_groups_deleteWallPost.js.html b/lib_groups_deleteWallPost.js.html index f752ace00..fef7bbc91 100644 --- a/lib_groups_deleteWallPost.js.html +++ b/lib_groups_deleteWallPost.js.html @@ -174,7 +174,7 @@

lib/groups/deleteWallPost.js

url: `//groups.roblox.com/v1/groups/${group}/wall/posts/${postId}`, options: { method: 'DELETE', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token }, @@ -201,7 +201,7 @@

lib/groups/deleteWallPost.js

exports.func = function (args) { const group = args.group const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { if (args.post) { return deleteWallPost(jar, xcsrf, group, args.post.id) diff --git a/lib_groups_deleteWallPostsByUser.js.html b/lib_groups_deleteWallPostsByUser.js.html index 84bcc6a8f..9e5fe9b91 100644 --- a/lib_groups_deleteWallPostsByUser.js.html +++ b/lib_groups_deleteWallPostsByUser.js.html @@ -174,7 +174,7 @@

lib/groups/deleteWallPostsByUser.js

options: { method: 'DELETE', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -200,7 +200,7 @@

lib/groups/deleteWallPostsByUser.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return deleteWallPostsByUser(args.group, args.userId, args.jar, xcsrf) }) diff --git a/lib_groups_exile.js.html b/lib_groups_exile.js.html index 197ec082f..9ce828923 100644 --- a/lib_groups_exile.js.html +++ b/lib_groups_exile.js.html @@ -174,7 +174,7 @@

lib/groups/exile.js

options: { method: 'DELETE', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -200,7 +200,7 @@

lib/groups/exile.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return exileUser(args.group, args.target, args.jar, xcsrf) }) diff --git a/lib_groups_getAuditLog.js.html b/lib_groups_getAuditLog.js.html index 9e689cbd6..8c4f4c870 100644 --- a/lib_groups_getAuditLog.js.html +++ b/lib_groups_getAuditLog.js.html @@ -176,7 +176,7 @@

lib/groups/getAuditLog.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } } diff --git a/lib_groups_getGroupSocialLinks.js.html b/lib_groups_getGroupSocialLinks.js.html index 68a20a424..c8d1edd91 100644 --- a/lib_groups_getGroupSocialLinks.js.html +++ b/lib_groups_getGroupSocialLinks.js.html @@ -169,7 +169,7 @@

lib/groups/getGroupSocialLinks.js

return http({ url: `//groups.roblox.com/v1/groups/${groupId}/social-links`, options: { - jar: jar, + jar, resolveWithFullResponse: true } }) diff --git a/lib_groups_getGroups.js.html b/lib_groups_getGroups.js.html index 016a48f83..b154ff3d1 100644 --- a/lib_groups_getGroups.js.html +++ b/lib_groups_getGroups.js.html @@ -222,7 +222,7 @@

lib/groups/getGroups.js

function constructRequest (url) { return http({ - url: url, + url, options: { resolveWithFullResponse: true, followRedirect: false, diff --git a/lib_groups_getJoinRequest.js.html b/lib_groups_getJoinRequest.js.html index 40a78e98c..ac598a36a 100644 --- a/lib_groups_getJoinRequest.js.html +++ b/lib_groups_getJoinRequest.js.html @@ -173,7 +173,7 @@

lib/groups/getJoinRequest.js

url: `//groups.roblox.com/v1/groups/${group}/join-requests/users/${userId}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_groups_getJoinRequests.js.html b/lib_groups_getJoinRequests.js.html index bdafb8eb6..61a7278fe 100644 --- a/lib_groups_getJoinRequests.js.html +++ b/lib_groups_getJoinRequests.js.html @@ -175,7 +175,7 @@

lib/groups/getJoinRequests.js

url: `//groups.roblox.com/v1/groups/${group}/join-requests?limit=${limit}&sortOrder=${sortOrder}&cursor=${cursor}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_groups_getPlayers.js.html b/lib_groups_getPlayers.js.html index 71bfc3056..198b1e9b3 100644 --- a/lib_groups_getPlayers.js.html +++ b/lib_groups_getPlayers.js.html @@ -175,7 +175,7 @@

lib/groups/getPlayers.js

url: `//groups.roblox.com/v1/groups/${group}/roles/${rolesetId}/users?cursor=${cursor}&limit=${limit}&sortOrder=${sortOrder}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_groups_getRolePermissions.js.html b/lib_groups_getRolePermissions.js.html index 147c352d6..965e67bef 100644 --- a/lib_groups_getRolePermissions.js.html +++ b/lib_groups_getRolePermissions.js.html @@ -172,7 +172,7 @@

lib/groups/getRolePermissions.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } } diff --git a/lib_groups_getShout.js.html b/lib_groups_getShout.js.html index 35fa49c12..32967aa28 100644 --- a/lib_groups_getShout.js.html +++ b/lib_groups_getShout.js.html @@ -172,7 +172,7 @@

lib/groups/getShout.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } } diff --git a/lib_groups_getWall.js.html b/lib_groups_getWall.js.html index d8e722314..a3b3e5f82 100644 --- a/lib_groups_getWall.js.html +++ b/lib_groups_getWall.js.html @@ -173,7 +173,7 @@

lib/groups/getWall.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } } diff --git a/lib_groups_groupPayout.js.html b/lib_groups_groupPayout.js.html index 5ff9f7149..0bf97d263 100644 --- a/lib_groups_groupPayout.js.html +++ b/lib_groups_groupPayout.js.html @@ -178,7 +178,7 @@

lib/groups/groupPayout.js

options: { resolveWithFullResponse: true, method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'application/json' @@ -244,7 +244,7 @@

lib/groups/groupPayout.js

}) } - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return groupPayout(jar, xcsrf, args.group, data, recurring, usePercentage) }) diff --git a/lib_groups_handleJoinRequest.js.html b/lib_groups_handleJoinRequest.js.html index 46804a163..230aeb8f5 100644 --- a/lib_groups_handleJoinRequest.js.html +++ b/lib_groups_handleJoinRequest.js.html @@ -175,7 +175,7 @@

lib/groups/handleJoinRequest.js

options: { method: accept ? 'POST' : 'DELETE', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -201,7 +201,7 @@

lib/groups/handleJoinRequest.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return handleJoinRequest(args.group, args.userId, args.accept, args.jar, xcsrf) }) diff --git a/lib_groups_leaveGroup.js.html b/lib_groups_leaveGroup.js.html index aa786c826..fd374097a 100644 --- a/lib_groups_leaveGroup.js.html +++ b/lib_groups_leaveGroup.js.html @@ -175,7 +175,7 @@

lib/groups/leaveGroup.js

options: { method: 'DELETE', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -200,9 +200,9 @@

lib/groups/leaveGroup.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(async function (xcsrf) { - const currentUser = await getCurrentUser({ jar: jar }) + const currentUser = await getCurrentUser({ jar }) return leaveGroup(args.group, args.jar, xcsrf, currentUser.UserID) }) } diff --git a/lib_groups_onAuditLog.js.html b/lib_groups_onAuditLog.js.html index 6e9fc5d8c..7ff1d6e7e 100644 --- a/lib_groups_onAuditLog.js.html +++ b/lib_groups_onAuditLog.js.html @@ -193,13 +193,13 @@

lib/groups/onAuditLog.js

empty = false } else if (!empty) { const date = new Date() - given.push({ audit: '', author: { name: '', id: '-1' }, date: date }) + given.push({ audit: '', author: { name: '', id: '-1' }, date }) latest = date empty = true } } return { - latest: latest, + latest, data: given } } diff --git a/lib_groups_onJoinRequest.js.html b/lib_groups_onJoinRequest.js.html index 76fc247c1..9dd4ff2b3 100644 --- a/lib_groups_onJoinRequest.js.html +++ b/lib_groups_onJoinRequest.js.html @@ -201,7 +201,7 @@

lib/groups/onJoinRequest.js

} } return { - latest: latest, + latest, data: given } }) diff --git a/lib_groups_onJoinRequestHandle.js.html b/lib_groups_onJoinRequestHandle.js.html index 66ad9ec32..2753637c0 100644 --- a/lib_groups_onJoinRequestHandle.js.html +++ b/lib_groups_onJoinRequestHandle.js.html @@ -220,7 +220,7 @@

lib/groups/onJoinRequestHandle.js

promise = new Promise(function (resolve, reject) { evt.on('handle', function (request, accept, callback) { const id = request.requester.userId - handleJoinRequest({ jar: jar, group, userId: id, accept: accept }) + handleJoinRequest({ jar, group, userId: id, accept }) .then(function () { handled++ if (callback) { @@ -246,7 +246,7 @@

lib/groups/onJoinRequestHandle.js

}) } return shortPoll({ - getLatest: getLatest, + getLatest, delay: 'onJoinRequestHandle', timeout: -1 }) diff --git a/lib_groups_onShout.js.html b/lib_groups_onShout.js.html index d677216a4..90a1374a2 100644 --- a/lib_groups_onShout.js.html +++ b/lib_groups_onShout.js.html @@ -190,12 +190,12 @@

lib/groups/onShout.js

empty = false } else if (!empty) { const date = new Date() - given.push({ message: '', author: { name: '', id: '-1' }, date: date }) + given.push({ message: '', author: { name: '', id: '-1' }, date }) latest = date empty = true } return { - latest: latest, + latest, data: given } }) diff --git a/lib_groups_onWallPost.js.html b/lib_groups_onWallPost.js.html index 10ffcdcb3..5636dc414 100644 --- a/lib_groups_onWallPost.js.html +++ b/lib_groups_onWallPost.js.html @@ -180,7 +180,7 @@

lib/groups/onWallPost.js

const view = args.view return shortPoll({ getLatest: function (latest) { - return getWall({ group: group, jar: jar, sortOrder: 'Desc' }) + return getWall({ group, jar, sortOrder: 'Desc' }) .then(function (wall) { const posts = wall.data const given = [] @@ -196,7 +196,7 @@

lib/groups/onWallPost.js

} } return { - latest: latest, + latest, data: given } }) diff --git a/lib_groups_setGroupDescription.js.html b/lib_groups_setGroupDescription.js.html index 22071ab9a..0ca51494a 100644 --- a/lib_groups_setGroupDescription.js.html +++ b/lib_groups_setGroupDescription.js.html @@ -177,7 +177,7 @@

lib/groups/setGroupDescription.js

json: { description }, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -206,7 +206,7 @@

lib/groups/setGroupDescription.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return changeGroupDesc(args.group, args.description, args.jar, xcsrf) }) diff --git a/lib_groups_setGroupName.js.html b/lib_groups_setGroupName.js.html index bc7fe7f58..bddd2ff74 100644 --- a/lib_groups_setGroupName.js.html +++ b/lib_groups_setGroupName.js.html @@ -178,7 +178,7 @@

lib/groups/setGroupName.js

json: { name }, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -207,7 +207,7 @@

lib/groups/setGroupName.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return changeGroupName(args.group, args.name, args.jar, xcsrf) }) diff --git a/lib_groups_setRank.js.html b/lib_groups_setRank.js.html index 7e2014d85..75080c86b 100644 --- a/lib_groups_setRank.js.html +++ b/lib_groups_setRank.js.html @@ -177,7 +177,7 @@

lib/groups/setRank.js

options: { resolveWithFullResponse: true, method: 'PATCH', - jar: jar, + jar, headers: { 'Content-Type': 'application/json', 'X-CSRF-TOKEN': xcsrf @@ -206,7 +206,7 @@

lib/groups/setRank.js

function runWithToken (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return setRank(jar, xcsrf, args.group, args.target, args.role) }) diff --git a/lib_groups_shout.js.html b/lib_groups_shout.js.html index 952afa224..abc508ec7 100644 --- a/lib_groups_shout.js.html +++ b/lib_groups_shout.js.html @@ -177,7 +177,7 @@

lib/groups/shout.js

json: { message }, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf } @@ -206,7 +206,7 @@

lib/groups/shout.js

// Define exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return shoutOnGroup(args.group, args.message, args.jar, xcsrf) }) diff --git a/lib_inventory_getUAIDs.js.html b/lib_inventory_getUAIDs.js.html index a22266862..1a92623e2 100644 --- a/lib_inventory_getUAIDs.js.html +++ b/lib_inventory_getUAIDs.js.html @@ -169,7 +169,7 @@

lib/inventory/getUAIDs.js

// Define function getUAIDs (userId, requestedIds, excludedIds) { return new Promise((resolve) => { - getCollectibles({ userId: userId }).then(function (collectibles) { + getCollectibles({ userId }).then(function (collectibles) { const retrievedIds = [] for (let index = 0; index < collectibles.length; index++) { diff --git a/lib_party_onPartyDeleted.js.html b/lib_party_onPartyDeleted.js.html index 4721df0b2..1af914b6e 100644 --- a/lib_party_onPartyDeleted.js.html +++ b/lib_party_onPartyDeleted.js.html @@ -173,7 +173,7 @@

lib/party/onPartyDeleted.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'PartyDeleted') { diff --git a/lib_party_onPartyInvite.js.html b/lib_party_onPartyInvite.js.html index 4b996e2f9..b5b4ca760 100644 --- a/lib_party_onPartyInvite.js.html +++ b/lib_party_onPartyInvite.js.html @@ -173,7 +173,7 @@

lib/party/onPartyInvite.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'InvitedToParty') { diff --git a/lib_party_onPartyJoinedGame.js.html b/lib_party_onPartyJoinedGame.js.html index d62d14aa6..fd1f2935e 100644 --- a/lib_party_onPartyJoinedGame.js.html +++ b/lib_party_onPartyJoinedGame.js.html @@ -173,7 +173,7 @@

lib/party/onPartyJoinedGame.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'PartyJoinedGame') { diff --git a/lib_party_onPartyLeftGame.js.html b/lib_party_onPartyLeftGame.js.html index 97bc616c1..c0afadd0d 100644 --- a/lib_party_onPartyLeftGame.js.html +++ b/lib_party_onPartyLeftGame.js.html @@ -173,7 +173,7 @@

lib/party/onPartyLeftGame.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'PartyLeftGame') { diff --git a/lib_party_onPartySelfJoined.js.html b/lib_party_onPartySelfJoined.js.html index e869d58d8..96b9a6122 100644 --- a/lib_party_onPartySelfJoined.js.html +++ b/lib_party_onPartySelfJoined.js.html @@ -173,7 +173,7 @@

lib/party/onPartySelfJoined.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'IJoinedParty') { diff --git a/lib_party_onPartySelfLeft.js.html b/lib_party_onPartySelfLeft.js.html index dc94d58d5..1dc7eb8f7 100644 --- a/lib_party_onPartySelfLeft.js.html +++ b/lib_party_onPartySelfLeft.js.html @@ -173,7 +173,7 @@

lib/party/onPartySelfLeft.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'ILeftParty') { diff --git a/lib_party_onPartyUserJoined.js.html b/lib_party_onPartyUserJoined.js.html index 5e90bb560..55099170f 100644 --- a/lib_party_onPartyUserJoined.js.html +++ b/lib_party_onPartyUserJoined.js.html @@ -173,7 +173,7 @@

lib/party/onPartyUserJoined.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'PartyUserJoined') { diff --git a/lib_party_onPartyUserLeft.js.html b/lib_party_onPartyUserLeft.js.html index 1bef543e0..e8b992ff3 100644 --- a/lib_party_onPartyUserLeft.js.html +++ b/lib_party_onPartyUserLeft.js.html @@ -173,7 +173,7 @@

lib/party/onPartyUserLeft.js

exports.func = (args) => { const jar = args.jar const newEvent = new events.EventEmitter() - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', (name, message) => { if (name === 'PartyNotifications' && message.Type === 'PartyUserLeft') { diff --git a/lib_premiumfeatures_getPremium.js.html b/lib_premiumfeatures_getPremium.js.html index 0e6b31175..23a46b359 100644 --- a/lib_premiumfeatures_getPremium.js.html +++ b/lib_premiumfeatures_getPremium.js.html @@ -172,7 +172,7 @@

lib/premiumfeatures/getPremium.js

url: `https://premiumfeatures.roblox.com/v1/users/${userId}/validate-membership`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_presence_getPresences.js.html b/lib_presence_getPresences.js.html index da87274e7..65ab2a4ca 100644 --- a/lib_presence_getPresences.js.html +++ b/lib_presence_getPresences.js.html @@ -174,7 +174,7 @@

lib/presence/getPresences.js

options: { method: 'POST', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'Content-Type': 'application/json' @@ -204,7 +204,7 @@

lib/presence/getPresences.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return getPresences(args.userIds, args.jar, xcsrf) }) diff --git a/lib_privatemessages_getMessages.js.html b/lib_privatemessages_getMessages.js.html index 39110edc3..9f25c0752 100644 --- a/lib_privatemessages_getMessages.js.html +++ b/lib_privatemessages_getMessages.js.html @@ -173,7 +173,7 @@

lib/privatemessages/getMessages.js

url: `//privatemessages.roblox.com/v1/messages?pageNumber=${pageNumber}&pageSize=${pageSize}&messageTab=${messageTab}`, options: { method: 'GET', - jar: jar, + jar, resolveWithFullResponse: true } } diff --git a/lib_privatemessages_message.js.html b/lib_privatemessages_message.js.html index ebeab0ba9..f4d09b657 100644 --- a/lib_privatemessages_message.js.html +++ b/lib_privatemessages_message.js.html @@ -180,7 +180,7 @@

lib/privatemessages/message.js

url: '//privatemessages.roblox.com/v1/messages/send', options: { method: 'POST', - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': token, 'Content-Type': 'application/json' @@ -215,10 +215,10 @@

lib/privatemessages/message.js

exports.func = function (args) { const jar = args.jar - return queue('Message', getHash({ jar: jar }), function () { - return getGeneralToken({ jar: jar }) + return queue('Message', getHash({ jar }), function () { + return getGeneralToken({ jar }) .then(function (xcsrf) { - return getSenderId({ jar: jar }).then((senderId) => { + return getSenderId({ jar }).then((senderId) => { return message(jar, xcsrf, senderId, args.recipient, args.subject, args.body, args.replyMessageId, args.includePreviousMessage) }) }) diff --git a/lib_privatemessages_onMessage.js.html b/lib_privatemessages_onMessage.js.html index 58c719b7b..01581ca17 100644 --- a/lib_privatemessages_onMessage.js.html +++ b/lib_privatemessages_onMessage.js.html @@ -182,17 +182,17 @@

lib/privatemessages/onMessage.js

const onMessage = new events.EventEmitter() let waitingForRequest = false let latest - getMessages({ jar: jar, messageTab: 'Inbox', pageNumber: 0 }) + getMessages({ jar, messageTab: 'Inbox', pageNumber: 0 }) .then(function (initial) { latest = initial.collection[0] ? initial.collection[0].id : 0 - const notifications = onNotification({ jar: jar }) + const notifications = onNotification({ jar }) notifications.on('data', function (name, message) { if (name === 'NotificationStream' && message.Type === 'NewNotification') { if (waitingForRequest) { waitingForRequest = false } else { getMessages({ - jar: jar, + jar, messageTab: 'Inbox', pageNumber: 0 }) diff --git a/lib_trades_acceptTrade.js.html b/lib_trades_acceptTrade.js.html index 87d152a4e..ebaf43464 100644 --- a/lib_trades_acceptTrade.js.html +++ b/lib_trades_acceptTrade.js.html @@ -174,7 +174,7 @@

lib/trades/acceptTrade.js

options: { method: 'POST', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'Content-Type': 'application/json' @@ -199,7 +199,7 @@

lib/trades/acceptTrade.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return acceptTrade(args.tradeId, jar, xcsrf) }) diff --git a/lib_trades_canTradeWith.js.html b/lib_trades_canTradeWith.js.html index 7f0bc8904..461aaf8c7 100644 --- a/lib_trades_canTradeWith.js.html +++ b/lib_trades_canTradeWith.js.html @@ -173,7 +173,7 @@

lib/trades/canTradeWith.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } }).then((res) => { if (res.statusCode === 200) { diff --git a/lib_trades_counterTrade.js.html b/lib_trades_counterTrade.js.html index dcd723c7c..813525bd8 100644 --- a/lib_trades_counterTrade.js.html +++ b/lib_trades_counterTrade.js.html @@ -185,7 +185,7 @@

lib/trades/counterTrade.js

options: { method: 'POST', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'Content-Type': 'application/json' @@ -223,8 +223,8 @@

lib/trades/counterTrade.js

exports.func = function (args) { const jar = args.jar return Promise.all([ - getGeneralToken({ jar: jar }), - getCurrentUser({ jar: jar, option: 'UserID' }) + getGeneralToken({ jar }), + getCurrentUser({ jar, option: 'UserID' }) ]) .then(function (resolvedPromises) { return counterTrade(args.tradeId, args.targetUserId, args.sendingOffer, args.receivingOffer, jar, resolvedPromises[0], resolvedPromises[1]) diff --git a/lib_trades_declineTrade.js.html b/lib_trades_declineTrade.js.html index ecaa83a42..378b9e41c 100644 --- a/lib_trades_declineTrade.js.html +++ b/lib_trades_declineTrade.js.html @@ -174,7 +174,7 @@

lib/trades/declineTrade.js

options: { method: 'POST', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'Content-Type': 'application/json' @@ -199,7 +199,7 @@

lib/trades/declineTrade.js

exports.func = function (args) { const jar = args.jar - return getGeneralToken({ jar: jar }) + return getGeneralToken({ jar }) .then(function (xcsrf) { return declineTrade(args.tradeId, jar, xcsrf) }) diff --git a/lib_trades_getTradeInfo.js.html b/lib_trades_getTradeInfo.js.html index 7b65c9c5e..9d44ea43e 100644 --- a/lib_trades_getTradeInfo.js.html +++ b/lib_trades_getTradeInfo.js.html @@ -173,7 +173,7 @@

lib/trades/getTradeInfo.js

options: { method: 'GET', resolveWithFullResponse: true, - jar: jar + jar } }).then((res) => { if (res.statusCode === 200) { diff --git a/lib_trades_sendTrade.js.html b/lib_trades_sendTrade.js.html index 2e2dd6d98..4835e70f9 100644 --- a/lib_trades_sendTrade.js.html +++ b/lib_trades_sendTrade.js.html @@ -183,7 +183,7 @@

lib/trades/sendTrade.js

options: { method: 'POST', resolveWithFullResponse: true, - jar: jar, + jar, headers: { 'X-CSRF-TOKEN': xcsrf, 'Content-Type': 'application/json' @@ -221,8 +221,8 @@

lib/trades/sendTrade.js

exports.func = function (args) { const jar = args.jar return Promise.all([ - getGeneralToken({ jar: jar }), - getCurrentUser({ jar: jar, option: 'UserID' }) + getGeneralToken({ jar }), + getCurrentUser({ jar, option: 'UserID' }) ]) .then(function (resolvedPromises) { return sendTrade(args.targetUserId, args.sendingOffer, args.receivingOffer, jar, resolvedPromises[0], resolvedPromises[1]) diff --git a/lib_users_getPlayerInfo.js.html b/lib_users_getPlayerInfo.js.html index 2f1234ebb..4afa40b4d 100644 --- a/lib_users_getPlayerInfo.js.html +++ b/lib_users_getPlayerInfo.js.html @@ -192,11 +192,11 @@

lib/users/getPlayerInfo.js

const displayName = userBody.displayName resolve({ - username: username, - joinDate: joinDate, - blurb: blurb, - isBanned: isBanned, - displayName: displayName + username, + joinDate, + blurb, + isBanned, + displayName }) } else if (failedResponse) { reject(new Error('User does not exist.')) @@ -234,7 +234,7 @@

lib/users/getPlayerInfo.js

function constructRequest (url) { return http({ - url: url, + url, options: { resolveWithFullResponse: true, followRedirect: false, diff --git a/lib_users_onBlurbChange.js.html b/lib_users_onBlurbChange.js.html index b44865fc4..24d4a36e3 100644 --- a/lib_users_onBlurbChange.js.html +++ b/lib_users_onBlurbChange.js.html @@ -184,7 +184,7 @@

lib/users/onBlurbChange.js

} return { - latest: latest, + latest, data: given } }) diff --git a/lib_util_generalRequest.js.html b/lib_util_generalRequest.js.html index ae08d5139..6ed6c54fb 100644 --- a/lib_util_generalRequest.js.html +++ b/lib_util_generalRequest.js.html @@ -176,12 +176,12 @@

lib/util/generalRequest.js

inputs[input] = events[input] } const httpOpt = { - url: url, + url, options: { resolveWithFullResponse: true, method: 'POST', form: inputs, - jar: jar + jar } } if (customOpt) { @@ -192,8 +192,8 @@

lib/util/generalRequest.js

} return http(httpOpt).then(function (res) { return { - res: res, - body: body + res, + body } }) } @@ -202,7 +202,7 @@

lib/util/generalRequest.js

const jar = args.jar const url = args.url const custom = args.http - return getVerification({ url: custom ? (custom.url || url) : url, jar: jar, ignoreCache: args.ignoreCache, getBody: args.getBody }) + return getVerification({ url: custom ? (custom.url || url) : url, jar, ignoreCache: args.ignoreCache, getBody: args.getBody }) .then(function (response) { return general(jar, url, response.inputs, args.events, args.http, response.body) }) diff --git a/lib_util_getAction.js.html b/lib_util_getAction.js.html index 39941473d..2f567e57f 100644 --- a/lib_util_getAction.js.html +++ b/lib_util_getAction.js.html @@ -188,7 +188,7 @@

lib/util/getAction.js

found = found && parseInt(found[1], 10) return { target: found, - params: params + params } } diff --git a/lib_util_getCurrentUser.js.html b/lib_util_getCurrentUser.js.html index 45eda86b5..68ac63727 100644 --- a/lib_util_getCurrentUser.js.html +++ b/lib_util_getCurrentUser.js.html @@ -174,7 +174,7 @@

lib/util/getCurrentUser.js

resolveWithFullResponse: true, method: 'GET', followRedirect: false, - jar: jar + jar } } const res = await http(httpOpt) diff --git a/lib_util_getGeneralToken.js.html b/lib_util_getGeneralToken.js.html index f9a82f072..ccc5c23d6 100644 --- a/lib_util_getGeneralToken.js.html +++ b/lib_util_getGeneralToken.js.html @@ -178,7 +178,7 @@

lib/util/getGeneralToken.js

options: { resolveWithFullResponse: true, method: 'POST', - jar: jar + jar } } return http(httpOpt) @@ -194,7 +194,7 @@

lib/util/getGeneralToken.js

exports.func = function (args) { const jar = args.jar - return cache.wrap('XCSRF', getHash({ jar: jar }), function () { + return cache.wrap('XCSRF', getHash({ jar }), function () { return getGeneralToken(jar) }) } diff --git a/lib_util_getPageResults.js.html b/lib_util_getPageResults.js.html index 7f09ce027..028559cca 100644 --- a/lib_util_getPageResults.js.html +++ b/lib_util_getPageResults.js.html @@ -175,7 +175,7 @@

lib/util/getPageResults.js

const allowedLimits = [10, 25, 50, 100] const httpOpt = { - url: url, + url, options: { qs: { limit: limit <= 100 ? allowedLimits.reduce((prev, curr) => Math.abs(curr - limit) < Math.abs(prev - limit) ? curr : prev) : 100, // Get the most fit page limit within the boundries. @@ -184,7 +184,7 @@

lib/util/getPageResults.js

}, method: 'GET', resolveWithFullResponse: true, - jar: jar, + jar, json: true } } diff --git a/lib_util_getSenderUserId.js.html b/lib_util_getSenderUserId.js.html index f9b008d72..83bb90807 100644 --- a/lib_util_getSenderUserId.js.html +++ b/lib_util_getSenderUserId.js.html @@ -169,8 +169,8 @@

lib/util/getSenderUserId.js

// Define exports.func = function (args) { const jar = args.jar - return cache.wrap('SenderID', getHash({ jar: jar }), function () { - return getCurrentUser({ jar: jar }) + return cache.wrap('SenderID', getHash({ jar }), function () { + return getCurrentUser({ jar }) .then(function (info) { return info.UserID }) diff --git a/lib_util_getVerification.js.html b/lib_util_getVerification.js.html index cf7ddaa00..bd84ab15e 100644 --- a/lib_util_getVerification.js.html +++ b/lib_util_getVerification.js.html @@ -175,10 +175,10 @@

lib/util/getVerification.js

// Define function getVerification (jar, url, getBody) { const httpOpt = { - url: url, + url, options: { resolveWithFullResponse: true, - jar: jar + jar } } return http(httpOpt) @@ -190,7 +190,7 @@

lib/util/getVerification.js

} return { body: (getBody ? res.body : null), - inputs: inputs, + inputs, header: match && match[1] } }) @@ -201,7 +201,7 @@

lib/util/getVerification.js

if (args.ignoreCache) { return getVerification(jar, args.url, args.getBody) } else { - return cache.wrap('Verify', new URL(args.url).pathname + getHash({ jar: jar }), function () { + return cache.wrap('Verify', new URL(args.url).pathname + getHash({ jar }), function () { return getVerification(jar, args.url, args.getBody) }) } diff --git a/lib_util_http.js.html b/lib_util_http.js.html index 6eb497c3a..787e315c6 100644 --- a/lib_util_http.js.html +++ b/lib_util_http.js.html @@ -246,7 +246,7 @@

lib/util/http.js

} } else { if (depth > 0) { - cache.add(options.cache, 'XCSRF', getHash({ jar: jar }), opt.headers['X-CSRF-TOKEN']) + cache.add(options.cache, 'XCSRF', getHash({ jar }), opt.headers['X-CSRF-TOKEN']) } } }