diff --git a/package-lock.json b/package-lock.json index 472e339..bda29e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@bandwidth/voice", - "version": "2.0.1", + "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bandwidth/voice", - "version": "2.0.1", + "version": "1.0.0", "license": "MIT", "dependencies": { "@apimatic/core": "^0.6.1", "@apimatic/schema": "^0.6.0", "@types/node": "^14.14.27", - "axios": "^0.21.0", + "axios": "^0.21.4", "detect-node": "^2.0.4", "form-data": "^3.0.0", "lodash.flatmap": "^4.5.0", @@ -2573,9 +2573,9 @@ } }, "node_modules/axios": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.2.tgz", - "integrity": "sha512-87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "dependencies": { "follow-redirects": "^1.14.0" } @@ -13991,9 +13991,9 @@ "dev": true }, "axios": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.2.tgz", - "integrity": "sha512-87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { "follow-redirects": "^1.14.0" } diff --git a/package.json b/package.json index 6255a8c..830252e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "lint": "tsdx lint src", "prepare": "tsdx build" }, - "peerDependencies": {}, "prettier": { "printWidth": 80, "semi": true, @@ -42,7 +41,7 @@ "@apimatic/core": "^0.6.1", "@apimatic/schema": "^0.6.0", "@types/node": "^14.14.27", - "axios": "^0.21.0", + "axios": "^0.21.4", "detect-node": "^2.0.4", "form-data": "^3.0.0", "lodash.flatmap": "^4.5.0", diff --git a/tests/api.test.js b/tests/api.test.js index 79f061b..5b5f00c 100644 --- a/tests/api.test.js +++ b/tests/api.test.js @@ -67,23 +67,11 @@ describe('api', () => { machineDetection: machineDetection }; - console.log(body); - console.log(machineDetection); - - try { - const createCallResponse = await controller.createCall(accountId, body); - } catch (e) { - console.log(e); - } - - - console.log(createCallResponse); + const createCallResponse = await controller.createCall(accountId, body); expect(createCallResponse.result.applicationId).toEqual(applicationId); expect(createCallResponse.result.to).toEqual(to); expect(createCallResponse.result.from).toEqual(from); - - // get call state const callId = createCallResponse.result.callId; const getCallStateResponse = await controller.getCall(accountId, callId);