lovelyai 0.0.5 → 0.0.7

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-XUHRIR57.js";
2
+ import "../chunk-IMWGIC63.js";
@@ -626,10 +626,7 @@ function createWhatsAppPlugin(opts) {
626
626
  let sock = null;
627
627
  async function startPlugin(startOpts) {
628
628
  const { onMessage } = startOpts;
629
- const baileysImport = await import("@whiskeysockets/baileys");
630
- const baileys = baileysImport.default ?? baileysImport;
631
- const makeWASocket = baileys.makeWASocket ?? baileys.default;
632
- const { useMultiFileAuthState, DisconnectReason } = baileys;
629
+ const { makeWASocket, useMultiFileAuthState, DisconnectReason } = await import("baileys");
633
630
  const { state, saveCreds } = await useMultiFileAuthState(opts.authDir);
634
631
  sock = makeWASocket({
635
632
  auth: state,
package/dist/src/index.js CHANGED
@@ -1 +1 @@
1
- import "../chunk-XUHRIR57.js";
1
+ import "../chunk-IMWGIC63.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lovelyai",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "lovely": "./dist/bin/lovely.js",
@@ -23,7 +23,7 @@
23
23
  "@grammyjs/runner": "^2.0.3",
24
24
  "@inquirer/prompts": "^7.10.1",
25
25
  "@sinclair/typebox": "^0.33.0",
26
- "@whiskeysockets/baileys": "^6.17.16",
26
+ "baileys": "^7.0.0-rc.9",
27
27
  "better-sqlite3": "^12.0.0",
28
28
  "chalk": "^5.6.2",
29
29
  "commander": "^12.1.0",
@@ -38,16 +38,16 @@
38
38
  "license": "SEE LICENSE IN LICENSE",
39
39
  "devDependencies": {
40
40
  "tsup": "^8.5.1",
41
- "@lovely/agent": "0.0.1",
42
- "@lovely/channels": "0.0.1",
43
41
  "@lovely/channel-imessage": "0.0.1",
42
+ "@lovely/channel-telegram": "0.0.1",
44
43
  "@lovely/channel-whatsapp": "0.0.1",
44
+ "@lovely/channels": "0.0.1",
45
+ "@lovely/hitl": "0.0.1",
46
+ "@lovely/llm": "0.0.1",
47
+ "@lovely/agent": "0.0.1",
45
48
  "@lovely/core": "0.0.1",
46
49
  "@lovely/memory": "0.0.1",
47
- "@lovely/channel-telegram": "0.0.1",
48
- "@lovely/privacy": "0.0.1",
49
- "@lovely/llm": "0.0.1",
50
- "@lovely/hitl": "0.0.1"
50
+ "@lovely/privacy": "0.0.1"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsup",