sanka-baileyss 2.0.6 → 2.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,35 +1,24 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContactAction = exports.Contact = void 0;
4
-
5
- const Contact = {
6
- /** ID either in lid or jid format */
7
- id: '',
8
- /** ID in Lid (anonymous) format (@lid) */
9
- lid: undefined,
10
- /** ID in Phone Number format (@s.whatsapp.net) */
11
- jid: undefined,
12
- /** name of the contact, you have saved on your WA */
13
- name: undefined,
14
- /** name of the contact, the contact has set on their own on WA */
15
- notify: undefined,
16
- /** I have no idea */
17
- verifiedName: undefined,
18
- /**
19
- * Url of the profile picture of the contact
20
- *
21
- * 'changed' => if the profile picture has changed
22
- * null => if the profile picture has not been set (default profile picture)
23
- * any other string => url of the profile picture
24
- */
25
- imgUrl: undefined,
26
- status: undefined
27
- };
28
- exports.Contact = Contact;
29
-
30
- const ContactAction = {
31
- firstName: '',
32
- fullName: '',
33
- saveOnPrimaryAddressbook: false
34
- };
35
- exports.ContactAction = ContactAction;
1
+ export interface Contact {
2
+ id: string
3
+ lid?: string
4
+ /** name of the contact, you have saved on your WA */
5
+ name?: string
6
+ /** name of the contact, the contact has set on their own on WA */
7
+ notify?: string
8
+ /** I have no idea */
9
+ verifiedName?: string
10
+ /**
11
+ * Url of the profile picture of the contact
12
+ *
13
+ * 'changed' => if the profile picture has changed
14
+ * null => if the profile picture has not been set (default profile picture)
15
+ * any other string => url of the profile picture
16
+ */
17
+ imgUrl?: string | null
18
+ status?: string
19
+ }
20
+ export type ContactAction = {
21
+ firstName: string
22
+ fullName: string
23
+ saveOnPrimaryAddressbook: boolean
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanka-baileyss",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "WhatsApp API Modification By Sanka_Vollerei",
5
5
  "keywords": [
6
6
  "Baileys",