@versatiles/container 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/index.d.ts +2 -2
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
[](https://www.npmjs.com/package/@versatiles/container)
|
|
2
|
+
[](https://www.npmjs.com/package/@versatiles/container)
|
|
3
|
+
[](https://codecov.io/gh/versatiles-org/node-versatiles-container)
|
|
4
|
+
[](https://github.com/versatiles-org/node-versatiles-container/actions/workflows/ci.yml)
|
|
5
|
+
[](LICENSE)
|
|
3
6
|
|
|
4
7
|
A client library for [VersaTiles containers](https://github.com/versatiles-org/versatiles-spec).
|
|
5
8
|
|
package/dist/index.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare class Container {
|
|
|
96
96
|
* @returns A promise that resolves with the block index map.
|
|
97
97
|
* @protected
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
getBlockIndex(): Promise<Map<string, Block>>;
|
|
100
100
|
/**
|
|
101
101
|
* Asynchronously retrieves the tile index for a specified block. This is an internal method used to
|
|
102
102
|
* maintain a lookup for every tile within a block.
|
|
@@ -105,7 +105,7 @@ export declare class Container {
|
|
|
105
105
|
* @returns A promise that resolves with the tile index.
|
|
106
106
|
* @protected
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
getTileIndex(block: Block): Promise<TileIndex>;
|
|
109
109
|
/**
|
|
110
110
|
* A protected method to read a chunk of data from the source based on the specified offset and length.
|
|
111
111
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versatiles/container",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "A client library for reading VersaTiles containers",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && npm run doc-graph",
|
|
@@ -53,18 +53,19 @@
|
|
|
53
53
|
"versatiles"
|
|
54
54
|
],
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@typescript-eslint/
|
|
59
|
-
"@
|
|
56
|
+
"@eslint/js": "^10.0.1",
|
|
57
|
+
"@types/node": "^25.3.3",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
59
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
60
|
+
"@versatiles/release-tool": "^2.7.3",
|
|
60
61
|
"@vitest/coverage-v8": "^4.0.18",
|
|
61
|
-
"eslint": "^
|
|
62
|
+
"eslint": "^10.0.2",
|
|
62
63
|
"eslint-config-prettier": "^10.1.8",
|
|
63
64
|
"prettier": "^3.8.1",
|
|
64
65
|
"ts-node": "^10.9.2",
|
|
65
66
|
"tsx": "^4.21.0",
|
|
66
67
|
"typescript": "^5.9.3",
|
|
67
|
-
"typescript-eslint": "^8.
|
|
68
|
+
"typescript-eslint": "^8.56.1",
|
|
68
69
|
"vitest": "^4.0.18"
|
|
69
70
|
}
|
|
70
71
|
}
|