@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.
- package/dist/legacy/index.d.mts +1 -1
- package/dist/legacy/index.d.ts +1 -1
- package/dist/legacy/index.js +1 -1
- package/dist/legacy/index.mjs +1 -1
- package/dist/modern/index.d.mts +1 -1
- package/dist/modern/index.d.ts +1 -1
- package/dist/modern/index.js +1 -1
- package/dist/modern/index.mjs +1 -1
- package/package.json +1 -1
package/dist/legacy/index.d.mts
CHANGED
|
@@ -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 = "
|
|
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
|
package/dist/legacy/index.d.ts
CHANGED
|
@@ -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 = "
|
|
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
|
package/dist/legacy/index.js
CHANGED
|
@@ -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 = "
|
|
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)) {
|
package/dist/legacy/index.mjs
CHANGED
|
@@ -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 = "
|
|
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)) {
|
package/dist/modern/index.d.mts
CHANGED
|
@@ -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 = "
|
|
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
|
package/dist/modern/index.d.ts
CHANGED
|
@@ -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 = "
|
|
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
|
package/dist/modern/index.js
CHANGED
|
@@ -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 = "
|
|
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)) {
|
package/dist/modern/index.mjs
CHANGED
|
@@ -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 = "
|
|
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