@ngrok/ngrok 0.3.0 → 0.4.1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/Cargo.toml +1 -1
  3. package/README.md +1 -1
  4. package/docs/assets/main.js +1 -1
  5. package/docs/assets/search.js +1 -1
  6. package/docs/assets/style.css +6 -4
  7. package/docs/classes/NgrokHttpTunnelBuilder.html +40 -43
  8. package/docs/classes/NgrokLabeledTunnelBuilder.html +23 -26
  9. package/docs/classes/NgrokSession.html +24 -27
  10. package/docs/classes/NgrokSessionBuilder.html +32 -35
  11. package/docs/classes/NgrokTcpTunnelBuilder.html +27 -30
  12. package/docs/classes/NgrokTlsTunnelBuilder.html +29 -32
  13. package/docs/classes/{NgrokTcpTunnel.html → NgrokTunnel.html} +54 -47
  14. package/docs/classes/UpdateRequest.html +20 -23
  15. package/docs/functions/authtoken.html +18 -21
  16. package/docs/functions/connect.html +18 -21
  17. package/docs/functions/consoleLog.html +18 -21
  18. package/docs/functions/disconnect.html +18 -21
  19. package/docs/functions/kill.html +18 -21
  20. package/docs/functions/listen.html +23 -25
  21. package/docs/functions/listenable.html +22 -29
  22. package/docs/functions/loggingCallback.html +18 -21
  23. package/docs/index.html +18 -21
  24. package/docs/interfaces/Config.html +70 -73
  25. package/docs/modules.html +32 -38
  26. package/examples/express/package.json +1 -1
  27. package/examples/fastify/package.json +1 -1
  28. package/examples/hapi/package.json +1 -1
  29. package/examples/koa/package.json +1 -1
  30. package/examples/nestjs/package.json +1 -1
  31. package/examples/nextjs/package.json +1 -1
  32. package/examples/ngrok-http-full.js +4 -2
  33. package/examples/ngrok-listen.js +1 -1
  34. package/examples/ngrok-windows-pipe.js +1 -1
  35. package/examples/package.json +6 -2
  36. package/examples/remix/package.json +1 -1
  37. package/examples/svelte/ngrok.config.cjs +3 -1
  38. package/examples/svelte/package.json +1 -1
  39. package/examples/vue/package.json +1 -1
  40. package/index.d.ts +23 -136
  41. package/index.js +11 -12
  42. package/package.json +16 -15
  43. package/src/session.rs +2 -4
  44. package/src/tunnel.rs +108 -102
  45. package/src/tunnel_builder.rs +3 -2
  46. package/trailer.d.ts +10 -9
  47. package/trailer.js +9 -7
  48. package/typedoc.json +3 -0
  49. package/docs/classes/NgrokHttpTunnel.html +0 -226
  50. package/docs/classes/NgrokLabeledTunnel.html +0 -214
  51. package/docs/classes/NgrokTlsTunnel.html +0 -226
  52. package/examples/nestjs/package-lock.json +0 -12138
package/docs/modules.html CHANGED
@@ -16,6 +16,19 @@
16
16
  <section class="tsd-panel tsd-index-panel">
17
17
  <h3 class="tsd-index-heading uppercase">Index</h3>
18
18
  <section class="tsd-index-section">
19
+ <h3 class="tsd-index-heading">Tunnel and Sessions</h3>
20
+ <div class="tsd-index-list"><a href="classes/NgrokSession.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Ngrok<wbr/>Session</span></a>
21
+ <a href="classes/NgrokSessionBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a>
22
+ <a href="classes/NgrokTunnel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tunnel</span></a>
23
+ </div></section>
24
+ <section class="tsd-index-section">
25
+ <h3 class="tsd-index-heading">Tunnel Builders</h3>
26
+ <div class="tsd-index-list"><a href="classes/NgrokHttpTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel<wbr/>Builder</span></a>
27
+ <a href="classes/NgrokLabeledTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel<wbr/>Builder</span></a>
28
+ <a href="classes/NgrokTcpTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a>
29
+ <a href="classes/NgrokTlsTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a>
30
+ </div></section>
31
+ <section class="tsd-index-section">
19
32
  <h3 class="tsd-index-heading">Functions</h3>
20
33
  <div class="tsd-index-list"><a href="interfaces/Config.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a>
21
34
  <a href="functions/authtoken.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a>
