Socket
Socket
Sign inDemoInstall

alclient

Package Overview
Dependencies
355
Maintainers
1
Versions
465
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.19.31 to 0.19.32

20

build/Character.d.ts

@@ -424,3 +424,21 @@ /// <reference types="node" />

enter(map: MapName, instance?: string): Promise<void>;
/**
* Equip a single item.
*
* @see equip_batch Optimized for equipping multiple items (i.e. a loadout) at once
*
* @param inventoryPos
* @param equipSlot
* @returns
*/
equip(inventoryPos: number, equipSlot?: SlotType): Promise<void>;
/**
* Equip a defined set of items
*
* @see equip Equipping a single item
*/
equipBatch(toEquip: {
num: number;
slot: SlotType;
}[]): Promise<unknown>;
exchange(inventoryPos: number): Promise<string>;

@@ -510,3 +528,3 @@ finishMonsterHuntQuest(): Promise<void>;

*/
protected getResponsePromise(skill: SkillName | "buy" | "destroy" | "imove" | "join" | "set_home", response?: string, options?: {
protected getResponsePromise(skill: SkillName | "buy" | "destroy" | "equip_batch" | "imove" | "join" | "set_home", response?: string, options?: {
extraGameResponseCheck?: (data: GameResponseData) => boolean;

@@ -513,0 +531,0 @@ timeoutMs?: number;

@@ -1467,2 +1467,6 @@ /**

}) => void;
"equip_batch": (data: {
num: number;
slot: SlotType;
}[]) => void;
"eval": (data: {

@@ -1469,0 +1473,0 @@ command: string;

@@ -109,2 +109,4 @@ import { Constants } from "./Constants.js";

continue;
if (slotInfo.data !== itemInfo.data)
continue;
if (quantity + slotInfo.q > gInfo.s)

@@ -135,2 +137,4 @@ continue; // Check if it's stackable

if (itemInfo.name == slotInfo.name // Same item
&& itemInfo.p == slotInfo.p
&& itemInfo.data == slotInfo.data
&& price >= slotInfo.price // Same, or higher price

@@ -137,0 +141,0 @@ && gInfo.s && (quantity + slotInfo.q) <= gInfo.s // Stackable

2

package.json
{
"name": "alclient",
"version": "0.19.31",
"version": "0.19.32",
"description": "A node client for interacting with Adventure Land - The Code MMORPG. This package extends the functionality of 'alclient' by managing a mongo database.",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc