alepha 0.7.4 → 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 (99) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +44 -21
  3. package/cache/redis.cjs +4 -8
  4. package/cache/redis.d.ts +30 -91
  5. package/cache/redis.js +1 -1
  6. package/cache.cjs +4 -8
  7. package/cache.d.ts +190 -259
  8. package/cache.js +1 -1
  9. package/core.cjs +4 -8
  10. package/core.d.ts +950 -925
  11. package/core.js +1 -1
  12. package/datetime.cjs +4 -8
  13. package/datetime.d.ts +151 -140
  14. package/datetime.js +1 -1
  15. package/lock/redis.cjs +7 -49
  16. package/lock/redis.d.ts +17 -14
  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 -40
  22. package/postgres.cjs +4 -8
  23. package/postgres.d.ts +1314 -4400
  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 +167 -280
  33. package/react/auth.js +1 -1
  34. package/react.cjs +4 -8
  35. package/react.d.ts +530 -570
  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 +128 -155
  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 +73 -39
  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 +106 -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 +91 -84
  75. package/vite.js +1 -1
  76. package/assets/logo.png +0 -0
  77. package/src/cache/redis.ts +0 -1
  78. package/src/cache.ts +0 -1
  79. package/src/core.ts +0 -1
  80. package/src/datetime.ts +0 -1
  81. package/src/lock/redis.ts +0 -1
  82. package/src/lock.ts +0 -1
  83. package/src/postgres.ts +0 -1
  84. package/src/queue/redis.ts +0 -1
  85. package/src/queue.ts +0 -1
  86. package/src/react/auth.ts +0 -1
  87. package/src/react.ts +0 -1
  88. package/src/redis.ts +0 -1
  89. package/src/retry.ts +0 -1
  90. package/src/scheduler.ts +0 -1
  91. package/src/security.ts +0 -1
  92. package/src/server/cache.ts +0 -1
  93. package/src/server/cookies.ts +0 -1
  94. package/src/server/static.ts +0 -1
  95. package/src/server/swagger.ts +0 -1
  96. package/src/server.ts +0 -1
  97. package/src/topic/redis.ts +0 -1
  98. package/src/topic.ts +0 -1
  99. package/src/vite.ts +0 -1
package/postgres.js CHANGED
@@ -1 +1 @@
1
- export * from '@alepha/postgres';
1
+ export * from '@alepha/postgres'
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+ var m = require('@alepha/queue-redis');
3
+ Object.keys(m).forEach(function (k) {
4
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
5
+ enumerable: true,
6
+ get: function () { return m[k]; }
7
+ });
8
+ });
@@ -0,0 +1,31 @@
1
+ import { QueueProvider } from "@alepha/queue";
2
+ import { Alepha, Module } from "@alepha/core";
3
+ import { RedisProvider } from "@alepha/redis";
4
+
5
+ //#region src/providers/RedisQueueProvider.d.ts
6
+ declare class RedisQueueProvider implements QueueProvider {
7
+ protected readonly env: {
8
+ REDIS_QUEUE_PREFIX: string;
9
+ };
10
+ protected readonly redisProvider: RedisProvider;
11
+ prefix(queue: string): string;
12
+ push(queue: string, message: string): Promise<void>;
13
+ pop(queue: string): Promise<string | undefined>;
14
+ }
15
+ //#endregion
16
+ //#region src/index.d.ts
17
+ /**
18
+ * Alepha Queue Redis Module
19
+ *
20
+ * Plugin for Alepha Queue that provides Redis queue capabilities.
21
+ *
22
+ * @see {@link RedisQueueProvider}
23
+ * @module alepha.queue.redis
24
+ */
25
+ declare class AlephaQueueRedis implements Module {
26
+ readonly name = "alepha.queue.redis";
27
+ readonly $services: (alepha: Alepha) => Alepha;
28
+ }
29
+ //#endregion
30
+ export { AlephaQueueRedis, RedisQueueProvider };
31
+ //# sourceMappingURL=index.d.ts.map
package/queue/redis.js ADDED
@@ -0,0 +1 @@
1
+ export * from '@alepha/queue-redis'
package/queue.cjs CHANGED
@@ -1,12 +1,8 @@
1
1
  'use strict';
2
-
3
- var queue = require('@alepha/queue');
4
-
5
-
6
-
7
- Object.keys(queue).forEach(function (k) {
2
+ var m = require('@alepha/queue');
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 queue[k]; }
6
+ get: function () { return m[k]; }
11
7
  });
