@builderbot/cli 1.4.0 → 1.4.1

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.
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword(['samples', utils.setEvent('SAMPLES')])
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
 
68
71
  const adapterDB = new Database({ filename: 'db.json' })
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword(['samples', utils.setEvent('SAMPLES')])
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database()
68
71
 
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword(['samples', utils.setEvent('SAMPLES')])
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  dbUri: process.env.MONGO_DB_URI,
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword(['samples', utils.setEvent('SAMPLES')])
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  host: process.env.MYSQL_DB_HOST,
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword(['samples', utils.setEvent('SAMPLES')])
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  host: process.env.POSTGRES_DB_HOST,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
 
68
68
  const adapterDB = new Database({ filename: 'db.json' })
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database()
68
68
 
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  dbUri: process.env.MONGO_DB_URI,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  host: process.env.MYSQL_DB_HOST,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  host: process.env.POSTGRES_DB_HOST,
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword<Provider, Database>(['samples', utils.setEven
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
 
68
71
  const adapterDB = new Database({ filename: 'db.json' })
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword<Provider, Database>(['samples', utils.setEven
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database()
68
71
 
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword<Provider, Database>(['samples', utils.setEven
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  dbUri: process.env.MONGO_DB_URI,
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword<Provider, Database>(['samples', utils.setEven
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  host: process.env.MYSQL_DB_HOST,
@@ -61,8 +61,11 @@ const fullSamplesFlow = addKeyword<Provider, Database>(['samples', utils.setEven
61
61
  const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
+ // If you experience ERRO AUTH issues, check the latest WhatsApp version at:
65
+ // https://wppconnect.io/whatsapp-versions/
66
+ // Example: version "2.3000.1035824857-alpha" -> [2, 3000, 1035824857]
64
67
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] }
68
+ { version: [2, 3000, 1035824857] }
66
69
  )
67
70
  const adapterDB = new Database({
68
71
  host: process.env.POSTGRES_DB_HOST,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
 
68
68
  const adapterDB = new Database({ filename: 'db.json' })
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database()
68
68
 
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  dbUri: process.env.MONGO_DB_URI,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  host: process.env.MYSQL_DB_HOST,
@@ -62,7 +62,7 @@ const main = async () => {
62
62
  const adapterFlow = createFlow([welcomeFlow, registerFlow, fullSamplesFlow])
63
63
 
64
64
  const adapterProvider = createProvider(Provider,
65
- { version: [2, 3000, 1027934701] as any }
65
+ { version: [2, 3000, 1034028152] as any }
66
66
  )
67
67
  const adapterDB = new Database({
68
68
  host: process.env.POSTGRES_DB_HOST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builderbot/cli",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "types": "dist/index.d.ts",
@@ -41,5 +41,5 @@
41
41
  "type": "git",
42
42
  "url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/cli"
43
43
  },
44
- "gitHead": "219d5d17d93a0b98656659f9c31355e8fb07318c"
44
+ "gitHead": "f0a2e91d3f47339090483865d6c23a5875284b96"
45
45
  }