Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brighthustle/adonisjs-whatsapp

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brighthustle/adonisjs-whatsapp - npm Package Compare versions

Comparing version 1.0.5-10 to 1.0.5-11

1

build/index.d.ts

@@ -6,2 +6,1 @@ import './src/types/extended.js';

export { default as whatsapp } from './src/whatsapp.js';
export { BaseWhatsapp } from './src/base_whatsapp.js';

@@ -14,2 +14,1 @@ /*

export { default as whatsapp } from './src/whatsapp.js';
export { BaseWhatsapp } from './src/base_whatsapp.js';

4

build/services/main.d.ts

@@ -1,3 +0,3 @@

import Whatsapp from '../src/whatsapp.js';
declare let whatsapp: Whatsapp;
import { WhatsappService } from '../src/types/main.js';
declare let whatsapp: WhatsappService;
export { whatsapp as default };

@@ -1,25 +0,6 @@

import Whatsapp from '../whatsapp.js';
import { WhatsAppMessageContract, WhatsAppStatusContract } from './main.js';
import { WhatsappService } from './main.js';
declare module '@adonisjs/core/types' {
interface ContainerBindings {
whatsapp: Whatsapp;
whatsapp: WhatsappService;
}
interface EventsList {
'wa:message:text': WhatsAppMessageContract;
'wa:message:image': WhatsAppMessageContract;
'wa:message:document': WhatsAppMessageContract;
'wa:message:audio': WhatsAppMessageContract;
'wa:message:video': WhatsAppMessageContract;
'wa:message:sticker': WhatsAppMessageContract;
'wa:message:location': WhatsAppMessageContract;
'wa:message:contacts': WhatsAppMessageContract;
'wa:message:button': WhatsAppMessageContract;
'wa:message:list': WhatsAppMessageContract;
'wa:message:*': WhatsAppMessageContract;
'wa:status:sent': WhatsAppStatusContract;
'wa:status:delivered': WhatsAppStatusContract;
'wa:status:read': WhatsAppStatusContract;
'wa:status:*': WhatsAppStatusContract;
'wa:*': WhatsAppMessageContract | WhatsAppStatusContract;
}
}

@@ -199,4 +199,2 @@ import Whatsapp from '../whatsapp.js';

}
export interface WhatsappService extends Whatsapp {
}
export interface WhatsAppConfig {

@@ -212,1 +210,25 @@ webhookRoute: string;

}
export type EventsList = {
'wa:message:text': WhatsAppMessageContract;
'wa:message:image': WhatsAppMessageContract;
'wa:message:document': WhatsAppMessageContract;
'wa:message:audio': WhatsAppMessageContract;
'wa:message:video': WhatsAppMessageContract;
'wa:message:sticker': WhatsAppMessageContract;
'wa:message:location': WhatsAppMessageContract;
'wa:message:contacts': WhatsAppMessageContract;
'wa:message:button': WhatsAppMessageContract;
'wa:message:list': WhatsAppMessageContract;
'wa:message:*': WhatsAppMessageContract;
'wa:status:sent': WhatsAppStatusContract;
'wa:status:delivered': WhatsAppStatusContract;
'wa:status:read': WhatsAppStatusContract;
'wa:status:*': WhatsAppStatusContract;
'wa:*': WhatsAppMessageContract | WhatsAppStatusContract;
};
/**
* Redis service is a singleton redis instance registered
* with the container based upon user defined config
*/
export interface WhatsappService extends Whatsapp<WhatsAppConfig> {
}

@@ -1,2 +0,2 @@

import { ButtonsOptions, ComponentOptions, ContactOptions, CoordinateOptions, DocumentOptions, DownloadOptions, GetMessageTemplatesQueryParams, InteractiveOptions, LocationOptions, MediaOptions, SectionOptions, TemplateCategory, TemplateComponent, TextOptions, WhatsAppConfig, WhatsAppResultContract, WhatsAppTemplateResultContract } from './types/main.js';
import { ButtonsOptions, ComponentOptions, ContactOptions, CoordinateOptions, DocumentOptions, DownloadOptions, GetMessageTemplatesQueryParams, InteractiveOptions, LocationOptions, MediaOptions, SectionOptions, TemplateCategory, TemplateComponent, TextOptions, WhatsAppResultContract, WhatsAppTemplateResultContract } from './types/main.js';
import { Emitter } from '@adonisjs/core/events';

@@ -13,3 +13,3 @@ export type WhatsAppResult = {

};
declare class Whatsapp {
declare class Whatsapp<WhatsAppConfig> {
#private;

@@ -16,0 +16,0 @@ emitter: Emitter<any>;

{
"name": "@brighthustle/adonisjs-whatsapp",
"description": "Connect your WhatsApp Cloud API with AdonisJS",
"version": "1.0.5-10",
"version": "1.0.5-11",
"main": "build/index.js",

@@ -6,0 +6,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc