@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.
Files changed (38) hide show
  1. package/dist/cjs/src/package-json.js +2 -2
  2. package/dist/cjs/src/wechaty/wechaty-base.d.ts +10 -115
  3. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  4. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +3 -1
  5. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  6. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +6 -0
  7. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  8. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +15 -3
  9. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  10. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  11. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  12. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
  13. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  14. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  15. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  16. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
  17. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  18. package/dist/esm/src/package-json.js +2 -2
  19. package/dist/esm/src/wechaty/wechaty-base.d.ts +10 -115
  20. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  21. package/dist/esm/src/wechaty/wechaty-impl.spec.js +3 -1
  22. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  23. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +6 -0
  24. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  25. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +15 -3
  26. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  27. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  28. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  29. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
  30. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  31. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  32. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  33. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
  34. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/package-json.ts +2 -2
  37. package/src/wechaty/wechaty-impl.spec.ts +3 -0
  38. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageJson = exports.GIT_COMMIT_HASH = void 0;
4
- exports.GIT_COMMIT_HASH = '597df4230be16ea405f928017130d640edf4ba08';
4
+ exports.GIT_COMMIT_HASH = 'd38fc9edcd6912f0eb6e97dafbb3784003e41a7a';
5
5
  exports.packageJson = {
6
6
  "name": "@juzi/wechaty",
7
- "version": "1.0.35",
7
+ "version": "1.0.36",
8
8
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
9
9
  "type": "module",
10
10
  "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,sBAAsB,CAAA;AAQnD,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCf;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;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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"}
@@ -25,6 +25,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
25
25
  TagGroup;
26
26
  UrlLink;
27
27
  Channel;
28
+ Moment;
28
29
  constructor() {
29
30
  super();
30
31
  // this.puppet
@@ -43,7 +44,8 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
43
44
  = this.TagGroup
44
45
  = this.UrlLink
45
46
  = this.Channel
46
- = {};
47
+ = this.Moment
48
+ = {};
47
49
  }
48
50
  }
49
51
  const WechatyTest = WechatyImplementation;
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;AAqBlE,uDAMgD;AAEhD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,uCAAmB;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,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AAC,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,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAuDX;;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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 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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Aa,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;;;;;;;;;;;;;;;;;;;;;;;;sEAmDL;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IApEf;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;sEAjGxD;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+jBd,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"}
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"}
@@ -1,4 +1,4 @@
1
- import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor } from '../user-modules/mod.js';
1
+ import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, MomentConstructor } from '../user-modules/mod.js';
2
2
  import type { WechatySkeleton } from '../wechaty/mod.js';
3
3
  declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase: MixinBase) => ((abstract new (...args: any[]) => {
4
4
  __wechatifiedContact?: ContactConstructor | undefined;
@@ -16,6 +16,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
16
16
  __wechatifiedTagGroup?: TagGroupConstructor | undefined;
17
17
  __wechatifiedUrlLink?: UrlLinkConstructor | undefined;
18
18
  __wechatifiedChannel?: ChannelConstructor | undefined;
19
+ __wechatifiedMoment?: MomentConstructor | undefined;
19
20
  readonly Contact: ContactConstructor;
20
21
  readonly ContactSelf: ContactSelfConstructor;
21
22
  readonly Delay: DelayConstructor;
@@ -31,6 +32,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
31
32
  readonly TagGroup: TagGroupConstructor;
32
33
  readonly UrlLink: UrlLinkConstructor;
33
34
  readonly Channel: ChannelConstructor;
35
+ readonly Moment: MomentConstructor;
34
36
  init(): Promise<void>;
35
37
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
36
38
  readonly id: string;
@@ -59,7 +61,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
59
61
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
60
62
  }) & MixinBase;
61
63
  declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
62
- declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel';
64
+ declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment';
63
65
  export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
64
66
  export { wechatifyUserModuleMixin, };
65
67
  //# sourceMappingURL=wechatify-user-module-mixin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAiBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAGnB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqCH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA0CxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,CAAA;AAE1B,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
1
+ {"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAkBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EAGlB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuCH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,qBAAqB,CAAA;AAEzB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}