@@ -28,24 +41,8 @@
28
41
  <a href="functions/loggingCallback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a>
29
42
  </div></section>
30
43
  <section class="tsd-index-section">
31
- <h3 class="tsd-index-heading">Sessions</h3>
32
- <div class="tsd-index-list"><a href="classes/NgrokSession.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Ngrok<wbr/>Session</span></a>
33
- <a href="classes/NgrokSessionBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a>
34
- <a href="classes/UpdateRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a>
35
- </div></section>
36
- <section class="tsd-index-section">
37
- <h3 class="tsd-index-heading">Tunnel Builders</h3>
38
- <div class="tsd-index-list"><a href="classes/NgrokHttpTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel<wbr/>Builder</span></a>
39
- <a href="classes/NgrokLabeledTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel<wbr/>Builder</span></a>
40
- <a href="classes/NgrokTcpTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a>
41
- <a href="classes/NgrokTlsTunnelBuilder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a>
42
- </div></section>
43
- <section class="tsd-index-section">
44
- <h3 class="tsd-index-heading">Tunnels</h3>
45
- <div class="tsd-index-list"><a href="classes/NgrokHttpTunnel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel</span></a>
46
- <a href="classes/NgrokLabeledTunnel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel</span></a>
47
- <a href="classes/NgrokTcpTunnel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel</span></a>
48
- <a href="classes/NgrokTlsTunnel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel</span></a>
44
+ <h3 class="tsd-index-heading">Classes</h3>
45
+ <div class="tsd-index-list"><a href="classes/UpdateRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a>
49
46
  </div></section></section></section></div>
50
47
  <div class="col-sidebar">
51
48
  <div class="page-menu">
@@ -66,25 +63,12 @@
66
63
  <nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>@ngrok/ngrok</span></a>
67
64
  <ul class="tsd-small-nested-navigation">
68
65
  <li>
69
- <details class="tsd-index-accordion" data-key="Functions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Functions</span></summary>
70
- <div class="tsd-accordion-details">
71
- <ul class="tsd-nested-navigation">
72
- <li><a href="interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Config</span></a></li>
73
- <li><a href="functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>authtoken</span></a></li>
74
- <li><a href="functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
75
- <li><a href="functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
76
- <li><a href="functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
77
- <li><a href="functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
78
- <li><a href="functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
79
- <li><a href="functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
80
- <li><a href="functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
81
- <li>
82
- <details class="tsd-index-accordion" data-key="Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Sessions</span></summary>
66
+ <details class="tsd-index-accordion" data-key="Tunnel and Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel and Sessions</span></summary>
83
67
  <div class="tsd-accordion-details">
84
68
  <ul class="tsd-nested-navigation">
85
69
  <li><a href="classes/NgrokSession.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session</span></a></li>
86
70
  <li><a href="classes/NgrokSessionBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a></li>
87
- <li><a href="classes/UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li>
71
+ <li><a href="classes/NgrokTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tunnel</span></a></li></ul></div></details></li>
88
72
  <li>
89
73
  <details class="tsd-index-accordion" data-key="Tunnel Builders"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel Builders</span></summary>
90
74
  <div class="tsd-accordion-details">
@@ -94,13 +78,23 @@
94
78
  <li><a href="classes/NgrokTcpTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a></li>
95
79
  <li><a href="classes/NgrokTlsTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a></li></ul></div></details></li>
96
80
  <li>
97
- <details class="tsd-index-accordion" data-key="Tunnels"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnels</span></summary>
81
+ <details class="tsd-index-accordion" data-key="Functions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Functions</span></summary>
82
+ <div class="tsd-accordion-details">
83
+ <ul class="tsd-nested-navigation">
84
+ <li><a href="interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Config</span></a></li>
85
+ <li><a href="functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>authtoken</span></a></li>
86
+ <li><a href="functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
87
+ <li><a href="functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
88
+ <li><a href="functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
89
+ <li><a href="functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
90
+ <li><a href="functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
91
+ <li><a href="functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
92
+ <li><a href="functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
93
+ <li>
94
+ <details class="tsd-index-accordion" data-key="Classes"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Classes</span></summary>
98
95
  <div class="tsd-accordion-details">
99
96
  <ul class="tsd-nested-navigation">
