@sanity/client 7.12.0 → 7.12.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.
@@ -3453,7 +3453,7 @@ export declare class ObservableSanityClient {
3453
3453
  createVersion(
3454
3454
  args: {
3455
3455
  baseId: string
3456
- releaseId: string
3456
+ releaseId?: string
3457
3457
  publishedId: string
3458
3458
  ifBaseRevisionId?: string
3459
3459
  },
@@ -5278,7 +5278,7 @@ export declare class SanityClient {
5278
5278
  args: {
5279
5279
  publishedId: string
5280
5280
  baseId: string
5281
- releaseId: string
5281
+ releaseId?: string
5282
5282
  ifBaseRevisionId?: string
5283
5283
  },
5284
5284
  options?: BaseActionOptions,
@@ -3453,7 +3453,7 @@ export declare class ObservableSanityClient {
3453
3453
  createVersion(
3454
3454
  args: {
3455
3455
  baseId: string
3456
- releaseId: string
3456
+ releaseId?: string
3457
3457
  publishedId: string
3458
3458
  ifBaseRevisionId?: string
3459
3459
  },
@@ -5278,7 +5278,7 @@ export declare class SanityClient {
5278
5278
  args: {
5279
5279
  publishedId: string
5280
5280
  baseId: string
5281
- releaseId: string
5281
+ releaseId?: string
5282
5282
  ifBaseRevisionId?: string
5283
5283
  },
5284
5284
  options?: BaseActionOptions,
package/dist/stega.d.cts CHANGED
@@ -3453,7 +3453,7 @@ export declare class ObservableSanityClient {
3453
3453
  createVersion(
3454
3454
  args: {
3455
3455
  baseId: string
3456
- releaseId: string
3456
+ releaseId?: string
3457
3457
  publishedId: string
3458
3458
  ifBaseRevisionId?: string
3459
3459
  },
@@ -5278,7 +5278,7 @@ export declare class SanityClient {
5278
5278
  args: {
5279
5279
  publishedId: string
5280
5280
  baseId: string
5281
- releaseId: string
5281
+ releaseId?: string
5282
5282
  ifBaseRevisionId?: string
5283
5283
  },
5284
5284
  options?: BaseActionOptions,
package/dist/stega.d.ts CHANGED
@@ -3453,7 +3453,7 @@ export declare class ObservableSanityClient {
3453
3453
  createVersion(
3454
3454
  args: {
3455
3455
  baseId: string
3456
- releaseId: string
3456
+ releaseId?: string
3457
3457
  publishedId: string
3458
3458
  ifBaseRevisionId?: string
3459
3459
  },
@@ -5278,7 +5278,7 @@ export declare class SanityClient {
5278
5278
  args: {
5279
5279
  publishedId: string
5280
5280
  baseId: string
5281
- releaseId: string
5281
+ releaseId?: string
5282
5282
  ifBaseRevisionId?: string
5283
5283
  },
5284
5284
  options?: BaseActionOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "7.12.0",
3
+ "version": "7.12.1",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "keywords": [
6
6
  "sanity",
@@ -116,7 +116,7 @@
116
116
  "test:deno:update_import_map": "deno run --allow-read --allow-write runtimes/deno/update_import_map.ts",
117
117
  "test:edge-runtime": "npm test -- --config vitest.edge.config.ts",
118
118
  "test:next": "npm test -- --config ./vitest.next.config.ts",
119
- "test:node-runtimes": "(cd runtimes/node && node --test | npx faucet)"
119
+ "test:node-runtimes": "(cd runtimes/node && node --test)"
120
120
  },
121
121
  "browserslist": "extends @sanity/browserslist-config",
122
122
  "prettier": {
@@ -156,7 +156,6 @@
156
156
  "eslint-plugin-simple-import-sort": "^12.1.1",
157
157
  "eslint-plugin-tsdoc": "^0.4.0",
158
158
  "eslint-plugin-unused-imports": "^4.1.4",
159
- "faucet": "^0.0.4",
160
159
  "globals": "^16.0.0",
161
160
  "happy-dom": "^12.10.3",
162
161
  "json-diff": "^1.0.6",
@@ -601,7 +601,7 @@ export class ObservableSanityClient {
601
601
  createVersion(
602
602
  args: {
603
603
  baseId: string
604
- releaseId: string
604
+ releaseId?: string
605
605
  publishedId: string
606
606
  ifBaseRevisionId?: string
607
607
  },
@@ -1647,7 +1647,7 @@ export class SanityClient {
1647
1647
  args: {
1648
1648
  publishedId: string
1649
1649
  baseId: string
1650
- releaseId: string
1650
+ releaseId?: string
1651
1651
  ifBaseRevisionId?: string
1652
1652
  },
1653
1653
  options?: BaseActionOptions,