Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Stopping use deprecated code. (#2105)
Browse files Browse the repository at this point in the history
The classes `OlpClientSettings` and `HRN` in
`@here/olp-sdk-dataservice-read` will be removed
in the next release.

Those classes copied to the `@here/olp-sdk-core`.

This CR adapts the code according to future changes.

Signed-off-by: Oleksii Zubko <ext-oleksii.zubko@here.com>
  • Loading branch information
OleksiiZubko committed Feb 15, 2021
1 parent d6dcb53 commit 898a27e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions @here/harp-olp-utils/lib/OlpCopyrightProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
*/

import { AreaCopyrightInfo, CopyrightCoverageProvider } from "@here/harp-mapview";
import {
DataRequest,
EnvironmentName,
HRN,
OlpClientSettings,
VersionedLayerClient
} from "@here/olp-sdk-dataservice-read";
import { HRN, OlpClientSettings } from "@here/olp-sdk-core";
import { DataRequest, EnvironmentName, VersionedLayerClient } from "@here/olp-sdk-dataservice-read";

/**
* [[OlpCopyrightProvider]] initialization parameters.
Expand Down
3 changes: 1 addition & 2 deletions @here/harp-olp-utils/lib/OlpDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
import { TileKey } from "@here/harp-geoutils";
import { DataProvider } from "@here/harp-mapview-decoder";
import { LoggerManager } from "@here/harp-utils";
import { HRN, OlpClientSettings } from "@here/olp-sdk-core";
import {
CatalogClient,
CatalogVersionRequest,
DataRequest,
HRN,
OlpClientSettings,
VersionedLayerClient
} from "@here/olp-sdk-dataservice-read";

Expand Down
3 changes: 2 additions & 1 deletion @here/harp-olp-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"@here/harp-mapview": "^0.22.0",
"@here/harp-mapview-decoder": "^0.22.0",
"@here/harp-utils": "^0.22.0",
"@here/olp-sdk-dataservice-read": "^1.8.0"
"@here/olp-sdk-dataservice-read": "^1.8.0",
"@here/olp-sdk-core": "1.3.0"
},
"devDependencies": {
"@here/harp-fetch": "^0.22.0",
Expand Down

0 comments on commit 898a27e

Please sign in to comment.