@sanity/debug-preview-url-secret-plugin 2.0.3 → 2.0.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sanity/debug-preview-url-secret-plugin
2
2
 
3
+ ## 2.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6397826`](https://github.com/sanity-io/plugins/commit/63978265fe5b46ea88b524a945d16fbf39d7c199) Thanks [@stipsan](https://github.com/stipsan)! - Improve build output and dts gen
8
+
9
+ ## 2.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d3978bc`](https://github.com/sanity-io/plugins/commit/d3978bc676286c86396d29e02b744474b3340bee) Thanks [@stipsan](https://github.com/stipsan)! - Update LICENSE year
14
+
3
15
  ## 2.0.3
4
16
 
5
17
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Sanity.io
3
+ Copyright (c) 2026 Sanity.io
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -13,10 +13,10 @@ Add the plugin to your `sanity.config.ts`:
13
13
 
14
14
  ```ts
15
15
  // ./sanity.config.ts
16
- import { debugSecrets } from "@sanity/debug-preview-url-secret-plugin";
17
- import { defineConfig } from "sanity";
18
- import { structureTool } from "sanity/structure";
19
- import { presentationTool } from "sanity/presentation";
16
+ import {debugSecrets} from '@sanity/debug-preview-url-secret-plugin'
17
+ import {defineConfig} from 'sanity'
18
+ import {structureTool} from 'sanity/structure'
19
+ import {presentationTool} from 'sanity/presentation'
20
20
 
21
21
  export default defineConfig({
22
22
  // ... other options
@@ -26,15 +26,15 @@ export default defineConfig({
26
26
  presentationTool({
27
27
  previewUrl: {
28
28
  // @TODO change to the URL of the application, or `location.origin` if it's an embedded Studio
29
- origin: "http://localhost:3000",
29
+ origin: 'http://localhost:3000',
30
30
  previewMode: {
31
- enable: "/api/draft",
31
+ enable: '/api/draft',
32
32
  },
33
33
  },
34
34
  }),
35
35
  debugSecrets(),
36
36
  ],
37
- });
37
+ })
38
38
  ```
39
39
 
40
40
  You should see a new `@sanity/preview-url-secret` type in Structure Tool, which lists out secrets with metadata about when they were created and in what context.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["debugSecrets: Plugin"],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";cAuDaA,cAAc"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";cAuDa,YAAA,EAAc,MAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/debug-preview-url-secret-plugin",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "keywords": [
5
5
  "sanity",
6
6
  "sanity-plugin",
@@ -32,10 +32,10 @@
32
32
  "@sanity/preview-url-secret": "^4.0.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@sanity/pkg-utils": "^10.2.5",
36
- "@types/react": "^19.2.7",
37
- "react": "^19.2.3",
38
- "sanity": "^5.1.0",
35
+ "@sanity/pkg-utils": "^10.4.1",
36
+ "@types/react": "^19.2.10",
37
+ "react": "^19.2.4",
38
+ "sanity": "^5.7.0",
39
39
  "@repo/package.config": "0.0.0",
40
40
  "@repo/tsconfig": "0.0.0"
41
41
  },