alepha 0.7.5 → 0.7.6

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 (98) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +44 -44
  3. package/cache/redis.cjs +4 -8
  4. package/cache/redis.d.ts +28 -89
  5. package/cache/redis.js +1 -1
  6. package/cache.cjs +4 -8
  7. package/cache.d.ts +189 -265
  8. package/cache.js +1 -1
  9. package/core.cjs +4 -8
  10. package/core.d.ts +950 -929
  11. package/core.js +1 -1
  12. package/datetime.cjs +4 -8
  13. package/datetime.d.ts +151 -146
  14. package/datetime.js +1 -1
  15. package/lock/redis.cjs +7 -49
  16. package/lock/redis.d.ts +15 -12
  17. package/lock/redis.js +1 -47
  18. package/lock.cjs +4 -8
  19. package/lock.d.ts +117 -170
  20. package/lock.js +1 -1
  21. package/package.json +70 -39
  22. package/postgres.cjs +4 -8
  23. package/postgres.d.ts +1314 -4398
  24. package/postgres.js +1 -1
  25. package/queue/redis.cjs +8 -0
  26. package/queue/redis.d.ts +31 -0
  27. package/queue/redis.js +1 -0
  28. package/queue.cjs +4 -8
  29. package/queue.d.ts +162 -205
  30. package/queue.js +1 -1
  31. package/react/auth.cjs +4 -8
  32. package/react/auth.d.ts +166 -282
  33. package/react/auth.js +1 -1
  34. package/react.cjs +4 -8
  35. package/react.d.ts +509 -551
  36. package/react.js +1 -1
  37. package/redis.cjs +4 -8
  38. package/redis.d.ts +59 -132
  39. package/redis.js +1 -1
  40. package/retry.cjs +4 -8
  41. package/retry.d.ts +34 -31
  42. package/retry.js +1 -1
  43. package/scheduler.cjs +4 -8
  44. package/scheduler.d.ts +125 -182
  45. package/scheduler.js +1 -1
  46. package/security.cjs +4 -8
  47. package/security.d.ts +472 -595
  48. package/security.js +1 -1
  49. package/server/cache.cjs +4 -8
  50. package/server/cache.d.ts +41 -38
  51. package/server/cache.js +1 -1
  52. package/server/cookies.cjs +4 -8
  53. package/server/cookies.d.ts +46 -41
  54. package/server/cookies.js +1 -1
  55. package/server/static.cjs +4 -8
  56. package/server/static.d.ts +98 -95
  57. package/server/static.js +1 -1
  58. package/server/swagger.cjs +4 -8
  59. package/server/swagger.d.ts +96 -92
  60. package/server/swagger.js +1 -1
  61. package/server.cjs +4 -8
  62. package/server.d.ts +754 -1025
  63. package/server.js +1 -1
  64. package/testing.cjs +8 -0
  65. package/testing.d.ts +1 -0
  66. package/testing.js +1 -0
  67. package/topic/redis.cjs +8 -0
  68. package/topic/redis.d.ts +45 -0
  69. package/topic/redis.js +1 -0
  70. package/topic.cjs +4 -8
  71. package/topic.d.ts +171 -163
  72. package/topic.js +1 -1
  73. package/vite.cjs +4 -8
  74. package/vite.d.ts +89 -82
  75. package/vite.js +1 -1
  76. package/src/cache/redis.ts +0 -1
  77. package/src/cache.ts +0 -1
  78. package/src/core.ts +0 -1
  79. package/src/datetime.ts +0 -1
  80. package/src/lock/redis.ts +0 -1
  81. package/src/lock.ts +0 -1
  82. package/src/postgres.ts +0 -1
  83. package/src/queue/redis.ts +0 -1
  84. package/src/queue.ts +0 -1
  85. package/src/react/auth.ts +0 -1
  86. package/src/react.ts +0 -1
  87. package/src/redis.ts +0 -1
  88. package/src/retry.ts +0 -1
  89. package/src/scheduler.ts +0 -1
  90. package/src/security.ts +0 -1
  91. package/src/server/cache.ts +0 -1
  92. package/src/server/cookies.ts +0 -1
  93. package/src/server/static.ts +0 -1
  94. package/src/server/swagger.ts +0 -1
  95. package/src/server.ts +0 -1
  96. package/src/topic/redis.ts +0 -1
  97. package/src/topic.ts +0 -1
  98. package/src/vite.ts +0 -1
