live2dapi-noa 1.0.0 → 1.0.2

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.
@@ -2,7 +2,7 @@
2
2
  // const live2d_path =
3
3
  // "https://fastly.jsdelivr.net/gh/nova1751/live2d-widget@latest/";
4
4
 
5
- const live2d_path = "https://npm.elemecdn.com/live2dapi-noa@latest/";
5
+ const live2d_path = "https://unpkg.com/live2dapi-noa@latest/";
6
6
 
7
7
  // 封装异步加载资源的方法
8
8
  function loadExternalResource(url, type) {
@@ -2,7 +2,7 @@
2
2
  // const live2d_path =
3
3
  // "https://fastly.jsdelivr.net/gh/nova1751/live2d-widget@latest/";
4
4
 
5
- const live2d_path = "https://npm.elemecdn.com/live2dapi-noa@latest/";
5
+ const live2d_path = "https://unpkg.com/live2dapi-noa@latest/";
6
6
 
7
7
  // 封装异步加载资源的方法
8
8
  function loadExternalResource(url, type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "live2dapi-noa",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "nova1751自建的live-2d api",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -44,19 +44,19 @@
44
44
 
45
45
  ```html
46
46
  <!-- 顺序切换模型材质 -->
47
- <script src="https://npm.elemecdn.com/noa-live2dapi@latest/npm/sequential/autoload.js"></script>
47
+ <script src="https://unpkg.com/live2dapi-noa@latest/npm/sequential/autoload.js"></script>
48
48
  <!-- 随机切换模型材质 -->
49
- <script src="https://npm.elemecdn.com/noa-live2dapi@latest/npm/random/autoload.js"></script>
49
+ <script src="https://unpkg.com/live2dapi-noa@latest/npm/random/autoload.js"></script>
50
50
 
51
51
  <!-- 看板娘位置靠左 -->
52
52
  <link
53
53
  rel="stylesheet"
54
- href="https://npm.elemecdn.com/live2dapi-noa@latest/css/left.css"
54
+ href="https://unpkg.com/live2dapi-noa@latest/css/left.css"
55
55
  />
56
56
  <!-- 看板娘位置靠右 -->
57
57
  <link
58
58
  rel="stylesheet"
59
- href="https://npm.elemecdn.com/live2dapi-noa@latest/css/right.css"
59
+ href="https://unpkg.com/live2dapi-noa@latest/css/right.css"
60
60
  />
61
61
  ```
62
62