@burdenoff/be-sdk 2026.1021.2 → 2026.1021.3
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/dist/EventQueueFactory-JG7S6HOL.js +8 -0
- package/dist/{EventQueueFactory-ZHBJD3OD.js.map → EventQueueFactory-JG7S6HOL.js.map} +1 -1
- package/dist/{chunk-6VK53YR3.js → chunk-5OROGKQW.js} +3 -3
- package/dist/{chunk-6VK53YR3.js.map → chunk-5OROGKQW.js.map} +1 -1
- package/dist/{chunk-E5HKS7KD.js → chunk-7SOI4IHZ.js} +4 -4
- package/dist/{chunk-E5HKS7KD.js.map → chunk-7SOI4IHZ.js.map} +1 -1
- package/dist/{chunk-P67HNJGL.js → chunk-DNULGVN3.js} +14 -7
- package/dist/chunk-DNULGVN3.js.map +1 -0
- package/dist/{chunk-GJR6AQAL.js → chunk-F4R5AHSD.js} +4 -4
- package/dist/{chunk-GJR6AQAL.js.map → chunk-F4R5AHSD.js.map} +1 -1
- package/dist/{chunk-RTBCGUHC.js → chunk-GSIJ2DBJ.js} +6 -5
- package/dist/chunk-GSIJ2DBJ.js.map +1 -0
- package/dist/{chunk-XTIOBNT7.js → chunk-HEAQSZBX.js} +7 -6
- package/dist/chunk-HEAQSZBX.js.map +1 -0
- package/dist/chunk-JV7XNJP4.js +1334 -0
- package/dist/chunk-JV7XNJP4.js.map +1 -0
- package/dist/chunk-KS2HQCJR.js +56 -0
- package/dist/chunk-KS2HQCJR.js.map +1 -0
- package/dist/{chunk-HDUS6UBO.js → chunk-YCSIHUYP.js} +3 -3
- package/dist/{chunk-HDUS6UBO.js.map → chunk-YCSIHUYP.js.map} +1 -1
- package/dist/env-4UWSUS64.js +4 -0
- package/dist/env-4UWSUS64.js.map +1 -0
- package/dist/event-queue/index.d.ts +1 -1
- package/dist/event-queue/index.js +4 -3
- package/dist/graph/index.js +6 -5
- package/dist/index-BVXRewdr.d.ts +1066 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -18
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +1 -1
- package/dist/prisma/index.js +5 -4
- package/dist/tracker/index.js +2 -2
- package/package.json +1 -1
- package/dist/EventQueueFactory-ZHBJD3OD.js +0 -7
- package/dist/chunk-P67HNJGL.js.map +0 -1
- package/dist/chunk-RTBCGUHC.js.map +0 -1
- package/dist/chunk-VD4B362H.js +0 -464
- package/dist/chunk-VD4B362H.js.map +0 -1
- package/dist/chunk-XTIOBNT7.js.map +0 -1
- package/dist/index-CpXKka7c.d.ts +0 -690
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import { RBACModule } from './rbac/index.js';
|
|
|
9
9
|
export { LayerAwareRBACConfig, RBACDirectiveConfig, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './rbac/index.js';
|
|
10
10
|
import { A as ActivityModule, U as UsageModule, T as TrackerModule } from './index-D0hKZ9e2.js';
|
|
11
11
|
import { DatabaseConfig, DatabaseModule } from './database/index.js';
|
|
12
|
-
import { E as EventsModule, I as IEventPublisher } from './index-
|
|
13
|
-
export { i as EventQueue } from './index-
|
|
12
|
+
import { E as EventsModule, I as IEventPublisher } from './index-BVXRewdr.js';
|
|
13
|
+
export { i as EventQueue } from './index-BVXRewdr.js';
|
|
14
14
|
import { G as GraphModule } from './index-D3DzCz1d.js';
|
|
15
15
|
export { i as Graph } from './index-D3DzCz1d.js';
|
|
16
16
|
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export { sharing_exports as Sharing } from './chunk-DS3YMJ4X.js';
|
|
2
2
|
export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-YNDJQRI3.js';
|
|
3
|
-
import { ActivityModule, UsageModule, TrackerModule } from './chunk-
|
|
4
|
-
export { ActivityModule, TrackerModule, UsageModule } from './chunk-
|
|
3
|
+
import { ActivityModule, UsageModule, TrackerModule } from './chunk-YCSIHUYP.js';
|
|
4
|
+
export { ActivityModule, TrackerModule, UsageModule } from './chunk-YCSIHUYP.js';
|
|
5
5
|
export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, RbacCoverageError, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, validation_exports as Validation, analyzeRbacCoverage, assertRbacCoverage, lengthInCodePoints, validateName, validateUserFields, validateUsername } from './chunk-WVOW3CJR.js';
|
|
6
|
-
|
|
7
|
-
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
6
|
+
export { observability_exports as Observability } from './chunk-VAT66FJA.js';
|
|
8
7
|
export { platform_exports as Platform } from './chunk-N2UT3ESH.js';
|
|
9
|
-
export { prisma_exports as Prisma } from './chunk-
|
|
8
|
+
export { prisma_exports as Prisma } from './chunk-7SOI4IHZ.js';
|
|
10
9
|
export { PRODUCT_RENAMES, PRODUCT_RENAME_EMIT, PRODUCT_SLUG_ALIASES, product_alias_exports as ProductAlias, RENAME_CONCERNS, billingIdVariants, emitBillingId, emitName, emitProductSlug, emitQuotaKey, emitRbacResource, emitTemplateKey, isLegacyName, isSameBillingId, isSameGraphQLName, isSameName, isSameProductSlug, isSameQuotaKey, isSameRbacResource, isSameTemplateKey, nameVariants, normalizeBillingId, normalizeGraphQLName, normalizeProductSlug, normalizeQuotaKey, normalizeRbacResource, normalizeTemplateKey, productSlugVariants, quotaKeyVariants, rbacResourceVariants, readRenamedEnv, templateKeyVariants, toCurrentName, toLegacyName } from './chunk-OBBCR6WY.js';
|
|
11
10
|
import { RBACModule } from './chunk-5JNHVKHG.js';
|
|
12
11
|
export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-5JNHVKHG.js';
|
|
@@ -14,21 +13,23 @@ import './chunk-GRGTUP44.js';
|
|
|
14
13
|
import './chunk-3Z2VRCT6.js';
|
|
15
14
|
export { instrumentation_exports as Instrumentation } from './chunk-E5DTAGCA.js';
|
|
16
15
|
export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
|
|
17
|
-
|
|
16
|
+
import { TenantNotificationsModule, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
17
|
+
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
18
18
|
export { export_exports as Export } from './chunk-TNYNRKLQ.js';
|
|
19
19
|
export { feature_flags_exports as FeatureFlags } from './chunk-UNASM5VJ.js';
|
|
20
|
-
import { GraphModule } from './chunk-
|
|
21
|
-
export { graph_exports as Graph, GraphModule } from './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import { EventsModule } from './chunk-
|
|
24
|
-
export { event_queue_exports as EventQueue, EventsModule } from './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import { QueueType, EventQueueFactory } from './chunk-
|
|
20
|
+
import { GraphModule } from './chunk-F4R5AHSD.js';
|
|
21
|
+
export { graph_exports as Graph, GraphModule } from './chunk-F4R5AHSD.js';
|
|
22
|
+
import './chunk-5OROGKQW.js';
|
|
23
|
+
import { EventsModule } from './chunk-JV7XNJP4.js';
|
|
24
|
+
export { event_queue_exports as EventQueue, EventsModule } from './chunk-JV7XNJP4.js';
|
|
25
|
+
import './chunk-HEAQSZBX.js';
|
|
26
|
+
import { QueueType, EventQueueFactory } from './chunk-DNULGVN3.js';
|
|
27
|
+
import { resolveEventStreamsUrl } from './chunk-KS2HQCJR.js';
|
|
27
28
|
export { graphql_exports as GraphQL } from './chunk-KMNSVLDS.js';
|
|
28
29
|
import './chunk-MWPYA2HD.js';
|
|
29
30
|
import './chunk-LKCBI6B2.js';
|
|
30
31
|
export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
|
|
31
|
-
export { init_exports as Init } from './chunk-
|
|
32
|
+
export { init_exports as Init } from './chunk-GSIJ2DBJ.js';
|
|
32
33
|
export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-MZCBEJ67.js';
|
|
33
34
|
import './chunk-AWPNRV3L.js';
|
|
34
35
|
import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-2TTE5KSS.js';
|
|
@@ -2283,7 +2284,7 @@ var BurdenoffSDK = class {
|
|
|
2283
2284
|
taskQueue: config.temporalTaskQueue
|
|
2284
2285
|
};
|
|
2285
2286
|
}
|
|
2286
|
-
if (config.eventQueue ||
|
|
2287
|
+
if (config.eventQueue || resolveEventStreamsUrl()) {
|
|
2287
2288
|
this.eventQueueConfig = {
|
|
2288
2289
|
autoConnect: true,
|
|
2289
2290
|
maxReconnectAttempts: -1,
|
|
@@ -2354,9 +2355,9 @@ var BurdenoffSDK = class {
|
|
|
2354
2355
|
*/
|
|
2355
2356
|
async initializeEventQueue() {
|
|
2356
2357
|
if (!this.eventQueueConfig || this.eventPublisher) return;
|
|
2357
|
-
const url = this.eventQueueConfig.url ||
|
|
2358
|
+
const url = this.eventQueueConfig.url || resolveEventStreamsUrl();
|
|
2358
2359
|
if (!url) {
|
|
2359
|
-
logger.warn("[SDK] No REDIS_URL available \u2014 event publisher disabled");
|
|
2360
|
+
logger.warn("[SDK] No REDIS_STREAMS_URL / REDIS_URL available \u2014 event publisher disabled");
|
|
2360
2361
|
return;
|
|
2361
2362
|
}
|
|
2362
2363
|
const publisherConfig = {
|
|
@@ -2389,7 +2390,7 @@ var BurdenoffSDK = class {
|
|
|
2389
2390
|
async getEventPublisher() {
|
|
2390
2391
|
if (this.eventPublisher) return this.eventPublisher;
|
|
2391
2392
|
if (!this.eventQueueConfig) {
|
|
2392
|
-
throw new Error("[SDK] Event queue not configured - set REDIS_URL or provide config.eventQueue");
|
|
2393
|
+
throw new Error("[SDK] Event queue not configured - set REDIS_STREAMS_URL / REDIS_URL or provide config.eventQueue");
|
|
2393
2394
|
}
|
|
2394
2395
|
if (!this.eventPublisherInitPromise) {
|
|
2395
2396
|
this.eventPublisherInitPromise = this.initializeEventQueue();
|