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

@types/twit

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/twit - npm Package Compare versions

Comparing version 2.2.30 to 2.2.31

43

twit/index.d.ts

@@ -267,2 +267,44 @@ // Type definitions for twit 2.2

}
interface QuickReplyOption {
label: string;
description?: string;
metadata?: string;
}
interface QuickReply {
type: 'options';
options: QuickReplyOption[];
}
interface Attachement {
type: 'location' | 'media';
location?: {
type: 'shared_coordinate',
shared_coordinate: {
coordinates: {
type: 'Point',
coordinates: number[]
}
}
};
media?: {
id: string
};
}
interface MessageCreateEvent {
type: 'message_create';
message_create: {
target: {
recipient_id: string;
},
message_data: {
text: string;
quick_reply?: QuickReply;
attachment?: Attachement;
}
};
}
interface Params {

@@ -328,2 +370,3 @@ // search/tweets

card_uri?: string | undefined;
event?: MessageCreateEvent;
}

@@ -330,0 +373,0 @@ export interface PromiseResponse {

6

twit/package.json
{
"name": "@types/twit",
"version": "2.2.30",
"version": "2.2.31",
"description": "TypeScript definitions for twit",

@@ -61,4 +61,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/twit",

},
"typesPublisherContentHash": "726c30bbfe2e640bc178a90d9f76166ae64bc9d898c4726d523097b4cd604086",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "1d3d66e7e194c3e5aa343a3256e7cbd503dd623ed240f5e2cbf337711460be75",
"typeScriptVersion": "4.1"
}

@@ -11,4 +11,4 @@ # Installation

### Additional Details
* Last updated: Fri, 02 Jul 2021 19:37:26 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/geojson](https://npmjs.com/package/@types/geojson)
* Last updated: Sat, 15 Oct 2022 19:02:57 GMT
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none

@@ -15,0 +15,0 @@

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