ggez-banking-sdk 0.5.28 → 0.5.30
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.
|
@@ -15,7 +15,9 @@ class UserService extends BaseService {
|
|
|
15
15
|
// #region "GET"
|
|
16
16
|
async getUser() {
|
|
17
17
|
const url = this.resolveURL(`/${await this.userId()}`);
|
|
18
|
-
return this.GET(url, {
|
|
18
|
+
return this.GET(url, {
|
|
19
|
+
flags: { showCustomField: true, showTicket: true },
|
|
20
|
+
});
|
|
19
21
|
}
|
|
20
22
|
async getTermsAndConditions() {
|
|
21
23
|
const url = this.resolveURL(`${UserEndpoints.TermsAndConditions}/${await this.userId()}`);
|
|
@@ -173,7 +173,7 @@ class UserHelper {
|
|
|
173
173
|
case Entity.Entity_Phone:
|
|
174
174
|
return createDefaultUserData({ phone: [{ ...data[0], id }] });
|
|
175
175
|
case Entity.Ticket:
|
|
176
|
-
return createDefaultUserData({ ticket: [{ ...data
|
|
176
|
+
return createDefaultUserData({ ticket: [{ ...data }] });
|
|
177
177
|
case Entity.Account:
|
|
178
178
|
return createDefaultUserData({ account: [{ ...data[0], id }] });
|
|
179
179
|
case Entity.Entity_Custom_Field:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.30",
|
|
4
4
|
"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
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|