@webpieces/http-client-node 0.4.959 → 0.4.960

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpieces/http-client-node",
3
- "version": "0.4.959",
3
+ "version": "0.4.960",
4
4
  "description": "Server-side HTTP client for webpieces: inversify-wired, reads RequestContext directly, mints OIDC/shared-secret delivery auth, resolves Cloud Run URLs from a service name",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -22,10 +22,10 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@webpieces/core-context": "0.4.959",
26
- "@webpieces/core-util": "0.4.959",
27
- "@webpieces/gcp-identity": "0.4.959",
28
- "@webpieces/http-client-core": "0.4.959",
25
+ "@webpieces/core-context": "0.4.960",
26
+ "@webpieces/core-util": "0.4.960",
27
+ "@webpieces/gcp-identity": "0.4.960",
28
+ "@webpieces/http-client-core": "0.4.960",
29
29
  "inversify": "7.10.4",
30
30
  "reflect-metadata": "0.2.2"
31
31
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * COMPILE-TIME proof that the outbound half of `webhook(name)` stays deleted (#1339): ONE
3
+ * `VendorAuthHook` (core-context) now mints, refreshes and verifies. Each `@ts-expect-error` fails
4
+ * the build (TS2578) the moment its symbol is exported again. A compiled file, never a `.spec.ts`,
5
+ * because vitest strips types and a spec's `@ts-expect-error` is inert.
6
+ */
7
+ export declare class DeletedAuthCompileAssertions {
8
+ removedExports(): void;
9
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeletedAuthCompileAssertions = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const ClientNode = tslib_1.__importStar(require("./index"));
6
+ /**
7
+ * COMPILE-TIME proof that the outbound half of `webhook(name)` stays deleted (#1339): ONE
8
+ * `VendorAuthHook` (core-context) now mints, refreshes and verifies. Each `@ts-expect-error` fails
9
+ * the build (TS2578) the moment its symbol is exported again. A compiled file, never a `.spec.ts`,
10
+ * because vitest strips types and a spec's `@ts-expect-error` is inert.
11
+ */
12
+ class DeletedAuthCompileAssertions {
13
+ removedExports() {
14
+ // @ts-expect-error WebhookSignerCallback is replaced by VendorAuthHook.mint (bind VENDOR_AUTH_HOOK)
15
+ void ClientNode.WebhookSignerCallback;
16
+ // @ts-expect-error WEBHOOK_SIGNER_CALLBACK is replaced by VENDOR_AUTH_HOOK
17
+ void ClientNode.WEBHOOK_SIGNER_CALLBACK;
18
+ // @ts-expect-error MissingWebhookSignerError is replaced by MissingVendorAuthHookError
19
+ void ClientNode.MissingWebhookSignerError;
20
+ }
21
+ }
22
+ exports.DeletedAuthCompileAssertions = DeletedAuthCompileAssertions;
23
+ //# sourceMappingURL=DeletedAuthCompileAssertions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletedAuthCompileAssertions.js","sourceRoot":"","sources":["../../../../../packages/http/http-client-node/src/DeletedAuthCompileAssertions.ts"],"names":[],"mappings":";;;;AAAA,4DAAsC;AAEtC;;;;;GAKG;AACH,MAAa,4BAA4B;IACrC,cAAc;QACV,oGAAoG;QACpG,KAAK,UAAU,CAAC,qBAAqB,CAAC;QACtC,2EAA2E;QAC3E,KAAK,UAAU,CAAC,uBAAuB,CAAC;QACxC,uFAAuF;QACvF,KAAK,UAAU,CAAC,yBAAyB,CAAC;IAC9C,CAAC;CACJ;AATD,oEASC","sourcesContent":["import * as ClientNode from './index';\n\n/**\n * COMPILE-TIME proof that the outbound half of `webhook(name)` stays deleted (#1339): ONE\n * `VendorAuthHook` (core-context) now mints, refreshes and verifies. Each `@ts-expect-error` fails\n * the build (TS2578) the moment its symbol is exported again. A compiled file, never a `.spec.ts`,\n * because vitest strips types and a spec's `@ts-expect-error` is inert.\n */\nexport class DeletedAuthCompileAssertions {\n removedExports(): void {\n // @ts-expect-error WebhookSignerCallback is replaced by VendorAuthHook.mint (bind VENDOR_AUTH_HOOK)\n void ClientNode.WebhookSignerCallback;\n // @ts-expect-error WEBHOOK_SIGNER_CALLBACK is replaced by VENDOR_AUTH_HOOK\n void ClientNode.WEBHOOK_SIGNER_CALLBACK;\n // @ts-expect-error MissingWebhookSignerError is replaced by MissingVendorAuthHookError\n void ClientNode.MissingWebhookSignerError;\n }\n}\n"]}