Skip to content

Commit 9150cb4

Browse files
committed
2 parents 1d128f8 + cdd7512 commit 9150cb4

File tree

7 files changed

+34
-50
lines changed

7 files changed

+34
-50
lines changed

CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

10-
## [4.66.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.65.1...4.66.0)
10+
## [4.66.3](https://github.com/open-wa/wa-automate-nodejs/compare/4.66.0...4.66.3)
1111

1212
### Commits
1313

14+
- 💚 fix discord dep issues (revert) #3115 [`ef91e41`](https://github.com/open-wa/wa-automate-nodejs/commit/ef91e4189814fb792564fc639315b1d7b3446872)
15+
- 🚸 Invariant violation avoidance measures #3121 [`ef2dcff`](https://github.com/open-wa/wa-automate-nodejs/commit/ef2dcffb7769a5ab2e23144e22f2d5f03e939543)
16+
- updated types-only package [`561b5f3`](https://github.com/open-wa/wa-automate-nodejs/commit/561b5f32ec9d6148df9941216e108d427f2b9ade)
17+
- updated types-only package [`172284a`](https://github.com/open-wa/wa-automate-nodejs/commit/172284af8b0185062eb7b3f8aa08cdb038c57ecd)
18+
- 🚑 fix collector import [`1ff6282`](https://github.com/open-wa/wa-automate-nodejs/commit/1ff6282b5224aacab9776c7671e56b8b9ea96f05)
19+
- updated types-only package [`3c57208`](https://github.com/open-wa/wa-automate-nodejs/commit/3c572084d5ac694601f6c9614ed79d99253c685b)
20+
21+
## [4.66.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.65.1...4.66.0) - 2023-05-11
22+
23+
### Commits
24+
25+
- Release 4.66.0 [`9c28b84`](https://github.com/open-wa/wa-automate-nodejs/commit/9c28b8416e36c9eeba86ad65a5108b4e2963a592)
1426
- ⬆️ upgrade uuid dep #3115 [`f9ef8bd`](https://github.com/open-wa/wa-automate-nodejs/commit/f9ef8bd6239b979c26a35922e22065ce1f08b467)
1527
- ⬆️ upgrade discord collection dep #3115 [`ec6561a`](https://github.com/open-wa/wa-automate-nodejs/commit/ec6561a60d748a84e4ffb88a4cb7c2458569e3d6)
1628
- 🗑️ depreacted lists and buttons till further notice #3116 [`45594e0`](https://github.com/open-wa/wa-automate-nodejs/commit/45594e0f1a40e2a70335a6ac659e80c4bdc80681)

docs-v3/docs/api/classes/structures_Collector.Collection.md

+16-44
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ BaseCollection.every
444444

445445
| Name | Type |
446446
| :------ | :------ |
447-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
447+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
448448

449449
#### Returns
450450

@@ -514,7 +514,7 @@ BaseCollection.every
514514

515515
| Name | Type |
516516
| :------ | :------ |
517-
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
517+
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
518518
| `thisArg` | `This` |
519519

520520
#### Returns
@@ -589,7 +589,7 @@ BaseCollection.filter
589589

590590
| Name | Type |
591591
| :------ | :------ |
592-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
592+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
593593

594594
#### Returns
595595

@@ -659,7 +659,7 @@ BaseCollection.filter
659659

660660
| Name | Type |
661661
| :------ | :------ |
662-
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
662+
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
663663
| `thisArg` | `This` |
664664

665665
#### Returns
@@ -678,9 +678,9 @@ ___
678678

679679
Searches for a single item where the given function returns a truthy value. This behaves like
680680
[Array.find()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find).
681-
All collections used in Discord.js are mapped using their `id` property, and if you want to find by id you
681+
<warn>All collections used in Discord.js are mapped using their `id` property, and if you want to find by id you
682682
should use the `get` method. See
683-
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/get) for details.
683+
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/get) for details.</warn>
684684

685685
**`Example`**
686686

@@ -714,7 +714,7 @@ BaseCollection.find
714714

715715
| Name | Type |
716716
| :------ | :------ |
717-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
717+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
718718

719719
#### Returns
720720

@@ -760,7 +760,7 @@ BaseCollection.find
760760

761761
| Name | Type |
762762
| :------ | :------ |
763-
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
763+
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
764764
| `thisArg` | `This` |
765765

766766
#### Returns
@@ -813,7 +813,7 @@ BaseCollection.findKey
813813

814814
| Name | Type |
815815
| :------ | :------ |
816-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
816+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
817817

818818
#### Returns
819819

@@ -859,7 +859,7 @@ BaseCollection.findKey
859859

860860
| Name | Type |
861861
| :------ | :------ |
862-
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
862+
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
863863
| `thisArg` | `This` |
864864

865865
#### Returns
@@ -1482,7 +1482,7 @@ BaseCollection.partition
14821482

14831483
| Name | Type |
14841484
| :------ | :------ |
1485-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
1485+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
14861486

14871487
#### Returns
14881488

@@ -1552,7 +1552,7 @@ BaseCollection.partition
15521552

15531553
| Name | Type |
15541554
| :------ | :------ |
1555-
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
1555+
| `fn` | (`this`: `This`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
15561556
| `thisArg` | `This` |
15571557

15581558
#### Returns
@@ -1724,7 +1724,7 @@ collection.some(user => user.discriminator === '0000');
17241724

17251725
| Name | Type | Description |
17261726
| :------ | :------ | :------ |
1727-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` | Function used to test (should return a boolean) |
1727+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` | Function used to test (should return a boolean) |
17281728

17291729
#### Returns
17301730

@@ -1746,7 +1746,7 @@ BaseCollection.some
17461746

17471747
| Name | Type |
17481748
| :------ | :------ |
1749-
| `fn` | (`this`: `T`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
1749+
| `fn` | (`this`: `T`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
17501750
| `thisArg` | `T` |
17511751

17521752
#### Returns
@@ -1819,34 +1819,6 @@ BaseCollection.sorted
18191819

18201820
___
18211821

1822-
### subtract
1823-
1824-
**subtract**<`T`\>(`other`): `Collection`<`K`, `V`\>
1825-
1826-
The subtract method returns a new structure containing items where the keys and values of the original structure are not present in the other.
1827-
1828-
#### Type parameters
1829-
1830-
| Name |
1831-
| :------ |
1832-
| `T` |
1833-
1834-
#### Parameters
1835-
1836-
| Name | Type | Description |
1837-
| :------ | :------ | :------ |
1838-
| `other` | `ReadonlyCollection`<`K`, `T`\> | The other Collection to filter against |
1839-
1840-
#### Returns
1841-
1842-
`Collection`<`K`, `V`\>
1843-
1844-
#### Inherited from
1845-
1846-
BaseCollection.subtract
1847-
1848-
___
1849-
18501822
### sweep
18511823

18521824
**sweep**(`fn`): `number`
@@ -1857,7 +1829,7 @@ Removes items that satisfy the provided filter function.
18571829

18581830
| Name | Type | Description |
18591831
| :------ | :------ | :------ |
1860-
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` | Function used to test (should return a boolean) |
1832+
| `fn` | (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` | Function used to test (should return a boolean) |
18611833

18621834
#### Returns
18631835

@@ -1881,7 +1853,7 @@ BaseCollection.sweep
18811853

18821854
| Name | Type |
18831855
| :------ | :------ |
1884-
| `fn` | (`this`: `T`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown` |
1856+
| `fn` | (`this`: `T`, `value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean` |
18851857
| `thisArg` | `T` |
18861858

18871859
#### Returns

docs-v3/docs/api/reference

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: "reference"
3-
title: "@open-wa/wa-automate - v4.66.0"
3+
title: "@open-wa/wa-automate - v4.66.3"
44
sidebar_label: "Readme"
55
sidebar_position: 0
66
custom_edit_url: null

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-wa/wa-automate",
3-
"version": "4.66.2",
3+
"version": "4.66.3",
44
"licenseCheckUrl": "https://funcs.openwa.dev/license-check",
55
"brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
66
"patches": "https://cdn.openwa.dev/patches.json",

release.png

-227 Bytes
Loading

types-only/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-wa/wa-automate-types-only",
3-
"version": "4.66.0",
3+
"version": "4.66.3",
44
"description": "Types generated from the @open-wa/wa-automate package",
55
"scripts": {
66
"build": "tsc",

0 commit comments

Comments
 (0)