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

@line/bot-sdk

Package Overview
Dependencies
Maintainers
4
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@line/bot-sdk - npm Package Compare versions

Comparing version 6.5.0 to 6.6.0

15

CHANGELOG.md

@@ -0,1 +1,16 @@

## 6.6.0 (4 Mar 2019)
### Feature
* Add DeviceLinkEvent / DeviceUnlinkEvent (#123)
### Type
* Fix FlexSpacer to have optional 'size' property (#122)
### Misc
* Run `npm audit fix` to fix minor dependency vulnerability.
## 6.5.0 (16 Feb 2019)

@@ -2,0 +17,0 @@

32

dist/types.d.ts

@@ -37,3 +37,3 @@ export interface Config {

*/
export declare type WebhookEvent = MessageEvent | FollowEvent | UnfollowEvent | JoinEvent | LeaveEvent | MemberJoinEvent | MemberLeaveEvent | PostbackEvent | BeaconEvent | AccountLinkEvent;
export declare type WebhookEvent = MessageEvent | FollowEvent | UnfollowEvent | JoinEvent | LeaveEvent | MemberJoinEvent | MemberLeaveEvent | PostbackEvent | BeaconEvent | AccountLinkEvent | DeviceLinkEvent | DeviceUnlinkEvent;
export declare type EventBase = {

@@ -196,2 +196,30 @@ /**

};
/**
* Indicates that a LINE Things-compatible device has been linked with LINE by a user operation.
* For more information, see [Receiving device link events via webhook](https://developers.line.biz/en/docs/line-things/develop-bot/#link-event).
*/
export declare type DeviceLinkEvent = ReplyableEvent & {
type: "things";
things: {
/**
* Device ID of the LINE Things-compatible device that was linked with LINE
*/
deviceId: string;
type: "link";
};
};
/**
* Indicates that a LINE Things-compatible device has been unlinked from LINE by a user operation.
* For more information, see [Receiving device unlink events via webhook](https://developers.line.biz/en/docs/line-things/develop-bot/#unlink-event).
*/
export declare type DeviceUnlinkEvent = ReplyableEvent & {
type: "things";
things: {
/**
* Device ID of the LINE Things-compatible device that was unlinked with LINE
*/
deviceId: string;
type: "unlink";
};
};
export declare type EventMessage = TextEventMessage | ImageEventMessage | VideoEventMessage | AudioEventMessage | LocationEventMessage | FileEventMessage | StickerEventMessage;

@@ -983,3 +1011,3 @@ export declare type EventMessageBase = {

*/
size: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
};

@@ -986,0 +1014,0 @@ export declare type FlexText = {

@@ -53,3 +53,5 @@ export interface Config {

| BeaconEvent
| AccountLinkEvent;
| AccountLinkEvent
| DeviceLinkEvent
| DeviceUnlinkEvent;

@@ -215,2 +217,32 @@ export type EventBase = {

/**
* Indicates that a LINE Things-compatible device has been linked with LINE by a user operation.
* For more information, see [Receiving device link events via webhook](https://developers.line.biz/en/docs/line-things/develop-bot/#link-event).
*/
export type DeviceLinkEvent = ReplyableEvent & {
type: "things";
things: {
/**
* Device ID of the LINE Things-compatible device that was linked with LINE
*/
deviceId: string;
type: "link";
};
};
/**
* Indicates that a LINE Things-compatible device has been unlinked from LINE by a user operation.
* For more information, see [Receiving device unlink events via webhook](https://developers.line.biz/en/docs/line-things/develop-bot/#unlink-event).
*/
export type DeviceUnlinkEvent = ReplyableEvent & {
type: "things";
things: {
/**
* Device ID of the LINE Things-compatible device that was unlinked with LINE
*/
deviceId: string;
type: "unlink";
};
};
export type EventMessage =

@@ -1098,3 +1130,3 @@ | TextEventMessage

*/
size: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
};

@@ -1101,0 +1133,0 @@

4

package.json
{
"name": "@line/bot-sdk",
"version": "6.5.0",
"version": "6.6.0",
"description": "Node.js SDK for LINE Messaging API",

@@ -58,3 +58,3 @@ "engines": {

"typescript": "^3.1.6",
"vuepress": "^0.14.8"
"vuepress": "^0.14.10"
},

@@ -61,0 +61,0 @@ "nyc": {

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