@choiceform/os-client-core 3.6.59 → 3.6.61

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/index.d.ts CHANGED
@@ -8732,6 +8732,10 @@ interface CFPDFullSurvey extends CFPDSurveyCommonBase, CFPDSurveyUniqueBase {
8732
8732
  * 指定的答题端地址,
8733
8733
  */
8734
8734
  clientHost?: string;
8735
+ /**
8736
+ * 指定的答题端 SSR 渲染地址,
8737
+ */
8738
+ clientSSRHost?: string;
8735
8739
  /**
8736
8740
  * 是否正在请求升级为V3
8737
8741
  */
@@ -10656,6 +10660,10 @@ interface CFPDStartNode
10656
10660
  * 其他的规则后续可能陆续加入
10657
10661
  */
10658
10662
  strictMode: boolean;
10663
+ /**
10664
+ * 开启服务端渲染模式(目前仅供良品项目使用)
10665
+ */
10666
+ clientSSRMode: boolean;
10659
10667
  /**
10660
10668
  * 本问卷使用到的动态渲染模板id列表
10661
10669
  */
@@ -12057,6 +12065,10 @@ interface CFPDParam {
12057
12065
  * 请求信息
12058
12066
  */
12059
12067
  interface CFPDRequest {
12068
+ /**
12069
+ * 是否启用后台请求设置
12070
+ */
12071
+ enabled?: boolean;
12060
12072
  /**
12061
12073
  * 内置接口id
12062
12074
  */
@@ -12069,6 +12081,10 @@ interface CFPDRequest {
12069
12081
  * 请求方式
12070
12082
  */
12071
12083
  method?: REQ_TYPE;
12084
+ /**
12085
+ * 是否允许使用不安全的 HTTPs 请求
12086
+ */
12087
+ allowInsecureHttps?: boolean;
12072
12088
  /**
12073
12089
  * 参数信息
12074
12090
  */
@@ -12079,6 +12095,7 @@ interface CFPDRequest {
12079
12095
  url?: string;
12080
12096
  }
12081
12097
 
12098
+
12082
12099
  // -------------- node_modules/@choiceform/os-cfpd/types/support/switch.d.ts ---------------
12083
12100
 
12084
12101
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.6.59",
3
+ "version": "3.6.61",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
@@ -75,7 +75,7 @@
75
75
  "ua-parser-js": "^0.7.20"
76
76
  },
77
77
  "dependencies": {
78
- "@choiceform/os-cfpd": "^3.2.11",
78
+ "@choiceform/os-cfpd": "3.2.17",
79
79
  "ts-loader": "^9.5.1",
80
80
  "typescript": "^5.3.3",
81
81
  "webpack": "^5.90.1",