telnyx 1.26.1 → 1.26.2

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ##
4
4
 
5
+ ### v1.26.2
6
+ - Fix Brand and Campaign redirects
7
+ - Update security
8
+
5
9
  ### v1.26.1
6
10
  - Fix porting comments
7
11
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.1
1
+ 1.26.2
@@ -4,8 +4,9 @@ const TelnyxResource = require('../TelnyxResource');
4
4
  const telnyxMethod = TelnyxResource.method;
5
5
 
6
6
  module.exports = TelnyxResource.extend({
7
- path: 'brands',
8
- includeBasic: ['list','retrieve','update','delete'],
7
+ path: 'brand',
8
+ basePath: '/10dlc/',
9
+ includeBasic: ['create', 'list','retrieve','update','delete'],
9
10
 
10
11
  ListExternalVettings: telnyxMethod({
11
12
  method: 'GET',
@@ -26,6 +26,7 @@ function transformResponseData(response, telnyx) {
26
26
 
27
27
  module.exports = TelnyxResource.extend({
28
28
  path: '/campaignBuilder',
29
+ basePath: '/10dlc/',
29
30
  create: telnyxMethod({
30
31
  method: 'POST',
31
32
  transformResponseData: transformResponseData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telnyx",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
4
4
  "description": "Telnyx API Node SDK",
5
5
  "keywords": [
6
6
  "telnyx",
@@ -37,8 +37,7 @@
37
37
  "eslint-plugin-chai-friendly": "^0.7.4",
38
38
  "mocha": "^10.3.0",
39
39
  "nock": "^13.5.4",
40
- "nyc": "^15.1.0",
41
- "ts-migrate": "^0.1.35"
40
+ "nyc": "^15.1.0"
42
41
  },
43
42
  "dependencies": {
44
43
  "lodash.isplainobject": "^4.0.6",