Skip to content

Commit 96c4bc2

Browse files
lesbaaLes Moffat
andauthored
RD-1031 Update Client.js to latest version (#223)
* RD-1031 Update Client.js to latest version * 3.7.0 * RD-1031 fix and rename GH action * RD-1031 Rename mock build and publish --------- Co-authored-by: Les Moffat <[email protected]>
1 parent c1bcb0e commit 96c4bc2

File tree

8 files changed

+15
-12
lines changed

8 files changed

+15
-12
lines changed

.github/workflows/lint-and-typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened]
66

77
jobs:
8-
build-and-publish:
8+
lint-and-typecheck:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repo

.github/workflows/publish-dry-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
types: [opened]
99

1010
jobs:
11-
build-and-publish:
11+
test-build-and-publish:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repo

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# MapTiler SDK Changelog
22

3-
## 3.6.2
3+
## 3.7.0
44

55
### ✨ Features and improvements
6-
- None
6+
- Version Bump @maptiler/client to 2.5.0 adding `at`, `batch`, `computeOn`, `canParsePixelData` functions for working with elevations.
77

88
### 🐛 Bug fixes
99
- Includes workaround where internal event is not fired correctly and causes breaking of space box.

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maptiler/sdk",
3-
"version": "3.6.2",
3+
"version": "3.7.0",
44
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
55
"author": "MapTiler",
66
"module": "dist/maptiler-sdk.mjs",
@@ -87,7 +87,7 @@
8787
},
8888
"dependencies": {
8989
"@maplibre/maplibre-gl-style-spec": "~23.3.0",
90-
"@maptiler/client": "~2.4.0",
90+
"@maptiler/client": "~2.5.0",
9191
"events": "^3.3.0",
9292
"gl-matrix": "^3.4.3",
9393
"js-base64": "^3.7.7",

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ export {
251251
getLanguageInfoFromFlag,
252252
getLanguageInfoFromCode,
253253
getLanguageInfoFromKey,
254+
canParsePixelData,
254255
} from "@maptiler/client";
255256

256257
export { getWebGLSupportError, displayWebGLContextLostWarning } from "./tools";

test/__snapshots__/exports.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ exports[`Module Exports > should match the snapshot of module exports 1`] = `
9292
"addSourceType",
9393
"areSameLanguages",
9494
"bufferToPixelDataBrowser",
95+
"canParsePixelData",
9596
"circumferenceAtLatitude",
9697
"clearPrewarmedResources",
9798
"config",

test/exports.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const expectedExports = Array.from(
133133
"MapWheelEventMLGL",
134134
"MapTouchEventMLGL",
135135
"MapMouseEventMLGL",
136+
"canParsePixelData",
136137
...Object.keys(language),
137138
...Object.keys(controls),
138139
...Object.keys(converters),

0 commit comments

Comments
 (0)