fix: resolve naming issues (#201712)
Co-authored-by: BenyFilho <168232825+BenyFilho@users.noreply.github.com>
This commit is contained in:
parent
b0a4b6c6c1
commit
cbf49be9be
10 changed files with 19 additions and 19 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
|
@ -40,4 +40,4 @@ To test your changes within your own project:
|
|||
5. If everything works as expected, you’ve successfully implemented your changes without breaking the library.
|
||||
|
||||
[discord]: https://discord.wwebjs.dev/
|
||||
[issue-tracker]: https://github.com/pedroslopez/whatsapp-web.js/issues
|
||||
[issue-tracker]: https://github.com/wwebjs/whatsapp-web.js/issues
|
||||
|
|
|
|||
2
.github/workflows/labels-sync.yml
vendored
2
.github/workflows/labels-sync.yml
vendored
|
|
@ -21,7 +21,7 @@ concurrency:
|
|||
jobs:
|
||||
label-sync:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'pedroslopez'
|
||||
if: github.repository_owner == 'wwebjs'
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: crazy-max/ghaction-github-labeler@v5
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -22,7 +22,7 @@ concurrency:
|
|||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'pedroslopez/whatsapp-web.js'
|
||||
if: github.repository == 'wwebjs/whatsapp-web.js'
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
|
|
|
|||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
|
|
@ -15,7 +15,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
stale:
|
||||
if: github.repository_owner == 'pedroslopez'
|
||||
if: github.repository_owner == 'wwebjs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Mark stale issues and PRs
|
||||
|
|
|
|||
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
|
|
@ -15,7 +15,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
update:
|
||||
if: github.repository_owner == 'pedroslopez'
|
||||
if: github.repository_owner == 'wwebjs'
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -51,4 +51,4 @@ jobs:
|
|||
|
||||
Tests should be run against this new version before merging.
|
||||
labels: whatsapp change
|
||||
reviewers: pedroslopez
|
||||
reviewers: wwebjs
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -10,9 +10,9 @@
|
|||
src="https://img.shields.io/npm/v/whatsapp-web.js.svg" alt="npm" /></a>
|
||||
<a href="https://www.npmjs.com/package/whatsapp-web.js"><img alt="NPM Downloads"
|
||||
src="https://img.shields.io/npm/d18m/whatsapp-web.js" /></a>
|
||||
<a href="https://github.com/pedroslopez/whatsapp-web.js/graphs/contributors"><img alt="GitHub contributors"
|
||||
src="https://img.shields.io/github/contributors-anon/pedroslopez/whatsapp-web.js" /></a>
|
||||
<a href="https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765"><img
|
||||
<a href="https://github.com/wwebjs/whatsapp-web.js/graphs/contributors"><img alt="GitHub contributors"
|
||||
src="https://img.shields.io/github/contributors-anon/wwebjs/whatsapp-web.js" /></a>
|
||||
<a href="https://depfu.com/github/wwebjs/whatsapp-web.js?project_id=9765"><img
|
||||
src="https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg" alt="Depfu" /></a>
|
||||
<a href="https://discord.wwebjs.dev"><img
|
||||
src="https://img.shields.io/discord/698610475432411196.svg?logo=discord" alt="Discord server" /></a>
|
||||
|
|
@ -142,16 +142,16 @@ limitations under the License.
|
|||
[guide]: https://guide.wwebjs.dev/guide
|
||||
[guide-source]: https://github.com/wwebjs/wwebjs.dev/tree/main
|
||||
[documentation]: https://docs.wwebjs.dev/
|
||||
[documentation-source]: https://github.com/pedroslopez/whatsapp-web.js/tree/main/docs
|
||||
[documentation-source]: https://github.com/wwebjs/whatsapp-web.js/tree/main/docs
|
||||
[discord]: https://discord.wwebjs.dev
|
||||
[gitHub]: https://github.com/pedroslopez/whatsapp-web.js
|
||||
[gitHub]: https://github.com/wwebjs/whatsapp-web.js
|
||||
[npm]: https://npmjs.org/package/whatsapp-web.js
|
||||
[nodejs]: https://nodejs.org/en/download/
|
||||
[examples]: https://github.com/pedroslopez/whatsapp-web.js/blob/main/example.js
|
||||
[examples]: https://github.com/wwebjs/whatsapp-web.js/blob/main/example.js
|
||||
[auth-strategies]: https://wwebjs.dev/guide/creating-your-bot/authentication.html
|
||||
[google-chrome]: https://wwebjs.dev/guide/creating-your-bot/handling-attachments.html#caveat-for-sending-videos-and-gifs
|
||||
[deprecated-video]: https://www.youtube.com/watch?v=hv1R1rLeVVE
|
||||
[gitHub-sponsors]: https://github.com/sponsors/pedroslopez
|
||||
[gitHub-sponsors]: https://github.com/sponsors/wwebjs
|
||||
[support-payPal]: https://www.paypal.me/psla/
|
||||
[contributing]: .github/CONTRIBUTING.md
|
||||
[whatsapp]: https://whatsapp.com
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ client.on('message', async (msg) => {
|
|||
* }
|
||||
*
|
||||
* For more usage examples:
|
||||
* @see https://github.com/pedroslopez/whatsapp-web.js/pull/2344#usage-example1
|
||||
* @see https://github.com/wwebjs/whatsapp-web.js/pull/2344#usage-example1
|
||||
*/
|
||||
console.log(result);
|
||||
} else if (msg.body === '!creategroup') {
|
||||
|
|
@ -201,7 +201,7 @@ client.on('message', async (msg) => {
|
|||
* }
|
||||
*
|
||||
* For more usage examples:
|
||||
* @see https://github.com/pedroslopez/whatsapp-web.js/pull/2344#usage-example2
|
||||
* @see https://github.com/wwebjs/whatsapp-web.js/pull/2344#usage-example2
|
||||
*/
|
||||
console.log(result);
|
||||
} else if (msg.body === '!groupinfo') {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/pedroslopez/whatsapp-web.js.git"
|
||||
"url": "git+https://github.com/wwebjs/whatsapp-web.js.git"
|
||||
},
|
||||
"keywords": [
|
||||
"whatsapp",
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
"author": "Pedro Lopez",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pedroslopez/whatsapp-web.js/issues"
|
||||
"url": "https://github.com/wwebjs/whatsapp-web.js/issues"
|
||||
},
|
||||
"homepage": "https://wwebjs.dev/",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1422,7 +1422,7 @@ class Client extends EventEmitter {
|
|||
)
|
||||
) {
|
||||
console.warn(
|
||||
'Mentions with an array of Contact are now deprecated. See more at https://github.com/pedroslopez/whatsapp-web.js/pull/2166.',
|
||||
'Mentions with an array of Contact are now deprecated. See more at https://github.com/wwebjssapp-web.js/pull/2166.',
|
||||
);
|
||||
options.mentions = options.mentions.map(
|
||||
(a) => a.id._serialized,
|
||||
|
|
|
|||
|
|
@ -881,7 +881,7 @@ class Message extends Base {
|
|||
)
|
||||
) {
|
||||
console.warn(
|
||||
'Mentions with an array of Contact are now deprecated. See more at https://github.com/pedroslopez/whatsapp-web.js/pull/2166.',
|
||||
'Mentions with an array of Contact are now deprecated. See more at https://github.com/wwebjs/whatsapp-web.js/pull/2166.',
|
||||
);
|
||||
options.mentions = options.mentions.map(
|
||||
(a) => a.id._serialized,
|
||||
|
|
|
|||
Loading…
Reference in a new issue