100
- <li><a href="classes/NgrokHttpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel</span></a></li>
101
- <li><a href="classes/NgrokLabeledTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel</span></a></li>
102
- <li><a href="classes/NgrokTcpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel</span></a></li>
103
- <li><a href="classes/NgrokTlsTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel</span></a></li></ul></div></details></li></ul></nav></div></div></div>
97
+ <li><a href="classes/UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li></ul></nav></div></div></div>
104
98
  <div class="tsd-generator">
105
99
  <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
106
100
  <div class="overlay"></div></body></html>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "express": "^4.18.2"
5
5
  },
6
6
  "packageManager": "yarn@3.3.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "fastify": "4.15.0"
5
5
  },
6
6
  "packageManager": "yarn@3.3.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "@hapi/hapi": "21.3.1"
5
5
  },
6
6
  "packageManager": "yarn@3.3.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "koa": "2.14.2"
5
5
  },
6
6
  "packageManager": "yarn@3.3.1"
@@ -23,7 +23,7 @@
23
23
  "@nestjs/common": "^9.0.0",
24
24
  "@nestjs/core": "^9.0.0",
25
25
  "@nestjs/platform-express": "^9.0.0",
26
- "@ngrok/ngrok": "^0.2.0",
26
+ "@ngrok/ngrok": "^0.*",
27
27
  "reflect-metadata": "^0.1.13",
28
28
  "rxjs": "^7.2.0"
29
29
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "next": "13.3.0"
5
5
  }
6
6
  }
@@ -35,8 +35,10 @@ builder
35
35
  })
36
36
  .handleUpdateCommand((update) => {
37
37
  console.log(
38
- "update command, version:", update.version,
39
- "permitMajorVersion:", update.permitMajorVersion
38
+ "update command, version:",
39
+ update.version,
40
+ "permitMajorVersion:",
41
+ update.permitMajorVersion
40
42
  );
41
43
  })
