Skip to content

Commit

Permalink
Release 4.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 3, 2023
1 parent 2336104 commit 2585f3e
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ 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.62.5](https://github.com/open-wa/wa-automate-nodejs/compare/4.62.4...4.62.5)
## [4.63.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.62.5...4.63.0)

### Commits

- feat: `client.getGptArray` #3090 [`443e1c1`](https://github.com/open-wa/wa-automate-nodejs/commit/443e1c169910291e5ce2e12a08e5468793a2fbf3)
- updated types-only package [`c8a9500`](https://github.com/open-wa/wa-automate-nodejs/commit/c8a95008384880c50d7541fc393d7e36c87f4b1b)

## [4.62.5](https://github.com/open-wa/wa-automate-nodejs/compare/4.62.4...4.62.5) - 2023-04-02

### Commits

- Release 4.62.5 [`d637660`](https://github.com/open-wa/wa-automate-nodejs/commit/d637660757d453b66775afe8db00cb2cf6393d94)
- 📝 add some documentation around `pup` [`45fd3b5`](https://github.com/open-wa/wa-automate-nodejs/commit/45fd3b569c740099b499a7b2fa57f132d933fd9e)
- 🔇 prevent reconnection logspam #3094 [`686a4ff`](https://github.com/open-wa/wa-automate-nodejs/commit/686a4ff8ed3f74dd6119b919c70a59ababc9937d)
- updated types-only package [`5293232`](https://github.com/open-wa/wa-automate-nodejs/commit/5293232a2b15b30be68064e355111c018db2539b)
Expand Down
18 changes: 18 additions & 0 deletions docs-v3/docs/api/classes/api_Client.Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,24 @@ String useragent of wa-web session

___

### getGptArray

**getGptArray**(`last?`): `Promise`<{ `content`: `string` ; `role`: ``"user"`` \| ``"assistant"`` }[]\>

Returns a properly formatted array of messages from to send to the openai api

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `last` | `number` | `10` | The amount of previous messages to retrieve. Defaults to 10 |

#### Returns

`Promise`<{ `content`: `string` ; `role`: ``"user"`` \| ``"assistant"`` }[]\>

___

### getGroupAdmins

**getGroupAdmins**(`groupId`): `Promise`<[`ContactId`](/api/types/api_model_aliases.ContactId.md)[]\>
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.62.5"
title: "@open-wa/wa-automate - v4.63.0"
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.62.5",
"version": "4.63.0",
"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.

0 comments on commit 2585f3e

Please sign in to comment.