@extscreen/es-core 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/dist/index.js +13 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1808,6 +1808,7 @@ var ESSharedPreferencesModule$1 = new ESSharedPreferencesModule();
1808
1808
 
1809
1809
  class ESManager {
1810
1810
 
1811
+ _esSdkCid = null;
1811
1812
  _esSdkVersionCode = null;
1812
1813
  _esSdkVersionName = null;
1813
1814
  _esSdkPackageName = null;
@@ -1840,6 +1841,14 @@ class ESManager {
1840
1841
  //
1841
1842
  this._runtimePath = result.runtimePath;
1842
1843
  }
1844
+ return ESModule$1.getESDeviceInfo();
1845
+ }
1846
+ )
1847
+ //获取cid
1848
+ .then((result) => {
1849
+ if (result) {
1850
+ this._esSdkCid = result.cid;
1851
+ }
1843
1852
  return Promise.resolve();
1844
1853
  }
1845
1854
  );
@@ -1849,6 +1858,10 @@ class ESManager {
1849
1858
  return this._esSdkInfo;
1850
1859
  }
1851
1860
 
1861
+ getESSDKCid() {
1862
+ return this._esSdkCid;
1863
+ }
1864
+
1852
1865
  getESSDKVersionCode() {
1853
1866
  return this._esKitVersionCode;
1854
1867
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {