Skip to content

Commit

Permalink
Add fetch dependency (#72)
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
kolanos authored Sep 14, 2020
1 parent ce16d47 commit ba5122f
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 14 deletions.
77 changes: 64 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-newrelic-lambda-layers",
"version": "0.2.2",
"version": "0.2.3",
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.",
"main": "dist/index.js",
"files": [
Expand Down Expand Up @@ -35,6 +35,7 @@
"@types/jest": "^25.1.2",
"@types/lodash": "^4.14.149",
"@types/node": "^11.10.5",
"@types/node-fetch": "^2.5.7",
"@types/ramda": "^0.26.41",
"@types/serverless": "^1.18.2",
"get-installed-path": "^4.0.8",
Expand All @@ -53,6 +54,7 @@
"dependencies": {
"fs-extra": "^7.0.1",
"lodash": "^4.17.15",
"node-fetch": "^2.6.1",
"path": "^0.12.7",
"request": "^2.88.0",
"semver": "^6.1.1"
Expand Down
2 changes: 2 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import fetch from "node-fetch";

export const nerdgraphFetch = async (
apiKey: string,
region: string,
Expand Down

0 comments on commit ba5122f

Please sign in to comment.