42
44
  .handleHeartbeat((latency) => {
@@ -7,5 +7,5 @@ const server = require("http").createServer(function (req, res) {
7
7
  const ngrok = require("@ngrok/ngrok");
8
8
 
9
9
  ngrok.listen(server).then(() => {
10
- console.log("Ingress establised at:", server.tunnel.url());
10
+ console.log("Ingress established at:", server.tunnel.url());
11
11
  });
@@ -10,7 +10,7 @@ http
10
10
  .listen(PIPE);
11
11
 
12
12
  const ngrok = require("@ngrok/ngrok");
13
- ngrok.consoleLog(); // turn on debug logging
13
+ ngrok.consoleLog(); // turn on info logging
14
14
  new ngrok.NgrokSessionBuilder()
15
15
  .authtokenFromEnv()
16
16
  .connect()
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@ngrok/ngrok": "^0.2.0",
3
+ "@ngrok/ngrok": "^0.*",
4
4
  "create-remix": "1.15.0",
5
5
  "create-svelte": "3.3.0",
6
6
  "create-vue": "3.6.1",
7
7
  "ts-node": "^10.9.1",
8
8
  "winston": "^3.8.2"
9
9
  },
10
- "packageManager": "yarn@3.3.1"
10
+ "packageManager": "yarn@3.3.1",
11
+ "scripts": {
12
+ "start": "node ngrok-http-minimum.js",
13
+ "listen": "node ngrok-listen.js"
14
+ }
11
15
  }
@@ -8,7 +8,7 @@
8
8
  "typecheck": "tsc"
9
9
  },
10
10
  "dependencies": {
11
- "@ngrok/ngrok": "^0.2.0",
11
+ "@ngrok/ngrok": "^0.*",
12
12
  "@remix-run/node": "^1.15.0",
13
13
  "@remix-run/react": "^1.15.0",
14
14
  "@remix-run/serve": "^1.15.0",
@@ -3,7 +3,9 @@ const ngrok = require("@ngrok/ngrok");
3
3
  // setup ngrok ingress in the parent process
4
4
  var host = "localhost";
5
5
  var port = "5173";
6
+ var run = true;
6
7
  process.argv.forEach((item, index) => {
8
+ if (item.includes("postinstall")) run = false;
7
9
  if (item == "--host") host = process.argv[index + 1];
8
10
  if (item == "--port") port = process.argv[index + 1];
9
11
  });
@@ -15,4 +17,4 @@ async function setup() {
15
17
  tunnel.forwardTcp(`${host}:${port}`);
16
18
  }
17
19
 
18
- setup();
20
+ if (run) setup();
@@ -10,7 +10,7 @@
10
10
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
11
11
  },
12
12
  "devDependencies": {
13
- "@ngrok/ngrok": "^0.2.0",
13
+ "@ngrok/ngrok": "^0.*",
14
14
  "@sveltejs/adapter-auto": "^2.0.0",
15
15
  "@sveltejs/kit": "^1.5.0",
16
16
  "svelte": "^3.54.0",
@@ -10,7 +10,7 @@
10
10
  "type-check": "vue-tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@ngrok/ngrok": "^0.2.0",
13
+ "@ngrok/ngrok": "^0.*",
14
14
  "vue": "^3.2.47"
15
15
  },
16
16
  "devDependencies": {
package/index.d.ts CHANGED
@@ -185,7 +185,7 @@ export function authtoken(authtoken: string): Promise<void>
185
185
  /**
186
186
  * The builder for an ngrok session.
187
187
  *
188
- * @group Sessions
188
+ * @group Tunnel and Sessions
189
189
  */
190
190
  export class NgrokSessionBuilder {
191
191
  /** Create a new session builder */
@@ -323,7 +323,7 @@ export class NgrokSessionBuilder {
323
323
  /**
324
324
  * An ngrok session.
325
325
  *
326
- * @group Sessions
326
+ * @group Tunnel and Sessions
327
327
  */
328
328
  export class NgrokSession {
329
329
  /** Start building a tunnel backing an HTTP endpoint. */
@@ -339,11 +339,7 @@ export class NgrokSession {
339
339
  /** Close the ngrok session. */
340
340
  close(): Promise<void>
341
341
  }
342
- /**
343
- * Container for UpdateRequest information.
344
- *
345
- * @group Sessions
346
- */
342
+ /** Container for UpdateRequest information. */
347
343
  export class UpdateRequest {
348
344
  /** The version that the agent is requested to update to. */
349
345
  version: string
@@ -351,125 +347,15 @@ export class UpdateRequest {
351
347
  permitMajorVersion: boolean
352
348
  }
353
349
  /**
354
- *r" An ngrok tunnel backing an HTTP endpoint.
355
- *r"
356
- *r" @group Tunnels
357
- */
358
- export class NgrokHttpTunnel {
359
- /** The URL that this tunnel backs. */
360
- url(): string
361
- /** The protocol of the endpoint that this tunnel backs. */
362
- proto(): string
363
- /** Returns a tunnel's unique ID. */
364
- id(): string
365
- /**
366
- * Returns a human-readable string presented in the ngrok dashboard
367
- * and the Tunnels API. Use the [HttpTunnelBuilder::forwards_to],
368
- * [TcpTunnelBuilder::forwards_to], etc. to set this value
369
- * explicitly.
370
- */
371
- forwardsTo(): string
372
- /** Returns the arbitrary metadata string for this tunnel. */
373
- metadata(): string
374
- /** Forward incoming tunnel connections to the provided TCP address. */
375
- forwardTcp(addr: string): Promise<void>
376
- /**
377
- * Forward incoming tunnel connections to the provided file socket path.
378
- * On Linux/Darwin addr can be a unix domain socket path, e.g. "/tmp/ngrok.sock"
379
- * On Windows addr can be a named pipe, e.e. "\\.\pipe\an_ngrok_pipe"
380
- */
381
- forwardPipe(addr: string): Promise<void>
382
- /**
383
- * Close the tunnel.
384
- *
385
- * This is an RPC call that must be `.await`ed.
386
- * It is equivalent to calling `Session::close_tunnel` with this
387
- * tunnel's ID.
388
- */
389
- close(): Promise<void>
390
- }
391
- /**
392
- *r" An ngrok tunnel backing a TCP endpoint.
393
- *r"
394
- *r" @group Tunnels
395
- */
396
- export class NgrokTcpTunnel {
397
- /** The URL that this tunnel backs. */
398
- url(): string
399
- /** The protocol of the endpoint that this tunnel backs. */
400
- proto(): string
401
- /** Returns a tunnel's unique ID. */
402
- id(): string
403
- /**
404
- * Returns a human-readable string presented in the ngrok dashboard
405
- * and the Tunnels API. Use the [HttpTunnelBuilder::forwards_to],
406
- * [TcpTunnelBuilder::forwards_to], etc. to set this value
407
- * explicitly.
408
- */
409
- forwardsTo(): string
410
- /** Returns the arbitrary metadata string for this tunnel. */
411
- metadata(): string
412
- /** Forward incoming tunnel connections to the provided TCP address. */
413
- forwardTcp(addr: string): Promise<void>
414
- /**
415
- * Forward incoming tunnel connections to the provided file socket path.
416
- * On Linux/Darwin addr can be a unix domain socket path, e.g. "/tmp/ngrok.sock"
417
- * On Windows addr can be a named pipe, e.e. "\\.\pipe\an_ngrok_pipe"
418
- */
419
- forwardPipe(addr: string): Promise<void>
420
- /**
421
- * Close the tunnel.
422
- *
423
- * This is an RPC call that must be `.await`ed.
424
- * It is equivalent to calling `Session::close_tunnel` with this
425
- * tunnel's ID.
426
- */
427
- close(): Promise<void>
428
- }
429
- /**
430
- *r" An ngrok tunnel bcking a TLS endpoint.
431
- *r"
432
- *r" @group Tunnels
350
+ * An ngrok tunnel.
351
+ *
352
+ * @group Tunnel and Sessions
433
353
  */
434
- export class NgrokTlsTunnel {
354
+ export class NgrokTunnel {
435
355
  /** The URL that this tunnel backs. */
436
- url(): string
356
+ url(): string | null
437
357
  /** The protocol of the endpoint that this tunnel backs. */
438
- proto(): string
439
- /** Returns a tunnel's unique ID. */
440
- id(): string
441
- /**
442
- * Returns a human-readable string presented in the ngrok dashboard
443
- * and the Tunnels API. Use the [HttpTunnelBuilder::forwards_to],
444
- * [TcpTunnelBuilder::forwards_to], etc. to set this value
445
- * explicitly.
446
- */
447
- forwardsTo(): string
448
- /** Returns the arbitrary metadata string for this tunnel. */
449
- metadata(): string
450
- /** Forward incoming tunnel connections to the provided TCP address. */
451
- forwardTcp(addr: string): Promise<void>
452
- /**
453
- * Forward incoming tunnel connections to the provided file socket path.
454
- * On Linux/Darwin addr can be a unix domain socket path, e.g. "/tmp/ngrok.sock"
455
- * On Windows addr can be a named pipe, e.e. "\\.\pipe\an_ngrok_pipe"
456
- */
457
- forwardPipe(addr: string): Promise<void>
458
- /**
459
- * Close the tunnel.
460
- *
461
- * This is an RPC call that must be `.await`ed.
462
- * It is equivalent to calling `Session::close_tunnel` with this
463
- * tunnel's ID.
464
- */
465
- close(): Promise<void>
466
- }
467
- /**
468
- *r" A labeled ngrok tunnel.
469
- *r"
470
- *r" @group Tunnels
471
- */
472
- export class NgrokLabeledTunnel {
358
+ proto(): string | null
473
359
  /** The labels this tunnel was started with. */
474
360
  labels(): Record<string, string>
475
361
  /** Returns a tunnel's unique ID. */
@@ -556,7 +442,7 @@ export class NgrokHttpTunnelBuilder {
556
442
  /** Tunnel-specific opaque metadata. Viewable via the API. */
557
443
  metadata(metadata: string): this
558
444
  /** Begin listening for new connections on this tunnel. */
559
- listen(bind?: boolean | undefined | null): Promise<NgrokHttpTunnel>
445
+ listen(bind?: boolean | undefined | null): Promise<NgrokTunnel>
560
446
  /**
561
447
  * Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges.
562
448
  * Call multiple times to add additional CIDR ranges.
@@ -586,7 +472,7 @@ export class NgrokTcpTunnelBuilder {
586
472
  /** Tunnel-specific opaque metadata. Viewable via the API. */
587
473
  metadata(metadata: string): this
588
474
  /** Begin listening for new connections on this tunnel. */
589
- listen(bind?: boolean | undefined | null): Promise<NgrokTcpTunnel>
475
+ listen(bind?: boolean | undefined | null): Promise<NgrokTunnel>
590
476
  /**
591
477
  * Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges.
592
478
  * Call multiple times to add additional CIDR ranges.
@@ -620,7 +506,7 @@ export class NgrokTlsTunnelBuilder {
620
506
  /** Tunnel-specific opaque metadata. Viewable via the API. */
621
507
  metadata(metadata: string): this
622
508
  /** Begin listening for new connections on this tunnel. */
623
- listen(bind?: boolean | undefined | null): Promise<NgrokTlsTunnel>
509
+ listen(bind?: boolean | undefined | null): Promise<NgrokTunnel>
624
510
  /**
625
511
  * Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges.
626
512
  * Call multiple times to add additional CIDR ranges.
@@ -648,19 +534,20 @@ export class NgrokLabeledTunnelBuilder {
648
534
  /** Tunnel-specific opaque metadata. Viewable via the API. */
649
535
  metadata(metadata: string): this
650
536
  /** Begin listening for new connections on this tunnel. */
651
- listen(bind?: boolean | undefined | null): Promise<NgrokLabeledTunnel>
537
+ listen(bind?: boolean | undefined | null): Promise<NgrokTunnel>
652
538
  /** Add a label, value pair for this tunnel. */
653
539
  label(label: string, value: string): this
654
540
  }
655
- /** Generate, or convert a given tunnel, into one that can be passed into net.Server.listen(). */
656
- export function listenable(
657
- tunnel?: NgrokHttpTunnel | NgrokTcpTunnel | NgrokTlsTunnel | NgrokLabeledTunnel
658
- ): NgrokHttpTunnel | NgrokTcpTunnel | NgrokTlsTunnel | NgrokLabeledTunnel;
659
- /** Start the given net.Server listening to a generated, or passed in, tunnel. */
660
- export function listen(
661
- server: import("net").Server,
662
- tunnel?: NgrokHttpTunnel | NgrokTcpTunnel | NgrokTlsTunnel | NgrokLabeledTunnel
663
- ): NgrokHttpTunnel | NgrokTcpTunnel | NgrokTlsTunnel | NgrokLabeledTunnel;
541
+ /**
542
+ * Get a listenable ngrok tunnel, suitable for passing to net.Server.listen().
543
+ * Uses the NGROK_AUTHTOKEN environment variable to authenticate.
544
+ */
545
+ export function listenable(): NgrokTunnel;
546
+ /**
547
+ * Start the given net.Server listening to a generated, or passed in, tunnel.
548
+ * Uses the NGROK_AUTHTOKEN environment variable to authenticate if a new tunnel is created.
549
+ */
550
+ export function listen(server: import("net").Server, tunnel?: NgrokTunnel): NgrokTunnel;
664
551
  /**
665
552
  * Register a console.log callback for ngrok INFO logging.
666
553
  * Optionally set the logging level to one of ERROR, WARN, INFO, DEBUG, or TRACE.
package/index.js CHANGED
@@ -252,7 +252,7 @@ if (!nativeBinding) {
252
252
  throw new Error(`Failed to load native binding`)
253
253
  }
254
254
 
255
- const { connect, disconnect, kill, loggingCallback, authtoken, NgrokSessionBuilder, NgrokSession, UpdateRequest, NgrokHttpTunnel, NgrokTcpTunnel, NgrokTlsTunnel, NgrokLabeledTunnel, NgrokHttpTunnelBuilder, NgrokTcpTunnelBuilder, NgrokTlsTunnelBuilder, NgrokLabeledTunnelBuilder } = nativeBinding
255
+ const { connect, disconnect, kill, loggingCallback, authtoken, NgrokSessionBuilder, NgrokSession, UpdateRequest, NgrokTunnel, NgrokHttpTunnelBuilder, NgrokTcpTunnelBuilder, NgrokTlsTunnelBuilder, NgrokLabeledTunnelBuilder } = nativeBinding
256
256
 
257
257
  module.exports.connect = connect
258
258
  module.exports.disconnect = disconnect
@@ -262,10 +262,7 @@ module.exports.authtoken = authtoken
262
262
  module.exports.NgrokSessionBuilder = NgrokSessionBuilder
263
263
  module.exports.NgrokSession = NgrokSession
264
264
  module.exports.UpdateRequest = UpdateRequest
265
- module.exports.NgrokHttpTunnel = NgrokHttpTunnel
266
- module.exports.NgrokTcpTunnel = NgrokTcpTunnel
267
- module.exports.NgrokTlsTunnel = NgrokTlsTunnel
268
- module.exports.NgrokLabeledTunnel = NgrokLabeledTunnel
265
+ module.exports.NgrokTunnel = NgrokTunnel
269
266
  module.exports.NgrokHttpTunnelBuilder = NgrokHttpTunnelBuilder
270
267
  module.exports.NgrokTcpTunnelBuilder = NgrokTcpTunnelBuilder
271
268
  module.exports.NgrokTlsTunnelBuilder = NgrokTlsTunnelBuilder
@@ -426,24 +423,26 @@ async function ngrokLinkPipe(tunnel, server) {
426
423
  return socket;
427
424
  }
428
425
 
426
+ // protect against multiple calls, for instance from npm
427
+ var sigintRan = false;
428
+
429
429
  function registerCleanup(tunnel, socket) {
430
430
  process.on("SIGINT", function () {
431
+ if (sigintRan) return;
432
+ sigintRan = true;
433
+
431
434
  if (process.listenerCount("SIGINT") > 1) {
432
435
  // user has registered a handler, abort this one
433
436
  return;
434
437
  }
435
438
  // close tunnel
436
439
  if (tunnel) {
437
- tunnel.close().then(() => {
438
- console.debug("ngrok closed tunnel: " + tunnel.id());
440
+ tunnel.close().catch((err) => {
441
+ console.error(`Error closing tunnel: ${err}`);
439
442
  });
440
443
  }
441
444
  // close webserver's socket
442
- if (socket) {
443
- socket.close(function () {
444
- console.debug("ngrok closed socket");
445
- });
446
- }
445
+ if (socket) socket.close();
447
446
  // unregister any logging callback
448
447
  loggingCallback();
449
448
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/ngrok",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "napi": {
@@ -27,9 +27,10 @@
27
27
  "@types/node": "^18.13.0",
28
28
  "ava": "^4.3.3",
29
29
  "axios": "^1.3.3",
30
+ "axios-retry": "^3.4.0",
30
31
  "express": "^4.18.2",
31
32
  "prettier": "^2.8.7",
32
- "typedoc": "^0.24.6",
33
+ "typedoc": "^0.24.7",
33
34
  "typescript": "^4.9.5"
34
35
  },
35
36
  "ava": {
@@ -54,18 +55,18 @@
54
55
  "description": "The ngrok agent in library form, suitable for integrating directly into your NodeJS application.",
55
56
  "repository": "https://github.com/ngrok/ngrok-js",
56
57
  "optionalDependencies": {
57
- "@ngrok/ngrok-win32-x64-msvc": "0.3.0",
58
- "@ngrok/ngrok-darwin-x64": "0.3.0",
59
- "@ngrok/ngrok-linux-x64-gnu": "0.3.0",
60
- "@ngrok/ngrok-darwin-arm64": "0.3.0",
61
- "@ngrok/ngrok-android-arm64": "0.3.0",
62
- "@ngrok/ngrok-linux-arm64-gnu": "0.3.0",
63
- "@ngrok/ngrok-linux-arm64-musl": "0.3.0",
64
- "@ngrok/ngrok-linux-arm-gnueabihf": "0.3.0",
65
- "@ngrok/ngrok-linux-x64-musl": "0.3.0",
66
- "@ngrok/ngrok-freebsd-x64": "0.3.0",
67
- "@ngrok/ngrok-win32-ia32-msvc": "0.3.0",
68
- "@ngrok/ngrok-android-arm-eabi": "0.3.0",
69
- "@ngrok/ngrok-darwin-universal": "0.3.0"
58
+ "@ngrok/ngrok-win32-x64-msvc": "0.4.1",
59
+ "@ngrok/ngrok-darwin-x64": "0.4.1",
60
+ "@ngrok/ngrok-linux-x64-gnu": "0.4.1",
61
+ "@ngrok/ngrok-darwin-arm64": "0.4.1",
62
+ "@ngrok/ngrok-android-arm64": "0.4.1",
63
+ "@ngrok/ngrok-linux-arm64-gnu": "0.4.1",
64
+ "@ngrok/ngrok-linux-arm64-musl": "0.4.1",
65
+ "@ngrok/ngrok-linux-arm-gnueabihf": "0.4.1",
66
+ "@ngrok/ngrok-linux-x64-musl": "0.4.1",
67
+ "@ngrok/ngrok-freebsd-x64": "0.4.1",
68
+ "@ngrok/ngrok-win32-ia32-msvc": "0.4.1",
69
+ "@ngrok/ngrok-android-arm-eabi": "0.4.1",
70
+ "@ngrok/ngrok-darwin-universal": "0.4.1"
70
71
  }
71
72
  }