@verbaly/svelte 0.49.0 → 0.51.0

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/dist/index.d.ts +7 -7
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { Readable, Writable } from "svelte/store";
2
2
  import { DictionaryInput, Params, TFunction, Verbaly } from "verbaly";
3
3
  //#region src/index.d.ts
4
- declare function provideVerbaly<D extends DictionaryInput>(instance: Verbaly<D>): Verbaly<D>;
5
- declare function useVerbaly<D extends DictionaryInput = DictionaryInput>(): Verbaly<D>;
6
- declare function tStore<D extends DictionaryInput>(instance: Verbaly<D>): Readable<TFunction<D>>;
7
- declare function localeStore(instance: Verbaly): Writable<string>;
8
- declare function useT<D extends DictionaryInput = DictionaryInput>(): Readable<TFunction<D>>;
9
- declare function useLocale(): Writable<string>;
4
+ export declare function provideVerbaly<D extends DictionaryInput>(instance: Verbaly<D>): Verbaly<D>;
5
+ export declare function useVerbaly<D extends DictionaryInput = DictionaryInput>(): Verbaly<D>;
6
+ export declare function tStore<D extends DictionaryInput>(instance: Verbaly<D>): Readable<TFunction<D>>;
7
+ export declare function localeStore(instance: Verbaly): Writable<string>;
8
+ export declare function useT<D extends DictionaryInput = DictionaryInput>(): Readable<TFunction<D>>;
9
+ export declare function useLocale(): Writable<string>;
10
10
  //#endregion
11
- export { type Params, type TFunction, type Verbaly, localeStore, provideVerbaly, tStore, useLocale, useT, useVerbaly };
11
+ export type { Params, TFunction, Verbaly };
12
12
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/svelte",
3
- "version": "0.49.0",
3
+ "version": "0.51.0",
4
4
  "description": "Svelte bindings for Verbaly: stores over the reactive core.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -45,13 +45,13 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "svelte": "^5.0.0",
48
- "verbaly": "^0.49.0"
48
+ "verbaly": "^0.51.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
52
- "happy-dom": "^20.12.1",
52
+ "happy-dom": "^20.14.0",
53
53
  "svelte": "^5.57.0",
54
- "verbaly": "^0.49.0"
54
+ "verbaly": "^0.51.0"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsdown && node scripts/copy-svelte.mjs",