@webpieces/http-client-node 0.4.963 → 0.4.964
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 +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -171,10 +171,10 @@ the contract. With **no** `VendorAuthHook` bound, every outbound `vendorAuth(...
|
|
|
171
171
|
401ing every inbound one.
|
|
172
172
|
|
|
173
173
|
Calls have a **30-second default timeout**, including URL resolution, filters/auth, fetch and body
|
|
174
|
-
reading. `
|
|
175
|
-
browser and Cloud Tasks clients — one `
|
|
174
|
+
reading. `ClientRegistry` from `@webpieces/core-util` shares ALL, API and API-method overrides with the
|
|
175
|
+
browser and Cloud Tasks clients — one `ClientRegistry.execute` for every transport. Any strategy replaces
|
|
176
176
|
the entire timeout ladder. RPC has no
|
|
177
177
|
default retry because POSTs may not be idempotent; opt a contract in with
|
|
178
|
-
`
|
|
178
|
+
`ClientRegistry.setStrategy(new RetryStrategy(...).run, CallScope.api(CatalogApi))`, which retries only a
|
|
179
179
|
`CallOutcome.TRANSIENT_FAILURE` on a `READ` / `WRITE_IDEMPOTENT` endpoint and gives up with a 502
|
|
180
180
|
`ApiRetriesExhaustedError`. See [client timeouts](../../../docs/client-timeouts.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/http-client-node",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.964",
|
|
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.
|
|
26
|
-
"@webpieces/core-util": "0.4.
|
|
27
|
-
"@webpieces/gcp-identity": "0.4.
|
|
28
|
-
"@webpieces/http-client-core": "0.4.
|
|
25
|
+
"@webpieces/core-context": "0.4.964",
|
|
26
|
+
"@webpieces/core-util": "0.4.964",
|
|
27
|
+
"@webpieces/gcp-identity": "0.4.964",
|
|
28
|
+
"@webpieces/http-client-core": "0.4.964",
|
|
29
29
|
"inversify": "7.10.4",
|
|
30
30
|
"reflect-metadata": "0.2.2"
|
|
31
31
|
}
|