@sanity/client 6.22.3-canary.1 → 6.22.3

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.d.cts CHANGED
@@ -486,14 +486,9 @@ export declare interface ContentSourceMapValueMapping {
486
486
 
487
487
  /** @public */
488
488
  export declare class CorsOriginError extends Error {
489
- projectId?: string
489
+ projectId: string
490
490
  addOriginUrl?: URL
491
- constructor({projectId}: CorsOriginErrorOptions)
492
- }
493
-
494
- /** @public */
495
- export declare interface CorsOriginErrorOptions {
496
- projectId?: string
491
+ constructor({projectId}: {projectId: string})
497
492
  }
498
493
 
499
494
  /**
package/dist/index.d.ts CHANGED
@@ -486,14 +486,9 @@ export declare interface ContentSourceMapValueMapping {
486
486
 
487
487
  /** @public */
488
488
  export declare class CorsOriginError extends Error {
489
- projectId?: string
489
+ projectId: string
490
490
  addOriginUrl?: URL
491
- constructor({projectId}: CorsOriginErrorOptions)
492
- }
493
-
494
- /** @public */
495
- export declare interface CorsOriginErrorOptions {
496
- projectId?: string
491
+ constructor({projectId}: {projectId: string})
497
492
  }
498
493
 
499
494
  /**
package/dist/index.js CHANGED
@@ -1550,7 +1550,7 @@ function defineDeprecatedCreateClient(createClient2) {
1550
1550
  return printNoDefaultExport(), createClient2(config);
1551
1551
  };
1552
1552
  }
1553
- var name = "@sanity/client", version = "6.22.3-canary.1";
1553
+ var name = "@sanity/client", version = "6.22.3";
1554
1554
  const middleware = [
1555
1555
  debug({ verbose: !0, namespace: "sanity:client" }),
1556
1556
  headers({ "User-Agent": `${name} ${version}` }),