12
- });
8
+ });
package/queue.d.ts CHANGED
@@ -1,239 +1,195 @@
1
- import * as _alepha_core from '@alepha/core';
2
- import { TSchema as TSchema$1, KIND, OPTIONS, Static, Alepha, Module } from '@alepha/core';
3
- import { DateTimeProvider } from '@alepha/datetime';
1
+ import * as _alepha_core0 from "@alepha/core";
2
+ import * as _alepha_core4 from "@alepha/core";
3
+ import { Alepha, KIND, Module, OPTIONS, Static, TSchema } from "@alepha/core";
4
+ import { DateTimeProvider } from "@alepha/datetime";
5
+ import * as _sinclair_typebox1 from "@sinclair/typebox";
4
6
 
7
+ //#region src/providers/QueueProvider.d.ts
5
8
  /**
6
9
  * Minimalist Queue interface.
7
10
  *
8
11
  * Will be probably enhanced in the future to support more advanced features. But for now, it's enough!
9
12
  */
10
13
  declare abstract class QueueProvider {
11
- /**
12
- * Push a message to the queue.
13
- *
14
- * @param queue Name of the queue to push the message to.
15
- * @param message String message to be pushed to the queue. Buffer messages are not supported for now.
16
- */
17
- abstract push(queue: string, message: string): Promise<void>;
18
- /**
19
- * Pop a message from the queue.
20
- *
21
- * @param queue Name of the queue to pop the message from.
22
- *
23
- * @returns The message popped or `undefined` if the queue is empty.
24
- */
25
- abstract pop(queue: string): Promise<string | undefined>;
26
- }
27
-
14
+ /**
15
+ * Push a message to the queue.
16
+ *
17
+ * @param queue Name of the queue to push the message to.
18
+ * @param message String message to be pushed to the queue. Buffer messages are not supported for now.
19
+ */
20
+ abstract push(queue: string, message: string): Promise<void>;
21
+ /**
22
+ * Pop a message from the queue.
23
+ *
24
+ * @param queue Name of the queue to pop the message from.
25
+ *
26
+ * @returns The message popped or `undefined` if the queue is empty.
27
+ */
28
+ abstract pop(queue: string): Promise<string | undefined>;
29
+ }
30
+ //#endregion
31
+ //#region src/descriptors/$queue.d.ts
28
32
  declare const KEY$1 = "QUEUE";
29
33
  /**
30
34
  * Queue descriptor.
31
35
  */
32
36
  declare const $queue: {
33
- <T extends QueueMessageSchema>(options: QueueDescriptorOptions<T>): QueueDescriptor<T>;
34
- [KIND]: string;
37
+ <T extends QueueMessageSchema>(options: QueueDescriptorOptions<T>): QueueDescriptor<T>;
38
+ [KIND]: string;
35
39
  };
36
40
  interface QueueMessageSchema {
37
- headers?: TSchema$1;
38
- payload: TSchema$1;
41
+ headers?: TSchema;
42
+ payload: TSchema;
39
43
  }
40
44
  interface QueueDescriptorOptions<T extends QueueMessageSchema> {
41
- name?: string;
42
- description?: string;
43
- provider?: "memory" | (() => QueueProvider);
44
- schema: T;
45
- handler?: (message: {
46
- payload: Static<T["payload"]>;
47
- }) => Promise<void>;
45
+ name?: string;
46
+ description?: string;
47
+ provider?: "memory" | (() => QueueProvider);
48
+ schema: T;
49
+ handler?: (message: {
50
+ payload: Static<T["payload"]>;
51
+ }) => Promise<void>;
48
52
  }
49
53
  interface QueueDescriptor<T extends QueueMessageSchema = QueueMessageSchema> {
50
- [KIND]: typeof KEY$1;
51
- [OPTIONS]: QueueDescriptorOptions<T>;
52
- name(): string;
53
- provider(): QueueProvider;
54
- push(...payload: Array<Static<T["payload"]>>): Promise<void>;
55
- }
56
-
54
+ [KIND]: typeof KEY$1;
55
+ [OPTIONS]: QueueDescriptorOptions<T>;
56
+ name(): string;
57
+ provider(): QueueProvider;
58
+ push(...payload: Array<Static<T["payload"]>>): Promise<void>;
59
+ }
60
+ //#endregion
61
+ //#region src/descriptors/$consumer.d.ts
57
62
  declare const KEY = "CONSUMER";
58
63
  /**
59
64
  * Consumer descriptor.
60
65
  */
61
66
  declare const $consumer: {
62
- <T extends QueueMessageSchema>(options: ConsumerDescriptorOptions<T>): ConsumerDescriptor<T>;
63
- [KIND]: string;
67
+ <T extends QueueMessageSchema>(options: ConsumerDescriptorOptions<T>): ConsumerDescriptor<T>;
68
+ [KIND]: string;
64
69
  };