package/react/auth.d.ts CHANGED
@@ -1,307 +1,190 @@
1
- import * as _alepha_core from '@alepha/core';
2
- import { Async, KIND, OPTIONS, Alepha, Module } from '@alepha/core';
3
- import { UserAccountToken } from '@alepha/security';
4
- import * as _alepha_server from '@alepha/server';
5
- import { HttpVirtualClient, HttpClient } from '@alepha/server';
6
- import * as _alepha_server_cookies from '@alepha/server-cookies';
7
- import { ServerCookiesProvider, Cookies } from '@alepha/server-cookies';
8
- import { Configuration } from 'openid-client';
9
-
10
- /** Symbol key applied to readonly types */
11
- declare const ReadonlyKind: unique symbol;
12
- /** Symbol key applied to optional types */
13
- declare const OptionalKind: unique symbol;
14
- /** Symbol key applied to types */
15
- declare const Hint: unique symbol;
16
- /** Symbol key applied to types */
17
- declare const Kind: unique symbol;
18
-
19
- type TReadonly<T extends TSchema> = T & {
20
- [ReadonlyKind]: 'Readonly';
21
- };
22
-
23
- type StringFormatOption = 'date-time' | 'time' | 'date' | 'email' | 'idn-email' | 'hostname' | 'idn-hostname' | 'ipv4' | 'ipv6' | 'uri' | 'uri-reference' | 'iri' | 'uuid' | 'iri-reference' | 'uri-template' | 'json-pointer' | 'relative-json-pointer' | 'regex' | ({} & string);
24
- type StringContentEncodingOption = '7bit' | '8bit' | 'binary' | 'quoted-printable' | 'base64' | ({} & string);
25
- interface StringOptions extends SchemaOptions {
26
- /** The maximum string length */
27
- maxLength?: number;
28
- /** The minimum string length */
29
- minLength?: number;
30
- /** A regular expression pattern this string should match */
31
- pattern?: string;
32
- /** A format this string should match */
33
- format?: StringFormatOption;
34
- /** The content encoding for this string */
35
- contentEncoding?: StringContentEncodingOption;
36
- /** The content media type for this string */
37
- contentMediaType?: string;
38
- }
39
- interface TString extends TSchema, StringOptions {
40
- [Kind]: 'String';
41
- static: string;
42
- type: 'string';
43
- }
44
-
45
- interface NumberOptions extends SchemaOptions {
46
- exclusiveMaximum?: number;
47
- exclusiveMinimum?: number;
48
- maximum?: number;
49
- minimum?: number;
50
- multipleOf?: number;
51
- }
52
- interface TNumber extends TSchema, NumberOptions {
53
- [Kind]: 'Number';
54
- static: number;
55
- type: 'number';
56
- }
57
-
58
- type TOptional<T extends TSchema> = T & {
59
- [OptionalKind]: 'Optional';
60
- };
61
-
62
- /** Creates a static type from a TypeBox type */
63
- type Static<Type extends TSchema, Params extends unknown[] = [], Result = (Type & {
64
- params: Params;
65
- })['static']> = Result;
66
-
67
- type ReadonlyOptionalPropertyKeys<T extends TProperties> = {
68
- [K in keyof T]: T[K] extends TReadonly<TSchema> ? (T[K] extends TOptional<T[K]> ? K : never) : never;
69
- }[keyof T];
70
- type ReadonlyPropertyKeys<T extends TProperties> = {
71
- [K in keyof T]: T[K] extends TReadonly<TSchema> ? (T[K] extends TOptional<T[K]> ? never : K) : never;
72
- }[keyof T];
73
- type OptionalPropertyKeys<T extends TProperties> = {
74
- [K in keyof T]: T[K] extends TOptional<TSchema> ? (T[K] extends TReadonly<T[K]> ? never : K) : never;
75
- }[keyof T];
76
- type RequiredPropertyKeys<T extends TProperties> = keyof Omit<T, ReadonlyOptionalPropertyKeys<T> | ReadonlyPropertyKeys<T> | OptionalPropertyKeys<T>>;
77
- type ObjectStaticProperties<T extends TProperties, R extends Record<keyof any, unknown>> = Evaluate<(Readonly<Partial<Pick<R, ReadonlyOptionalPropertyKeys<T>>>> & Readonly<Pick<R, ReadonlyPropertyKeys<T>>> & Partial<Pick<R, OptionalPropertyKeys<T>>> & Required<Pick<R, RequiredPropertyKeys<T>>>)>;
78
- type ObjectStatic<T extends TProperties, P extends unknown[]> = ObjectStaticProperties<T, {
79
- [K in keyof T]: Static<T[K], P>;
80
- }>;
81
- type TPropertyKey = string | number;
82
- type TProperties = Record<TPropertyKey, TSchema>;
83
- type TAdditionalProperties = undefined | TSchema | boolean;
84
- interface ObjectOptions extends SchemaOptions {
85
- /** Additional property constraints for this object */
86
- additionalProperties?: TAdditionalProperties;
87
- /** The minimum number of properties allowed on this object */
88
- minProperties?: number;
89
- /** The maximum number of properties allowed on this object */
90
- maxProperties?: number;
91
- }
92
- interface TObject<T extends TProperties = TProperties> extends TSchema, ObjectOptions {
93
- [Kind]: 'Object';
94
- static: ObjectStatic<T, this['params']>;
95
- additionalProperties?: TAdditionalProperties;
96
- type: 'object';
97
- properties: T;
98
- required?: string[];
99
- }
100
-
101
- type Evaluate<T> = T extends infer O ? {
102
- [K in keyof O]: O[K];
103
- } : never;
104
-
105
- interface SchemaOptions {
106
- $schema?: string;
107
- /** Id for this schema */
108
- $id?: string;
109
- /** Title of this schema */
110
- title?: string;
111
- /** Description of this schema */
112
- description?: string;
113
- /** Default value for this schema */
114
- default?: any;
115
- /** Example values matching this schema */
116
- examples?: any;
117
- /** Optional annotation for readOnly */
118
- readOnly?: boolean;
119
- /** Optional annotation for writeOnly */
120
- writeOnly?: boolean;
121
- [prop: string]: any;
122
- }
123
- interface TKind {
124
- [Kind]: string;
125
- }
126
- interface TSchema extends TKind, SchemaOptions {
127
- [ReadonlyKind]?: string;
128
- [OptionalKind]?: string;
129
- [Hint]?: string;
130
- params: unknown[];
131
- static: unknown;
132
- }
1
+ import * as _alepha_core1 from "@alepha/core";
2
+ import * as _alepha_core52 from "@alepha/core";
3
+ import { Alepha, Async, KIND, Module, OPTIONS } from "@alepha/core";
4
+ import * as _alepha_server41 from "@alepha/server";
5
+ import { HttpClient, HttpVirtualClient } from "@alepha/server";
6
+ import * as _alepha_server_cookies7 from "@alepha/server-cookies";
7
+ import { Cookies, ServerCookiesProvider } from "@alepha/server-cookies";
8
+ import { Configuration } from "openid-client";
9
+ import { UserAccountToken } from "@alepha/security";
10
+ import * as _sinclair_typebox2 from "@sinclair/typebox";
133
11
 
