@wppconnect/server-cli 1.3.11 → 1.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -37
- package/Dockerfile +45 -21
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/docker-compose.yaml +41 -0
- package/package.json +74 -34
- package/license-checker-config.json +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,106 +1,122 @@
|
|
|
1
|
-
## 1.3.
|
|
2
|
-
|
|
1
|
+
## [1.3.17](https://github.com/wppconnect-team/server-cli/compare/v1.3.16...v1.3.17) (2026-08-11)
|
|
3
2
|
|
|
3
|
+
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- **package:** declare repository for npm provenance ([d55db19](https://github.com/wppconnect-team/server-cli/commit/d55db196042028c5a6702a0512bd92ed2e926360))
|
|
6
6
|
|
|
7
|
+
## [1.3.16](https://github.com/wppconnect-team/server-cli/compare/v1.3.15...v1.3.16) (2026-08-11)
|
|
7
8
|
|
|
8
9
|
### Bug Fixes
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
- **ci:** run npm trusted publisher in isolation ([1e2c13b](https://github.com/wppconnect-team/server-cli/commit/1e2c13b4d2a100bd122327318a753747619d1b59))
|
|
11
12
|
|
|
13
|
+
## [1.3.15](https://github.com/wppconnect-team/server-cli/compare/v1.3.14...v1.3.15) (2026-08-11)
|
|
12
14
|
|
|
15
|
+
### Bug Fixes
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
- **ci:** keep Node 22 for npm publishing ([50d47ef](https://github.com/wppconnect-team/server-cli/commit/50d47ef0ec870ecaf208f98a1b2b7fd64b21a007))
|
|
15
18
|
|
|
19
|
+
## [1.3.14](https://github.com/wppconnect-team/server-cli/compare/v1.3.13...v1.3.14) (2026-08-11)
|
|
16
20
|
|
|
21
|
+
### Bug Fixes
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
- **ci:** publish npm package with trusted publishing ([2f7199a](https://github.com/wppconnect-team/server-cli/commit/2f7199ae34bf7f200e78f5b0755b00bbbbdf6ae0))
|
|
19
24
|
|
|
25
|
+
## [1.3.13](https://github.com/wppconnect-team/server-cli/compare/v1.3.12...v1.3.13) (2026-08-11)
|
|
20
26
|
|
|
27
|
+
### Bug Fixes
|
|
21
28
|
|
|
22
|
-
|
|
29
|
+
- **release:** create GitHub release after Docker publish ([#813](https://github.com/wppconnect-team/server-cli/issues/813)) ([41ead15](https://github.com/wppconnect-team/server-cli/commit/41ead15266443b4a9cd3953a1ee72183bc7e0b80))
|
|
30
|
+
- **release:** trigger patch releases from main ([#814](https://github.com/wppconnect-team/server-cli/issues/814)) ([97a401f](https://github.com/wppconnect-team/server-cli/commit/97a401ffcb01771a99cac51c58ecf278a6f933c4))
|
|
23
31
|
|
|
32
|
+
## [1.3.12](https://github.com/wppconnect-team/server-cli/compare/v1.3.11...v1.3.12) (2026-08-11)
|
|
24
33
|
|
|
25
34
|
### Bug Fixes
|
|
26
35
|
|
|
27
|
-
|
|
36
|
+
- **deps:** remove critical transitive vulnerabilities ([#804](https://github.com/wppconnect-team/server-cli/issues/804)) ([f5e2b0d](https://github.com/wppconnect-team/server-cli/commit/f5e2b0db1fc44d11dfef466b0e6c62b57575084c))
|
|
37
|
+
- **deps:** update dependency @wppconnect/server to ^2.4.2 ([#615](https://github.com/wppconnect-team/server-cli/issues/615)) ([318a73c](https://github.com/wppconnect-team/server-cli/commit/318a73c117cd11aa91ca5e561006ac836d1f0868))
|
|
38
|
+
- **deps:** update dependency @wppconnect/server to ^2.4.3 ([31f86ea](https://github.com/wppconnect-team/server-cli/commit/31f86ea7049f76daf2b910351586789e66333d46))
|
|
39
|
+
- **deps:** update dependency @wppconnect/server to ^2.4.4 ([b23a9c0](https://github.com/wppconnect-team/server-cli/commit/b23a9c0a191b5e3abac853645f61b45891aa2a2a))
|
|
40
|
+
- **deps:** update dependency @wppconnect/server to ^2.5.0 ([6d4ff38](https://github.com/wppconnect-team/server-cli/commit/6d4ff386b14e3e8a732c3051bf80057b58a85dc5))
|
|
41
|
+
- **deps:** update dependency @wppconnect/server to ^2.5.2 ([4285e2e](https://github.com/wppconnect-team/server-cli/commit/4285e2e0205c21d2aa4d804949d00f95ec13efa7))
|
|
42
|
+
- **deps:** update dependency @wppconnect/server to ^2.7.0 ([0061391](https://github.com/wppconnect-team/server-cli/commit/0061391e294ad76652acaf359d7c1208828910bb))
|
|
43
|
+
- **deps:** update dependency @wppconnect/server to ^2.8.1 ([#699](https://github.com/wppconnect-team/server-cli/issues/699)) ([b27947f](https://github.com/wppconnect-team/server-cli/commit/b27947f94216c4474b09ddc0df9894b5acdd9b9d))
|
|
44
|
+
- **deps:** update dependency @wppconnect/server to ^2.8.3 ([#720](https://github.com/wppconnect-team/server-cli/issues/720)) ([9752018](https://github.com/wppconnect-team/server-cli/commit/9752018ce87c298d399e81e46501ab69cd57b0d4))
|
|
45
|
+
- **deps:** update dependency @wppconnect/server to ^2.8.6 ([#736](https://github.com/wppconnect-team/server-cli/issues/736)) ([88e4d30](https://github.com/wppconnect-team/server-cli/commit/88e4d30c4b02298121584edfddea5ed592a2ecfe))
|
|
46
|
+
- **release:** align Docker publishing with semver tags ([#812](https://github.com/wppconnect-team/server-cli/issues/812)) ([8c3dfd6](https://github.com/wppconnect-team/server-cli/commit/8c3dfd638a6e25fa2a6f7770daaa18024968d4c7))
|
|
47
|
+
- remediate transitive dependency vulnerabilities ([#809](https://github.com/wppconnect-team/server-cli/issues/809)) ([cc89085](https://github.com/wppconnect-team/server-cli/commit/cc89085fd09e7b99a7cf8752bd172e27f28e819c))
|
|
48
|
+
- **security:** consume patched WPPConnect release ([#811](https://github.com/wppconnect-team/server-cli/issues/811)) ([9bd72d5](https://github.com/wppconnect-team/server-cli/commit/9bd72d5252c7fedecde3076aa242cf7647ea22be))
|
|
49
|
+
- Update FUNDING.yml ([591d578](https://github.com/wppconnect-team/server-cli/commit/591d578f005ad10f820342925d2fae21a8a1a2fa))
|
|
50
|
+
|
|
51
|
+
### Reverts
|
|
52
|
+
|
|
53
|
+
- Revert "build(deps-dev): update dependency sharp to v0.34.4 (#747)" (#748) ([2e79300](https://github.com/wppconnect-team/server-cli/commit/2e793004f850ed2a80e69e56f3ce6e4526e86027)), closes [#747](https://github.com/wppconnect-team/server-cli/issues/747) [#748](https://github.com/wppconnect-team/server-cli/issues/748)
|
|
28
54
|
|
|
55
|
+
## 1.3.11 (2024-03-23)
|
|
29
56
|
|
|
57
|
+
## 1.3.10 (2024-01-26)
|
|
30
58
|
|
|
31
|
-
|
|
59
|
+
### Bug Fixes
|
|
32
60
|
|
|
61
|
+
- **deps:** update dependency @wppconnect/server to ^2.4.0 ([#572](https://github.com/wppconnect-team/server-cli/issues/572)) ([584e084](https://github.com/wppconnect-team/server-cli/commit/584e0846c2fb13782647afa057a196f3752de366))
|
|
33
62
|
|
|
34
|
-
|
|
63
|
+
## 1.3.9 (2024-01-26)
|
|
35
64
|
|
|
36
|
-
|
|
65
|
+
## 1.3.8 (2023-09-03)
|
|
37
66
|
|
|
67
|
+
## 1.3.7 (2023-03-17)
|
|
38
68
|
|
|
69
|
+
### Bug Fixes
|
|
39
70
|
|
|
40
|
-
|
|
71
|
+
- Fixed config file argument (fix [#105](https://github.com/wppconnect-team/server-cli/issues/105)) ([64b2ffd](https://github.com/wppconnect-team/server-cli/commit/64b2ffdbc52bb193a3ded633c273c8bcc2d9efc0))
|
|
41
72
|
|
|
73
|
+
## 1.3.6 (2023-03-13)
|
|
42
74
|
|
|
43
75
|
### Bug Fixes
|
|
44
76
|
|
|
45
|
-
|
|
46
|
-
|
|
77
|
+
- **deps:** update dependency @wppconnect/server to ^1.8.5 ([#392](https://github.com/wppconnect-team/server-cli/issues/392)) ([7c8a043](https://github.com/wppconnect-team/server-cli/commit/7c8a043e66816042f3fde8eeec3b5d23cfd8c235))
|
|
47
78
|
|
|
79
|
+
## 1.3.5 (2022-11-18)
|
|
48
80
|
|
|
49
|
-
|
|
81
|
+
### Bug Fixes
|
|
50
82
|
|
|
83
|
+
- **deps:** update dependency @wppconnect/server to ^1.7.2 ([#342](https://github.com/wppconnect-team/server-cli/issues/342)) ([ac82cce](https://github.com/wppconnect-team/server-cli/commit/ac82cce8675ae87f1bcff63fba095f97dc5c1264))
|
|
51
84
|
|
|
85
|
+
## 1.3.4 (2022-11-03)
|
|
52
86
|
|
|
53
87
|
## 1.3.3 (2022-08-09)
|
|
54
88
|
|
|
55
|
-
|
|
56
89
|
### Bug Fixes
|
|
57
90
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
91
|
+
- **deps:** update dependency @wppconnect/server to ^1.6.2 ([#310](https://github.com/wppconnect-team/server-cli/issues/310)) ([d2c40c5](https://github.com/wppconnect-team/server-cli/commit/d2c40c537b1795ef4e6e5ff4c1be2ecb58b6a161))
|
|
61
92
|
|
|
62
93
|
## 1.3.2 (2022-08-05)
|
|
63
94
|
|
|
64
|
-
|
|
65
95
|
### Bug Fixes
|
|
66
96
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
97
|
+
- **deps:** update dependency @wppconnect/server to ^1.6.1 ([#309](https://github.com/wppconnect-team/server-cli/issues/309)) ([3fc41bb](https://github.com/wppconnect-team/server-cli/commit/3fc41bba0341a0eb38368472bf7c8fc404182586))
|
|
70
98
|
|
|
71
99
|
## 1.3.1 (2022-05-10)
|
|
72
100
|
|
|
73
|
-
|
|
74
|
-
|
|
75
101
|
# 1.3.0 (2022-05-10)
|
|
76
102
|
|
|
77
|
-
|
|
78
|
-
|
|
79
103
|
# 1.2.0 (2022-04-25)
|
|
80
104
|
|
|
81
|
-
|
|
82
|
-
|
|
83
105
|
## 1.1.4 (2022-01-21)
|
|
84
106
|
|
|
85
|
-
|
|
86
|
-
|
|
87
107
|
## 1.1.3 (2021-07-15)
|
|
88
108
|
|
|
89
|
-
|
|
90
109
|
### Bug Fixes
|
|
91
110
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
111
|
+
- adicionado novas opções do webhook ([#26](https://github.com/wppconnect-team/server-cli/issues/26)) ([d08093f](https://github.com/wppconnect-team/server-cli/commit/d08093ffa98adc8620777184542747b764a36f78))
|
|
95
112
|
|
|
96
113
|
# Changelog
|
|
97
114
|
|
|
98
115
|
### [1.1.2](https://www.github.com/wppconnect-team/server-cli/compare/v1.1.1...v1.1.2) (2021-07-07)
|
|
99
116
|
|
|
100
|
-
|
|
101
117
|
### Bug Fixes
|
|
102
118
|
|
|
103
|
-
|
|
119
|
+
- Corrigido impressão no console quando o frontend está ativo ([3143253](https://www.github.com/wppconnect-team/server-cli/commit/3143253f9bdb140ab23d4d94b02aaa8dfcd0aa73))
|
|
104
120
|
|
|
105
121
|
## [1.1.1](https://github.com/wppconnect-team/server-cli/compare/v1.1.0...v1.1.1) (2021-06-21)
|
|
106
122
|
|
package/Dockerfile
CHANGED
|
@@ -1,26 +1,50 @@
|
|
|
1
|
-
FROM node:
|
|
2
|
-
WORKDIR /usr/src/server
|
|
3
|
-
ENV
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
RUN
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
FROM node:22.22.2-alpine AS base
|
|
2
|
+
WORKDIR /usr/src/wpp-server
|
|
3
|
+
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
|
4
|
+
|
|
5
|
+
# Install build dependencies and runtime libraries for sharp
|
|
6
|
+
RUN apk update && \
|
|
7
|
+
apk add --no-cache \
|
|
8
|
+
vips \
|
|
9
|
+
vips-dev \
|
|
10
|
+
fftw-dev \
|
|
11
|
+
gcc \
|
|
12
|
+
g++ \
|
|
13
|
+
make \
|
|
14
|
+
libc6-compat \
|
|
15
|
+
pkgconfig \
|
|
16
|
+
python3 \
|
|
17
|
+
&& rm -rf /var/cache/apk/*
|
|
18
|
+
|
|
19
|
+
# To make sure yarn 4 uses node-modules linker
|
|
20
|
+
COPY .yarnrc.yml ./
|
|
21
|
+
|
|
22
|
+
# Copy only package.json to leverage Docker cache
|
|
23
|
+
COPY package.json ./
|
|
24
|
+
COPY yarn.lock ./
|
|
25
|
+
|
|
26
|
+
# Enable corepack and prepare yarn 4.12.0
|
|
27
|
+
RUN corepack enable && \
|
|
28
|
+
corepack prepare yarn@4.12.0 --activate
|
|
29
|
+
|
|
30
|
+
# Install dependencies with immutable lockfile
|
|
31
|
+
RUN yarn install --immutable
|
|
32
|
+
|
|
33
|
+
FROM base AS build
|
|
34
|
+
WORKDIR /usr/src/wpp-server
|
|
15
35
|
COPY . .
|
|
36
|
+
RUN yarn install
|
|
16
37
|
RUN yarn build
|
|
17
38
|
|
|
18
|
-
FROM
|
|
19
|
-
WORKDIR /usr/src/server
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
39
|
+
FROM build AS runtime
|
|
40
|
+
WORKDIR /usr/src/wpp-server/
|
|
41
|
+
|
|
42
|
+
# Install runtime dependencies (chromium and vips libraries)
|
|
43
|
+
RUN apk add --no-cache \
|
|
44
|
+
chromium \
|
|
45
|
+
vips \
|
|
46
|
+
fftw
|
|
47
|
+
|
|
25
48
|
EXPOSE 21465
|
|
49
|
+
|
|
26
50
|
ENTRYPOINT ["node", "bin/wppserver.js"]
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var express = _interopRequireWildcard(require("express"));
|
|
|
18
18
|
var fs = _interopRequireWildcard(require("fs"));
|
|
19
19
|
var path = _interopRequireWildcard(require("path"));
|
|
20
20
|
var _mergeDeep = _interopRequireDefault(require("merge-deep"));
|
|
21
|
-
var _program = require("./program");function
|
|
21
|
+
var _program = require("./program");function _interopRequireWildcard(e, t) {if ("function" == typeof WeakMap) var r = new WeakMap(),n = new WeakMap();return (_interopRequireWildcard = function (e, t) {if (!t && e && e.__esModule) return e;var o,i,f = { __proto__: null, default: e };if (null === e || "object" != typeof e && "function" != typeof e) return f;if (o = t ? n : r) {if (o.has(e)) return o.get(e);o.set(e, f);}for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]);return f;})(e, t);} /*
|
|
22
22
|
* Copyright 2021 WPPConnect Team
|
|
23
23
|
*
|
|
24
24
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_server","require","express","_interopRequireWildcard","fs","path","_mergeDeep","_interopRequireDefault","_program","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_server","require","express","_interopRequireWildcard","fs","path","_mergeDeep","_interopRequireDefault","_program","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","run","serverOptions","program","parse","commandOptions","opts","config","json","readFileSync","encoding","configOptions","JSON","mergeDeep","error","console","log","process","exit","subOptions","key","opt","find","startsWith","name","substr","length","newName","toLowerCase","slice","app","initServer","frontend","frontendPath","frontendPackage","resolve","join","dirname","use","req","res","send","static","next","accepts","sendfile","env"],"sources":["../src/index.js"],"sourcesContent":["/*\n * Copyright 2021 WPPConnect Team\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { initServer } from '@wppconnect/server';\nimport * as express from 'express';\nimport * as fs from 'fs';\nimport * as path from 'path';\nimport mergeDeep from 'merge-deep';\nimport { program } from './program';\n\nexport function run() {\n let serverOptions = {};\n\n program.parse();\n const commandOptions = program.opts();\n\n if (commandOptions.config) {\n try {\n const json = fs.readFileSync(commandOptions.config, { encoding: 'utf8' });\n const configOptions = JSON.parse(json);\n\n serverOptions = mergeDeep({}, serverOptions, configOptions);\n } catch (error) {\n console.log(error);\n process.exit(1);\n }\n\n delete commandOptions.config;\n }\n\n const subOptions = ['webhook', 'archive', 'log', 'createOptions'];\n\n for (const key in commandOptions) {\n const opt = subOptions.find((opt) => key.startsWith(opt));\n\n if (opt) {\n commandOptions[opt] = commandOptions[opt] || {};\n\n const name = key.substr(opt.length);\n const newName = name[0].toLowerCase() + name.slice(1);\n\n commandOptions[opt][newName] = commandOptions[key];\n delete commandOptions[key];\n }\n }\n\n serverOptions = mergeDeep({}, serverOptions, commandOptions);\n\n const { app } = initServer(serverOptions);\n\n if (commandOptions.frontend) {\n let frontendPath = commandOptions.frontendPath;\n\n if (!frontendPath) {\n try {\n const frontendPackage = require.resolve('@wppconnect/frontend/package.json');\n frontendPath = path.join(path.dirname(frontendPackage), 'build');\n } catch (error) {\n console.error(\n 'Não foi encontrado o caminho para o frontend, por favor defina com --frontend-path ou instale o pacote @wppconnect/frontend'\n );\n process.exit(1);\n }\n }\n\n if (frontendPath) {\n // Requisição de configuração do frontend\n app.use('/config.js', (req, res) => {\n res.set({\n 'Content-Type': 'application/javascript; charset=UTF-8',\n });\n res.send(`\n// Arquivo gerado automaticamente\nwindow.IP_SERVER = location.protocol + \"//\" + location.host + '/api/';\nwindow.IP_SOCKET_IO = ((location.protocol === 'https:') ? 'wss:' : 'ws:') + \"//\" + location.host;\n`);\n });\n\n app.use(express.static(frontendPath));\n\n app.get('*', function (req, res, next) {\n // Força a renderização do react para requisições do browser\n if (req.accepts('html')) {\n return res.sendfile(path.join(frontendPath, 'index.html'));\n }\n next();\n });\n }\n }\n}\n\nif (process.env['RUN_SERVER']) {\n run();\n}\n"],"mappings":";;;;;;;;;;;;;;;AAeA,IAAAA,OAAA,GAAAC,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,GAAG,CAACK,QAAQ,CAACnE,IAAI,CAAC0D,IAAI,CAACH,YAAY,EAAE,YAAY,CAAC,CAAC;QAC5D;QACAU,IAAI,CAAC,CAAC;MACR,CAAC,CAAC;IACJ;EACF;AACF;;AAEA,IAAI1B,OAAO,CAAC6B,GAAG,CAAC,YAAY,CAAC,EAAE;EAC7B7C,GAAG,CAAC,CAAC;AACP","ignoreList":[]}
|
package/dist/program.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var packageJSON = _interopRequireWildcard(require("../package.json"));
|
|
17
|
-
var _commander = require("commander");function
|
|
17
|
+
var _commander = require("commander");function _interopRequireWildcard(e, t) {if ("function" == typeof WeakMap) var r = new WeakMap(),n = new WeakMap();return (_interopRequireWildcard = function (e, t) {if (!t && e && e.__esModule) return e;var o,i,f = { __proto__: null, default: e };if (null === e || "object" != typeof e && "function" != typeof e) return f;if (o = t ? n : r) {if (o.has(e)) return o.get(e);o.set(e, f);}for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]);return f;})(e, t);} /*
|
|
18
18
|
* Copyright 2021 WPPConnect Team
|
|
19
19
|
*
|
|
20
20
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
package/dist/program.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.js","names":["packageJSON","_interopRequireWildcard","require","_commander","
|
|
1
|
+
{"version":3,"file":"program.js","names":["packageJSON","_interopRequireWildcard","require","_commander","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","program","exports","Command","version","option"],"sources":["../src/program.js"],"sourcesContent":["/*\n * Copyright 2021 WPPConnect Team\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport * as packageJSON from '../package.json';\nimport { Command } from 'commander';\nexport const program = new Command();\n\nprogram.version(packageJSON.version);\n\n//#region frontend\nprogram.option('--frontend', 'Habilita o frontend');\nprogram.option('--frontend-path <path>', 'Caminho dos arquivos de frontend (pasta dist)');\n//#endregion\n\n//#region comum\nprogram.option('-c, --config <path>', 'Arquivo JSON de configuração para inicialização');\n\n// Host\nprogram.option('-h, --host <host>', 'Host de execução');\nprogram.option('-p, --port <numero>', 'Porta de execução');\nprogram.option('-k, --secretKey <chave>', 'Chave secreta para validação de tokens');\nprogram.option('--startAllSession', 'Habilita a auto inicialização das sessões');\nprogram.option('--no-startAllSession', 'Desabilita a auto inicialização das sessões');\n//#endregion\n\n//#region webhook\nprogram.option('--webhook-url <url>', 'URL para as chamadas de webhook');\nprogram.option('--webhook-autoDownload', 'Habilita o auto download de arquivo');\nprogram.option('--no-webhook-autoDownload', 'Desabilita o auto download de arquivo');\nprogram.option('--webhook-readMessage', 'Habilita a marcação automática de lido');\nprogram.option('--no-webhook-readMessage', 'Desabilita a marcação automática de lido');\nprogram.option('--webhook-allUnreadOnStart', 'Envia no webhook todas as mensagens não lidas na inicialização');\nprogram.option('--no-webhook-listenAcks', 'Desabilita o envio de ACKs no webhook');\nprogram.option('--no-webhook-onPresenceChanged', 'Desabilita o envio do onPresenceChanged no webhook');\nprogram.option('--no-webhook-onParticipantsChanged', 'Desabilita o envio do onParticipantsChanged no webhook');\n//#endregion\n\n//#region archive\nprogram.option('--archive-enable', 'Habilita o auto-arquivamento');\nprogram.option('--no-archive-enable', 'Desabilita o auto-arquivamento');\nprogram.option('--archive-waitTime <milisegundos>', 'Tempo de espera de arquivamento entre chats');\nprogram.option('--archive-daysToArchive <dias>', 'Dias de inatividade para arquivar');\n//#endregion\n\n//#region log\nprogram.option('--log-level <level>', 'Nível de detalhe de log');\nprogram.option('--log-logger <saidas...>', 'Opções de saída de LOG');\n//#endregion\n\n//#region createOptions\nprogram.option('--createOptions-browserArgs <opcoes...>', 'Opções para serem passadas na inicialização do browser');\n//#endregion\n"],"mappings":";;;;;;;;;;;;;;;AAeA,IAAAA,WAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA,cAAoC,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,4BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,GAAAE,CAAA,OAAAF,OAAA,WAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,QAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,KAAAM,CAAA,CAAAC,CAAA,CAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,gBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,KAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,OAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,CAAAM,CAAA,EAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA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AAuC,CAAC;AAClFJ,OAAO,CAACI,MAAM,CAAC,gCAAgC,EAAE,oDAAoD,CAAC;AACtGJ,OAAO,CAACI,MAAM,CAAC,oCAAoC,EAAE,wDAAwD,CAAC;AAC9G;;AAEA;AACAJ,OAAO,CAACI,MAAM,CAAC,kBAAkB,EAAE,8BAA8B,CAAC;AAClEJ,OAAO,CAACI,MAAM,CAAC,qBAAqB,EAAE,gCAAgC,CAAC;AACvEJ,OAAO,CAACI,MAAM,CAAC,mCAAmC,EAAE,6CAA6C,CAAC;AAClGJ,OAAO,CAACI,MAAM,CAAC,gCAAgC,EAAE,mCAAmC,CAAC;AACrF;;AAEA;AACAJ,OAAO,CAACI,MAAM,CAAC,qBAAqB,EAAE,yBAAyB,CAAC;AAChEJ,OAAO,CAACI,MAAM,CAAC,0BAA0B,EAAE,wBAAwB,CAAC;AACpE;;AAEA;AACAJ,OAAO,CAACI,MAAM,CAAC,yCAAyC,EAAE,wDAAwD,CAAC;AACnH","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
version: '3.8'
|
|
2
|
+
|
|
3
|
+
services:
|
|
4
|
+
wppconnect:
|
|
5
|
+
build:
|
|
6
|
+
dockerfile: Dockerfile
|
|
7
|
+
image: wppconnect/server-cli:latest
|
|
8
|
+
container_name: wppconnect
|
|
9
|
+
command:
|
|
10
|
+
- --log-level
|
|
11
|
+
- DEBUG
|
|
12
|
+
- --secretKey
|
|
13
|
+
- My53cr3tKY
|
|
14
|
+
- --port
|
|
15
|
+
- "21465"
|
|
16
|
+
- --startAllSession
|
|
17
|
+
- --webhook-allUnreadOnStart
|
|
18
|
+
- --no-webhook-onPresenceChanged
|
|
19
|
+
- --no-webhook-onParticipantsChanged
|
|
20
|
+
- --no-webhook-listenAcks
|
|
21
|
+
deploy:
|
|
22
|
+
replicas: 1
|
|
23
|
+
restart_policy:
|
|
24
|
+
condition: on-failure
|
|
25
|
+
networks:
|
|
26
|
+
- wppconnect-cli
|
|
27
|
+
ports:
|
|
28
|
+
- "21465:21465"
|
|
29
|
+
|
|
30
|
+
volumes:
|
|
31
|
+
- wpp_tokens:/usr/src/wpp-server/tokens
|
|
32
|
+
- wpp_userDataDir:/usr/src/wpp-server/userDataDir
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
volumes:
|
|
36
|
+
wpp_tokens:
|
|
37
|
+
wpp_userDataDir:
|
|
38
|
+
|
|
39
|
+
networks:
|
|
40
|
+
wppconnect-cli:
|
|
41
|
+
external: true
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect/server-cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.17",
|
|
4
4
|
"description": "Servidor de WPPConnect com frontend para ser executado a partir de uma linha de comando",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/wppconnect-team/server-cli"
|
|
8
|
+
},
|
|
5
9
|
"bin": {
|
|
6
|
-
"wppserver": "
|
|
10
|
+
"wppserver": "bin/wppserver.js"
|
|
7
11
|
},
|
|
8
12
|
"main": "dist/index.js",
|
|
9
13
|
"author": "edgardmessias",
|
|
@@ -17,7 +21,7 @@
|
|
|
17
21
|
"license:add": "license-check-and-add add",
|
|
18
22
|
"license:check": "license-check-and-add check",
|
|
19
23
|
"lint": "eslint --ext .js src",
|
|
20
|
-
"prepare": "husky
|
|
24
|
+
"prepare": "husky",
|
|
21
25
|
"release": "release-it",
|
|
22
26
|
"start": "cross-env RUN_SERVER=1 babel-node src",
|
|
23
27
|
"watch": "nodemon -w src --exec \"babel-node src\""
|
|
@@ -28,46 +32,82 @@
|
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@wppconnect/server": "
|
|
33
|
-
"commander": "^
|
|
35
|
+
"@babel/runtime": "^7.29.7",
|
|
36
|
+
"@wppconnect/server": "2.10.1",
|
|
37
|
+
"commander": "^14.0.3",
|
|
34
38
|
"merge-deep": "^3.0.3",
|
|
35
|
-
"prom-client": "^15.1.
|
|
39
|
+
"prom-client": "^15.1.3"
|
|
36
40
|
},
|
|
37
41
|
"devDependencies": {
|
|
38
|
-
"@aws-sdk/client-s3": "^3.
|
|
39
|
-
"@babel/cli": "^7.
|
|
40
|
-
"@babel/core": "^7.
|
|
41
|
-
"@babel/eslint-parser": "^7.
|
|
42
|
-
"@babel/eslint-plugin": "^7.
|
|
43
|
-
"@babel/node": "^7.
|
|
44
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
45
|
-
"@babel/preset-env": "^7.
|
|
46
|
-
"@commitlint/cli": "^
|
|
47
|
-
"@commitlint/config-conventional": "^
|
|
48
|
-
"@commitlint/cz-commitlint": "^
|
|
42
|
+
"@aws-sdk/client-s3": "^3.1090.0",
|
|
43
|
+
"@babel/cli": "^7.29.7",
|
|
44
|
+
"@babel/core": "^7.29.7",
|
|
45
|
+
"@babel/eslint-parser": "^7.29.7",
|
|
46
|
+
"@babel/eslint-plugin": "^7.29.7",
|
|
47
|
+
"@babel/node": "^7.29.7",
|
|
48
|
+
"@babel/plugin-transform-runtime": "^7.29.7",
|
|
49
|
+
"@babel/preset-env": "^7.29.7",
|
|
50
|
+
"@commitlint/cli": "^20.5.3",
|
|
51
|
+
"@commitlint/config-conventional": "^20.5.3",
|
|
52
|
+
"@commitlint/cz-commitlint": "^20.5.3",
|
|
49
53
|
"@wppconnect/frontend": "^1.0.3",
|
|
50
|
-
"commitizen": "^4.3.
|
|
51
|
-
"conventional-changelog-cli": "^
|
|
52
|
-
"cross-env": "^
|
|
54
|
+
"commitizen": "^4.3.2",
|
|
55
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
56
|
+
"cross-env": "^10.1.0",
|
|
53
57
|
"crypto-js": "^4.2.0",
|
|
54
|
-
"eslint": "^8.57.
|
|
55
|
-
"eslint-config-prettier": "^
|
|
56
|
-
"eslint-plugin-prettier": "^4.2.
|
|
57
|
-
"husky": "^
|
|
58
|
+
"eslint": "^8.57.1",
|
|
59
|
+
"eslint-config-prettier": "^10.1.8",
|
|
60
|
+
"eslint-plugin-prettier": "^4.2.5",
|
|
61
|
+
"husky": "^9.1.7",
|
|
58
62
|
"license-check-and-add": "^4.0.5",
|
|
59
|
-
"mongoose": "^
|
|
60
|
-
"nodemon": "^3.
|
|
63
|
+
"mongoose": "^9.7.4",
|
|
64
|
+
"nodemon": "^3.1.14",
|
|
61
65
|
"prettier": "^2.8.8",
|
|
62
66
|
"pretty-quick": "^3.3.1",
|
|
63
|
-
"redis": "^
|
|
64
|
-
"release-it": "^17.0
|
|
65
|
-
"rimraf": "^5.0.
|
|
67
|
+
"redis": "^5.12.1",
|
|
68
|
+
"release-it": "^17.11.0",
|
|
69
|
+
"rimraf": "^5.0.10",
|
|
70
|
+
"sharp": "0.35.3"
|
|
66
71
|
},
|
|
67
72
|
"peerDependencies": {
|
|
68
|
-
"
|
|
73
|
+
"@img/sharp-win32-x64": "^0.35.3",
|
|
74
|
+
"aws-sdk": "^2.1693.0",
|
|
69
75
|
"crypto-js": "^4.2.0",
|
|
70
|
-
"mongoose": "^
|
|
71
|
-
"redis": "^
|
|
72
|
-
}
|
|
76
|
+
"mongoose": "^9.7.4",
|
|
77
|
+
"redis": "^5.12.1"
|
|
78
|
+
},
|
|
79
|
+
"resolutions": {
|
|
80
|
+
"@conventional-changelog/git-client": "2.7.0",
|
|
81
|
+
"@octokit/plugin-paginate-rest": "11.6.0",
|
|
82
|
+
"@commitlint/**/ajv": "8.18.0",
|
|
83
|
+
"commitizen/**/ajv": "8.18.0",
|
|
84
|
+
"eslint/**/ajv": "6.14.0",
|
|
85
|
+
"basic-ftp": "5.3.1",
|
|
86
|
+
"fast-xml-parser": "5.7.0",
|
|
87
|
+
"flatted": "3.4.2",
|
|
88
|
+
"handlebars": "4.7.9",
|
|
89
|
+
"@wppconnect/server/**/body-parser": "1.20.6",
|
|
90
|
+
"@wppconnect/server/**/brace-expansion": "1.1.18",
|
|
91
|
+
"@wppconnect/server/**/engine.io": "6.6.9",
|
|
92
|
+
"@wppconnect/server/**/form-data": "4.0.6",
|
|
93
|
+
"@wppconnect/server/**/multer": "2.2.0",
|
|
94
|
+
"@wppconnect/server/**/path-to-regexp": "0.1.13",
|
|
95
|
+
"@wppconnect/server/**/qs": "6.15.2",
|
|
96
|
+
"@wppconnect/server/**/tmp": "0.2.7",
|
|
97
|
+
"@wppconnect/server/**/ws": "8.21.3",
|
|
98
|
+
"**/package-json/got": "11.8.6",
|
|
99
|
+
"**/sharp": "0.35.3",
|
|
100
|
+
"@wppconnect-team/wppconnect/**/ws": "8.21.3",
|
|
101
|
+
"@types/minimatch/**/minimatch": "10.2.5",
|
|
102
|
+
"archiver-utils/**/minimatch": "9.0.7",
|
|
103
|
+
"nodemon/**/brace-expansion": "5.0.9",
|
|
104
|
+
"nodemon/**/minimatch": "10.2.5",
|
|
105
|
+
"pretty-quick/**/picomatch": "3.0.2",
|
|
106
|
+
"readdir-glob/**/minimatch": "5.1.8",
|
|
107
|
+
"rimraf/**/minimatch": "9.0.7",
|
|
108
|
+
"**/lodash": "4.18.1",
|
|
109
|
+
"tar": "7.5.22",
|
|
110
|
+
"tmp": "0.2.7"
|
|
111
|
+
},
|
|
112
|
+
"packageManager": "yarn@1.22.22"
|
|
73
113
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ignore": [
|
|
3
|
-
".github",
|
|
4
|
-
".husky",
|
|
5
|
-
"**/.*",
|
|
6
|
-
"**/*.http",
|
|
7
|
-
"**/*.lock",
|
|
8
|
-
"**/*.md",
|
|
9
|
-
"api-docs",
|
|
10
|
-
"log",
|
|
11
|
-
"tokens",
|
|
12
|
-
"WhatsAppImages"
|
|
13
|
-
],
|
|
14
|
-
"license": "LICENSE.header",
|
|
15
|
-
"licenseFormats": {
|
|
16
|
-
"js|ts": {
|
|
17
|
-
"prepend": "/*",
|
|
18
|
-
"append": " */",
|
|
19
|
-
"eachLine": {
|
|
20
|
-
"prepend": " * "
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"dotfile": {
|
|
24
|
-
"eachLine": {
|
|
25
|
-
"prepend": "# "
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"trailingWhitespace": "TRIM"
|
|
30
|
-
}
|