65
70
  interface ConsumerDescriptorOptions<T extends QueueMessageSchema = QueueMessageSchema> {
66
- queue: QueueDescriptor<T>;
67
- handler: (message: {
68
- payload: Static<T["payload"]>;
69
- }) => Promise<void>;
71
+ queue: QueueDescriptor<T>;
72
+ handler: (message: {
73
+ payload: Static<T["payload"]>;
74
+ }) => Promise<void>;
70
75
  }
71
76
  interface ConsumerDescriptor<T extends QueueMessageSchema = QueueMessageSchema> {
72
- [KIND]: typeof KEY;
73
- [OPTIONS]: ConsumerDescriptorOptions<T>;
74
- queue(): QueueDescriptor<T>;
75
- stop(): Promise<void>;
77
+ [KIND]: typeof KEY;
78
+ [OPTIONS]: ConsumerDescriptorOptions<T>;
79
+ queue(): QueueDescriptor<T>;
80
+ stop(): Promise<void>;
76
81
  }
77
-
82
+ //#endregion
83
+ //#region src/providers/MemoryQueueProvider.d.ts
78
84
  declare class MemoryQueueProvider implements QueueProvider {
79
- protected readonly log: _alepha_core.Logger;
80
- protected queueList: Record<string, string[]>;
81
- push(queue: string, ...messages: string[]): Promise<void>;
82
- pop(queue: string): Promise<string | undefined>;
83
- }
84
-
85
- /** Symbol key applied to readonly types */
86
- declare const ReadonlyKind: unique symbol;
87
- /** Symbol key applied to optional types */
88
- declare const OptionalKind: unique symbol;
89
- /** Symbol key applied to types */
90
- declare const Hint: unique symbol;
91
- /** Symbol key applied to types */
92
- declare const Kind: unique symbol;
93
-
94
- interface NumberOptions extends SchemaOptions {
95
- exclusiveMaximum?: number;
96
- exclusiveMinimum?: number;
97
- maximum?: number;
98
- minimum?: number;
99
- multipleOf?: number;
100
- }
101
- interface TNumber extends TSchema, NumberOptions {
102
- [Kind]: 'Number';
103
- static: number;
104
- type: 'number';
105
- }
106
-
107
- interface SchemaOptions {
108
- $schema?: string;
109
- /** Id for this schema */
110
- $id?: string;
111
- /** Title of this schema */
112
- title?: string;
113
- /** Description of this schema */
114
- description?: string;
115
- /** Default value for this schema */
116
- default?: any;
117
- /** Example values matching this schema */
118
- examples?: any;
119
- /** Optional annotation for readOnly */
120
- readOnly?: boolean;
121
- /** Optional annotation for writeOnly */
122
- writeOnly?: boolean;
123
- [prop: string]: any;
124
- }
125
- interface TKind {
126
- [Kind]: string;
127
- }
128
- interface TSchema extends TKind, SchemaOptions {
129
- [ReadonlyKind]?: string;
130
- [OptionalKind]?: string;
131
- [Hint]?: string;
132
- params: unknown[];
133
- static: unknown;
134
- }
135
-
136
- declare const envSchema: _alepha_core.TObject<{
137
- /**
138
- * The interval in milliseconds to wait before checking for new messages.
139
- */
140
- QUEUE_WORKER_INTERVAL: TNumber;
141
- /**
142
- * The maximum interval in milliseconds to wait before checking for new messages.
143
- */
144
- QUEUE_WORKER_MAX_INTERVAL: TNumber;
145
- /**
146
- * The number of workers to run concurrently. Defaults to 1.
147
- * Useful only if you are doing a lot of I/O.
148
- */
149
- QUEUE_WORKER_CONCURRENCY: TNumber;
85
+ protected readonly log: _alepha_core0.Logger;
86
+ protected queueList: Record<string, string[]>;
87
+ push(queue: string, ...messages: string[]): Promise<void>;
88
+ pop(queue: string): Promise<string | undefined>;
89
+ }
90
+ //#endregion
91
+ //#region src/providers/QueueDescriptorProvider.d.ts
92
+ declare const envSchema: _alepha_core4.TObject<{
93
+ /**
94
+ * The interval in milliseconds to wait before checking for new messages.
95
+ */
96
+ QUEUE_WORKER_INTERVAL: _sinclair_typebox1.TNumber;
97
+ /**
98
+ * The maximum interval in milliseconds to wait before checking for new messages.
99
+ */
100
+ QUEUE_WORKER_MAX_INTERVAL: _sinclair_typebox1.TNumber;
101
+ /**
102
+ * The number of workers to run concurrently. Defaults to 1.
103
+ * Useful only if you are doing a lot of I/O.
104
+ */
105
+ QUEUE_WORKER_CONCURRENCY: _sinclair_typebox1.TNumber;
150
106
  }>;
