ggez-banking-sdk 0.1.63 → 0.1.65

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.
@@ -755,6 +755,7 @@ declare const Data: () => {
755
755
  assigned_to_entity_id: number;
756
756
  verification_method: number;
757
757
  best_time: string;
758
+ note: string;
758
759
  };
759
760
  }[];
760
761
  geo_coordinates: import("../interfaces").IGeoCoordinates;
@@ -692,6 +692,7 @@ const Data = () => {
692
692
  assigned_to_entity_id: values.userId,
693
693
  verification_method: values.verificationMethod,
694
694
  best_time: values.bestTime,
695
+ note: values.note,
695
696
  },
696
697
  },
697
698
  ],
@@ -144,6 +144,7 @@ export interface CreateTicketInterface {
144
144
  userId?: number;
145
145
  verificationMethod?: number;
146
146
  bestTime?: string;
147
+ note?: string;
147
148
  geoCoordinates?: IGeoCoordinates | null;
148
149
  }
149
150
  export interface GetTransactionInterface {
@@ -113,7 +113,7 @@ const useVerifyAndConfirm = (userInfo, tokenData, baseUrl, nodeUrl, programId, g
113
113
  return {
114
114
  response: response,
115
115
  newUser: null,
116
- message: "The OTP Email code has been sent",
116
+ message: response?.data?.result?.message,
117
117
  status: "success",
118
118
  };
119
119
  }
@@ -134,7 +134,7 @@ const useVerifyAndConfirm = (userInfo, tokenData, baseUrl, nodeUrl, programId, g
134
134
  return {
135
135
  response: response,
136
136
  newUser: null,
137
- message: "The OTP SMS code has been sent",
137
+ message: response?.data?.result?.message,
138
138
  status: "success",
139
139
  };
140
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
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
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",