@vess-id/ai-identity 0.5.0-alpha.12 → 0.5.0-alpha.13

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/dist/index.js CHANGED
@@ -2932,6 +2932,8 @@ var AIdentityError = class extends Error {
2932
2932
  this.name = this.constructor.name;
2933
2933
  Object.setPrototypeOf(this, new.target.prototype);
2934
2934
  }
2935
+ code;
2936
+ details;
2935
2937
  };
2936
2938
  var VCExpiredError = class extends AIdentityError {
2937
2939
  constructor(message = "Verifiable Credential has expired", details) {
@@ -4092,6 +4094,8 @@ var GatewayError = class extends Error {
4092
4094
  this.responseBody = responseBody;
4093
4095
  this.name = "GatewayError";
4094
4096
  }
4097
+ statusCode;
4098
+ responseBody;
4095
4099
  };
4096
4100
 
4097
4101
  // src/auth/auth-provider.ts
@@ -4571,6 +4575,7 @@ var SimpleRebac = class {
4571
4575
  constructor(allowRelations = ["viewer", "editor", "admin", "owner", "act_as"]) {
4572
4576
  this.allowRelations = allowRelations;
4573
4577
  }
4578
+ allowRelations;
4574
4579
  async check(_sub, relations) {
4575
4580
  return relations.some((r) => this.allowRelations.includes(r));
4576
4581
  }
@@ -4585,6 +4590,7 @@ var DummyVpVerifier = class {
4585
4590
  constructor(vc) {
4586
4591
  this.vc = vc;
4587
4592
  }
4593
+ vc;
4588
4594
  async verifyAndExtractClaims() {
4589
4595
  return this.vc;
4590
4596
  }