@sanity/client 6.18.2 → 6.18.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/README.md CHANGED
@@ -1260,7 +1260,7 @@ The following options are available for mutations, and can be applied either as
1260
1260
  - `async`: request will return immediately when the changes have been committed, but it might still be a second or more until changes are reflected in a query. Unless you are immediately re-querying for something that includes the mutated data, this is the preferred choice.
1261
1261
  - `deferred`: fastest way to write - bypasses real-time indexing completely, and should be used in cases where you are bulk importing/mutating a large number of documents and don't need to see that data in a query for tens of seconds.
1262
1262
  - `dryRun` (`true|false`) - default `false`. If true, the mutation will be a dry run - the response will be identical to the one returned had this property been omitted or false (including error responses) but no documents will be affected.
1263
- - `autoGenerateArrayKeys` (`true|false`) - default `false`. If true, the mutation API will automatically add `_key` attributes to objects in arrays that is missing them. This makes array operations more robust by having a unique key within the array available for selections, which helps prevent race conditions in real-time, collaborative editing.
1263
+ - `autoGenerateArrayKeys` (`true|false`) - default `false`. If true, the mutation API will automatically add `_key` attributes to objects in arrays that are missing them. This makes array operations more robust by having a unique key within the array available for selections, which helps prevent race conditions in real-time, collaborative editing.
1264
1264
 
1265
1265
  ### Aborting a request
1266
1266
 
package/dist/index.cjs CHANGED
@@ -1502,7 +1502,7 @@ function defineDeprecatedCreateClient(createClient2) {
1502
1502
  return printNoDefaultExport(), createClient2(config);
1503
1503
  };
1504
1504
  }
1505
- var name = "@sanity/client", version = "6.18.2";
1505
+ var name = "@sanity/client", version = "6.18.3";
1506
1506
  const middleware = [
1507
1507
  middleware$1.debug({ verbose: !0, namespace: "sanity:client" }),
1508
1508
  middleware$1.headers({ "User-Agent": `${name} ${version}` }),
package/dist/index.js CHANGED
@@ -1485,7 +1485,7 @@ function defineDeprecatedCreateClient(createClient2) {
1485
1485
  return printNoDefaultExport(), createClient2(config);
1486
1486
  };
1487
1487
  }
1488
- var name = "@sanity/client", version = "6.18.2";
1488
+ var name = "@sanity/client", version = "6.18.3";
1489
1489
  const middleware = [
1490
1490
  debug({ verbose: !0, namespace: "sanity:client" }),
1491
1491
  headers({ "User-Agent": `${name} ${version}` }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "6.18.2",
3
+ "version": "6.18.3",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "keywords": [
6
6
  "sanity",
@@ -118,19 +118,19 @@
118
118
  },
119
119
  "dependencies": {
120
120
  "@sanity/eventsource": "^5.0.2",
121
- "get-it": "^8.4.30",
121
+ "get-it": "^8.5.0",
122
122
  "rxjs": "^7.0.0"
123
123
  },
124
124
  "devDependencies": {
125
125
  "@edge-runtime/types": "^2.2.9",
126
126
  "@edge-runtime/vm": "^3.2.0",
127
- "@rollup/plugin-commonjs": "^25.0.7",
127
+ "@rollup/plugin-commonjs": "^25.0.8",
128
128
  "@rollup/plugin-node-resolve": "^15.2.3",
129
- "@sanity/pkg-utils": "^6.8.15",
129
+ "@sanity/pkg-utils": "^6.8.18",
130
130
  "@types/json-diff": "^1.0.3",
131
131
  "@types/node": "^20.8.8",
132
- "@typescript-eslint/eslint-plugin": "^7.9.0",
133
- "@typescript-eslint/parser": "^7.9.0",
132
+ "@typescript-eslint/eslint-plugin": "^7.10.0",
133
+ "@typescript-eslint/parser": "^7.10.0",
134
134
  "@vercel/stega": "0.1.2",
135
135
  "@vitest/coverage-v8": "1.6.0",
136
136
  "eslint": "^8.57.0",
@@ -146,7 +146,7 @@
146
146
  "prettier": "^3.2.5",
147
147
  "prettier-plugin-packagejson": "^2.5.0",
148
148
  "rimraf": "^5.0.1",
149
- "rollup": "^4.17.2",
149
+ "rollup": "^4.18.0",
150
150
  "sse-channel": "^4.0.0",
151
151
  "terser": "^5.31.0",
152
152
  "typescript": "5.4.5",