@realsee/five 5.0.0-alpha.35 → 5.0.0-alpha.39

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 (78) hide show
  1. package/README.md +14 -6
  2. package/docs/classes/five.Camera.html +4 -4
  3. package/docs/classes/five.Five.html +4 -4
  4. package/docs/classes/five.HashCubeTexture.html +4 -4
  5. package/docs/classes/five.InternalWebGLRenderer.html +4 -4
  6. package/docs/classes/five.Model.html +4 -4
  7. package/docs/classes/five.NetworkSubscribe.html +4 -4
  8. package/docs/classes/five.PBMContainer.html +4 -4
  9. package/docs/classes/five.PBMGroup.html +4 -4
  10. package/docs/classes/five.PBMMaterial.html +4 -4
  11. package/docs/classes/five.PBMMesh.html +4 -4
  12. package/docs/classes/five.Scene.html +4 -4
  13. package/docs/classes/five.Subscribe.html +4 -4
  14. package/docs/classes/gltf_loader.GLTFLoader.html +4 -4
  15. package/docs/classes/gltf_loader.GLTFObject.html +4 -4
  16. package/docs/classes/line.Line.html +4 -4
  17. package/docs/classes/line.LineGeometry.html +4 -4
  18. package/docs/classes/line.LineMaterial.html +4 -4
  19. package/docs/classes/line.LineSegmentsGeometry.html +4 -4
  20. package/docs/classes/line.THREE_Line2.html +4 -4
  21. package/docs/classes/line.THREE_LineSegments2.html +4 -4
  22. package/docs/classes/react.Store.html +4 -4
  23. package/docs/classes/server.Model.html +4 -4
  24. package/docs/classes/server.PBMGroup.html +4 -4
  25. package/docs/classes/server.PBMMesh.html +4 -4
  26. package/docs/classes/sticker.Sticker.html +4 -4
  27. package/docs/index.html +33 -10
  28. package/docs/interfaces/five.AddableObject.html +4 -4
  29. package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +4 -4
  30. package/docs/interfaces/five.EventCallback.html +4 -4
  31. package/docs/interfaces/five.FiveInitArgs.html +4 -4
  32. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +4 -4
  33. package/docs/interfaces/five.ImageOptions.html +4 -4
  34. package/docs/interfaces/five.IntersectMeshInterface.html +4 -4
  35. package/docs/interfaces/five.Intersection.html +4 -4
  36. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +4 -4
  37. package/docs/interfaces/five.ModelEventCallback.html +4 -4
  38. package/docs/interfaces/five.MovePanoOptions.html +4 -4
  39. package/docs/interfaces/five.PBMParameters.html +4 -4
  40. package/docs/interfaces/five.PanoCircleMeshInterface.html +4 -4
  41. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +8 -8
  42. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +4 -4
  43. package/docs/interfaces/five.Pose.html +4 -4
  44. package/docs/interfaces/five.Scissor.html +4 -4
  45. package/docs/interfaces/five.State.html +4 -4
  46. package/docs/interfaces/five.SubscribeMixinType.emit.html +4 -4
  47. package/docs/interfaces/five.SubscribeMixinType.hasListener.html +4 -4
  48. package/docs/interfaces/five.SubscribeMixinType.off.html +4 -4
  49. package/docs/interfaces/five.SubscribeMixinType.on.html +4 -4
  50. package/docs/interfaces/five.SubscribeMixinType.once.html +4 -4
  51. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +4 -4
  52. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +9 -9
  53. package/docs/interfaces/gltf_loader.GLTF.html +4 -4
  54. package/docs/interfaces/react.FiveActionReactCallbacks.html +4 -4
  55. package/docs/interfaces/react.FiveInjectionTypes.html +4 -4
  56. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +4 -4
  57. package/docs/interfaces/server.Intersection.html +4 -4
  58. package/docs/interfaces/server.ModelEventCallback.html +4 -4
  59. package/docs/interfaces/sticker.IntersectionLike.html +4 -4
  60. package/docs/modules/five.SubscribeMixinType.html +4 -4
  61. package/docs/modules/five.html +4 -4
  62. package/docs/modules/gltf_loader.html +4 -4
  63. package/docs/modules/line.html +4 -4
  64. package/docs/modules/react.html +8 -8
  65. package/docs/modules/server.html +4 -4
  66. package/docs/modules/sticker.html +4 -4
  67. package/docs/modules.html +4 -4
  68. package/exporters/staticify.js +1 -1
  69. package/five/index.js +13 -13
  70. package/gltf-loader/index.js +2 -2
  71. package/line/index.js +2 -2
  72. package/package.json +1 -1
  73. package/react/index.d.ts +2 -2
  74. package/react/index.js +3 -3
  75. package/server/index.js +3 -3
  76. package/sticker/index.js +2 -2
  77. package/umd/five-react.js +1 -1
  78. package/umd/five.js +1 -1
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>IntersectionLike | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>IntersectionLike | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="../modules/sticker.html">sticker</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>SubscribeMixinType | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>SubscribeMixinType | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="five.html">five</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>five | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>five | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="five.html">five</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>gltf-loader | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>gltf-loader | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="gltf_loader.html">gltf-loader</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>line | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>line | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="line.html">line</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>react | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>react | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="react.html">react</a>
@@ -942,7 +942,7 @@
942
942
  <a name="useFiveCurrentState" class="tsd-anchor"></a>
