@01.software/sdk 0.5.8 → 0.5.9

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/auth.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import './payload-types-CyaSGIFI.cjs';
1
+ import './payload-types-D70l0uF9.cjs';
2
2
 
3
3
  interface JwtPayload {
4
4
  clientKey: string;
package/dist/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import './payload-types-CyaSGIFI.js';
1
+ import './payload-types-D70l0uF9.js';
2
2
 
3
3
  interface JwtPayload {
4
4
  clientKey: string;
@@ -1,4 +1,4 @@
1
- import { C as Config } from './payload-types-CyaSGIFI.js';
1
+ import { C as Config } from './payload-types-D70l0uF9.js';
2
2
 
3
3
  /**
4
4
  * Collection type derived from Payload Config.
@@ -1,4 +1,4 @@
1
- import { C as Config } from './payload-types-CyaSGIFI.cjs';
1
+ import { C as Config } from './payload-types-D70l0uF9.cjs';
2
2
 
3
3
  /**
4
4
  * Collection type derived from Payload Config.
package/dist/index.cjs CHANGED
@@ -542,6 +542,9 @@ async function httpFetch(url, options) {
542
542
  }
543
543
  throw error;
544
544
  }
545
+ if (error instanceof SDKError) {
546
+ throw error;
547
+ }
545
548
  const unknownError = createNetworkError(
546
549
  error instanceof Error ? error.message : "An unknown network error occurred.",
547
550
  void 0,