8000 Release/v7.0.3 (#136) · polygon-io/client-js@a98bb77 · GitHub
[go: up one dir, main page]

Skip to content

Commit a98bb77

Browse files
Release/v7.0.3 (#136)
* Changelog for 7.0.3 * 7.0.3 * Fix for wrong enum for forex in grouped daily url (#135)
1 parent 655e321 commit a98bb77

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [7.0.3](https://github.com/polygon-io/client-js/v7.0.2...v7.0.3) (2023-02-21)
2+
3+
### Bug Fixes
4+
* Fix grouped daily forex url
5+
16
## [7.0.2](https://github.com/polygon-io/client-js/v7.0.1...v7.0.2) (2023-02-15)
27

38
### Bug Fixes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polygon.io/client-js",
3-
"version": "7.0.2",
3+
"version": "7.0.3",
44
"description": "Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs",
55
"main": "lib/main.js",
66
"types": "lib/main.d.ts",

src/rest/forex/aggregatesGroupedDaily.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const aggregatesGroupedDaily = async (
1313
options?: IRequestOptions
1414
): Promise<IAggsGroupedDaily> =>
1515
get(
16-
`/v2/aggs/grouped/locale/global/market/forex/${date}`,
16+
`/v2/aggs/grouped/locale/global/market/fx/${date}`,
1717
query,
1818
options
1919
);

src/rest/forex/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("[REST] Forex / Currencies", () => {
5454
await fx.aggregatesGroupedDaily("2019-02-01", mocks.query, mocks.overrideOptions);
5555
fetchStub.callCount.should.eql(1);
5656
getPath(fetchStub.getCalls()[0].args[0]).should.eql(
57-
"/v2/aggs/grouped/locale/global/market/forex/2019-02-01"
57+
"/v2/aggs/grouped/locale/global/market/fx/2019-02-01"
5858
);
5959
fetchStub.getCalls()[0].args[0].indexOf(mocks.query.query1).should.be.gt(-1);
6060
fetchStub.getCalls()[0].args[1].referrer.should.eql(mocks.overrideOptions.referrer);

0 commit comments

Comments
 (0)
0