12
+ //#region src/descriptors/$auth.d.ts
134
13
  declare const KEY = "AUTH";
135
14
  type AccessToken = string;
136
15
  interface AuthDescriptorOptions {
137
- name?: string;
138
- fallback?: () => Async<AccessToken>;
139
- oidc?: {
140
- issuer: string;
141
- clientId: string;
142
- clientSecret?: string;
143
- redirectUri?: string;
144
- useIdToken?: boolean;
145
- logoutUri?: string;
146
- };
16
+ name?: string;
17
+ fallback?: () => Async<AccessToken>;
18
+ oidc?: {
19
+ issuer: string;
20
+ clientId: string;
21
+ clientSecret?: string;
22
+ redirectUri?: string;
23
+ useIdToken?: boolean;
24
+ logoutUri?: string;
25
+ };
147
26
  }
148
27
  interface AuthDescriptor {
149
- [KIND]: typeof KEY;
150
- [OPTIONS]: AuthDescriptorOptions;
151
- jwks: () => string;
28
+ [KIND]: typeof KEY;
29
+ [OPTIONS]: AuthDescriptorOptions;
30
+ jwks: () => string;
152
31
  }
153
32
  declare const $auth: {
154
- (options: AuthDescriptorOptions): AuthDescriptor;
155
- [KIND]: string;
33
+ (options: AuthDescriptorOptions): AuthDescriptor;
34
+ [KIND]: string;
156
35
  };
