@alienplatform/sdk 1.11.2 → 1.13.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.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +18 -44
  2. package/dist/bearerTokenAuthenticationPolicy.js +40 -40
  3. package/dist/{serde.js → checksum.js} +1103 -469
  4. package/dist/dist-cjs.js +15256 -1
  5. package/dist/dist.js +37 -23
  6. package/dist/es5.js +107 -11
  7. package/dist/esm.js +4803 -4946
  8. package/dist/esm2.js +298 -236
  9. package/dist/event-streams.js +571 -4
  10. package/dist/generated/artifact_registry.d.ts +14 -14
  11. package/dist/generated/artifact_registry.d.ts.map +1 -1
  12. package/dist/generated/build.d.ts +6 -6
  13. package/dist/generated/build.d.ts.map +1 -1
  14. package/dist/generated/container.d.ts +6 -6
  15. package/dist/generated/container.d.ts.map +1 -1
  16. package/dist/generated/control.d.ts +8 -8
  17. package/dist/generated/control.d.ts.map +1 -1
  18. package/dist/generated/kv.d.ts +10 -10
  19. package/dist/generated/kv.d.ts.map +1 -1
  20. package/dist/generated/queue.d.ts +6 -6
  21. package/dist/generated/queue.d.ts.map +1 -1
  22. package/dist/generated/service_account.d.ts +4 -4
  23. package/dist/generated/service_account.d.ts.map +1 -1
  24. package/dist/generated/storage.d.ts +28 -28
  25. package/dist/generated/storage.d.ts.map +1 -1
  26. package/dist/generated/vault.d.ts +6 -6
  27. package/dist/generated/vault.d.ts.map +1 -1
  28. package/dist/generated/wait_until.d.ts +8 -8
  29. package/dist/generated/wait_until.d.ts.map +1 -1
  30. package/dist/generated/worker.d.ts +4 -4
  31. package/dist/generated/worker.d.ts.map +1 -1
  32. package/dist/index.js +311 -278
  33. package/dist/open.js +2 -1
  34. package/dist/rolldown-runtime.js +9 -2
  35. package/dist/src.js +10240 -10043
  36. package/dist/src2.js +15 -13
  37. package/package.json +4 -4
  38. package/src/generated/artifact_registry.ts +125 -35
  39. package/src/generated/build.ts +67 -19
  40. package/src/generated/container.ts +28 -10
  41. package/src/generated/control.ts +130 -34
  42. package/src/generated/google/protobuf/duration.ts +1 -1
  43. package/src/generated/google/protobuf/timestamp.ts +1 -1
  44. package/src/generated/kv.ts +53 -21
  45. package/src/generated/queue.ts +37 -13
  46. package/src/generated/service_account.ts +64 -16
  47. package/src/generated/storage.ts +189 -61
  48. package/src/generated/vault.ts +37 -13
  49. package/src/generated/wait_until.ts +68 -20
  50. package/src/generated/worker.ts +29 -11
  51. package/dist/client.js +0 -2376
  52. package/dist/dist-cjs2.js +0 -718
  53. package/dist/dist-cjs3.js +0 -2486
  54. package/dist/dist-cjs4.js +0 -171
  55. package/dist/dist-cjs5.js +0 -429
  56. package/dist/dist-cjs6.js +0 -60
  57. package/dist/dist-cjs7.js +0 -978
  58. package/dist/dist-cjs8.js +0 -86
  59. package/dist/dist-cjs9.js +0 -319
  60. package/dist/package.js +0 -4
  61. package/dist/protocols.js +0 -954
  62. package/dist/protocols2.js +0 -5565
  63. package/dist/signin.js +0 -723
  64. package/dist/sso-oidc.js +0 -940
  65. package/dist/sts.js +0 -1329
  66. package/dist/tslib.es6.js +0 -543
@@ -1,56 +1,30 @@
1
1
 
2
- > @alienplatform/sdk@1.11.2 build /home/runner/work/alien/alien/packages/sdk
2
+ > @alienplatform/sdk@1.13.0 build /home/runner/work/alien/alien/packages/sdk
3
3
  > tsdown && tsc --emitDeclarationOnly
4
4
 
5
- ℹ tsdown v0.13.5 powered by rolldown v1.1.1
5
+ ℹ tsdown v0.13.5 powered by rolldown v1.1.4
6
6
  ℹ Using tsdown config: /home/runner/work/alien/alien/packages/sdk/tsdown.config.ts
7
7
  ℹ entry: src/index.ts, src/commands/index.ts
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
- ℹ Cleaning 113 files
10
+ ℹ Cleaning 97 files
11
11
  Warning: Invalid input options (1 issue found)
12
12
  - For the "define". Invalid key: Expected never but received "define". 
