zalo-toolkit 1.0.3 → 1.0.5
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/cjs/index.cjs +2 -0
- package/dist/cjs/zalo.cjs +2 -1
- package/dist/index.d.ts +3 -0
- package/dist/zalo.d.ts +2 -1
- package/dist/zalo.js +2 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -27,6 +27,7 @@ var setMute = require('./apis/setMute.cjs');
|
|
|
27
27
|
var updateAutoDeleteChat = require('./apis/updateAutoDeleteChat.cjs');
|
|
28
28
|
var updateLang = require('./apis/updateLang.cjs');
|
|
29
29
|
var updateSettings = require('./apis/updateSettings.cjs');
|
|
30
|
+
var apis = require('./apis.cjs');
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
|
|
@@ -140,3 +141,4 @@ Object.defineProperty(exports, "UpdateSettingsType", {
|
|
|
140
141
|
enumerable: true,
|
|
141
142
|
get: function () { return updateSettings.UpdateSettingsType; }
|
|
142
143
|
});
|
|
144
|
+
exports.ZaloAPI = apis.ZaloAPI;
|
package/dist/cjs/zalo.cjs
CHANGED
|
@@ -134,9 +134,10 @@ class Zalo {
|
|
|
134
134
|
async getUserInfo(ctx) {
|
|
135
135
|
return await loginQR.getUserInfo(ctx);
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
listener(api) {
|
|
138
138
|
return new listen.Listener(api);
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
exports.ZaloAPI = apis.ZaloAPI;
|
|
142
143
|
exports.Zalo = Zalo;
|
package/dist/index.d.ts
CHANGED
|
@@ -135,6 +135,9 @@ export type { UploadProductPhotoPayload, UploadProductPhotoResponse } from './ap
|
|
|
135
135
|
export type { VotePollResponse } from './apis/votePoll.js';
|
|
136
136
|
export type { CustomAPICallback, CustomAPIProps } from './apis/custom.js';
|
|
137
137
|
export type { Listener } from './apis/listen.js';
|
|
138
|
+
export type { ForwardMessageOptions, ForwardMessageRecipient, ForwardMessageType } from './apis/forwardMessage.js';
|
|
139
|
+
export type { ForwardAttachmentOptions } from './apis/forwardAttachment.js';
|
|
140
|
+
export type { FriendRequestType, RecommType } from './apis/getRecommendFriends.js';
|
|
138
141
|
export { CloseReason } from './models/Listen.js';
|
|
139
142
|
export { ReviewPendingMemberRequestStatus } from './apis/reviewPendingMemberRequest.js';
|
|
140
143
|
export { TextStyle, Urgency } from './apis/sendMessage.js';
|
package/dist/zalo.d.ts
CHANGED
package/dist/zalo.js
CHANGED