@webpieces/http-client-node 0.4.894 → 0.4.896

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 (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -162,5 +162,9 @@ one.
162
162
 
163
163
  Calls have a **30-second default timeout**, including URL resolution, filters/auth, fetch and body
164
164
  reading. `CallRegistry` from `@webpieces/core-util` shares ALL, API and API-method overrides with the
165
- browser and Cloud Tasks clients. Any strategy replaces the entire timeout ladder; there is no
166
- default retry because POSTs may not be idempotent. See [client timeouts](../../../docs/client-timeouts.md).
165
+ browser and Cloud Tasks clients — one `CallRegistry.execute` for every transport. Any strategy replaces
166
+ the entire timeout ladder. RPC has no
167
+ default retry because POSTs may not be idempotent; opt a contract in with
168
+ `CallRegistry.setStrategy(new RetryStrategy(...).run, CatalogApi)`, which retries only a
169
+ `CallOutcome.TRANSIENT_FAILURE` on a `READ` / `WRITE_IDEMPOTENT` endpoint and gives up with a 502
170
+ `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.894",
3
+ "version": "0.4.896",
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.894",
26
- "@webpieces/core-util": "0.4.894",
27
- "@webpieces/gcp-identity": "0.4.894",
28
- "@webpieces/http-client-core": "0.4.894",
25
+ "@webpieces/core-context": "0.4.896",
26
+ "@webpieces/core-util": "0.4.896",
27
+ "@webpieces/gcp-identity": "0.4.896",
28
+ "@webpieces/http-client-core": "0.4.896",
29
29
  "inversify": "7.10.4",
30
30
  "reflect-metadata": "0.2.2"
31
31
  }