@bzbs/react-api-client 1.0.9 → 1.0.10

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.
package/dist/index.mjs CHANGED
@@ -164,6 +164,9 @@ var AuthenticateApi = class extends BaseService {
164
164
  * @param params - The parameters.
165
165
  * @param params.appId - Your application id.
166
166
  * @param params.uuid - The unique device identifier.
167
+ * @param params.otp - The OTP to confirm. (For Login with OTP only)
168
+ * @param params.refcode - The reference code for the OTP. (For Login with OTP only)
169
+ * @param params.contact_number - The contact number for the user. (For Login with OTP only)
167
170
  * @param params.options - (Optional) Additional params for the request.
168
171
  * @param requestOptions - Optional request options.
169
172
  * @returns A promise that resolves to a ServiceResponse containing the login response.
@@ -181,7 +184,10 @@ var AuthenticateApi = class extends BaseService {
181
184
  mac_address: params.macAddress,
182
185
  device_noti_enable: true,
183
186
  client_version: params.clientVersion,
184
- device_token: params.deviceToken
187
+ device_token: params.deviceToken,
188
+ otp: params.otp,
189
+ refcode: params.refcode,
190
+ contact_number: params.contact_number
185
191
  }, params.options),
186
192
  {
187
193
  headers: __spreadValues({