@sanity/client 6.8.6 → 6.9.1

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.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var nodeMiddleware = require('./_chunks/nodeMiddleware-jEUYjZLa.cjs');
6
+ var nodeMiddleware = require('./_chunks/nodeMiddleware-xi7HzSDh.cjs');
7
7
  var getIt = require('get-it');
8
8
  function defineDeprecatedCreateClient(createClient) {
9
9
  return function deprecatedCreateClient(config) {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { printNoDefaultExport, defineCreateClientExports, SanityClient, middleware } from './_chunks/nodeMiddleware-8GEdHLWG.js';
2
- export { BasePatch, BaseTransaction, ClientError, ObservablePatch, ObservableSanityClient, ObservableTransaction, Patch, ServerError, Transaction } from './_chunks/nodeMiddleware-8GEdHLWG.js';
1
+ import { printNoDefaultExport, defineCreateClientExports, SanityClient, middleware } from './_chunks/nodeMiddleware-_IDbqRDk.js';
2
+ export { BasePatch, BaseTransaction, ClientError, ObservablePatch, ObservableSanityClient, ObservableTransaction, Patch, ServerError, Transaction } from './_chunks/nodeMiddleware-_IDbqRDk.js';
3
3
  export { adapter as unstable__adapter, environment as unstable__environment } from 'get-it';
4
4
  function defineDeprecatedCreateClient(createClient) {
5
5
  return function deprecatedCreateClient(config) {
package/dist/stega.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var nodeMiddleware = require('./_chunks/nodeMiddleware-jEUYjZLa.cjs');
6
+ var nodeMiddleware = require('./_chunks/nodeMiddleware-xi7HzSDh.cjs');
7
7
  var operators = require('rxjs/operators');
8
8
  var stega = require('@vercel/stega');
9
9
  var resolveEditInfo = require('./_chunks/resolveEditInfo-ELDmigrd.cjs');
package/dist/stega.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ObservableSanityClient, defaultConfig, SanityClient, defineCreateClientExports, middleware } from './_chunks/nodeMiddleware-8GEdHLWG.js';
2
- export { BasePatch, BaseTransaction, ClientError, ObservablePatch, ObservableTransaction, Patch, ServerError, Transaction } from './_chunks/nodeMiddleware-8GEdHLWG.js';
1
+ import { ObservableSanityClient, defaultConfig, SanityClient, defineCreateClientExports, middleware } from './_chunks/nodeMiddleware-_IDbqRDk.js';
2
+ export { BasePatch, BaseTransaction, ClientError, ObservablePatch, ObservableTransaction, Patch, ServerError, Transaction } from './_chunks/nodeMiddleware-_IDbqRDk.js';
3
3
  import { map } from 'rxjs/operators';
4
4
  import { vercelStegaCombine, vercelStegaSplit } from '@vercel/stega';
5
5
  import { walkMap, resolveMapping, parseJsonPath, resolveStudioBaseRoute, createEditUrl, reKeySegment, toString, jsonPathToStudioPath } from './_chunks/resolveEditInfo-R2JexMKb.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "6.8.6",
3
+ "version": "6.9.1",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "keywords": [
6
6
  "sanity",
@@ -139,28 +139,28 @@
139
139
  "@edge-runtime/vm": "^3.1.7",
140
140
  "@rollup/plugin-commonjs": "^25.0.7",
141
141
  "@rollup/plugin-node-resolve": "^15.2.3",
142
- "@sanity/pkg-utils": "^3.2.3",
142
+ "@sanity/pkg-utils": "^3.2.5",
143
143
  "@types/node": "^20.8.8",
144
- "@typescript-eslint/eslint-plugin": "^6.11.0",
145
- "@typescript-eslint/parser": "^6.11.0",
144
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
145
+ "@typescript-eslint/parser": "^6.13.1",
146
146
  "@vitest/coverage-v8": "^0.34.6",
147
- "eslint": "^8.53.0",
147
+ "eslint": "^8.54.0",
148
148
  "eslint-config-prettier": "^9.0.0",
149
149
  "eslint-plugin-prettier": "^5.0.1",
150
150
  "eslint-plugin-simple-import-sort": "^10.0.0",
151
151
  "faucet": "^0.0.4",
152
152
  "happy-dom": "^12.10.3",
153
- "ls-engines": "^0.9.0",
154
- "nock": "^13.3.8",
153
+ "ls-engines": "^0.9.1",
154
+ "nock": "^13.4.0",
155
155
  "prettier": "^3.1.0",
156
156
  "prettier-plugin-packagejson": "^2.4.6",
157
157
  "rimraf": "^5.0.1",
158
- "rollup": "^4.4.1",
158
+ "rollup": "^4.6.0",
159
159
  "sse-channel": "^4.0.0",
160
160
  "terser": "^5.24.0",
161
- "typescript": "^5.2.2",
161
+ "typescript": "^5.3.2",
162
162
  "vitest": "^0.34.6",
163
- "vitest-github-actions-reporter": "^0.10.0"
163
+ "vitest-github-actions-reporter": "^0.11.0"
164
164
  },
165
165
  "engines": {
166
166
  "node": ">=14.18"