messagebird
Advanced tools
Comparing version 3.7.2 to 3.8.0
@@ -8,3 +8,2 @@ const messagebird = require('messagebird')('<YOUR_ACCESS_KEY>'); | ||
callFlow: { | ||
title: 'Say message', | ||
steps: [ | ||
@@ -11,0 +10,0 @@ { |
@@ -1,2 +0,2 @@ | ||
const { jwtVerify, JWTVerifyOptions } = require('jose/jwt/verify'); | ||
const { jwtVerify, JWTVerifyOptions } = require('jose'); | ||
const { createSecretKey, createHash, KeyObject } = require('crypto'); | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "messagebird", | ||
"version": "3.7.2", | ||
"version": "3.8.0", | ||
"description": "A node.js wrapper for the MessageBird REST API", | ||
@@ -34,3 +34,3 @@ "main": "lib/messagebird.js", | ||
"dependencies": { | ||
"jose": "^3.14", | ||
"jose": "^4.8.0", | ||
"safe-buffer": "^5.2.1", | ||
@@ -40,6 +40,6 @@ "scmp": "^2.1.0" | ||
"devDependencies": { | ||
"dtslint": "^4.0.9", | ||
"nock": "^11.3.2", | ||
"typescript": "^4.2.4" | ||
"dtslint": "^3.4.2", | ||
"nock": "^13.2.4", | ||
"typescript": "^4.6.4" | ||
} | ||
} |
MessageBird REST API for Node.js | ||
================================ | ||
[![Build Status](https://travis-ci.org/messagebird/messagebird-nodejs.svg?branch=master)](https://travis-ci.org/messagebird/messagebird-nodejs) | ||
This repository contains the open source Node.js client for MessageBird's REST API. | ||
@@ -158,2 +156,2 @@ Documentation can be found at: [https://developers.messagebird.com](https://developers.messagebird.com) | ||
The MessageBird REST API for Node.js is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2014, MessageBird | ||
The MessageBird REST API for Node.js is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2022, MessageBird |
@@ -8,3 +8,3 @@ import { datetime } from './general'; | ||
id: string; | ||
title: string; | ||
title?: string; | ||
/** Says whether a full call recording is enabled on this call flow, the default value for this attribute is false. */ | ||
@@ -11,0 +11,0 @@ record: boolean; |
@@ -50,3 +50,3 @@ import { datetime } from './general'; | ||
/** The title of the call flow. */ | ||
title: string; | ||
title?: string; | ||
/** Says whether a full call recording is enabled on this call flow, the default value for this attribute is false. */ | ||
@@ -53,0 +53,0 @@ record?: boolean; |
@@ -225,3 +225,4 @@ import { datetime } from './general'; | ||
export type HSMComponentParameter = HSMComponentTextParameter | HSMComponentCurrencyParameter | HSMComponentDateTimeParameter | HSMComponentDocumentParameter | HSMComponentImageParameter; | ||
export type HSMComponentParameter = HSMComponentTextParameter | HSMComponentCurrencyParameter | HSMComponentDateTimeParameter | HSMComponentDocumentParameter | | ||
HSMComponentImageParameter | HSMComponentVideoParameter | HSMComponentPayloadParameter; | ||
@@ -265,2 +266,12 @@ export interface HSMComponentTextParameter { | ||
export interface HSMComponentVideoParameter { | ||
type: 'video'; | ||
video: Media; | ||
} | ||
export interface HSMComponentPayloadParameter { | ||
type: 'payload'; | ||
payload: string; | ||
} | ||
export interface HSMLanguage { | ||
@@ -267,0 +278,0 @@ /** |
@@ -6,3 +6,2 @@ import messagebird from 'messagebird'; | ||
mbClient.callflows.create({ | ||
title: 'cf#1', | ||
steps: [ | ||
@@ -9,0 +8,0 @@ { |
@@ -9,3 +9,2 @@ import messagebird from 'messagebird'; | ||
callFlow: { | ||
title: 'Say message', | ||
steps: [ | ||
@@ -12,0 +11,0 @@ { |
@@ -12,3 +12,2 @@ { | ||
"strictBindCallApply": true, | ||
"strictPropertyInitialization": true, | ||
"alwaysStrict": true, | ||
@@ -15,0 +14,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237341
6625
157
+ Addedjose@4.15.9(transitive)
- Removedjose@3.20.4(transitive)
Updatedjose@^4.8.0