@pie-players/pie-players-shared 0.3.5 → 0.3.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-players-shared",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "description": "Shared runtime + UI utilities for PIE players",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@ Use `useI18nStandalone()` when building standalone components (tools, players) t
10
10
 
11
11
  ```svelte
12
12
  <script lang="ts">
13
- import { useI18nStandalone } from '@pie-framework/pie-players-shared/i18n';
13
+ import { useI18nStandalone } from '@pie-players/pie-players-shared/i18n';
14
14
 
15
15
  // Simple setup - no service injection needed
16
16
  const i18n = useI18nStandalone({
@@ -41,7 +41,7 @@ Use `useI18n()` when working within the full assessment toolkit where centralize
41
41
 
42
42
  ```svelte
43
43
  <script lang="ts">
44
- import { useI18n } from '@pie-framework/pie-players-shared/i18n';
44
+ import { useI18n } from '@pie-players/pie-players-shared/i18n';
45
45
 
46
46
  // Receive service from parent/context
47
47
  let { player } = $props();
@@ -65,7 +65,7 @@ Use `useI18n()` when working within the full assessment toolkit where centralize
65
65
  For non-Svelte contexts or advanced use cases:
66
66
 
67
67
  ```typescript
68
- import { SimpleI18n, BUNDLED_TRANSLATIONS, loadTranslations } from '@pie-framework/pie-players-shared/i18n';
68
+ import { SimpleI18n, BUNDLED_TRANSLATIONS, loadTranslations } from '@pie-players/pie-players-shared/i18n';
69
69
 
70
70
  const i18n = new SimpleI18n({
71
71
  locale: 'en',