-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) Use the initial user agent header within the agent api call (#15)
* use the current request user agent * update the alpha release * update local dependency versions
- Loading branch information
1 parent
7357126
commit 2bb92a4
Showing
9 changed files
with
91 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@dfinity/http-proxy", | ||
"version": "0.0.1-alpha", | ||
"version": "0.0.2-alpha", | ||
"description": "HTTP Proxy to enable trustless access to the Internet Computer.", | ||
"author": "Kepler Vital <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"@dfinity/[email protected].1-alpha, @dfinity/http-proxy-core@workspace:packages/core": | ||
"@dfinity/[email protected].2-alpha, @dfinity/http-proxy-core@workspace:packages/core": | ||
version: 0.0.0-use.local | ||
resolution: "@dfinity/http-proxy-core@workspace:packages/core" | ||
dependencies: | ||
|
@@ -138,11 +138,11 @@ __metadata: | |
languageName: unknown | ||
linkType: soft | ||
|
||
"@dfinity/[email protected].1-alpha, @dfinity/http-proxy-daemon@workspace:packages/daemon": | ||
"@dfinity/[email protected].2-alpha, @dfinity/http-proxy-daemon@workspace:packages/daemon": | ||
version: 0.0.0-use.local | ||
resolution: "@dfinity/http-proxy-daemon@workspace:packages/daemon" | ||
dependencies: | ||
"@dfinity/http-proxy-core": 0.0.1-alpha | ||
"@dfinity/http-proxy-core": 0.0.2-alpha | ||
"@types/node": ^18.14.0 | ||
"@types/node-forge": ^1.3.1 | ||
"@types/pako": ^2.0.0 | ||
|
@@ -166,16 +166,17 @@ __metadata: | |
languageName: unknown | ||
linkType: soft | ||
|
||
"@dfinity/[email protected].1-alpha, @dfinity/http-proxy-server@workspace:packages/server": | ||
"@dfinity/[email protected].2-alpha, @dfinity/http-proxy-server@workspace:packages/server": | ||
version: 0.0.0-use.local | ||
resolution: "@dfinity/http-proxy-server@workspace:packages/server" | ||
dependencies: | ||
"@dfinity/agent": ^0.15.6 | ||
"@dfinity/candid": ^0.15.6 | ||
"@dfinity/http-proxy-core": 0.0.1-alpha | ||
"@dfinity/http-proxy-daemon": 0.0.1-alpha | ||
"@dfinity/http-proxy-core": 0.0.2-alpha | ||
"@dfinity/http-proxy-daemon": 0.0.2-alpha | ||
"@dfinity/principal": ^0.15.6 | ||
"@dfinity/response-verification": ^0.2.1 | ||
"@types/isomorphic-fetch": ^0.0.36 | ||
"@types/node": ^18.14.0 | ||
"@types/node-forge": ^1.3.1 | ||
"@types/pako": ^2.0.0 | ||
|
@@ -185,6 +186,7 @@ __metadata: | |
eslint-config-prettier: ^8.7.0 | ||
eslint-plugin-prettier: ^4.2.1 | ||
http-proxy: ^1.18.1 | ||
isomorphic-fetch: ^3.0.0 | ||
node-cache: ^5.1.2 | ||
node-forge: ^1.3.1 | ||
nodemon: ^2.0.20 | ||
|
@@ -200,8 +202,8 @@ __metadata: | |
version: 0.0.0-use.local | ||
resolution: "@dfinity/http-proxy-ui@workspace:packages/ui" | ||
dependencies: | ||
"@dfinity/http-proxy-core": 0.0.1-alpha | ||
"@dfinity/http-proxy-server": 0.0.1-alpha | ||
"@dfinity/http-proxy-core": 0.0.2-alpha | ||
"@dfinity/http-proxy-server": 0.0.2-alpha | ||
"@types/node": ^18.14.0 | ||
"@typescript-eslint/eslint-plugin": ^5.54.1 | ||
"@typescript-eslint/parser": ^5.54.1 | ||
|
@@ -579,6 +581,13 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"@types/isomorphic-fetch@npm:^0.0.36": | ||
version: 0.0.36 | ||
resolution: "@types/isomorphic-fetch@npm:0.0.36" | ||
checksum: 1ffaa1c97a019b1f7a682e2ae31bd4cc3f324198b422c62cece51b42d2750e0dde0c4df2320a52874d6c6019ee4b00ca2e736010d34b206a82e63ef82ef85bbe | ||
languageName: node | ||
linkType: hard | ||
|
||
"@types/json-schema@npm:^7.0.9": | ||
version: 7.0.11 | ||
resolution: "@types/json-schema@npm:7.0.11" | ||
|
@@ -2923,6 +2932,16 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"isomorphic-fetch@npm:^3.0.0": | ||
version: 3.0.0 | ||
resolution: "isomorphic-fetch@npm:3.0.0" | ||
dependencies: | ||
node-fetch: ^2.6.1 | ||
whatwg-fetch: ^3.4.1 | ||
checksum: e5ab79a56ce5af6ddd21265f59312ad9a4bc5a72cebc98b54797b42cb30441d5c5f8d17c5cd84a99e18101c8af6f90c081ecb8d12fd79e332be1778d58486d75 | ||
languageName: node | ||
linkType: hard | ||
|
||
"jake@npm:^10.8.5": | ||
version: 10.8.5 | ||
resolution: "jake@npm:10.8.5" | ||
|
@@ -3439,6 +3458,20 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"node-fetch@npm:^2.6.1": | ||
version: 2.6.11 | ||
resolution: "node-fetch@npm:2.6.11" | ||
dependencies: | ||
whatwg-url: ^5.0.0 | ||
peerDependencies: | ||
encoding: ^0.1.0 | ||
peerDependenciesMeta: | ||
encoding: | ||
optional: true | ||
checksum: 249d0666a9497553384d46b5ab296ba223521ac88fed4d8a17d6ee6c2efb0fc890f3e8091cafe7f9fba8151a5b8d925db2671543b3409a56c3cd522b468b47b3 | ||
languageName: node | ||
linkType: hard | ||
|
||
"node-fetch@npm:^2.6.6": | ||
version: 2.6.9 | ||
resolution: "node-fetch@npm:2.6.9" | ||
|
@@ -4880,6 +4913,13 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"whatwg-fetch@npm:^3.4.1": | ||
version: 3.6.2 | ||
resolution: "whatwg-fetch@npm:3.6.2" | ||
checksum: ee976b7249e7791edb0d0a62cd806b29006ad7ec3a3d89145921ad8c00a3a67e4be8f3fb3ec6bc7b58498724fd568d11aeeeea1f7827e7e1e5eae6c8a275afed | ||
languageName: node | ||
linkType: hard | ||
|
||
"whatwg-url@npm:^5.0.0": | ||
version: 5.0.0 | ||
resolution: "whatwg-url@npm:5.0.0" | ||
|