1.0.9 • Published 2 years ago

juzi-wechaty-puppet-1.0-migration v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

wechaty-puppet-1.0-migration

A temporary solution when moving to wechaty 1.x

how to use

install

npm install wechaty-puppet-1.0-migration wechaty-puppet file-box

Note: You need to insall wechaty-puppet and file-box yourself. So that you can choose your ideal version of these dependencies. It supports wechaty-puppet@1.10.x so far.

usage

import everything from wechaty-puppet-1.0-migration just as you did before from wechaty-puppet

e.g.

old:

import {
  ContactPayload,
  ContactType,

  FileBox,
  FriendshipPayload,

  ImageType,
  MessagePayload,

  Puppet,
  PuppetOptions,
} from 'wechaty-puppet

now:

import {
  ContactPayload,
  ContactType,

  FileBox,
  FriendshipPayload,

  ImageType,
  MessagePayload,

  Puppet,
  PuppetOptions,
} from 'wechaty-puppet-1.0-migration'

You still need to rewrite to fit new puppet api such as: onStart() instead of start().

note

Only use this as a temporary solution and move to wechaty-puppet 1.0 asap.

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago