@reactionary/core 0.0.66 → 0.0.67

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 (3) hide show
  1. package/index.js +60 -11
  2. package/package.json +1 -1
  3. package/src/index.d.ts +11 -11
package/index.js CHANGED
@@ -1,14 +1,63 @@
1
- export * from "./cache/cache.interface.js";
2
- export * from "./cache/redis-cache.js";
3
- export * from "./cache/memory-cache.js";
4
- export * from "./cache/noop-cache.js";
5
- export * from "./client/client.js";
6
- export * from "./client/client-builder.js";
7
- export * from "./decorators/reactionary.decorator.js";
8
- export * from "./providers/index.js";
9
- export * from "./schemas/capabilities.schema.js";
10
- export * from "./schemas/session.schema.js";
1
+ import { RedisCache } from "./cache/redis-cache.js";
2
+ import { MemoryCache } from "./cache/memory-cache.js";
3
+ import { NoOpCache } from "./cache/noop-cache.js";
4
+ import { ClientBuilder } from "./client/client-builder.js";
5
+ import {
6
+ Reactionary,
7
+ ReactionaryDecoratorOptions
8
+ } from "./decorators/reactionary.decorator.js";
9
+ import {
10
+ AnalyticsProvider,
11
+ BaseProvider,
12
+ CartProvider,
13
+ CategoryProvider,
14
+ CheckoutProvider,
15
+ IdentityProvider,
16
+ InventoryProvider,
17
+ OrderProvider,
18
+ PriceProvider,
19
+ ProductProvider,
20
+ ProductSearchProvider,
21
+ ProfileProvider,
22
+ StoreProvider
23
+ } from "./providers/index.js";
24
+ import {
25
+ CapabilitiesSchema
26
+ } from "./schemas/capabilities.schema.js";
27
+ import {
28
+ LanguageContextSchema,
29
+ RequestContextSchema,
30
+ SessionSchema,
31
+ TaxJurisdictionSchema
32
+ } from "./schemas/session.schema.js";
11
33
  export * from "./schemas/models/index.js";
12
34
  export * from "./schemas/mutations/index.js";
13
35
  export * from "./schemas/queries/index.js";
14
- export * from "./initialization.js";
36
+ import { createInitialRequestContext } from "./initialization.js";
37
+ export {
38
+ AnalyticsProvider,
39
+ BaseProvider,
40
+ CapabilitiesSchema,
41
+ CartProvider,
42
+ CategoryProvider,
43
+ CheckoutProvider,
44
+ ClientBuilder,
45
+ IdentityProvider,
46
+ InventoryProvider,
47
+ LanguageContextSchema,
48
+ MemoryCache,
49
+ NoOpCache,
50
+ OrderProvider,
51
+ PriceProvider,
52
+ ProductProvider,
53
+ ProductSearchProvider,
54
+ ProfileProvider,
55
+ Reactionary,
56
+ ReactionaryDecoratorOptions,
57
+ RedisCache,
58
+ RequestContextSchema,
59
+ SessionSchema,
60
+ StoreProvider,
61
+ TaxJurisdictionSchema,
62
+ createInitialRequestContext
63
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactionary/core",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "main": "index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "dependencies": {
package/src/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export * from './cache/cache.interface.js';
2
- export * from './cache/redis-cache.js';
3
- export * from './cache/memory-cache.js';
4
- export * from './cache/noop-cache.js';
5
- export * from './client/client.js';
6
- export * from './client/client-builder.js';
7
- export * from './decorators/reactionary.decorator.js';
8
- export * from './providers/index.js';
9
- export * from './schemas/capabilities.schema.js';
10
- export * from './schemas/session.schema.js';
1
+ export type { Cache, CacheEntryOptions } from './cache/cache.interface.js';
2
+ export { RedisCache } from './cache/redis-cache.js';
3
+ export { MemoryCache } from './cache/memory-cache.js';
4
+ export { NoOpCache } from './cache/noop-cache.js';
5
+ export type { Client } from './client/client.js';
6
+ export { ClientBuilder } from './client/client-builder.js';
7
+ export { Reactionary, ReactionaryDecoratorOptions, } from './decorators/reactionary.decorator.js';
8
+ export { AnalyticsProvider, BaseProvider, CartProvider, CategoryProvider, CheckoutProvider, IdentityProvider, InventoryProvider, OrderProvider, PriceProvider, ProductProvider, ProductSearchProvider, ProfileProvider, StoreProvider, } from './providers/index.js';
9
+ export { type Capabilities, CapabilitiesSchema, } from './schemas/capabilities.schema.js';
10
+ export { type LanguageContext, LanguageContextSchema, type RequestContext, RequestContextSchema, type Session, SessionSchema, type TaxJurisdiction, TaxJurisdictionSchema, } from './schemas/session.schema.js';
11
11
  export * from './schemas/models/index.js';
12
12
  export * from './schemas/mutations/index.js';
13
13
  export * from './schemas/queries/index.js';
14
- export * from './initialization.js';
14
+ export { createInitialRequestContext } from './initialization.js';