@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.browser.cjs.map +1 -1
- package/dist/index.browser.d.cts +2 -7
- package/dist/index.browser.d.ts +2 -7
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -7
- package/dist/index.d.ts +2 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/data/live.ts +1 -1
- package/src/defineCreateClient.ts +1 -1
- package/src/http/errors.ts +2 -7
package/dist/index.browser.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
|
|
489
|
+
projectId: string
|
|
490
490
|
addOriginUrl?: URL
|
|
491
|
-
constructor({projectId}:
|
|
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.browser.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
|
|
489
|
+
projectId: string
|
|
490
490
|
addOriginUrl?: URL
|
|
491
|
-
constructor({projectId}:
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/** @public */
|
|
495
|
-
export declare interface CorsOriginErrorOptions {
|
|
496
|
-
projectId?: string
|
|
491
|
+
constructor({projectId}: {projectId: string})
|
|
497
492
|
}
|
|
498
493
|
|
|
499
494
|
/**
|