@doki-land/live2d-loader 0.0.15 → 0.0.16

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/README.md +14 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -45,11 +45,13 @@ model settings
45
45
  -> optional motions, expressions, physics, pose, and audio
46
46
  ```
47
47
 
48
- Every referenced resource must be reachable under the browser's CORS and content-security policies. A settings file being accessible does not guarantee that its textures or binary assets are accessible.
48
+ Every referenced resource must be reachable under the browser's CORS and content-security policies. A settings file
49
+ being accessible does not guarantee that its textures or binary assets are accessible.
49
50
 
50
51
  ## 🔌 Custom Hosts
51
52
 
52
- Game engines and constrained hosts can provide a custom `AssetResolver` instead of teaching the loader about every file system or package container.
53
+ Game engines and constrained hosts can provide a custom `AssetResolver` instead of teaching the loader about every file
54
+ system or package container.
53
55
 
54
56
  Appropriate custom resolvers include:
55
57
 
@@ -60,13 +62,16 @@ Appropriate custom resolvers include:
60
62
  - authenticated asset gateways;
61
63
  - offline bundles.
62
64
 
63
- Host adapters should translate their resource system into the shared resolver contract. They should not duplicate model settings normalization or MOC parsing.
65
+ Host adapters should translate their resource system into the shared resolver contract. They should not duplicate model
66
+ settings normalization or MOC parsing.
64
67
 
65
68
  ## 📈 Progress Reporting
66
69
 
67
- Loading progress is divided into meaningful stages such as settings, binary data, decode, and textures. Consumers should display the stage and normalized progress rather than guessing progress from the number of completed `fetch` calls.
70
+ Loading progress is divided into meaningful stages such as settings, binary data, decode, and textures. Consumers should
71
+ display the stage and normalized progress rather than guessing progress from the number of completed `fetch` calls.
68
72
 
69
- Byte totals may be unavailable when a server omits `Content-Length` or streams encoded content. Interfaces must tolerate an unknown total.
73
+ Byte totals may be unavailable when a server omits `Content-Length` or streams encoded content. Interfaces must tolerate
74
+ an unknown total.
70
75
 
71
76
  ## 🔒 Security
72
77
 
@@ -90,11 +95,13 @@ pnpm --filter @doki-land/live2d-loader typecheck
90
95
  pnpm --filter @doki-land/live2d-loader test
91
96
  ```
92
97
 
93
- Resolution changes should include cases for scoped packages, explicit versions, nested paths, malformed specifiers, relative URLs, and query/hash preservation where supported.
98
+ Resolution changes should include cases for scoped packages, explicit versions, nested paths, malformed specifiers,
99
+ relative URLs, and query/hash preservation where supported.
94
100
 
95
101
  ## 🤝 Contributing
96
102
 
97
- Keep loading separate from model evaluation and rendering. New source schemes should have a clear deployment use case and deterministic resolution rules.
103
+ Keep loading separate from model evaluation and rendering. New source schemes should have a clear deployment use case
104
+ and deterministic resolution rules.
98
105
 
99
106
  ## 📄 License
100
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doki-land/live2d-loader",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Fetch and normalize Live2D model.json/model3.json, resolve npm: URLs, AssetResolver for moc/textures.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "test": "vitest run"
43
43
  },
44
44
  "dependencies": {
45
- "@doki-land/live2d-core": "0.0.15"
45
+ "@doki-land/live2d-core": "0.0.16"
46
46
  },
47
47
  "sideEffects": false
48
48
  }