swipelime-client-node
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -7,2 +7,6 @@ # Changelog | ||
## [0.2.2] - 2024-05-13 | ||
### Fixed | ||
* Corrected getOrderItems method name | ||
## [0.2.1] - 2024-05-12 | ||
@@ -9,0 +13,0 @@ ### Added |
@@ -99,3 +99,3 @@ /// <reference types="node" /> | ||
/** | ||
* Retrieves the orders for a specific table. | ||
* Retrieves the ordered items for a specific table. | ||
* | ||
@@ -105,3 +105,3 @@ * @param tableIdData - The ID of the table. | ||
*/ | ||
getOrders(tableIdData: DataIdType): Promise<OrderItemsData[]>; | ||
getOrderItems(tableIdData: DataIdType): Promise<OrderItemsData[]>; | ||
/** | ||
@@ -108,0 +108,0 @@ * Cancels the specified order items for a given table. |
@@ -214,3 +214,3 @@ "use strict"; | ||
/** | ||
* Retrieves the orders for a specific table. | ||
* Retrieves the ordered items for a specific table. | ||
* | ||
@@ -220,5 +220,5 @@ * @param tableIdData - The ID of the table. | ||
*/ | ||
getOrders(tableIdData) { | ||
getOrderItems(tableIdData) { | ||
this.checkOptionalIdValidity(tableIdData); | ||
return this._ddpClient.call(`api/v${this._client.apiVersion}/getOrders`, this._tenantId, tableIdData); | ||
return this._ddpClient.call(`api/v${this._client.apiVersion}/getOrderItems`, this._tenantId, tableIdData); | ||
} | ||
@@ -225,0 +225,0 @@ /** |
{ | ||
"name": "swipelime-client-node", | ||
"description": "swipelime-client-node is the official swipelime Node.js client library", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"author": "swipelime (https://swipelime.com)", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
51429