@sanity/client 8.8.0 → 8.9.0
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/collaboration.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.node.d.ts +1630 -359
- package/dist/index.node.js +1 -1
- package/dist/media-library.d.ts +1 -1
- package/dist/{types-Cov8gzNZ.d.ts → types-KoKIKv8Z.d.ts} +1631 -360
- package/package.json +1 -1
- package/src/context/openapi.json +1638 -805
- package/src/context/types.gen.ts +1630 -359
package/dist/index.node.js
CHANGED
|
@@ -1544,7 +1544,7 @@ function optionsFromFile(opts, file) {
|
|
|
1544
1544
|
contentType: file.type
|
|
1545
1545
|
}, opts);
|
|
1546
1546
|
}
|
|
1547
|
-
var name = "@sanity/client", version = "8.
|
|
1547
|
+
var name = "@sanity/client", version = "8.9.0", defaults_default = (obj, defaults) => Object.keys(defaults).concat(Object.keys(obj)).reduce((target, prop) => (target[prop] = obj[prop] === void 0 ? defaults[prop] : obj[prop], target), {});
|
|
1548
1548
|
const pick = (obj, props) => props.reduce((selection, prop) => (obj[prop] === void 0 || (selection[prop] = obj[prop]), selection), {}), RETRYABLE_STATUSES = /* @__PURE__ */ new Set([408, 429]);
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Note: connection failure is not the same as network disconnect which may happen more frequent.
|
package/dist/media-library.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _r as VideoRenditionInfoPublic, br as VideoSubtitleInfoPublic, gr as VideoRenditionInfo, hr as VideoPlaybackTokens, lr as VideoPlaybackInfo, mr as VideoPlaybackInfoSigned, vr as VideoRenditionInfoSigned, xr as VideoSubtitleInfoSigned, yr as VideoSubtitleInfo } from "./types-
|
|
1
|
+
import { _r as VideoRenditionInfoPublic, br as VideoSubtitleInfoPublic, gr as VideoRenditionInfo, hr as VideoPlaybackTokens, lr as VideoPlaybackInfo, mr as VideoPlaybackInfoSigned, vr as VideoRenditionInfoSigned, xr as VideoSubtitleInfoSigned, yr as VideoSubtitleInfo } from "./types-KoKIKv8Z.js";
|
|
2
2
|
/**
|
|
3
3
|
* Check if the entire playback info response requires signed URLs
|
|
4
4
|
* @public
|