943
943
  <h3>use<wbr>Five<wbr>Current<wbr>State</h3>
944
944
  <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
945
- <li class="tsd-signature tsd-kind-icon">use<wbr>Five<wbr>Current<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span>currentState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></li>
945
+ <li class="tsd-signature tsd-kind-icon">use<wbr>Five<wbr>Current<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span>currentState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>prevState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></li>
946
946
  </ul>
947
947
  <ul class="tsd-descriptions">
948
948
  <li class="tsd-description">
@@ -962,7 +962,7 @@
962
962
  </dd>
963
963
  </dl>
964
964
  </div>
965
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span>currentState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></h4>
965
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span>currentState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>prevState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></h4>
966
966
  <p>[ currentState: Five 的实时状态, setState: 设置 Five 的状态 ]</p>
967
967
  </li>
968
968
  </ul>
@@ -1328,7 +1328,7 @@
1328
1328
  <a name="useFiveState" class="tsd-anchor"></a>
1329
1329
  <h3>use<wbr>Five<wbr>State</h3>
1330
1330
  <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
1331
- <li class="tsd-signature tsd-kind-icon">use<wbr>Five<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></li>
1331
+ <li class="tsd-signature tsd-kind-icon">use<wbr>Five<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>prevState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></li>
1332
1332
  </ul>
1333
1333
  <ul class="tsd-descriptions">
1334
1334
  <li class="tsd-description">
@@ -1337,7 +1337,7 @@
1337
1337
  <li>Defined in lib/react/hooks/useFiveState.ts:19</li>
1338
1338
  </ul>
1339
1339
  </aside>
1340
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></h4>
1340
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>prevState<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, userAction<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></h4>
1341
1341
  </li>
1342
1342
  </ul>
1343
1343
  </section>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>server | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>server | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="server.html">server</a>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>sticker | 如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>sticker | 如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -50,7 +50,7 @@
50
50
  <div class="container">
51
51
  <ul class="tsd-breadcrumb">
52
52
  <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.35</a>
53
+ <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.39</a>
54
54
  </li>
55
55
  <li>
56
56
  <a href="sticker.html">sticker</a>
package/docs/modules.html CHANGED
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>如视 Five SDK - v5.0.0-alpha.35</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.35">
6
+ <title>如视 Five SDK - v5.0.0-alpha.39</title>
7
+ <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.39">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="assets/css/main.css">
10
10
  <script async src="assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="index.html" class="title">如视 Five SDK - v5.0.0-alpha.35</a>
26
+ <a href="index.html" class="title">如视 Five SDK - v5.0.0-alpha.39</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
  <div class="tsd-page-title">
50
50
  <div class="container">
51
- <h1>如视 Five SDK - v5.0.0-alpha.35</h1>
51
+ <h1>如视 Five SDK - v5.0.0-alpha.39</h1>
52
52
  </div>
53
53
  </div>
54
54
  </header>
@@ -34,7 +34,7 @@ function imageURL(url, size) {
34
34
  }
35
35
 
36
36
  async function download(url, jsonpHandleKey) {
37
- const request = /https\:/ ? require("https") : require("http");
37
+ const request = /^https\:/.test(url) ? require("https") : require("http");
38
38
  return new Promise((resolve, reject) => {
39
39
  const req = request.get(url, res => {
40
40
  const mime = res.headers['content-type'];