wgt-node-utils 1.2.22 → 1.2.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -718,6 +718,8 @@ class wgtNodeUtils {
718
718
  } else if (lang === 'fr') {
719
719
  policyTitle = 'Cette politique de confidentialité est en vigueur pour tous les utilisateurs à partir du [5 janvier], 2021.';
720
720
  }
721
+ console.log('policyTitle:', policyTitle)
722
+ console.log('lang:', lang)
721
723
  const txt = properties.txt || self.setPolicyText(hostname, policyTitle, lang);
722
724
 
723
725
  // 构建结果
@@ -726,7 +728,7 @@ class wgtNodeUtils {
726
728
  title: title ? title : '',
727
729
  txt: title ? `<h2>${title}</h2>${txt}` : txt,
728
730
  };
729
-
731
+
730
732
  return data;
731
733
  } catch (error) {
732
734
  console.error("Error fetching policy and contact data:", error);