asianscore-widget 1.0.0 → 1.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.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Zero-dependency Shadow DOM Web Component (`<asianscore-widget>`) for embedding r
4
4
 
5
5
  - **Live Demo (GitHub Pages):** https://aiyixiu.github.io/asianscore-live-widget/
6
6
  - **Open JSON API (No key, CORS enabled):** `https://asianscore.com/api/widget/summary`
7
- - **Live Scoreboard:** https://asianscore.com/live.html
7
+ - **Live Scoreboard:** https://asianscore.com/scores.html
8
8
  - **SHA-256 Verifiable AI Prediction Ledger:** https://asianscore.com/models.html#ledger
9
9
  - **Sports Quantitative Tools (Devig, Kelly, Poisson):** https://asianscore.com/tools.html
10
10
 
@@ -82,7 +82,7 @@ class AsianScoreWidget extends HTMLElement {
82
82
  const matches = (data.matches || []).slice(0, this.limit);
83
83
  const rows = matches.map((m) => {
84
84
  const score = m.state === 'pre' ? (m.kickoff || '').slice(5, 16) : `${m.homeScore} - ${m.awayScore}`;
85
- const href = m.url || 'https://asianscore.com/live.html';
85
+ const href = m.url || 'https://asianscore.com/scores.html';
86
86
  return `<a class="row" href="${href}" target="_blank" rel="noopener">
87
87
  <div class="left">
88
88
  <div class="league">${m.league || ''} · ${score}</div>
@@ -102,7 +102,7 @@ class AsianScoreWidget extends HTMLElement {
102
102
  <div class="list">${rows || '<div class="row"><span class="meta">No active fixtures</span></div>'}</div>
103
103
  <div class="foot">
104
104
  <span>Verifiable SHA-256 Ledger (${ledger.totalLocked || 0} locked)</span>
105
- <a href="https://asianscore.com/ai.html" target="_blank" rel="noopener">Full Ledger →</a>
105
+ <a href="https://asianscore.com/models.html" target="_blank" rel="noopener">Full Ledger →</a>
106
106
  </div>
107
107
  </div>`;
108
108
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asianscore-widget",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Zero-dependency Shadow DOM Web Component (<asianscore-widget>) for real-time Football & NBA live scores, Dixon-Coles xG win probabilities, and verifiable SHA-256 prediction ledger metrics.",
5
5
  "main": "asianscore-widget.js",
6
6
  "files": [