157
-
36
+ //#endregion
37
+ //#region src/providers/ReactAuthProvider.d.ts
158
38
  declare class ReactAuthProvider {
159
- protected readonly log: _alepha_core.Logger;
160
- protected readonly alepha: Alepha;
161
- protected readonly serverCookiesProvider: ServerCookiesProvider;
162
- protected authProviders: AuthProvider[];
163
- protected readonly authorizationCode: _alepha_server_cookies.CookieDescriptor<TObject<{
164
- codeVerifier: TOptional<TString>;
165
- redirectUri: TOptional<TString>;
166
- }>>;
167
- protected readonly tokens: _alepha_server_cookies.CookieDescriptor<TObject<{
168
- provider: TOptional<TString>;
169
- access_token: TOptional<TString>;
170
- expires_in: TOptional<TNumber>;
171
- refresh_token: TOptional<TString>;
172
- id_token: TOptional<TString>;
173
- scope: TOptional<TString>;
174
- issued_at: TOptional<TNumber>;
175
- }>>;
176
- readonly user: _alepha_server_cookies.CookieDescriptor<TObject<{
177
- id: TString;
178
- name: TOptional<TString>;
179
- email: TOptional<TString>;
180
- picture: TOptional<TString>;
181
- }>>;
182
- readonly onRender: _alepha_core.HookDescriptor<"react:server:render">;
183
- protected readonly configure: _alepha_core.HookDescriptor<"configure">;
184
- protected getAccessTokenFromCookies(tokens: SessionTokens): Promise<string | undefined>;
185
- /**
186
- * Configure Fastify to forward Session Access Token to Header Authorization.
187
- */
188
- protected readonly onRequest: _alepha_core.HookDescriptor<"server:onRequest">;
189
- /**
190
- *
191
- * @param cookies
192
- * @protected
193
- */
194
- protected refresh(cookies: Cookies): Promise<SessionTokens | undefined>;
195
- /**
196
- *
197
- */
198
- readonly login: _alepha_server.RouteDescriptor<{
199
- query: TObject<{
200
- redirect: TOptional<TString>;
201
- provider: TOptional<TString>;
202
- }>;
203
- }>;
204
- /**
205
- *
206
- */
207
- readonly callback: _alepha_server.RouteDescriptor<{
208
- query: TObject<{
209
- provider: TOptional<TString>;
210
- }>;
39
+ protected readonly log: _alepha_core1.Logger;
40
+ protected readonly alepha: Alepha;
41
+ protected readonly serverCookiesProvider: ServerCookiesProvider;
42
+ protected authProviders: AuthProvider[];
43
+ protected readonly authorizationCode: _alepha_server_cookies7.CookieDescriptor<_sinclair_typebox2.TObject<{
44
+ codeVerifier: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
45
+ redirectUri: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
46
+ }>>;
47
+ protected readonly tokens: _alepha_server_cookies7.CookieDescriptor<_sinclair_typebox2.TObject<{
48
+ provider: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
49
+ access_token: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
50
+ expires_in: _sinclair_typebox2.TOptional<_sinclair_typebox2.TNumber>;
51
+ refresh_token: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
52
+ id_token: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
53
+ scope: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
54
+ issued_at: _sinclair_typebox2.TOptional<_sinclair_typebox2.TNumber>;
55
+ }>>;
56
+ readonly user: _alepha_server_cookies7.CookieDescriptor<_sinclair_typebox2.TObject<{
57
+ id: _sinclair_typebox2.TString;
58
+ name: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
59
+ email: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
60
+ picture: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
61
+ }>>;
62
+ readonly onRender: _alepha_core1.HookDescriptor<"react:server:render">;
63
+ protected readonly configure: _alepha_core1.HookDescriptor<"configure">;
64
+ protected getAccessTokenFromCookies(tokens: SessionTokens): Promise<string | undefined>;
65
+ /**
66
+ * Configure Fastify to forward Session Access Token to Header Authorization.
67
+ */
68
+ protected readonly onRequest: _alepha_core1.HookDescriptor<"server:onRequest">;
69
+ /**
70
+ *
71
+ * @param cookies
72
+ * @protected
73
+ */
74
+ protected refresh(cookies: Cookies): Promise<SessionTokens | undefined>;
75
+ /**
76
+ *
77
+ */
78
+ readonly login: _alepha_server41.RouteDescriptor<{
79
+ query: _sinclair_typebox2.TObject<{
80
+ redirect: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
81
+ provider: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
211
82
  }>;
212
- /**
213
- *
214
- * @param accessToken
215
- * @protected
216
- */
217
- protected userFromAccessToken(accessToken: string): {
218
- id: any;
219
- name: any;
220
- email: any;
221
- picture: any;
222
- } | undefined;
223
- readonly logout: _alepha_server.RouteDescriptor<{
224
- query: TObject<{
225
- redirect: TOptional<TString>;
226
- provider: TOptional<TString>;
227
- }>;
83
+ }>;
84
+ /**
85
+ *
86
+ */
87
+ readonly callback: _alepha_server41.RouteDescriptor<{
88
+ query: _sinclair_typebox2.TObject<{
89
+ provider: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
228
90
  }>;
229
- /**
230
- *
231
- * @param name
232
- * @protected
233
- */
234
- protected provider(name?: string): Promise<{
235
- client: Configuration;
236
- name: string;
237
- redirectUri: string;
238
- fallback?: () => Async<AccessToken>;
239
- useIdToken?: boolean;
240
- logoutUri?: string;
91
+ }>;
92
+ /**
93
+ *
94
+ * @param accessToken
95
+ * @protected
96
+ */
97
+ protected userFromAccessToken(accessToken: string): {
98
+ id: any;
99
+ name: any;
100
+ email: any;
101
+ picture: any;
102
+ } | undefined;
103
+ readonly logout: _alepha_server41.RouteDescriptor<{
104
+ query: _sinclair_typebox2.TObject<{
105
+ redirect: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
106
+ provider: _sinclair_typebox2.TOptional<_sinclair_typebox2.TString>;
241
107
  }>;
242
- /**
243
- *
244
- * @param file
245
- * @protected
246
- */
247
- protected isViteFile(file: string): boolean;
248
- }
249
- interface SessionTokens {
250
- access_token?: string;
251
- expires_in?: number;
252
- refresh_token?: string;
253
- id_token?: string;
254
- scope?: string;
255
- issued_at?: number;
256
- provider?: string;
257
- }
258
- interface AuthProvider {
108
+ }>;
109
+ /**
110
+ *
111
+ * @param name
112
+ * @protected
113
+ */
114
+ protected provider(name?: string): Promise<{
115
+ client: Configuration;
259
116
  name: string;
260
117
  redirectUri: string;
261
- client: {
262
- get: () => Promise<Configuration>;
263
- };
264
118
  fallback?: () => Async<AccessToken>;
265
119
  useIdToken?: boolean;
266
120
  logoutUri?: string;
121
+ }>;
122
+ /**
123
+ *
124
+ * @param file
125
+ * @protected
126
+ */
127
+ protected isViteFile(file: string): boolean;
128
+ }
129
+ interface SessionTokens {
130
+ access_token?: string;
131
+ expires_in?: number;
132
+ refresh_token?: string;
133
+ id_token?: string;
134
+ scope?: string;
135
+ issued_at?: number;
136
+ provider?: string;
137
+ }
138
+ interface AuthProvider {
139
+ name: string;
140
+ redirectUri: string;
141
+ client: {
142
+ get: () => Promise<Configuration>;
143
+ };
144
+ fallback?: () => Async<AccessToken>;
145
+ useIdToken?: boolean;
146
+ logoutUri?: string;
267
147
  }
268
148
  interface ReactUser {
269
- id: string;
270
- name?: string;
271
- email?: string;
149
+ id: string;
150
+ name?: string;
151
+ email?: string;
272
152
  }
273
-
153
+ //#endregion
154
+ //#region src/hooks/useAuth.d.ts
274
155
  declare const useAuth: () => AuthHook;
275
156
  interface AuthHook {
276
- user?: UserAccountToken;
277
- logout: () => void;
278
- login: (provider?: string) => void;
279
- can: <T extends object>(name: keyof HttpVirtualClient<T>) => boolean;
157
+ user?: UserAccountToken;
158
+ logout: () => void;
159
+ login: (provider?: string) => void;
160
+ can: <T extends object>(name: keyof HttpVirtualClient<T>) => boolean;
280
161
  }
281
-
162
+ //#endregion
163
+ //#region src/services/ReactAuth.d.ts
282
164
  declare class ReactAuth {
283
- protected readonly log: _alepha_core.Logger;
284
- protected readonly alepha: Alepha;
285
- protected readonly client: HttpClient;
286
- static path: {
287
- login: string;
288
- callback: string;
289
- logout: string;
290
- };
291
- readonly onRender: _alepha_core.HookDescriptor<"react:transition:begin">;
292
- get user(): UserAccountToken | undefined;
293
- protected getUserFromCookies(): UserAccountToken | undefined;
294
- login(): void;
295
- logout(): void;
296
- }
297
-
165
+ protected readonly log: _alepha_core52.Logger;
166
+ protected readonly alepha: Alepha;
167
+ protected readonly client: HttpClient;
168
+ static path: {
169
+ login: string;
170
+ callback: string;
171
+ logout: string;
172
+ };
173
+ readonly onRender: _alepha_core52.HookDescriptor<"react:transition:begin">;
174
+ get user(): UserAccountToken | undefined;
175
+ protected getUserFromCookies(): UserAccountToken | undefined;
176
+ login(): void;
177
+ logout(): void;
178
+ }
179
+ //#endregion
180
+ //#region src/index.d.ts
298
181
  declare module "alepha/react" {
299
- interface PageReactContext {
300
- user?: UserAccountToken;
301
- }
302
- interface ReactHydrationState {
303
- user?: ReactUser;
304
- }
182
+ interface PageReactContext {
183
+ user?: UserAccountToken;
184
+ }
185
+ interface ReactHydrationState {
186
+ user?: ReactUser;
187
+ }
305
188
  }
306
189
  /**
307
190
  * Alepha React Authentication Module
@@ -312,8 +195,9 @@ declare module "alepha/react" {
312
195
  * @module alepha.react.auth
313
196
  */
314
197
  declare class AlephaReactAuth implements Module {
315
- readonly name = "alepha.react.auth";
316
- readonly $services: (alepha: Alepha) => void;
198
+ readonly name = "alepha.react.auth";
199
+ readonly $services: (alepha: Alepha) => void;
317
200
  }
318
-
319
- export { $auth, type AccessToken, AlephaReactAuth, type AuthDescriptor, type AuthDescriptorOptions, type AuthHook, type AuthProvider, ReactAuth, ReactAuthProvider, type ReactUser, type SessionTokens, useAuth };
201
+ //#endregion
202
+ export { $auth, AccessToken, AlephaReactAuth, AuthDescriptor, AuthDescriptorOptions, AuthHook, AuthProvider, ReactAuth, ReactAuthProvider, ReactUser, SessionTokens, useAuth };
203
+ //# sourceMappingURL=index.d.ts.map
package/react/auth.js CHANGED
@@ -1 +1 @@
1
- export * from '@alepha/react-auth';
1
+ export * from '@alepha/react-auth'
package/react.cjs CHANGED
@@ -1,12 +1,8 @@
1
1
  'use strict';
2
-
3
- var react = require('@alepha/react');
4
-
5
-
6
-
7
- Object.keys(react).forEach(function (k) {
2
+ var m = require('@alepha/react');
3
+ Object.keys(m).forEach(function (k) {
8
4
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
5
  enumerable: true,
10
- get: function () { return react[k]; }
6
+ get: function () { return m[k]; }
11
7
  });
12
- });
8
+ });