From 788138d73ba7df047199954f1bd1bc2492fe9759 Mon Sep 17 00:00:00 2001 From: Karlie Li Date: Thu, 29 May 2025 14:10:17 -0700 Subject: [PATCH 1/5] release snippet 1.2.2 --- README.md | 2 +- RELEASES.md | 7 +++++ common/config/rush/npm-shrinkwrap.json | 28 +++++++++---------- .../package.json | 2 +- .../src/snippet.ts | 2 +- version.json | 2 +- 6 files changed, 25 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 30ebc8e73..761eedbb8 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ The current version of the snippet is version 8, the version is identified by th ```html ``` diff --git a/tools/applicationinsights-web-snippet/src/snippet-config.jsonc b/tools/applicationinsights-web-snippet/src/snippet-config.jsonc index 7795d7178..c9f4178c0 100644 --- a/tools/applicationinsights-web-snippet/src/snippet-config.jsonc +++ b/tools/applicationinsights-web-snippet/src/snippet-config.jsonc @@ -7,6 +7,10 @@ crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag // onInit: null, // Once the application insights instance has loaded and initialized this callback function will be called with 1 argument -- the sdk instance (DO NOT ADD anything to the sdk.queue -- As they won't get called) // sri: false, // Custom optional value to specify whether fetching the snippet from integrity file and do integrity check + // pl: false, // Custom optional value to specify whether to enable the trusted type policy check on snippet + // pn: "aiPolicy", // Custom optional value to specify the name of the trusted type policy that would be implemented on the snippet, default is "aiPolicy" + // ttp: null, // Custom optional value to specify the trusted type policy that would be applied on the snippet src + // nt: null, // Custom optional value to specify the nounce tag value that would be applied on the script when we drop it on the page cfg: { // Application Insights Configuration connectionString: "YOUR_CONNECTION_STRING" }