Skip to content

Commit c247b1d

Browse files
committed
refactor: updated number-insights-v2 imports
1 parent 08597d0 commit c247b1d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

number-insight-v2/sim-swap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
require('dotenv').config({ path: __dirname + '/../.env' });
2-
const { NumberInsightV2, Insight } = require('@vonage/number-insight-v2');
32

43
const VONAGE_API_KEY = process.env.VONAGE_API_KEY;
54
const VONAGE_API_SECRET = process.env.VONAGE_API_SECRET;
65
const INSIGHT_NUMBER = process.env.INSIGHT_NUMBER;
76

7+
const { NumberInsightV2, Insight } = require('@vonage/number-insight-v2');
8+
89
const insight = new NumberInsightV2({
910
apiKey: VONAGE_API_KEY,
1011
apiSecret: VONAGE_API_SECRET,

0 commit comments

Comments
 (0)