ggez-banking-sdk
Advanced tools
Comparing version 0.0.36 to 0.0.37
@@ -1,5 +0,4 @@ | ||
import { IOrderInterface } from "../interfaces/transactionInterface"; | ||
import { UserInfo } from "../interfaces/interface"; | ||
export declare const useTransaction: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, lang?: string) => { | ||
OrderRequest: (values: IOrderInterface) => Promise<{ | ||
OrderRequest: (values: any) => Promise<{ | ||
response: any; | ||
@@ -6,0 +5,0 @@ newUser: any; |
@@ -38,5 +38,5 @@ "use strict"; | ||
var _a, _b, _c; | ||
let data = dataOrderRequest(values); | ||
// let data = dataOrderRequest(values); | ||
try { | ||
const response = yield restApi_1.default.restApi(baseUrl, "POST", `${endPointOrder}`, headerConfigAccount(), data); | ||
const response = yield restApi_1.default.restApi(baseUrl, "POST", `${endPointOrder}`, headerConfigAccount(), values); | ||
let { newUserInfo } = checkGlobalResponse("order", response, "OrderRequest", "OrderRequest"); | ||
@@ -43,0 +43,0 @@ return { |
{ | ||
"name": "ggez-banking-sdk", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
801406
25234