151
107
  declare module "alepha" {
152
- interface Env extends Partial<Static<typeof envSchema>> {
153
- }
108
+ interface Env extends Partial<Static<typeof envSchema>> {}
154
109
  }
155
110
  interface QueueDescriptorProviderState {
156
- queues: Array<QueueDescriptor>;
157
- consumers: Array<ConsumerDescriptorOptions>;
158
- workerPromises: Array<Promise<void>>;
159
- isWorkersRunning: boolean;
160
- abortController: AbortController;
161
- workerIntervals: Record<number, number>;
111
+ queues: Array<QueueDescriptor>;
112
+ consumers: Array<ConsumerDescriptorOptions>;
113
+ workerPromises: Array<Promise<void>>;
114
+ isWorkersRunning: boolean;
115
+ abortController: AbortController;
116
+ workerIntervals: Record<number, number>;
162
117
  }
163
118
  declare class QueueDescriptorProvider {
164
- protected readonly log: _alepha_core.Logger;
165
- protected readonly env: {
166
- QUEUE_WORKER_INTERVAL: number;
167
- QUEUE_WORKER_MAX_INTERVAL: number;
168
- QUEUE_WORKER_CONCURRENCY: number;
169
- };
170
- protected readonly alepha: Alepha;
171
- protected readonly queueProvider: QueueProvider;
172
- protected readonly memoryQueueProvider: MemoryQueueProvider;
173
- protected readonly dateTimeProvider: DateTimeProvider;
174
- protected readonly state: QueueDescriptorProviderState;
175
- protected readonly configure: _alepha_core.HookDescriptor<"configure">;
176
- protected readonly start: _alepha_core.HookDescriptor<"start">;
177
- protected readonly stop: _alepha_core.HookDescriptor<"stop">;
178
- getQueues(): QueueDescriptor<QueueMessageSchema>[];
179
- getConsumers(): ConsumerDescriptorOptions<QueueMessageSchema>[];
180
- /**
181
- * Process the descriptors.
182
- *
183
- * @protected
184
- */
185
- protected processDescriptors(): void;
186
- /**
187
- * Process the queue descriptors.
188
- *
189
- * @protected
190
- */
191
- protected processQueueDescriptors(): void;
192
- /**
193
- * Process the consumer descriptors.
194
- */
195
- protected processConsumerDescriptors(): void;
196
- /**
197
- * Get the provider for the queue.
198
- */
199
- protected provider(options: QueueDescriptorOptions<any>): QueueProvider;
200
- /**
201
- * Push an item to the queue.
202
- */
203
- protected push<T extends QueueMessageSchema>(queue: QueueDescriptor<T>, ...payloads: Array<Static<T["payload"]>>): Promise<void>;
204
- /**
205
- * Start the workers.
206
- * This method will create an endless loop that will check for new messages!
207
- */
208
- protected startWorkers(consumers: Array<ConsumerDescriptorOptions>): void;
209
- /**
210
- * Wait for the next message, where `n` is the worker number.
211
- *
212
- * This method will wait for a certain amount of time, increasing the wait time again if no message is found.
213
- */
214
- protected waitForNextMessage(n: number): Promise<void>;
215
- /**
216
- * Get the next message.
217
- */
218
- protected getNextMessage(consumers: Array<ConsumerDescriptorOptions>): Promise<undefined | {
219
- consumer: ConsumerDescriptorOptions;
220
- message: string;
221
- }>;
222
- /**
223
- * Process a message from a queue.
224
- */
225
- protected processMessage(response: {
226
- message: any;
227
- consumer: ConsumerDescriptorOptions;
228
- }): Promise<void>;
229
- /**
230
- * Stop the workers.
231
- *
232
- * This method will stop the workers and wait for them to finish processing.
233
- */
234
- protected stopWorkers(): Promise<void>;
235
- }
236
-
119
+ protected readonly log: _alepha_core4.Logger;
120
+ protected readonly env: {
121
+ QUEUE_WORKER_INTERVAL: number;
122
+ QUEUE_WORKER_MAX_INTERVAL: number;
123
+ QUEUE_WORKER_CONCURRENCY: number;
124
+ };
125
+ protected readonly alepha: Alepha;
126
+ protected readonly queueProvider: QueueProvider;
127
+ protected readonly memoryQueueProvider: MemoryQueueProvider;
128
+ protected readonly dateTimeProvider: DateTimeProvider;
129
+ protected readonly state: QueueDescriptorProviderState;
130
+ protected readonly configure: _alepha_core4.HookDescriptor<"configure">;
131
+ protected readonly start: _alepha_core4.HookDescriptor<"start">;
132
+ protected readonly stop: _alepha_core4.HookDescriptor<"stop">;
133
+ getQueues(): QueueDescriptor<QueueMessageSchema>[];
134
+ getConsumers(): ConsumerDescriptorOptions<QueueMessageSchema>[];
135
+ /**
136
+ * Process the descriptors.
137
+ *
138
+ * @protected
139
+ */
140
+ protected processDescriptors(): void;
141
+ /**
142
+ * Process the queue descriptors.
143
+ *
144
+ * @protected
145
+ */
146
+ protected processQueueDescriptors(): void;
147
+ /**
148
+ * Process the consumer descriptors.
149
+ */
150
+ protected processConsumerDescriptors(): void;
151
+ /**
152
+ * Get the provider for the queue.
153
+ */
154
+ protected provider(options: QueueDescriptorOptions<any>): QueueProvider;
155
+ /**
156
+ * Push an item to the queue.
157
+ */
158
+ protected push<T extends QueueMessageSchema>(queue: QueueDescriptor<T>, ...payloads: Array<Static<T["payload"]>>): Promise<void>;
159
+ /**
160
+ * Start the workers.
161
+ * This method will create an endless loop that will check for new messages!
162
+ */
163
+ protected startWorkers(consumers: Array<ConsumerDescriptorOptions>): void;
164
+ /**
165
+ * Wait for the next message, where `n` is the worker number.
166
+ *
167
+ * This method will wait for a certain amount of time, increasing the wait time again if no message is found.
168
+ */
169
+ protected waitForNextMessage(n: number): Promise<void>;
170
+ /**
171
+ * Get the next message.
172
+ */
173
+ protected getNextMessage(consumers: Array<ConsumerDescriptorOptions>): Promise<undefined | {
174
+ consumer: ConsumerDescriptorOptions;
175
+ message: string;
176
+ }>;
177
+ /**
178
+ * Process a message from a queue.
179
+ */
180
+ protected processMessage(response: {
181
+ message: any;
182
+ consumer: ConsumerDescriptorOptions;
183
+ }): Promise<void>;
184
+ /**
185
+ * Stop the workers.
186
+ *
187
+ * This method will stop the workers and wait for them to finish processing.
188
+ */
189
+ protected stopWorkers(): Promise<void>;
190
+ }
191
+ //#endregion
192
+ //#region src/index.d.ts
237
193
  /**
238
194
  * Alepha Queue Module
239
195
  *
@@ -246,8 +202,9 @@ declare class QueueDescriptorProvider {
246
202
  * @module alepha.queue
247
203
  */
248
204
  declare class AlephaQueue implements Module {
249
- readonly name = "alepha.queue";
250
- readonly $services: (alepha: Alepha) => Alepha;
205
+ readonly name = "alepha.queue";
206
+ readonly $services: (alepha: Alepha) => Alepha;
251
207
  }
252
-
253
- export { $consumer, $queue, AlephaQueue, type ConsumerDescriptor, type ConsumerDescriptorOptions, MemoryQueueProvider, type QueueDescriptor, type QueueDescriptorOptions, QueueDescriptorProvider, type QueueDescriptorProviderState, type QueueMessageSchema, QueueProvider };
208
+ //#endregion
209
+ export { $consumer, $queue, AlephaQueue, ConsumerDescriptor, ConsumerDescriptorOptions, MemoryQueueProvider, QueueDescriptor, QueueDescriptorOptions, QueueDescriptorProvider, QueueDescriptorProviderState, QueueMessageSchema, QueueProvider };
210
+ //# sourceMappingURL=index.d.ts.map
package/queue.js CHANGED
@@ -1 +1 @@
1
- export * from '@alepha/queue';
1
+ export * from '@alepha/queue'
package/react/auth.cjs CHANGED
@@ -1,12 +1,8 @@
1
1
  'use strict';
2
-
3
- var reactAuth = require('@alepha/react-auth');
4
-
5
-
6
-
7
- Object.keys(reactAuth).forEach(function (k) {
2
+ var m = require('@alepha/react-auth');
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 reactAuth[k]; }
6
+ get: function () { return m[k]; }
11
7
  });
12
- });
8
+ });