@hyperdx/cli 0.1.0-next.1 → 0.1.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/CHANGELOG.md +16 -0
- package/dist/{chunk-C6NAKRYT.js → chunk-XRDNHVYP.js} +10 -4
- package/dist/chunk-XRDNHVYP.js.map +1 -0
- package/dist/index.cjs +13 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/lib.cjs +9 -3
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.ts +2 -1
- package/dist/lib.js +1 -1
- package/package.json +5 -1
- package/dist/chunk-C6NAKRYT.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @hyperdx/cli
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 458486b: feat: Add --apiVersion flag to configure API version (v1 or v2)
|
|
8
|
+
|
|
9
|
+
## 0.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 5ca35ee: chore: first release
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 72ad2ff: style: rename apiKey input arg to serviceKey
|
|
18
|
+
|
|
3
19
|
## 0.1.0-next.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -311,8 +311,12 @@ var require_package = __commonJS({
|
|
|
311
311
|
"package.json"(exports, module) {
|
|
312
312
|
module.exports = {
|
|
313
313
|
name: "@hyperdx/cli",
|
|
314
|
-
version: "0.1.
|
|
314
|
+
version: "0.1.1",
|
|
315
315
|
description: "HyperDX command line tool",
|
|
316
|
+
repository: {
|
|
317
|
+
type: "git",
|
|
318
|
+
url: "https://github.com/hyperdxio/hyperdx-js.git"
|
|
319
|
+
},
|
|
316
320
|
publishConfig: {
|
|
317
321
|
access: "public"
|
|
318
322
|
},
|
|
@@ -7444,6 +7448,7 @@ var uploadSourcemaps = (_0) => __async(void 0, [_0], function* ({
|
|
|
7444
7448
|
allowNoop,
|
|
7445
7449
|
serviceKey,
|
|
7446
7450
|
apiUrl,
|
|
7451
|
+
apiVersion,
|
|
7447
7452
|
basePath,
|
|
7448
7453
|
path: path2,
|
|
7449
7454
|
releaseId
|
|
@@ -7457,7 +7462,8 @@ var uploadSourcemaps = (_0) => __async(void 0, [_0], function* ({
|
|
|
7457
7462
|
}
|
|
7458
7463
|
}
|
|
7459
7464
|
const backend = apiUrl || "https://api.hyperdx.io";
|
|
7460
|
-
const
|
|
7465
|
+
const version = apiVersion || "v1";
|
|
7466
|
+
const res = yield fetch(join(backend, "api", version), {
|
|
7461
7467
|
method: "get",
|
|
7462
7468
|
headers: {
|
|
7463
7469
|
"Content-Type": "application/json",
|
|
@@ -7487,7 +7493,7 @@ var uploadSourcemaps = (_0) => __async(void 0, [_0], function* ({
|
|
|
7487
7493
|
releaseId
|
|
7488
7494
|
}));
|
|
7489
7495
|
const urlRes = yield fetch(
|
|
7490
|
-
join(backend, "api",
|
|
7496
|
+
join(backend, "api", version, "sourcemaps", "upload-presigned-urls"),
|
|
7491
7497
|
{
|
|
7492
7498
|
method: "post",
|
|
7493
7499
|
headers: {
|
|
@@ -7577,4 +7583,4 @@ function uploadFile(filePath, uploadUrl, name) {
|
|
|
7577
7583
|
export {
|
|
7578
7584
|
uploadSourcemaps
|
|
7579
7585
|
};
|
|
7580
|
-
//# sourceMappingURL=chunk-
|
|
7586
|
+
//# sourceMappingURL=chunk-XRDNHVYP.js.map
|