Skip to content

Commit 0601cf4

Browse files
committed
chore(twilio-run): updates to the latest ngrok version
1 parent f715070 commit 0601cf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/twilio-run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"yargs": "^13.2.2"
7878
},
7979
"optionalDependencies": {
80-
"ngrok": "^3.3.0"
80+
"ngrok": "^4.0.1"
8181
},
8282
"devDependencies": {
8383
"@types/cheerio": "^0.22.12",

packages/twilio-run/src/config/start.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { fileExists } from '../utils/fs';
1313
import { getDebugFunction, logger } from '../utils/logger';
1414
import { readSpecializedConfig } from './global';
1515
import { mergeFlagsAndConfig } from './utils/mergeFlagsAndConfig';
16-
import { INgrokOptions } from 'ngrok';
16+
import { Ngrok } from 'ngrok';
1717
import { parse } from 'yaml';
1818

1919
const debug = getDebugFunction('twilio-run:cli:config');
@@ -71,7 +71,7 @@ export async function getUrl(cli: StartCliFlags, port: string | number) {
7171
debug('Starting ngrok tunnel');
7272
// Setup default ngrok config, setting the protocol and the port number to
7373
// forward to.
74-
const defaultConfig: INgrokOptions = { addr: port, proto: 'http' };
74+
const defaultConfig: Ngrok.Options = { addr: port, proto: 'http' };
7575
let tunnelConfig = defaultConfig;
7676
let ngrokConfig;
7777
if (typeof cli.ngrokConfig === 'string') {

0 commit comments

Comments
 (0)