13
- ℹ dist/index.js  455.31 kB │ gzip: 64.77 kB
13
+ ℹ dist/index.js  468.18 kB │ gzip: 66.23 kB
14
14
  ℹ dist/commands/index.js  12.03 kB │ gzip: 3.11 kB
15
- ℹ dist/src2.js 3976.33 kB
16
- ℹ dist/src.js  893.32 kB │ gzip: 178.46 kB
17
- ℹ dist/esm.js  783.21 kB │ gzip: 159.51 kB
18
- ℹ dist/dist.js  370.61 kB │ gzip: 69.68 kB
19
- ℹ dist/serde.js  222.09 kB │ gzip: 46.56 kB
20
- ℹ dist/protocols2.js  216.11 kB │ gzip: 48.32 kB
21
- ℹ dist/esm2.js  134.47 kB │ gzip: 25.88 kB
22
- ℹ dist/bearerTokenAuthenticationPolicy.js  111.56 kB │ gzip: 27.57 kB
23
- ℹ dist/client.js  99.92 kB │ gzip: 21.13 kB
24
- ℹ dist/dist-cjs3.js  74.27 kB │ gzip: 13.28 kB
25
- ℹ dist/es5.js  49.94 kB │ gzip: 7.97 kB
26
- ℹ dist/sts.js  47.60 kB │ gzip: 9.94 kB
27
- ℹ dist/dist-cjs7.js  38.47 kB │ gzip: 8.92 kB
28
- ℹ dist/protocols.js  37.69 kB │ gzip: 7.90 kB
15
+ ℹ dist/src2.js 3976.54 kB
16
+ ℹ dist/src.js  902.50 kB │ gzip: 180.01 kB
17
+ ℹ dist/esm.js  770.38 kB │ gzip: 156.72 kB
18
+ ℹ dist/dist-cjs.js  550.90 kB │ gzip: 107.14 kB
19
+ ℹ dist/dist.js  371.78 kB │ gzip: 69.89 kB
20
+ ℹ dist/checksum.js  240.44 kB │ gzip: 51.34 kB
21
+ ℹ dist/esm2.js  128.87 kB │ gzip: 25.10 kB
22
+ ℹ dist/bearerTokenAuthenticationPolicy.js  111.58 kB │ gzip: 27.57 kB
23
+ ℹ dist/es5.js  52.89 kB │ gzip: 8.47 kB
29
24
  ℹ dist/dist2.js  37.64 kB │ gzip: 10.53 kB
30
- ℹ dist/sso-oidc.js  29.09 kB │ gzip: 5.93 kB
31
- ℹ dist/dist-cjs2.js  26.55 kB │ gzip: 6.43 kB
32
- ℹ dist/signin.js  24.13 kB │ gzip: 5.56 kB
25
+ ℹ dist/event-streams.js  28.96 kB │ gzip: 6.35 kB
33
26
  ℹ dist/jws.js  23.27 kB │ gzip: 5.32 kB
34
- ℹ dist/dist-cjs5.js  21.54 kB │ gzip: 5.50 kB
35
- ℹ dist/tslib.es6.js  18.02 kB │ gzip: 5.30 kB
36
- ℹ dist/open.js  15.27 kB │ gzip: 4.62 kB
37
- ℹ dist/dist-cjs9.js  13.68 kB │ gzip: 3.97 kB
38
- ℹ dist/dist-cjs4.js  9.13 kB │ gzip: 2.55 kB
39
- ℹ dist/event-streams.js  7.92 kB │ gzip: 2.10 kB
40
- ℹ dist/dist-cjs8.js  4.61 kB │ gzip: 1.33 kB
41
- ℹ dist/dist-cjs6.js  3.34 kB │ gzip: 1.16 kB
42
- ℹ dist/rolldown-runtime.js  1.79 kB │ gzip: 0.81 kB
43
- ℹ dist/package.js  0.18 kB │ gzip: 0.14 kB
44
- ℹ dist/dist-cjs.js  0.10 kB │ gzip: 0.10 kB
45
- ℹ 32 files, total: 7759.19 kB
46
- ../../node_modules/.pnpm/@protobufjs+inquire@1.1.0/node_modules/@protobufjs/inquire/index.js (12:18) [EVAL] Use of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.
47
- ╭─[ ../../node_modules/.pnpm/@protobufjs+inquire@1.1.0/node_modules/@protobufjs/inquire/index.js:12:19 ]
48
- │
49
- 12 │         var mod = eval("quire".replace(/^/,"re"))(moduleName); // eslint-disable-line no-eval
50
-  │ ──┬─
51
-  │ ╰─── Use of direct `eval` here.
52
-  │
53
-  │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
54
- ────╯
55
-
56
- ✔ Build complete in 550ms
27
+ ℹ dist/open.js  15.30 kB │ gzip: 4.62 kB
28
+ ℹ dist/rolldown-runtime.js  1.89 kB │ gzip: 0.86 kB
29
+ ℹ 16 files, total: 7693.17 kB
30
+ ✔ Build complete in 516ms
@@ -4,10 +4,10 @@ import { Readable } from "stream";
4
4
  import { Transform } from "node:stream";
