Skip to content

Commit

Permalink
fix: use global URL (googlemaps#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored Nov 11, 2021
1 parent dc1e59b commit 98e1894
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@babel/preset-env": "^7.15.8",
"@types/crypto-js": "^4.0.2",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": ">=4.33.0",
"@typescript-eslint/parser": ">=4.33.0",
"babel": "^6.23.0",
Expand Down
1 change: 0 additions & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
createSignature,
signUrl,
} from "./index";
import { URL } from "url";

describe("createSignatureForPathAndQuery", () => {
test("get signature for path and query", () => {
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import Base64 from "crypto-js/enc-base64";
import HmacSHA1 from "crypto-js/hmac-sha1";
import CryptoJS from "crypto-js";
import { URL } from "url";

/**
* Create a signature for a path and query string using HmacSHA1.
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outDir": "./dist",
"sourceMap": true,
"esModuleInterop": true,
"lib": ["ESNext"]
"lib": ["ESNext", "DOM"]
},
"include": ["src/**/*"],
"exclude": ["**/*.test.ts", "node_modules"]
Expand Down

0 comments on commit 98e1894

Please sign in to comment.