lovelyai 0.0.8 → 0.0.9

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.
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import "../chunk-IUNYJXNS.js";
2
+ import "../chunk-QI5UMJSF.js";
@@ -627,7 +627,8 @@ function createWhatsAppPlugin(opts) {
627
627
  async function startPlugin(startOpts) {
628
628
  const { onMessage } = startOpts;
629
629
  const { makeWASocket, useMultiFileAuthState, DisconnectReason } = await import("baileys");
630
- const { generate: qrGenerate } = await import("qrcode-terminal");
630
+ const qrMod = await import("qrcode-terminal");
631
+ const qrGenerate = qrMod.default.generate.bind(qrMod.default);
631
632
  const { state, saveCreds } = await useMultiFileAuthState(opts.authDir);
632
633
  sock = makeWASocket({ auth: state });
633
634
  sock.ev.on("creds.update", () => {
package/dist/src/index.js CHANGED
@@ -1 +1 @@
1
- import "../chunk-IUNYJXNS.js";
1
+ import "../chunk-QI5UMJSF.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lovelyai",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "lovely": "./dist/bin/lovely.js",
@@ -39,16 +39,16 @@
39
39
  "license": "SEE LICENSE IN LICENSE",
40
40
  "devDependencies": {
41
41
  "tsup": "^8.5.1",
42
+ "@lovely/channel-imessage": "0.0.1",
43
+ "@lovely/channel-whatsapp": "0.0.1",
42
44
  "@lovely/agent": "0.0.1",
43
- "@lovely/channels": "0.0.1",
44
45
  "@lovely/channel-telegram": "0.0.1",
45
- "@lovely/channel-imessage": "0.0.1",
46
46
  "@lovely/core": "0.0.1",
47
- "@lovely/channel-whatsapp": "0.0.1",
48
- "@lovely/llm": "0.0.1",
49
- "@lovely/privacy": "0.0.1",
50
47
  "@lovely/hitl": "0.0.1",
51
- "@lovely/memory": "0.0.1"
48
+ "@lovely/llm": "0.0.1",
49
+ "@lovely/memory": "0.0.1",
50
+ "@lovely/channels": "0.0.1",
51
+ "@lovely/privacy": "0.0.1"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsup",