Update dependencies

This commit is contained in:
Darren Clarke 2023-07-05 06:56:01 +00:00 committed by GitHub
parent d404901583
commit 9b05288b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 83 additions and 84 deletions

View file

@ -17,19 +17,19 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/playfair-display": "^5.0.3",
"@fontsource/poppins": "^5.0.3",
"@fontsource/roboto": "^5.0.3",
"@fontsource/playfair-display": "^5.0.4",
"@fontsource/poppins": "^5.0.4",
"@fontsource/roboto": "^5.0.4",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.134",
"@mui/lab": "^5.0.0-alpha.135",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^6.9.0",
"@mui/x-date-pickers-pro": "^6.9.0",
"@mui/x-data-grid-pro": "^6.9.1",
"@mui/x-date-pickers-pro": "^6.9.1",
"@opensearch-project/opensearch": "^2.0.0",
"date-fns": "^2.30.0",
"http-proxy-middleware": "^2.0.6",
"material-ui-popup-state": "^5.0.9",
"next": "13.4.7",
"next": "13.4.8",
"next-auth": "^4.22.1",
"next-http-proxy-middleware": "^1.2.5",
"nodemailer": "^6.9.3",
@ -46,19 +46,19 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@types/node": "^20.3.1",
"@babel/core": "^7.22.6",
"@types/node": "^20.3.3",
"@types/react": "18.2.14",
"@types/uuid": "^9.0.2",
"babel-loader": "^9.1.2",
"eslint": "^8.43.0",
"eslint": "^8.44.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.4.7",
"eslint-config-next": "^13.4.8",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"typescript": "5.1.3"
"typescript": "5.1.6"
}
}

View file

@ -15,18 +15,18 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/playfair-display": "^5.0.3",
"@fontsource/poppins": "^5.0.3",
"@fontsource/roboto": "^5.0.3",
"@fontsource/playfair-display": "^5.0.4",
"@fontsource/poppins": "^5.0.4",
"@fontsource/roboto": "^5.0.4",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.134",
"@mui/lab": "^5.0.0-alpha.135",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^6.9.0",
"@mui/x-date-pickers-pro": "^6.9.0",
"@mui/x-data-grid-pro": "^6.9.1",
"@mui/x-date-pickers-pro": "^6.9.1",
"date-fns": "^2.30.0",
"graphql-request": "^6.1.0",
"material-ui-popup-state": "^5.0.9",
"next": "13.4.7",
"next": "13.4.8",
"next-auth": "^4.22.1",
"react": "18.2.0",
"react-cookie": "^4.1.1",
@ -38,19 +38,19 @@
"tss-react": "^4.8.6"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@types/node": "^20.3.1",
"@babel/core": "^7.22.6",
"@types/node": "^20.3.3",
"@types/react": "18.2.14",
"@types/uuid": "^9.0.2",
"babel-loader": "^9.1.2",
"eslint": "^8.43.0",
"eslint": "^8.44.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.4.7",
"eslint-config-next": "^13.4.8",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"typescript": "5.1.3"
"typescript": "5.1.6"
}
}

View file

@ -6,7 +6,6 @@
"author": "Abel Luck <abel@guardianproject.info>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@adiwajshing/baileys": "5.0.0",
"@adiwajshing/keyed-db": "0.2.4",
"@digiresilience/hapi-nextauth": "*",
"@digiresilience/hapi-pg-promise": "*",
@ -30,20 +29,21 @@
"graphile-worker": "^0.13.0",
"hapi-auth-bearer-token": "^8.0.0",
"hapi-auth-jwt2": "^10.4.0",
"hapi-swagger": "^17.0.0",
"hapi-swagger": "^17.0.1",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"long": "^5.2.3",
"p-memoize": "^7.1.1",
"pg": "^8.11.0",
"pg": "^8.11.1",
"pg-monitor": "^2.0.0",
"pg-promise": "^11.5.0",
"postgraphile": "4.13.0",
"postgraphile": "4.12.3",
"postgraphile-plugin-connection-filter": "^2.3.0",
"remeda": "^1.21.0",
"twilio": "^4.12.0",
"typeorm": "^0.3.17"
"remeda": "^1.23.0",
"twilio": "^4.13.0",
"typeorm": "^0.3.17",
"@whiskeysockets/baileys": "^6.3.0"
},
"devDependencies": {
"@types/long": "^4.0.2",
@ -54,12 +54,12 @@
"jest-config-link": "*",
"nodemon": "^2.0.22",
"pg-monitor": "^2.0.0",
"pino-pretty": "^10.0.0",
"pino-pretty": "^10.0.1",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"tsconfig-link": "*",
"typedoc": "^0.24.8",
"typescript": "^5.1.3"
"typescript": "^5.1.6"
},
"nodemonConfig": {
"ignore": [

View file

@ -11,17 +11,16 @@ import makeWASocket, {
fetchLatestBaileysVersion,
isJidBroadcast,
isJidStatusBroadcast,
MessageRetryMap,
useMultiFileAuthState,
} from "@adiwajshing/baileys";
} from "@whiskeysockets/baileys";
import fs from "fs";
import workerUtils from "../../worker-utils.js";
export type AuthCompleteCallback = (error?: string) => void;
export default class WhatsappService extends Service {
connections: { [key: string]: any } = {};
loginConnections: { [key: string]: any } = {};
connections: { [key: string]: any; } = {};
loginConnections: { [key: string]: any; } = {};
static browserDescription: [string, string, string] = [
"Metamigo",
@ -69,7 +68,7 @@ export default class WhatsappService extends Service {
) {
const directory = this.getAuthDirectory(bot);
const { state, saveCreds } = await useMultiFileAuthState(directory);
const msgRetryCounterMap: MessageRetryMap = {};
const msgRetryCounterMap: any = {};
const socket = makeWASocket({
...options,
auth: state,

View file

@ -24,13 +24,13 @@
},
"devDependencies": {
"@types/jest": "^29.5.2",
"pino-pretty": "^10.0.0",
"pino-pretty": "^10.0.1",
"nodemon": "^2.0.22",
"tsconfig-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*",
"typescript": "^5.1.3"
"typescript": "^5.1.6"
},
"scripts": {
"migrate": "NODE_ENV=development node --unhandled-rejections=strict build/main/index.js db -- migrate",

View file

@ -14,15 +14,15 @@
"http-proxy-middleware": "^2.0.6",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"next": "13.4.7",
"next": "13.4.8",
"next-auth": "4.22.1",
"ra-data-graphql": "^4.11.3",
"ra-i18n-polyglot": "^4.11.4",
"ra-input-rich-text": "^4.11.4",
"ra-language-english": "^4.11.4",
"ra-data-graphql": "^4.12.0",
"ra-i18n-polyglot": "^4.12.0",
"ra-input-rich-text": "^4.12.0",
"ra-language-english": "^4.12.0",
"ra-postgraphile": "^6.1.1",
"react": "18.2.0",
"react-admin": "^4.11.4",
"react-admin": "^4.12.0",
"react-digit-input": "^2.1.0",
"react-dom": "18.2.0",
"react-qr-code": "^2.0.11",
@ -41,7 +41,7 @@
"fmt": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\" --write"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.4.7",
"@next/eslint-plugin-next": "^13.4.8",
"@types/hapi__wreck": "17.0.1",
"@types/react": "18.2.14",
"@types/react-mic": "12.4.3",
@ -49,7 +49,7 @@
"eslint-config-link": "*",
"jest-config-link": "*",
"tsconfig-link": "*",
"typescript": "5.1.3"
"typescript": "5.1.6"
},
"overrides": {
"@mui/styles": {

View file

@ -7,31 +7,31 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"graphile-worker": "^0.13.0",
"remeda": "^1.21.0",
"remeda": "^1.23.0",
"html-to-text": "^9.0.5",
"node-fetch": "^3",
"twilio": "^4.12.0",
"twilio": "^4.13.0",
"@digiresilience/montar": "*",
"@digiresilience/metamigo-common": "*",
"@digiresilience/metamigo-config": "*",
"@digiresilience/metamigo-db": "*"
},
"devDependencies": {
"@babel/core": "7.22.5",
"@babel/preset-env": "7.22.5",
"@babel/core": "7.22.6",
"@babel/preset-env": "7.22.6",
"@babel/preset-typescript": "7.22.5",
"@types/fluent-ffmpeg": "^2.1.21",
"@types/jest": "^29.5.2",
"eslint": "^8.43.0",
"jest": "^29.5.0",
"jest-circus": "^29.5.0",
"eslint": "^8.44.0",
"jest": "^29.6.0",
"jest-circus": "^29.6.0",
"jest-junit": "^16.0.0",
"nodemon": "^2.0.22",
"pino-pretty": "^10.0.0",
"pino-pretty": "^10.0.1",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.3"
"typescript": "^5.1.6"
},
"nodemonConfig": {
"ignore": [