5
5
  import os, { EOL } from "node:os";
6
6
  import process$1 from "node:process";
7
- import https from "node:https";
8
- import util, { inspect } from "node:util";
9
7
  import http from "node:http";
8
+ import https from "node:https";
10
9
  import zlib from "node:zlib";
10
+ import util, { inspect } from "node:util";
11
11
  //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/logger/log.js
12
12
  function log(message, ...args) {
13
13
  process$1.stderr.write(`${util.format(message, ...args)}${EOL}`);
@@ -793,6 +793,43 @@ function stringToUint8Array(value, format) {
793
793
  return stringToUint8Array$1(value, format);
794
794
  }
795
795
  //#endregion
796
+ //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/abort-controller/AbortError.js
797
+ /**
798
+ * This error is thrown when an asynchronous operation has been aborted.
799
+ * Check for this error by testing the `name` that the name property of the
800
+ * error matches `"AbortError"`.
801
+ *
802
+ * @example
803
+ * ```ts snippet:ReadmeSampleAbortError
804
+ * import { AbortError } from "@typespec/ts-http-runtime";
805
+ *
806
+ * async function doAsyncWork(options: { abortSignal: AbortSignal }): Promise<void> {
807
+ * if (options.abortSignal.aborted) {
808
+ * throw new AbortError();
809
+ * }
810
+ *
811
+ * // do async work
812
+ * }
813
+ *
814
+ * const controller = new AbortController();
815
+ * controller.abort();
816
+ *
817
+ * try {
818
+ * doAsyncWork({ abortSignal: controller.signal });
819
+ * } catch (e) {
820
+ * if (e instanceof Error && e.name === "AbortError") {
821
+ * // handle abort error here.
822
+ * }
823
+ * }
824
+ * ```
825
+ */
826
+ var AbortError = class extends Error {
827
+ constructor(message) {
828
+ super(message);
829
+ this.name = "AbortError";
830
+ }
831
+ };
832
+ //#endregion
796
833
  //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/httpHeaders.js
797
834
  function normalizeName(name) {
798
835
  return name.toLowerCase();
@@ -923,7 +960,7 @@ function createPipelineRequest(options) {
923
960
  }
924
961
  //#endregion
925
962
  //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/pipeline.js
926
- const ValidPhaseNames = new Set([
963
+ const ValidPhaseNames = /* @__PURE__ */ new Set([
927
964
  "Deserialize",
928
965
  "Serialize",
929
966
  "Retry",
@@ -1205,43 +1242,6 @@ function isRestError$1(e) {
1205
1242
  return isError$1(e) && e.name === "RestError";
1206
1243
  }
1207
1244
  //#endregion
1208
- //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/abort-controller/AbortError.js
1209
- /**
1210
- * This error is thrown when an asynchronous operation has been aborted.
1211
- * Check for this error by testing the `name` that the name property of the
1212
- * error matches `"AbortError"`.
1213
- *
1214
- * @example
1215
- * ```ts snippet:ReadmeSampleAbortError
1216
- * import { AbortError } from "@typespec/ts-http-runtime";
1217
- *
1218
- * async function doAsyncWork(options: { abortSignal: AbortSignal }): Promise<void> {
1219
- * if (options.abortSignal.aborted) {
1220
- * throw new AbortError();
1221
- * }
1222
- *
1223
- * // do async work
1224
- * }
1225
- *
1226
- * const controller = new AbortController();
1227
- * controller.abort();
1228
- *
1229
- * try {
1230
- * doAsyncWork({ abortSignal: controller.signal });
1231
- * } catch (e) {
1232
- * if (e instanceof Error && e.name === "AbortError") {
1233
- * // handle abort error here.
1234
- * }
1235
- * }
1236
- * ```
1237
- */
1238
- var AbortError = class extends Error {
1239
- constructor(message) {
1240
- super(message);
1241
- this.name = "AbortError";
1242
- }
1243
- };
1244
- //#endregion
1245
1245
  //#region ../../node_modules/.pnpm/@typespec+ts-http-runtime@0.3.2/node_modules/@typespec/ts-http-runtime/dist/esm/log.js
1246
1246
  const logger$1 = createClientLogger$1("ts-http-runtime");
1247
1247
  //#endregion