@juzi/wechaty 1.0.35 → 1.0.36
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/src/package-json.js +2 -2
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +10 -115
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +3 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +6 -0
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +15 -3
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/dist/esm/src/package-json.js +2 -2
- package/dist/esm/src/wechaty/wechaty-base.d.ts +10 -115
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +3 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +6 -0
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +15 -3
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/package.json +1 -1
- package/src/package-json.ts +2 -2
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -25,6 +25,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
25
25
|
__wechatifiedTagGroup;
|
|
26
26
|
__wechatifiedUrlLink;
|
|
27
27
|
__wechatifiedChannel;
|
|
28
|
+
__wechatifiedMoment;
|
|
28
29
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
29
30
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
30
31
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -40,6 +41,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
40
41
|
get TagGroup() { return guardWechatify(this.__wechatifiedTagGroup); }
|
|
41
42
|
get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
|
|
42
43
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
44
|
+
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
43
45
|
async init() {
|
|
44
46
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
45
47
|
await super.init();
|
|
@@ -72,6 +74,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
72
74
|
this.__wechatifiedTagGroup = (0, mod_js_1.wechatifyUserModule)(mod_js_1.TagGroupImpl)(this);
|
|
73
75
|
this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
|
|
74
76
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
77
|
+
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
75
78
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
76
79
|
}
|
|
77
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDAAmD;AAEnD,mDAoCqD;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAEvF,MAAe,wBAAyB,SAAQ,SAAS;QAEvD,YAAa,GAAG,IAAW;YACzB,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAA;YACxD,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QAChB,CAAC;QAED,oBAAoB,CAA6B;QACjD,wBAAwB,CAA6B;QACrD,kBAAkB,CAA6B;QAC/C,uBAAuB,CAA6B;QACpD,kBAAkB,CAA6B;QAC/C,qBAAqB,CAA6B;QAClD,oBAAoB,CAA6B;QACjD,wBAAwB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FAA8F,CAAC,CAAA;AACjH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = 'd38fc9edcd6912f0eb6e97dafbb3784003e41a7a';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.36",
|
|
5
5
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -70,32 +70,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
70
70
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
71
71
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
72
72
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
73
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
73
74
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
74
75
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
75
76
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
76
|
-
/**
|
|
77
|
-
* Main bot class.
|
|
78
|
-
*
|
|
79
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
80
|
-
* It may equals
|
|
81
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
82
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
83
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
84
|
-
*
|
|
85
|
-
* See more:
|
|
86
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
87
|
-
*
|
|
88
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
89
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
90
|
-
*
|
|
91
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
92
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
93
|
-
* const bot = WechatyBuilder.build()
|
|
94
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
95
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
96
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
97
|
-
* bot.start()
|
|
98
|
-
*/
|
|
99
77
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
100
78
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
101
79
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -108,6 +86,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
108
86
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
109
87
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
110
88
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
89
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
111
90
|
__io?: import("../io.js").Io | undefined;
|
|
112
91
|
readonly io: import("../io.js").Io;
|
|
113
92
|
__ioToken?: string | undefined;
|
|
@@ -164,32 +143,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
164
143
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
165
144
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
166
145
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
146
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
167
147
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
168
148
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
169
149
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
170
|
-
/**
|
|
171
|
-
* Main bot class.
|
|
172
|
-
*
|
|
173
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
174
|
-
* It may equals
|
|
175
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
176
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
177
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
178
|
-
*
|
|
179
|
-
* See more:
|
|
180
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
181
|
-
*
|
|
182
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
183
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
184
|
-
*
|
|
185
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
186
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
187
|
-
* const bot = WechatyBuilder.build()
|
|
188
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
189
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
190
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
191
|
-
* bot.start()
|
|
192
|
-
*/
|
|
193
150
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
194
151
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
195
152
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -202,6 +159,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
202
159
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
203
160
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
204
161
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
162
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
205
163
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
206
164
|
emitError(e: any): void;
|
|
207
165
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -262,32 +220,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
262
220
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
263
221
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
264
222
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
223
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
265
224
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
266
225
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
267
226
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
268
|
-
/**
|
|
269
|
-
* Main bot class.
|
|
270
|
-
*
|
|
271
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
272
|
-
* It may equals
|
|
273
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
274
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
275
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
276
|
-
*
|
|
277
|
-
* See more:
|
|
278
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
279
|
-
*
|
|
280
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
281
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
282
|
-
*
|
|
283
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
284
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
285
|
-
* const bot = WechatyBuilder.build()
|
|
286
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
287
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
288
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
289
|
-
* bot.start()
|
|
290
|
-
*/
|
|
291
227
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
292
228
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
293
229
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -300,6 +236,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
300
236
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
301
237
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
302
238
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
239
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
303
240
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
304
241
|
emitError(e: any): void;
|
|
305
242
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -332,32 +269,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
332
269
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
333
270
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
334
271
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
272
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
335
273
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
336
274
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
337
275
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
338
|
-
/**
|
|
339
|
-
* Main bot class.
|
|
340
|
-
*
|
|
341
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
342
|
-
* It may equals
|
|
343
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
344
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
345
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
346
|
-
*
|
|
347
|
-
* See more:
|
|
348
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
349
|
-
*
|
|
350
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
351
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
352
|
-
*
|
|
353
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
354
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
355
|
-
* const bot = WechatyBuilder.build()
|
|
356
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
357
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
358
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
359
|
-
* bot.start()
|
|
360
|
-
*/
|
|
361
276
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
362
277
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
363
278
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -370,6 +285,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
370
285
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
371
286
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
372
287
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
288
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
373
289
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
374
290
|
readonly id: string;
|
|
375
291
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -446,32 +362,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
446
362
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
447
363
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
448
364
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
365
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
449
366
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
450
367
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
451
368
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
452
|
-
/**
|
|
453
|
-
* Main bot class.
|
|
454
|
-
*
|
|
455
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
456
|
-
* It may equals
|
|
457
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
458
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
459
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
460
|
-
*
|
|
461
|
-
* See more:
|
|
462
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
463
|
-
*
|
|
464
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
465
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
466
|
-
*
|
|
467
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
468
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
469
|
-
* const bot = WechatyBuilder.build()
|
|
470
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
471
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
472
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
473
|
-
* bot.start()
|
|
474
|
-
*/
|
|
475
369
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
476
370
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
477
371
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -484,6 +378,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
484
378
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
485
379
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
486
380
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
381
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
487
382
|
init(): Promise<void>;
|
|
488
383
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
489
384
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,KAAK,MAAM,MAAM,sBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBd,CAAA;AAED;;;;GAIG;AAaH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAM,WAAY,SAAQ,SAAU,YAAW,YAAY;IAmD9C,SAAS,EAAE,cAAc;IAjDpC,gBAA2B,OAAO,SAAU;IAC5C,QAAQ,CAAC,OAAO,EAAG,gBAAgB,CAAA;IAEnC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAK;IAE/C;;;;;;;;;;;;;;;;;;;OAmBG;IAEH;;;;;;;;;;;;;;;OAeG;IAEH;;;;OAIG;gBAEQ,SAAS,GAAE,cAAmB;IAS1B,KAAK,IAAK,OAAO,CAAC,IAAI,CAAC;IAMvB,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC;IAmBzB,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAgBvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IAEG,GAAG,CACP,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;CAYjC;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -22,6 +22,7 @@ test('Wechaty interface', async (t) => {
|
|
|
22
22
|
TagGroup;
|
|
23
23
|
UrlLink;
|
|
24
24
|
Channel;
|
|
25
|
+
Moment;
|
|
25
26
|
constructor() {
|
|
26
27
|
super();
|
|
27
28
|
// this.puppet
|
|
@@ -40,7 +41,8 @@ test('Wechaty interface', async (t) => {
|
|
|
40
41
|
= this.TagGroup
|
|
41
42
|
= this.UrlLink
|
|
42
43
|
= this.Channel
|
|
43
|
-
=
|
|
44
|
+
= this.Moment
|
|
45
|
+
= {};
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
const WechatyTest = WechatyImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAsBlE,OAAO,EAIL,WAAW;AACX,sBAAsB;EACvB,MAA4B,mBAAmB,CAAA;AAEhD,IAAI,CAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,mBAAmB;QAE9D,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QACjC,UAAU,CAA4B;QACtC,KAAK,CAA4B;QACjC,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,IAAI,CAA4B;QAChC,IAAI,CAA4B;QAChC,cAAc,CAA4B;QAC1C,GAAG,CAA4B;QAC/B,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,OAAO,CAA4B;QACnC,MAAM,CAA4B;QAElC;YACE,KAAK,EAAE,CAAA;YACP,cAAc;YACd,IAAI,CAAC,OAAO;kBACR,IAAI,CAAC,WA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OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
|
|
@@ -25,6 +25,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
25
25
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
26
26
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
27
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
28
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
28
29
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
29
30
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
30
31
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -40,6 +41,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
40
41
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
41
42
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
42
43
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
44
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
43
45
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
44
46
|
readonly id: string;
|
|
45
47
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -84,6 +86,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
84
86
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
85
87
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
86
88
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
89
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
87
90
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
88
91
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
89
92
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -99,6 +102,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
99
102
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
100
103
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
101
104
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
105
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
102
106
|
init(): Promise<void>;
|
|
103
107
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
104
108
|
readonly id: string;
|
|
@@ -272,6 +276,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
272
276
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
273
277
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
274
278
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
279
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
275
280
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
276
281
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
277
282
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -287,6 +292,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
287
292
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
288
293
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
289
294
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
295
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
290
296
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
291
297
|
emitError(e: any): void;
|
|
292
298
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAgDU,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;cACc,QAAQ,IAAI,CAAC;IAK9B;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWN,CAAA;AAED,aAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAE/C,aAAK,2BAA2B,GAC5B,UAAU,GACV,UAAU,GACV,oBAAoB,CAAA;AAExB,YAAY,EACV,UAAU,EACV,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,UAAU,GACX,CAAA"}
|
|
@@ -15,7 +15,9 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
15
15
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
16
16
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
17
17
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
18
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
18
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined; /**
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
19
21
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
20
22
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
21
23
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -24,6 +26,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
24
26
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
25
27
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
26
28
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
29
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
27
30
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
28
31
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
29
32
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -39,6 +42,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
39
42
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
40
43
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
41
44
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
45
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
42
46
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
43
47
|
readonly id: string;
|
|
44
48
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -76,7 +80,9 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
76
80
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
77
81
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
78
82
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
79
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
83
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined; /**
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
80
86
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
81
87
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
82
88
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -85,6 +91,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
85
91
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
86
92
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
87
93
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
94
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
88
95
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
89
96
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
90
97
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -100,6 +107,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
100
107
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
101
108
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
102
109
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
110
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
103
111
|
init(): Promise<void>;
|
|
104
112
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
105
113
|
readonly id: string;
|
|
@@ -259,7 +267,9 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
259
267
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
260
268
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
261
269
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
262
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
270
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined; /**
|
|
271
|
+
* @private
|
|
272
|
+
*/
|
|
263
273
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
264
274
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
265
275
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -268,6 +278,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
268
278
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
269
279
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
270
280
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
281
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
271
282
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
272
283
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
273
284
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -283,6 +294,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
283
294
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
284
295
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
285
296
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
297
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
286
298
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
287
299
|
emitError(e: any): void;
|
|
288
300
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;gGAuDX;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;gGAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;sDApDmB,GAAG,EAAE;IAI3B;;OAEG;;IAcH;;;OAGG;;IAKH;;;;;;;;OAQG;eACS,MAAM;IAIlB;;OAEG;wBACwB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAMjD;;OAEG;gBACU,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;gDAH1B;;OAEG;;;;;;;;;;;;;;gGAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcN,CAAA;AAED,aAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAA;AAE7C,aAAK,0BAA0B,GAAG,KAAK,CAAA;AAEvC,YAAY,EACV,SAAS,EACT,0BAA0B,GAC3B,CAAA;AACD,OAAO,EACL,SAAS,GACV,CAAA"}
|
|
@@ -102,6 +102,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
102
102
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
103
103
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
104
104
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
105
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
105
106
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
106
107
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
107
108
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -117,6 +118,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
117
118
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
118
119
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
119
120
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
121
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
120
122
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
121
123
|
emitError(e: any): void;
|
|
122
124
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -149,6 +151,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
149
151
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
150
152
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
151
153
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
154
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
152
155
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
153
156
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
154
157
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -164,6 +167,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
164
167
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
165
168
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
166
169
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
170
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
167
171
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
168
172
|
readonly id: string;
|
|
169
173
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -208,6 +212,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
208
212
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
209
213
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
210
214
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
215
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
211
216
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
212
217
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
213
218
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -223,6 +228,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
223
228
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
224
229
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
225
230
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
231
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
226
232
|
init(): Promise<void>;
|
|
227
233
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
228
234
|
readonly id: string;
|
|
@@ -373,6 +379,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
373
379
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
374
380
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
375
381
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
382
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
376
383
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
377
384
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
378
385
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -388,6 +395,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
388
395
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
389
396
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
390
397
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
398
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
391
399
|
__io?: import("../io.js").Io | undefined;
|
|
392
400
|
readonly io: import("../io.js").Io;
|
|
393
401
|
__ioToken?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG
|
|
1
|
+
{"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAtBmB,GAAG,EAAE;IAI3B;;;;;;;;;;;;;;;;;;OAkBG;oBAEW,CACV,aAAa,GAAG,aAAa,EAAE,CAChC,EAAE,GACF,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB3B;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCN,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAAG,KAAK,CAAA;AAEzC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,WAAW,GACZ,CAAA"}
|
|
@@ -24,6 +24,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
24
24
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
25
25
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
26
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
27
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
27
28
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
28
29
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
29
30
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -32,22 +33,14 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
32
33
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
33
34
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
34
35
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
35
|
-
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
36
|
-
* Huan(202111):
|
|
37
|
-
*
|
|
38
|
-
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
39
|
-
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
40
|
-
*
|
|
41
|
-
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
42
|
-
*
|
|
43
|
-
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
44
|
-
*/
|
|
36
|
+
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
45
37
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
46
38
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
47
39
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
48
40
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
49
41
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
50
42
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
43
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
51
44
|
init(): Promise<void>;
|
|
52
45
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
53
46
|
readonly id: string;
|
|
@@ -168,6 +161,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
168
161
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
169
162
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
170
163
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
164
|
+
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
171
165
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
172
166
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
173
167
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -176,22 +170,14 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
176
170
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
177
171
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
178
172
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
179
|
-
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
180
|
-
* Huan(202111):
|
|
181
|
-
*
|
|
182
|
-
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
183
|
-
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
184
|
-
*
|
|
185
|
-
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
186
|
-
*
|
|
187
|
-
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
188
|
-
*/
|
|
173
|
+
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
189
174
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
190
175
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
191
176
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
192
177
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
193
178
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
194
179
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
180
|
+
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
195
181
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
196
182
|
readonly id: string;
|
|
197
183
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AASnD,OAAO,KAAK,EACV,oBAAoB,EACrB,MAA4B,cAAc,CAAA;AAuB3C;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AASnD,OAAO,KAAK,EACV,oBAAoB,EACrB,MAA4B,cAAc,CAAA;AAuB3C;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IARjB;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAoBuB,GAAG,EAAE;;;2BAJH,oBAAoB;;aAWnB,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuenE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,CAAA;AAEzB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|