Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed May 20, 2023
2 parents 1d128f8 + cdd7512 commit 9150cb4
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 50 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

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

### Commits

- 💚 fix discord dep issues (revert) #3115 [`ef91e41`](https://github.com/open-wa/wa-automate-nodejs/commit/ef91e4189814fb792564fc639315b1d7b3446872)
- 🚸 Invariant violation avoidance measures #3121 [`ef2dcff`](https://github.com/open-wa/wa-automate-nodejs/commit/ef2dcffb7769a5ab2e23144e22f2d5f03e939543)
- updated types-only package [`561b5f3`](https://github.com/open-wa/wa-automate-nodejs/commit/561b5f32ec9d6148df9941216e108d427f2b9ade)
- updated types-only package [`172284a`](https://github.com/open-wa/wa-automate-nodejs/commit/172284af8b0185062eb7b3f8aa08cdb038c57ecd)
- 🚑 fix collector import [`1ff6282`](https://github.com/open-wa/wa-automate-nodejs/commit/1ff6282b5224aacab9776c7671e56b8b9ea96f05)
- updated types-only package [`3c57208`](https://github.com/open-wa/wa-automate-nodejs/commit/3c572084d5ac694601f6c9614ed79d99253c685b)

## [4.66.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.65.1...4.66.0) - 2023-05-11

### Commits

- Release 4.66.0 [`9c28b84`](https://github.com/open-wa/wa-automate-nodejs/commit/9c28b8416e36c9eeba86ad65a5108b4e2963a592)
- ⬆️ upgrade uuid dep #3115 [`f9ef8bd`](https://github.com/open-wa/wa-automate-nodejs/commit/f9ef8bd6239b979c26a35922e22065ce1f08b467)
- ⬆️ upgrade discord collection dep #3115 [`ec6561a`](https://github.com/open-wa/wa-automate-nodejs/commit/ec6561a60d748a84e4ffb88a4cb7c2458569e3d6)
- 🗑️ depreacted lists and buttons till further notice #3116 [`45594e0`](https://github.com/open-wa/wa-automate-nodejs/commit/45594e0f1a40e2a70335a6ac659e80c4bdc80681)
Expand Down
60 changes: 16 additions & 44 deletions docs-v3/docs/api/classes/structures_Collector.Collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ BaseCollection.every

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

#### Returns

Expand Down Expand Up @@ -514,7 +514,7 @@ BaseCollection.every

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

#### Returns
Expand Down Expand Up @@ -589,7 +589,7 @@ BaseCollection.filter

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

#### Returns

Expand Down Expand Up @@ -659,7 +659,7 @@ BaseCollection.filter

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

#### Returns
Expand All @@ -678,9 +678,9 @@ ___

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

**`Example`**

Expand Down Expand Up @@ -714,7 +714,7 @@ BaseCollection.find

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

#### Returns

Expand Down Expand Up @@ -760,7 +760,7 @@ BaseCollection.find

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

#### Returns
Expand Down Expand Up @@ -813,7 +813,7 @@ BaseCollection.findKey

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

#### Returns

Expand Down Expand Up @@ -859,7 +859,7 @@ BaseCollection.findKey

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

#### Returns
Expand Down Expand Up @@ -1482,7 +1482,7 @@ BaseCollection.partition

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

#### Returns

Expand Down Expand Up @@ -1552,7 +1552,7 @@ BaseCollection.partition

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

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

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

#### Returns

Expand All @@ -1746,7 +1746,7 @@ BaseCollection.some

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

#### Returns
Expand Down Expand Up @@ -1819,34 +1819,6 @@ BaseCollection.sorted

___

### subtract

**subtract**<`T`\>(`other`): `Collection`<`K`, `V`\>

The subtract method returns a new structure containing items where the keys and values of the original structure are not present in the other.

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `other` | `ReadonlyCollection`<`K`, `T`\> | The other Collection to filter against |

#### Returns

`Collection`<`K`, `V`\>

#### Inherited from

BaseCollection.subtract

___

### sweep

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

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

#### Returns

Expand All @@ -1881,7 +1853,7 @@ BaseCollection.sweep

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

#### Returns
Expand Down
2 changes: 1 addition & 1 deletion docs-v3/docs/api/reference
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: "reference"
title: "@open-wa/wa-automate - v4.66.0"
title: "@open-wa/wa-automate - v4.66.3"
sidebar_label: "Readme"
sidebar_position: 0
custom_edit_url: null
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-wa/wa-automate",
"version": "4.66.2",
"version": "4.66.3",
"licenseCheckUrl": "https://funcs.openwa.dev/license-check",
"brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
"patches": "https://cdn.openwa.dev/patches.json",
Expand Down
Binary file modified release.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion types-only/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-wa/wa-automate-types-only",
"version": "4.66.0",
"version": "4.66.3",
"description": "Types generated from the @open-wa/wa-automate package",
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 9150cb4

Please sign in to comment.