@sjawhar/pi-legion 20.1.0 → 20.3.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 (2) hide show
  1. package/dist/legion.js +3 -2
  2. package/package.json +1 -1
package/dist/legion.js CHANGED
@@ -17499,6 +17499,7 @@ var TOO_MANY_REQUESTS = 429;
17499
17499
  var INVALID_DPOP_PROOF = "invalid_dpop_proof";
17500
17500
  var USE_DPOP_NONCE = "use_dpop_nonce";
17501
17501
  var INVALID_GRANT = "invalid_grant";
17502
+ var MEMBERSHIP_HELD = "membership_held";
17502
17503
  var UNREGISTERED_FIRST_WAIT_MS = 15000;
17503
17504
  var UNREGISTERED_MAX_WAIT_MS = 5 * 60000;
17504
17505
  var UNREGISTERED_LOG_EVERY_MS = 30 * 60000;
@@ -17531,7 +17532,7 @@ class BrokerRefusedError extends Error {
17531
17532
  this.name = "BrokerRefusedError";
17532
17533
  }
17533
17534
  get permanent() {
17534
- return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && !this.podSessionUnregistered;
17535
+ return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && this.code !== MEMBERSHIP_HELD && !this.podSessionUnregistered;
17535
17536
  }
17536
17537
  get podSessionUnregistered() {
17537
17538
  return this.code === INVALID_GRANT && this.description.startsWith(`${POD_SESSION_NOT_REGISTERED}:`);
@@ -29931,7 +29932,7 @@ import { logger as logger3 } from "@oh-my-pi/pi-utils";
29931
29932
  // package.json
29932
29933
  var package_default = {
29933
29934
  name: "@sjawhar/pi-legion",
29934
- version: "20.1.0",
29935
+ version: "20.3.0",
29935
29936
  license: "Apache-2.0",
29936
29937
  type: "module",
29937
29938
  omp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "20.1.0",
3
+ "version": "20.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {