@doki-land/live2d-core 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 +12 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,7 +24,8 @@ It does not fetch network resources, decode MOC binaries, create a canvas, or is
24
24
  pnpm add @doki-land/live2d-core
25
25
  ```
26
26
 
27
- Install this package directly only when implementing a compatible loader, renderer, diagnostic tool, or host integration.
27
+ Install this package directly only when implementing a compatible loader, renderer, diagnostic tool, or host
28
+ integration.
28
29
 
29
30
  ## 🧱 Design Principles
30
31
 
@@ -48,7 +49,8 @@ import type {
48
49
  } from "@doki-land/live2d-core";
49
50
  ```
50
51
 
51
- An asset resolver provides model-related resources without prescribing HTTP, file-system, CDN, or package-registry behavior:
52
+ An asset resolver provides model-related resources without prescribing HTTP, file-system, CDN, or package-registry
53
+ behavior:
52
54
 
53
55
  ```ts
54
56
  const resolver: AssetResolver = {
@@ -63,7 +65,8 @@ const resolver: AssetResolver = {
63
65
  };
64
66
  ```
65
67
 
66
- Use the exact exported interface as the source of truth; the example illustrates the ownership boundary rather than guaranteeing every method name across versions.
68
+ Use the exact exported interface as the source of truth; the example illustrates the ownership boundary rather than
69
+ guaranteeing every method name across versions.
67
70
 
68
71
  ## 🔄 Session Lifecycle
69
72
 
@@ -74,7 +77,8 @@ idle -> mounting -> ready -> loading -> live
74
77
  \-> error
75
78
  ```
76
79
 
77
- Consumers should listen to phase and error events instead of inferring readiness from a non-null canvas or model reference.
80
+ Consumers should listen to phase and error events instead of inferring readiness from a non-null canvas or model
81
+ reference.
78
82
 
79
83
  ## 📸 Frame Data
80
84
 
@@ -95,11 +99,13 @@ pnpm --filter @doki-land/live2d-core typecheck
95
99
  pnpm --filter @doki-land/live2d-core test
96
100
  ```
97
101
 
98
- Contract changes should include compatibility notes in the change itself and update all workspace consumers in the same change set.
102
+ Contract changes should include compatibility notes in the change itself and update all workspace consumers in the same
103
+ change set.
99
104
 
100
105
  ## 🤝 Contributing
101
106
 
102
- Avoid adding convenience APIs that belong to the facade. A core abstraction should be shared by at least two implementation layers and remain meaningful without a browser UI framework.
107
+ Avoid adding convenience APIs that belong to the facade. A core abstraction should be shared by at least two
108
+ implementation layers and remain meaningful without a browser UI framework.
103
109
 
104
110
  ## 📄 License
105
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doki-land/live2d-core",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Shared TypeScript contracts for live2d.ts — ModelSource, Live2dStage/Actor, ModelAsset, events (no DOM/GPU).",
5
5
  "type": "module",
6
6
  "license": "MIT",