@basemaps/shared 6.21.1 → 6.22.0
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/CHANGELOG.md +8 -0
- package/package.json +2 -3
- package/build/cli/api.key.d.ts +0 -3
- package/build/cli/api.key.d.ts.map +0 -1
- package/build/cli/api.key.js +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.22.0](https://github.com/linz/basemaps/compare/v6.21.1...v6.22.0) (2022-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @basemaps/shared
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [6.21.1](https://github.com/linz/basemaps/compare/v6.21.0...v6.21.1) (2022-03-17)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @basemaps/shared
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/shared",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.22.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@linzjs/metrics": "^6.21.1",
|
|
32
32
|
"@linzjs/s3fs": "^6.9.1",
|
|
33
33
|
"aws-sdk": "^2.890.0",
|
|
34
|
-
"base-x": "^3.0.7",
|
|
35
34
|
"pino": "^7.5.0",
|
|
36
35
|
"proj4": "^2.6.2",
|
|
37
36
|
"sax": "^1.2.4",
|
|
@@ -50,5 +49,5 @@
|
|
|
50
49
|
"files": [
|
|
51
50
|
"build/"
|
|
52
51
|
],
|
|
53
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "b85a4a628bcdfea657a37de97faa23dde5c34798"
|
|
54
53
|
}
|
package/build/cli/api.key.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.key.d.ts","sourceRoot":"","sources":["../../src/cli/api.key.ts"],"names":[],"mappings":""}
|
package/build/cli/api.key.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import baseX from 'base-x';
|
|
3
|
-
import { randomBytes } from 'crypto';
|
|
4
|
-
const base58 = baseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz');
|
|
5
|
-
/** Generate 10 32 character base58 encoded strings */
|
|
6
|
-
async function main() {
|
|
7
|
-
for (let i = 0; i < 10; i++) {
|
|
8
|
-
const bytes = randomBytes(32);
|
|
9
|
-
const apiKey = base58.encode(bytes).slice(0, 32);
|
|
10
|
-
console.log(apiKey);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
main();
|