@crossdelta/cloudevents 0.7.15 → 0.7.16

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/index.cjs CHANGED
@@ -2188,7 +2188,7 @@ function cloudEvents(options = {}) {
2188
2188
  // package.json
2189
2189
  var package_default = {
2190
2190
  name: "@crossdelta/cloudevents",
2191
- version: "0.7.15",
2191
+ version: "0.7.16",
2192
2192
  description: "CloudEvents toolkit for TypeScript - Zod validation, handler discovery, NATS JetStream & Core"};
2193
2193
 
2194
2194
  // src/plugin.ts
@@ -2423,7 +2423,7 @@ function createBaseMessageProcessor(deps) {
2423
2423
 
2424
2424
  // src/transports/nats/connection.ts
2425
2425
  var LONG_LIVED_DEFAULTS = {
2426
- waitOnFirstConnect: true,
2426
+ waitOnFirstConnect: false,
2427
2427
  maxReconnectAttempts: -1
2428
2428
  };
2429
2429
  var SHORT_LIVED_DEFAULTS = {
package/dist/index.d.cts CHANGED
@@ -1299,7 +1299,7 @@ interface CloudEventsPfPluginOptions {
1299
1299
  declare const createPfPlugin: (options?: CloudEventsPfPluginOptions) => PfPlugin;
1300
1300
 
1301
1301
  interface NatsConnectionConfig {
1302
- /** Retry the initial connection instead of failing immediately. @default true */
1302
+ /** Retry the initial connection instead of failing immediately. @default false */
1303
1303
  waitOnFirstConnect?: boolean;
1304
1304
  /** Maximum reconnect attempts (-1 = unlimited). @default -1 */
1305
1305
  maxReconnectAttempts?: number;
package/dist/index.d.ts CHANGED
@@ -1299,7 +1299,7 @@ interface CloudEventsPfPluginOptions {
1299
1299
  declare const createPfPlugin: (options?: CloudEventsPfPluginOptions) => PfPlugin;
1300
1300
 
1301
1301
  interface NatsConnectionConfig {
1302
- /** Retry the initial connection instead of failing immediately. @default true */
1302
+ /** Retry the initial connection instead of failing immediately. @default false */
1303
1303
  waitOnFirstConnect?: boolean;
1304
1304
  /** Maximum reconnect attempts (-1 = unlimited). @default -1 */
1305
1305
  maxReconnectAttempts?: number;
package/dist/index.js CHANGED
@@ -2163,7 +2163,7 @@ function cloudEvents(options = {}) {
2163
2163
  // package.json
2164
2164
  var package_default = {
2165
2165
  name: "@crossdelta/cloudevents",
2166
- version: "0.7.15",
2166
+ version: "0.7.16",
2167
2167
  description: "CloudEvents toolkit for TypeScript - Zod validation, handler discovery, NATS JetStream & Core"};
2168
2168
 
2169
2169
  // src/plugin.ts
@@ -2398,7 +2398,7 @@ function createBaseMessageProcessor(deps) {
2398
2398
 
2399
2399
  // src/transports/nats/connection.ts
2400
2400
  var LONG_LIVED_DEFAULTS = {
2401
- waitOnFirstConnect: true,
2401
+ waitOnFirstConnect: false,
2402
2402
  maxReconnectAttempts: -1
2403
2403
  };
2404
2404
  var SHORT_LIVED_DEFAULTS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/cloudevents",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "description": "CloudEvents toolkit for TypeScript - Zod validation, handler discovery, NATS JetStream & Core",
5
5
  "author": "crossdelta",
6
6
  "license": "MIT",