@bzbs/react-api-client 2.1.1 → 2.1.2
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -399,10 +399,10 @@ var AuthenticateApi = class extends BaseService {
|
|
|
399
399
|
* @param params.options - (Optional) Additional params for the request.
|
|
400
400
|
* @returns A promise that resolves to a ServiceResponse containing the login response.
|
|
401
401
|
*/
|
|
402
|
-
usernamePasswordLogin(params, requestOptions) {
|
|
402
|
+
usernamePasswordLogin(params, requestOptions, version = 2) {
|
|
403
403
|
return __async(this, null, function* () {
|
|
404
404
|
return yield this.post(
|
|
405
|
-
|
|
405
|
+
`auth/bzbs_login${version}`,
|
|
406
406
|
__spreadValues({
|
|
407
407
|
username: params.username,
|
|
408
408
|
password: params.password,
|