@aws-amplify/ui-svelte 1.1.6 → 1.1.8

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.
@@ -1,9 +1,9 @@
1
1
  import { type AuthMachineState, type AuthStatus } from '@aws-amplify/ui';
2
2
  import { type Writable } from 'svelte/store';
3
- import { type UseAuthenticator } from '../types';
3
+ import type { UseAuthenticator } from '../types';
4
4
  export declare const useAuth: () => {
5
5
  state: Writable<AuthMachineState>;
6
- send: (event: import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent> | import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, {
6
+ send: (event: import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>> | import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, {
7
7
  value: any;
8
8
  context: import("@aws-amplify/ui").AuthContext;
9
9
  }, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, import("@aws-amplify/ui").AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
- "use strict";
1
+ export {};
2
2
  // This file is intentionally empty
3
3
  // CSS imports are handled directly in Svelte components
@@ -1,4 +1,4 @@
1
- import { AuthenticatorServiceFacade, AuthInterpreter, AuthMachineSend, AuthMachineState, AuthStatus } from '@aws-amplify/ui';
1
+ import type { AuthenticatorServiceFacade, AuthInterpreter, AuthMachineSend, AuthMachineState, AuthStatus } from '@aws-amplify/ui';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { Writable } from 'svelte/store';
4
4
  export interface UseAuthenticator extends AuthenticatorServiceFacade {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "1.1.6";
1
+ export declare const VERSION = "1.1.8";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.1.6';
1
+ export const VERSION = '1.1.8';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-svelte",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "scripts": {
5
5
  "dev": "svelte-package --watch",
6
6
  "build": "svelte-kit sync && svelte-package",
@@ -37,7 +37,7 @@
37
37
  "svelte": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@aws-amplify/ui": "6.15.6",
40
+ "@aws-amplify/ui": "6.15.8",
41
41
  "nanoid": "3.3.18",
42
42
  "qrcode": "1.5.0",
43
43
  "xstate": "^4.33.6"
@@ -45,28 +45,34 @@
45
45
  "devDependencies": {
46
46
  "@eslint/compat": "^1.2.5",
47
47
  "@eslint/js": "^9.22.0",
48
- "@sveltejs/adapter-auto": "^6.0.0",
49
- "@sveltejs/kit": "^2.69.1",
50
- "@sveltejs/package": "^2.0.0",
51
- "@sveltejs/vite-plugin-svelte": "^6.0.0",
48
+ "@sveltejs/adapter-auto": "^8.0.0",
49
+ "@sveltejs/kit": "^3.1.1",
50
+ "@sveltejs/load-config": "^0.2.2",
51
+ "@sveltejs/package": "^3.0.1",
52
+ "@sveltejs/vite-plugin-svelte": "^7.0.0",
52
53
  "@testing-library/svelte": "^5.2.8",
53
54
  "@types/node": "^20",
54
55
  "@vitest/coverage-v8": "^4.1.1",
55
56
  "eslint": "^9.22.0",
56
57
  "eslint-config-prettier": "^10.0.1",
57
- "eslint-plugin-svelte": "^3.0.0",
58
+ "eslint-plugin-svelte": "^3.23.1",
58
59
  "globals": "^16.0.0",
59
60
  "prettier": "^3.4.2",
60
61
  "prettier-plugin-svelte": "^3.3.3",
61
62
  "publint": "^0.3.2",
62
- "svelte": "^5.55.7",
63
- "svelte-check": "^4.0.0",
64
- "typescript": "^5.0.0",
63
+ "svelte": "^5.57.1",
64
+ "svelte-check": "^4.7.5",
65
+ "typescript": "^6.0.0",
65
66
  "typescript-eslint": "^8.20.0",
66
- "vite": "^7.3.2",
67
+ "vite": "^8.0.12",
67
68
  "vitest": "^4.1.1"
68
69
  },
69
70
  "keywords": [
70
71
  "svelte"
71
- ]
72
+ ],
73
+ "repository": {
74
+ "type": "git",
75
+ "url": "https://github.com/aws-amplify/amplify-ui",
76
+ "directory": "packages/svelte"
77
+ }
72
78
  }