@open-wa/wa-automate 4.32.0 → 4.32.1

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.
@@ -689,9 +689,13 @@ export declare class Client {
689
689
  */
690
690
  getSnapshot(): Promise<DataURL>;
691
691
  /**
692
- * Returns an array of group ids where the host device is admin
692
+ * Returns an array of group ids where the host account is admin
693
693
  */
694
694
  iAmAdmin(): Promise<GroupChatId[]>;
695
+ /**
696
+ * Returns an array of group ids where the host account has been kicked
697
+ */
698
+ getKickedGroups(): Promise<GroupChatId[]>;
695
699
  /**
696
700
  * Syncs contacts with phone. This promise does not resolve so it will instantly return true.
697
701
  */
@@ -1665,13 +1665,21 @@ class Client {
1665
1665
  });
1666
1666
  }
1667
1667
  /**
1668
- * Returns an array of group ids where the host device is admin
1668
+ * Returns an array of group ids where the host account is admin
1669
1669
  */
1670
1670
  iAmAdmin() {
1671
1671
  return __awaiter(this, void 0, void 0, function* () {
1672
1672
  return yield this.pup(() => WAPI.iAmAdmin());
1673
1673
  });
1674
1674
  }
1675
+ /**
1676
+ * Returns an array of group ids where the host account has been kicked
1677
+ */
1678
+ getKickedGroups() {
1679
+ return __awaiter(this, void 0, void 0, function* () {
1680
+ return yield this.pup(() => WAPI.getKickedGroups());
1681
+ });
1682
+ }
1675
1683
  /**
1676
1684
  * Syncs contacts with phone. This promise does not resolve so it will instantly return true.
1677
1685
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.32.0",
3
+ "version": "4.32.1",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",