@roidev/kachina-md 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # @kachina-md/core
1
+ # @roidev/kachina-md
2
2
 
3
3
  WhatsApp Bot Framework - Simple, Fast, and Modular
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@kachina-md/core.svg)](https://www.npmjs.com/package/@kachina-md/core)
6
- [![License](https://img.shields.io/npm/l/@kachina-md/core.svg)](https://github.com/your-username/kachina-core/blob/main/LICENSE)
5
+ [![npm version](https://img.shields.io/npm/v/@roidev/kachina-md.svg)](https://www.npmjs.com/package/@roidev/kachina-md)
6
+ [![License](https://img.shields.io/npm/l/@roidev/kachina-md.svg)](https://github.com/your-username/kachina-core/blob/main/LICENSE)
7
7
 
8
8
  ## 🚀 Features
9
9
 
@@ -20,7 +20,7 @@ WhatsApp Bot Framework - Simple, Fast, and Modular
20
20
  ## 📦 Installation
21
21
 
22
22
  ```bash
23
- npm install @kachina-md/core
23
+ npm install @roidev/kachina-md
24
24
  ```
25
25
 
26
26
  ## 🎯 Quick Start
@@ -28,7 +28,7 @@ npm install @kachina-md/core
28
28
  ### Basic Usage
29
29
 
30
30
  ```javascript
31
- import { Client } from '@kachina-md/core';
31
+ import { Client } from '@roidev/kachina-md';
32
32
 
33
33
  const bot = new Client({
34
34
  sessionId: 'my-session',
@@ -52,7 +52,7 @@ await bot.start();
52
52
  ### With Plugins
53
53
 
54
54
  ```javascript
55
- import { Client } from '@kachina-md/core';
55
+ import { Client } from '@roidev/kachina-md';
56
56
  import path from 'path';
57
57
 
58
58
  const bot = new Client({
@@ -224,7 +224,7 @@ bot.on('logout', () => {
224
224
  ## 💾 Database
225
225
 
226
226
  ```javascript
227
- import { Database } from '@kachina-md/core';
227
+ import { Database } from '@roidev/kachina-md';
228
228
 
229
229
  const db = new Database({ path: './database' });
230
230
 
@@ -260,7 +260,7 @@ import {
260
260
  createCircleSticker,
261
261
  createRoundedSticker,
262
262
  StickerTypes
263
- } from '@kachina-md/core';
263
+ } from '@roidev/kachina-md';
264
264
 
265
265
  // Format utilities
266
266
  formatTime(3600) // "1h 0m 0s"
@@ -381,7 +381,7 @@ export default {
381
381
  ### Example 5: With Database
382
382
 
383
383
  ```javascript
384
- import { Database } from '@kachina-md/core';
384
+ import { Database } from '@roidev/kachina-md';
385
385
  const db = new Database();
386
386
 
387
387
  export default {
@@ -449,7 +449,7 @@ MIT © Roynaldi
449
449
  ## 🔗 Links
450
450
 
451
451
  - [Baileys](https://github.com/WhiskeySockets/Baileys) - WhatsApp Web API
452
- - [NPM Package](https://www.npmjs.com/package/@kachina-md/core)
452
+ - [NPM Package](https://www.npmjs.com/package/@roidev/kachina-md)
453
453
  - [GitHub](https://github.com/your-username/kachina-core)
454
454
 
455
455
  ## ⚠️ Disclaimer
@@ -1,7 +1,6 @@
1
1
  import makeWASocket, {
2
2
  DisconnectReason,
3
3
  useMultiFileAuthState,
4
- makeInMemoryStore,
5
4
  makeCacheableSignalKeyStore,
6
5
  fetchLatestBaileysVersion
7
6
  } from 'baileys';
@@ -36,11 +35,6 @@ export class Client extends EventEmitter {
36
35
  const { state, saveCreds } = await useMultiFileAuthState(this.config.sessionId);
37
36
  const { version } = await fetchLatestBaileysVersion();
38
37
 
39
- if (this.config.useStore) {
40
- this.store = makeInMemoryStore({
41
- logger: pino().child({ level: 'silent', stream: 'store' })
42
- });
43
- }
44
38
 
45
39
  this.sock = makeWASocket({
46
40
  version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roidev/kachina-md",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "WhatsApp Bot Framework - Simple, Fast, and Modular",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -22,12 +22,12 @@
22
22
  "license": "MIT",
23
23
  "repository": {
24
24
  "type": "git",
25
- "url": "https://github.com/your-username/kachina-core.git"
25
+ "url": "https://github.com/idlanyor/kachina-core.git"
26
26
  },
27
27
  "bugs": {
28
- "url": "https://github.com/your-username/kachina-core/issues"
28
+ "url": "https://github.com/idlanyor/kachina-core/issues"
29
29
  },
30
- "homepage": "https://github.com/your-username/kachina-core#readme",
30
+ "homepage": "https://github.com/idlanyor/kachina-core#readme",
31
31
  "dependencies": {
32
32
  "@hapi/boom": "^10.0.1",
33
33
  "axios": "^1.6.0",