@molecule/app-angular 2.0.0 → 2.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 +10 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:14:37.536Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-angular
|
|
@@ -2721,7 +2721,7 @@ function provideState(provider: StateProvider): EnvironmentProviders
|
|
|
2721
2721
|
Registers an AuthClient as an Angular environment provider for dependency injection.
|
|
2722
2722
|
|
|
2723
2723
|
```typescript
|
|
2724
|
-
function provideAuth(client: AuthClient<T
|
|
2724
|
+
function provideAuth<T>(client: AuthClient<T>): EnvironmentProviders
|
|
2725
2725
|
```
|
|
2726
2726
|
|
|
2727
2727
|
- `client` — Auth client
|
|
@@ -2817,7 +2817,7 @@ function provideMolecule(config: MoleculeModuleConfig): EnvironmentProviders
|
|
|
2817
2817
|
Creates an async-capable state manager.
|
|
2818
2818
|
|
|
2819
2819
|
```typescript
|
|
2820
|
-
function createAsyncState(initialState: T): AsyncStateManager<T>
|
|
2820
|
+
function createAsyncState<T>(initialState: T): AsyncStateManager<T>
|
|
2821
2821
|
```
|
|
2822
2822
|
|
|
2823
2823
|
- `initialState` — Initial state value
|
|
@@ -2844,9 +2844,7 @@ function createCapacitorAppState(options?: CapacitorAppOptions): CapacitorAppMan
|
|
|
2844
2844
|
Creates a change password state manager with async state tracking.
|
|
2845
2845
|
|
|
2846
2846
|
```typescript
|
|
2847
|
-
function createChangePasswordState(
|
|
2848
|
-
client: AuthClient<UserProfile, Record<never, never>>,
|
|
2849
|
-
): ChangePasswordStateManager
|
|
2847
|
+
function createChangePasswordState(client: AuthClient): ChangePasswordStateManager
|
|
2850
2848
|
```
|
|
2851
2849
|
|
|
2852
2850
|
- `client` — Auth client
|
|
@@ -2868,7 +2866,7 @@ function createDeviceService(): DeviceService
|
|
|
2868
2866
|
Creates a login state manager with async state tracking.
|
|
2869
2867
|
|
|
2870
2868
|
```typescript
|
|
2871
|
-
function createLoginState(client: AuthClient<T
|
|
2869
|
+
function createLoginState<T = unknown>(client: AuthClient<T>): LoginStateManager<T>
|
|
2872
2870
|
```
|
|
2873
2871
|
|
|
2874
2872
|
- `client` — Auth client
|
|
@@ -2896,9 +2894,7 @@ function createOAuthState(options?: OAuthOptions): OAuthStateManager
|
|
|
2896
2894
|
Creates a password reset state manager with async state tracking.
|
|
2897
2895
|
|
|
2898
2896
|
```typescript
|
|
2899
|
-
function createPasswordResetState(
|
|
2900
|
-
client: AuthClient<UserProfile, Record<never, never>>,
|
|
2901
|
-
): PasswordResetStateManager
|
|
2897
|
+
function createPasswordResetState(client: AuthClient): PasswordResetStateManager
|
|
2902
2898
|
```
|
|
2903
2899
|
|
|
2904
2900
|
- `client` — Auth client
|
|
@@ -2920,7 +2916,9 @@ function createPlatformService(): PlatformService
|
|
|
2920
2916
|
Creates a promise state manager for tracking async function state.
|
|
2921
2917
|
|
|
2922
2918
|
```typescript
|
|
2923
|
-
function createPromiseState(
|
|
2919
|
+
function createPromiseState<T extends (...args: any[]) => Promise<any>>(
|
|
2920
|
+
asyncFn: T,
|
|
2921
|
+
): PromiseStateManager<Awaited<ReturnType<T>>>
|
|
2924
2922
|
```
|
|
2925
2923
|
|
|
2926
2924
|
- `asyncFn` — The async function to track
|
|
@@ -2942,7 +2940,7 @@ function createPushService(): PushService
|
|
|
2942
2940
|
Creates a signup state manager with async state tracking.
|
|
2943
2941
|
|
|
2944
2942
|
```typescript
|
|
2945
|
-
function createSignupState(client: AuthClient<T
|
|
2943
|
+
function createSignupState<T = unknown>(client: AuthClient<T>): SignupStateManager<T>
|
|
2946
2944
|
```
|
|
2947
2945
|
|
|
2948
2946
|
- `client` — Auth client
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-angular",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Angular framework bindings for molecule.dev",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@angular/compiler": "22.2.3",
|
|
44
44
|
"@angular/compiler-cli": "22.2.3",
|
|
45
45
|
"@angular/core": "22.2.3",
|
|
46
|
-
"@molecule/app-utilities": "1.0.
|
|
46
|
+
"@molecule/app-utilities": "1.0.6",
|
|
47
47
|
"@types/node": "26.6.5",
|
|
48
48
|
"rxjs": "7.8.2",
|
|
49
49
|
"typescript": "6.0.3",
|