@thorprovider/adapters 5.0.7 → 5.0.8

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.mjs CHANGED
@@ -373,12 +373,14 @@ var ResourceNotFoundError = class extends CommerceError {
373
373
  }
374
374
  };
375
375
  var ProviderAPIError = class extends CommerceError {
376
- constructor(message, provider, status) {
376
+ constructor(message, provider, status, details) {
377
377
  super(message, "PROVIDER_API_ERROR", status);
378
378
  this.provider = provider;
379
+ this.details = details;
379
380
  this.name = "ProviderAPIError";
380
381
  }
381
382
  provider;
383
+ details;
382
384
  };
383
385
  function extractErrorMessage(error) {
384
386
  if (error instanceof Error && error.message) {