@rongcloud/engine 5.40.0-alpha.4 → 5.40.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/index.d.ts CHANGED
@@ -9560,6 +9560,43 @@ interface ILogData {
9560
9560
  loggerId?: string;
9561
9561
  }
9562
9562
 
9563
+ /**
9564
+ * 区域码枚举
9565
+ * @category Enum
9566
+ */
9567
+ declare enum AreaCode {
9568
+ /**
9569
+ * 默认值,北京数据中心
9570
+ */
9571
+ BJ = 1,
9572
+ /**
9573
+ * 新加坡数据中心
9574
+ */
9575
+ SG = 2,
9576
+ /**
9577
+ * 北美数据中心
9578
+ */
9579
+ NA = 3,
9580
+ /**
9581
+ * 新加坡数据中心
9582
+ * @deprecated 请使用 `AreaCode.SG_B`
9583
+ * @hidden
9584
+ */
9585
+ SG_A = 4,
9586
+ /**
9587
+ * 新加坡 B 企业合作数据中心
9588
+ */
9589
+ SG_B = 4,
9590
+ /**
9591
+ * 沙特数据中心
9592
+ */
9593
+ SA = 5,
9594
+ /**
9595
+ * 阿曼数据中心
9596
+ */
9597
+ OM = 6
9598
+ }
9599
+
9563
9600
  /**
9564
9601
  * 进程内缓存数据
9565
9602
  */
@@ -9570,6 +9607,8 @@ interface IProcessCache {
9570
9607
  connectionStatus: RCConnectionStatus;
9571
9608
  deviceId: string;
9572
9609
  deltaTime: number;
9610
+ /** 主进程代码版本 hash */
9611
+ commitId: string;
9573
9612
  }
9574
9613
  /**
9575
9614
  * 同步跨进程方法定义
@@ -10899,43 +10938,6 @@ declare function fixUrlProtocol(url: string, protocol?: EConnectProtocol): strin
10899
10938
 
10900
10939
  declare function httpRequest(options: IRequest): SuspendablePromise<IResponse>;
10901
10940
 
10902
- /**
10903
- * 区域码枚举
10904
- * @category Enum
10905
- */
10906
- declare enum AreaCode {
10907
- /**
10908
- * 默认值,北京数据中心
10909
- */
10910
- BJ = 1,
10911
- /**
10912
- * 新加坡数据中心
10913
- */
10914
- SG = 2,
10915
- /**
10916
- * 北美数据中心
10917
- */
10918
- NA = 3,
10919
- /**
10920
- * 新加坡数据中心
10921
- * @deprecated 请使用 `AreaCode.SG_B`
10922
- * @hidden
10923
- */
10924
- SG_A = 4,
10925
- /**
10926
- * 新加坡 B 企业合作数据中心
10927
- */
10928
- SG_B = 4,
10929
- /**
10930
- * 沙特数据中心
10931
- */
10932
- SA = 5,
10933
- /**
10934
- * 阿曼数据中心
10935
- */
10936
- OM = 6
10937
- }
10938
-
10939
10941
  interface ISSERequestOpts {
10940
10942
  /** 应用 appkey */
10941
10943
  readonly appkey: string;