@storybook/telemetry 7.6.22 → 7.6.24
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.d.ts +10 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -2746,7 +2746,9 @@ interface CoreConfig {
|
|
|
2746
2746
|
};
|
|
2747
2747
|
renderer?: RendererName;
|
|
2748
2748
|
disableWebpackDefaults?: boolean;
|
|
2749
|
-
channelOptions?: Partial<Options$1
|
|
2749
|
+
channelOptions?: Partial<Options$1> & {
|
|
2750
|
+
wsToken?: string;
|
|
2751
|
+
};
|
|
2750
2752
|
/**
|
|
2751
2753
|
* Disables the generation of project.json, a file containing Storybook metadata
|
|
2752
2754
|
*/
|
|
@@ -2765,6 +2767,11 @@ interface CoreConfig {
|
|
|
2765
2767
|
* @see https://storybook.js.org/telemetry
|
|
2766
2768
|
*/
|
|
2767
2769
|
enableCrashReports?: boolean;
|
|
2770
|
+
/**
|
|
2771
|
+
* Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
|
|
2772
|
+
* all hosts except known local/network address, or `true` to allow all hosts.
|
|
2773
|
+
*/
|
|
2774
|
+
allowedHosts?: string[] | true;
|
|
2768
2775
|
/**
|
|
2769
2776
|
* enable CORS headings to run document in a "secure context"
|
|
2770
2777
|
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
|
|
@@ -2852,6 +2859,8 @@ interface BuilderOptions {
|
|
|
2852
2859
|
versionCheck?: VersionCheck;
|
|
2853
2860
|
disableWebpackDefaults?: boolean;
|
|
2854
2861
|
serverChannelUrl?: string;
|
|
2862
|
+
localAddress?: string;
|
|
2863
|
+
networkAddress?: string;
|
|
2855
2864
|
}
|
|
2856
2865
|
interface StorybookConfigOptions {
|
|
2857
2866
|
presets: Presets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/telemetry",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.24",
|
|
4
4
|
"description": "Telemetry logging for crash reports and usage statistics",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@storybook/client-logger": "7.6.
|
|
48
|
-
"@storybook/core-common": "7.6.
|
|
49
|
-
"@storybook/csf-tools": "7.6.
|
|
47
|
+
"@storybook/client-logger": "7.6.24",
|
|
48
|
+
"@storybook/core-common": "7.6.24",
|
|
49
|
+
"@storybook/csf-tools": "7.6.24",
|
|
50
50
|
"chalk": "^4.1.0",
|
|
51
51
|
"detect-package-manager": "^2.0.1",
|
|
52
52
|
"fetch-retry": "^5.0.2",
|