zalo-toolkit 1.0.9 → 1.1.0
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/apis/getAliasList.js +0 -1
- package/dist/cjs/apis/getAliasList.cjs +0 -1
- package/dist/cjs/zalo.cjs +0 -2
- package/dist/zalo.js +0 -2
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { ZaloApiError } from "../Errors/ZaloApiError.js";
|
|
|
2
2
|
import { apiFactory } from "../utils.js";
|
|
3
3
|
export const getAliasListFactory = apiFactory()((api, ctx, utils) => {
|
|
4
4
|
return async function getListAlias(page = 1, limit = 200) {
|
|
5
|
-
console.log('getListAlias', page, ctx.uid);
|
|
6
5
|
try {
|
|
7
6
|
const params = {
|
|
8
7
|
page,
|
package/dist/cjs/zalo.cjs
CHANGED
|
@@ -116,9 +116,7 @@ class Zalo {
|
|
|
116
116
|
}
|
|
117
117
|
async waitingConfirm(props) {
|
|
118
118
|
const { ctx, loginVersion, code, imei, getPreviousImei } = props;
|
|
119
|
-
console.log(props);
|
|
120
119
|
const loginQRResult = await loginQR.handleWaitingConfirm(ctx, loginVersion, code);
|
|
121
|
-
console.log(loginQRResult);
|
|
122
120
|
if (!loginQRResult || !(ctx === null || ctx === void 0 ? void 0 : ctx.userAgent))
|
|
123
121
|
return null;
|
|
124
122
|
return this.loginCookie({
|
package/dist/zalo.js
CHANGED
|
@@ -94,9 +94,7 @@ export class Zalo {
|
|
|
94
94
|
}
|
|
95
95
|
async waitingConfirm(props) {
|
|
96
96
|
const { ctx, loginVersion, code, imei, getPreviousImei } = props;
|
|
97
|
-
console.log(props);
|
|
98
97
|
const loginQRResult = await handleWaitingConfirm(ctx, loginVersion, code);
|
|
99
|
-
console.log(loginQRResult);
|
|
100
98
|
if (!loginQRResult || !(ctx === null || ctx === void 0 ? void 0 : ctx.userAgent))
|
|
101
99
|
return null;
|
|
102
100
|
return this.loginCookie({
|