@choiceform/os-client-core 3.4.0 → 3.4.1

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
@@ -382,13 +382,6 @@ interface CFEnvNetWork {
382
382
  * 默认行为:什么也不做
383
383
  */
384
384
  closeSocket?(): void;
385
- /**
386
- * 推动socket消息的方法
387
- * 默认行为:什么也不做
388
- * @param message 消息名
389
- * @param payload 附带的数据
390
- */
391
- pushSocket?(message:string, payload: object): void;
392
385
  }
393
386
  /**
394
387
  * 授权相关的配置,不同的运行平台有不同的账户系统,所以授权方式也不一样。
@@ -5809,6 +5802,10 @@ interface CFQuestion extends ICFNode, ICFTypeInfo {
5809
5802
  * 前一道题
5810
5803
  */
5811
5804
  readonly prev: CFQuestion;
5805
+ /**
5806
+ * 后一道题
5807
+ */
5808
+ readonly next: CFQuestion;
5812
5809
  /**
5813
5810
  * 编号,该题的唯一代号
5814
5811
  * 如果有该属性,UI要渲染
@@ -10208,7 +10205,7 @@ interface IRawVarIdentity {
10208
10205
  * 如果是`LOOP_ALL_ROUND`,则是所有次循环
10209
10206
  * 如果是某个循环选项的8位短id,则是该循环选项的这次循环
10210
10207
  */
10211
- readonly loopRoundId?: VAR_CONST.LOOP_ALL_ROUND | string;
10208
+ readonly loopRoundId?: string;
10212
10209
  /**
10213
10210
  * 同上,但针对内层循环
10214
10211
  */
@@ -10216,7 +10213,7 @@ interface IRawVarIdentity {
10216
10213
  /**
10217
10214
  * 同上,但针对内层循环
10218
10215
  */
10219
- readonly innerLoopRoundId?: VAR_CONST.LOOP_ALL_ROUND | string;
10216
+ readonly innerLoopRoundId?: string;
10220
10217
  }
10221
10218
 
10222
10219
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "choice form survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
@@ -42,7 +42,6 @@
42
42
  "@babel/preset-env": "^7.10.4",
43
43
  "@babel/runtime": "^7.12.1",
44
44
  "@types/node-fetch": "^2.5.8",
45
- "@types/phoenix": "^1.5.3",
46
45
  "@typescript-eslint/eslint-plugin": "^4.31.0",
47
46
  "@typescript-eslint/parser": "^4.31.0",
48
47
  "babel-loader": "^8.1.0",
@@ -61,7 +60,7 @@
61
60
  "messageformat": "^2.3.0",
62
61
  "node-fetch": "^2.6.1",
63
62
  "pako": "^1.0.10",
64
- "phoenix": "^1.6.2",
63
+ "phoenix": "^1.5.3",
65
64
  "prettier": "^2.3.2",
66
65
  "typedoc": "^0.15.0",
67
66
  "ua-parser-js": "^0.7.20"