Skip to content

Commit 16af576

Browse files
Release 4.72.3
1 parent 60f5c89 commit 16af576

7 files changed

Lines changed: 36 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +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.72.2](https://github.com/open-wa/wa-automate-nodejs/compare/4.72.1...4.72.2)
10+
## [4.72.3](https://github.com/open-wa/wa-automate-nodejs/compare/4.72.2...4.72.3)
11+
12+
### Commits
13+
14+
- ✨ feat: `message.device` & `message.local` #3242 [`60f5c89`](https://github.com/open-wa/wa-automate-nodejs/commit/60f5c89e8455f8276cfc86b1ce966e945eb002dd)
15+
- updated types-only package [`90b4589`](https://github.com/open-wa/wa-automate-nodejs/commit/90b45895e3d01668a51ac68bd1c0cedbbbb0bd47)
16+
17+
## [4.72.2](https://github.com/open-wa/wa-automate-nodejs/compare/4.72.1...4.72.2) - 2024-08-29
1118

1219
### Fixed
1320

1421
- 🚑 fix #3239 [`#3239`](https://github.com/open-wa/wa-automate-nodejs/issues/3239)
1522

1623
### Commits
1724

25+
- Release 4.72.2 [`306ab11`](https://github.com/open-wa/wa-automate-nodejs/commit/306ab11e899922a8a0b3bf37130b6b8d1b3d27c0)
1826
- updated types-only package [`8ec43a3`](https://github.com/open-wa/wa-automate-nodejs/commit/8ec43a308d26b77cd3e71074ff5222f3b931a3a7)
1927

2028
## [4.72.1](https://github.com/open-wa/wa-automate-nodejs/compare/4.72.0...4.72.1) - 2024-08-21

bin/oas-type-schemas.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/docs/reference/api/model/message/interfaces/Message.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ The URL of the file after being uploaded to the cloud using a cloud upload messa
114114
115115
***
116116

117+
### device
118+
119+
> **device**: `number`
120+
121+
The device ID of the device that sent the message. This is only present if the message was sent from host account-linked session. This is useful for determining if a message was sent from a different mobile device (note that whenever a device) or a desktop session.
122+
123+
Note: This will emit a number for the current controlled session also but the only way to know if the number represents the current session is by checking `local` (it will be `true` if the message was sent from the current session).
124+
125+
If the device ID is `0` then the message was sent from the "root" host account device.
126+
127+
This might be undefined for incoming messages.
128+
129+
***
130+
117131
### duration?
118132

119133
> `optional` **duration**: `string` \| `number`
@@ -324,6 +338,14 @@ The text associated with a location message
324338

325339
***
326340

341+
### local
342+
343+
> **local**: `boolean`
344+
345+
If the message was sent from this controlled session this will be `true`. This is useful for determining if a message was sent from a different mobile device (note that whenever a device) or a desktop session.
346+
347+
***
348+
327349
### mId
328350

329351
> **mId**: `string`

docs/docs/reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @open-wa/wa-automate v4.72.2
1+
# @open-wa/wa-automate v4.72.3
22

33
## Modules
44

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-wa/wa-automate",
3-
"version": "4.72.2",
3+
"version": "4.72.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

6.41 KB
Loading

0 commit comments

Comments
 (0)