@procore/ai-translations 0.6.2 → 0.7.0

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.
@@ -266,7 +266,7 @@ declare const AITranslateText: React.FC<AITranslateTextProps>;
266
266
  /**
267
267
  * The key used to store/retrieve the feature flag in local storage.
268
268
  */
269
- declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
269
+ declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
270
270
  /**
271
271
  * Retrieves the LD ID for the AI translation feature flag based on the domain.
272
272
  * @param domain - The domain to determine the LD ID for
@@ -266,7 +266,7 @@ declare const AITranslateText: React.FC<AITranslateTextProps>;
266
266
  /**
267
267
  * The key used to store/retrieve the feature flag in local storage.
268
268
  */
269
- declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
269
+ declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
270
270
  /**
271
271
  * Retrieves the LD ID for the AI translation feature flag based on the domain.
272
272
  * @param domain - The domain to determine the LD ID for
@@ -1827,7 +1827,7 @@ var AITranslateText = ({
1827
1827
 
1828
1828
  // src/utils/featureFlag.ts
1829
1829
  var import_web_sdk_mfe_utils = require("@procore/web-sdk-mfe-utils");
1830
- var AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
1830
+ var AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
1831
1831
  var getAITranslationLDId = (domain) => {
1832
1832
  const { environment, zone } = (0, import_web_sdk_mfe_utils.getProcoreZone)(domain);
1833
1833
  if ((0, import_web_sdk_mfe_utils.isFederalZone)(zone)) {
@@ -1803,7 +1803,7 @@ var AITranslateText = ({
1803
1803
 
1804
1804
  // src/utils/featureFlag.ts
1805
1805
  import { isFederalZone, getProcoreZone } from "@procore/web-sdk-mfe-utils";
1806
- var AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
1806
+ var AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
1807
1807
  var getAITranslationLDId = (domain) => {
1808
1808
  const { environment, zone } = getProcoreZone(domain);
1809
1809
  if (isFederalZone(zone)) {
@@ -266,7 +266,7 @@ declare const AITranslateText: React.FC<AITranslateTextProps>;
266
266
  /**
267
267
  * The key used to store/retrieve the feature flag in local storage.
268
268
  */
269
- declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
269
+ declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
270
270
  /**
271
271
  * Retrieves the LD ID for the AI translation feature flag based on the domain.
272
272
  * @param domain - The domain to determine the LD ID for
@@ -266,7 +266,7 @@ declare const AITranslateText: React.FC<AITranslateTextProps>;
266
266
  /**
267
267
  * The key used to store/retrieve the feature flag in local storage.
268
268
  */
269
- declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
269
+ declare const AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
270
270
  /**
271
271
  * Retrieves the LD ID for the AI translation feature flag based on the domain.
272
272
  * @param domain - The domain to determine the LD ID for
@@ -1804,7 +1804,7 @@ var AITranslateText = ({
1804
1804
 
1805
1805
  // src/utils/featureFlag.ts
1806
1806
  var import_web_sdk_mfe_utils = require("@procore/web-sdk-mfe-utils");
1807
- var AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
1807
+ var AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
1808
1808
  var getAITranslationLDId = (domain) => {
1809
1809
  const { environment, zone } = (0, import_web_sdk_mfe_utils.getProcoreZone)(domain);
1810
1810
  if ((0, import_web_sdk_mfe_utils.isFederalZone)(zone)) {
@@ -1778,7 +1778,7 @@ var AITranslateText = ({
1778
1778
 
1779
1779
  // src/utils/featureFlag.ts
1780
1780
  import { isFederalZone, getProcoreZone } from "@procore/web-sdk-mfe-utils";
1781
- var AI_TRANSLATION_FEATURE_FLAG_KEY = "ai-translation";
1781
+ var AI_TRANSLATION_FEATURE_FLAG_KEY = "pe_ai_translations_web_program_visible";
1782
1782
  var getAITranslationLDId = (domain) => {
1783
1783
  const { environment, zone } = getProcoreZone(domain);
1784
1784
  if (isFederalZone(zone)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/ai-translations",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Library that provides a solution to use AI to translate text into a language",
5
5
  "main": "dist/legacy/index.js",
6
6
  "types": "dist/legacy/index.d.ts",