@wix/echo 1.0.27 → 1.0.29

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.
@@ -1,2 +1 @@
1
- import * as metroinspector from '@wix/echo_metroinspector';
2
- export { metroinspector, };
1
+ export * as metroinspector from '@wix/echo_metroinspector';
@@ -24,6 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.metroinspector = void 0;
27
- const metroinspector = __importStar(require("@wix/echo_metroinspector"));
28
- exports.metroinspector = metroinspector;
27
+ exports.metroinspector = __importStar(require("@wix/echo_metroinspector"));
29
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAA2D;AAEzD,wCAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA2D"}
@@ -1,2 +1 @@
1
- import * as metroinspector from '@wix/echo_metroinspector';
2
- export { metroinspector, };
1
+ export * as metroinspector from '@wix/echo_metroinspector';
package/build/es/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import * as metroinspector from '@wix/echo_metroinspector';
2
- export { metroinspector, };
1
+ export * as metroinspector from '@wix/echo_metroinspector';
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EACL,cAAc,GACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/echo",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/echo_metroinspector": "1.0.5"
21
+ "@wix/echo_metroinspector": "1.0.7"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -27,8 +27,9 @@
27
27
  "typescript": "^5.3.2"
28
28
  },
29
29
  "scripts": {
30
- "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
30
+ "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles && npm run build:validate-dts",
31
31
  "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
32
+ "build:validate-dts": "tsc type-bundles/*.d.ts --noEmit",
32
33
  "test": ":"
33
34
  },
34
35
  "wix": {
@@ -42,5 +43,5 @@
42
43
  "fqdn": ""
43
44
  }
44
45
  },
45
- "falconPackageHash": "54887bcf0fce0b086b7f7ac9e5e52a0a9b52e737adaecfcd14eb149f"
46
+ "falconPackageHash": "d6f51d091e1fa59c4f2ee35249477c32c03571687cfc89d562ee04a3"
46
47
  }
@@ -254,12 +254,18 @@ interface EchoOptions {
254
254
  someDate?: Date;
255
255
  }
256
256
 
257
+ declare function echo$1(httpClient: HttpClient): (arg1: string, options?: EchoOptions) => Promise<string>;
258
+ declare const onEchoDispatched$1: EventDefinition<EchoDispatchedEnvelope, "wix.metroinspector.v1.echo_dispatched">;
259
+
257
260
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
258
261
 
259
262
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
260
263
 
261
- declare const echo: ReturnType<typeof createRESTModule<typeof publicEcho>>;
262
- declare const onEchoDispatched: ReturnType<typeof createEventModule<typeof publicOnEchoDispatched>>;
264
+ type _publicEchoType = typeof echo$1;
265
+ declare const echo: ReturnType<typeof createRESTModule<_publicEchoType>>;
266
+
267
+ type _publicOnEchoDispatchedType = typeof onEchoDispatched$1;
268
+ declare const onEchoDispatched: ReturnType<typeof createEventModule<_publicOnEchoDispatchedType>>;
263
269
 
264
270
  type context_ActionEvent = ActionEvent;
265
271
  type context_BaseEventMetadata = BaseEventMetadata;
@@ -283,10 +289,12 @@ type context_MessageItem = MessageItem;
283
289
  type context_RestoreInfo = RestoreInfo;
284
290
  type context_WebhookIdentityType = WebhookIdentityType;
285
291
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
292
+ type context__publicEchoType = _publicEchoType;
293
+ type context__publicOnEchoDispatchedType = _publicOnEchoDispatchedType;
286
294
  declare const context_echo: typeof echo;
287
295
  declare const context_onEchoDispatched: typeof onEchoDispatched;
288
296
  declare namespace context {
289
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_Dispatched as Dispatched, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EchoDispatchedEnvelope as EchoDispatchedEnvelope, type context_EchoMessage as EchoMessage, type context_EchoOptions as EchoOptions, type context_EchoRequest as EchoRequest, type context_EchoResponse as EchoResponse, type context_EchoResponseNonNullableFields as EchoResponseNonNullableFields, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MessageItem as MessageItem, type context_RestoreInfo as RestoreInfo, context_WebhookIdentityType as WebhookIdentityType, context_echo as echo, context_onEchoDispatched as onEchoDispatched };
297
+ export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_Dispatched as Dispatched, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EchoDispatchedEnvelope as EchoDispatchedEnvelope, type context_EchoMessage as EchoMessage, type context_EchoOptions as EchoOptions, type context_EchoRequest as EchoRequest, type context_EchoResponse as EchoResponse, type context_EchoResponseNonNullableFields as EchoResponseNonNullableFields, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MessageItem as MessageItem, type context_RestoreInfo as RestoreInfo, context_WebhookIdentityType as WebhookIdentityType, type context__publicEchoType as _publicEchoType, type context__publicOnEchoDispatchedType as _publicOnEchoDispatchedType, context_echo as echo, context_onEchoDispatched as onEchoDispatched, onEchoDispatched$1 as publicOnEchoDispatched };
290
298
  }
291
299
 
292
300
  export { context as metroinspector };
@@ -254,39 +254,51 @@ interface EchoOptions {
254
254
  someDate?: Date;
255
255
  }
256
256
 
257
+ declare function echo$1(httpClient: HttpClient): (arg1: string, options?: EchoOptions) => Promise<string>;
258
+ declare const onEchoDispatched$1: EventDefinition<EchoDispatchedEnvelope, "wix.metroinspector.v1.echo_dispatched">;
259
+
257
260
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
258
261
 
259
262
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
260
263
 
261
- declare const echo: ReturnType<typeof createRESTModule<typeof publicEcho>>;
262
- declare const onEchoDispatched: ReturnType<typeof createEventModule<typeof publicOnEchoDispatched>>;
264
+ type _publicEchoType = typeof echo$1;
265
+ declare const echo: ReturnType<typeof createRESTModule<_publicEchoType>>;
266
+
267
+ type _publicOnEchoDispatchedType = typeof onEchoDispatched$1;
268
+ declare const onEchoDispatched: ReturnType<typeof createEventModule<_publicOnEchoDispatchedType>>;
269
+
270
+ type metroinspectorV1EchoMetroinspector_context_d_ActionEvent = ActionEvent;
271
+ type metroinspectorV1EchoMetroinspector_context_d_BaseEventMetadata = BaseEventMetadata;
272
+ type metroinspectorV1EchoMetroinspector_context_d_Dispatched = Dispatched;
273
+ type metroinspectorV1EchoMetroinspector_context_d_DomainEvent = DomainEvent;
274
+ type metroinspectorV1EchoMetroinspector_context_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
275
+ type metroinspectorV1EchoMetroinspector_context_d_EchoDispatchedEnvelope = EchoDispatchedEnvelope;
276
+ type metroinspectorV1EchoMetroinspector_context_d_EchoMessage = EchoMessage;
277
+ type metroinspectorV1EchoMetroinspector_context_d_EchoOptions = EchoOptions;
278
+ type metroinspectorV1EchoMetroinspector_context_d_EchoRequest = EchoRequest;
279
+ type metroinspectorV1EchoMetroinspector_context_d_EchoResponse = EchoResponse;
280
+ type metroinspectorV1EchoMetroinspector_context_d_EchoResponseNonNullableFields = EchoResponseNonNullableFields;
281
+ type metroinspectorV1EchoMetroinspector_context_d_EntityCreatedEvent = EntityCreatedEvent;
282
+ type metroinspectorV1EchoMetroinspector_context_d_EntityDeletedEvent = EntityDeletedEvent;
283
+ type metroinspectorV1EchoMetroinspector_context_d_EntityUpdatedEvent = EntityUpdatedEvent;
284
+ type metroinspectorV1EchoMetroinspector_context_d_EventMetadata = EventMetadata;
285
+ type metroinspectorV1EchoMetroinspector_context_d_IdentificationData = IdentificationData;
286
+ type metroinspectorV1EchoMetroinspector_context_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
287
+ type metroinspectorV1EchoMetroinspector_context_d_MessageEnvelope = MessageEnvelope;
288
+ type metroinspectorV1EchoMetroinspector_context_d_MessageItem = MessageItem;
289
+ type metroinspectorV1EchoMetroinspector_context_d_RestoreInfo = RestoreInfo;
290
+ type metroinspectorV1EchoMetroinspector_context_d_WebhookIdentityType = WebhookIdentityType;
291
+ declare const metroinspectorV1EchoMetroinspector_context_d_WebhookIdentityType: typeof WebhookIdentityType;
292
+ type metroinspectorV1EchoMetroinspector_context_d__publicEchoType = _publicEchoType;
293
+ type metroinspectorV1EchoMetroinspector_context_d__publicOnEchoDispatchedType = _publicOnEchoDispatchedType;
294
+ declare const metroinspectorV1EchoMetroinspector_context_d_echo: typeof echo;
295
+ declare const metroinspectorV1EchoMetroinspector_context_d_onEchoDispatched: typeof onEchoDispatched;
296
+ declare namespace metroinspectorV1EchoMetroinspector_context_d {
297
+ export { type metroinspectorV1EchoMetroinspector_context_d_ActionEvent as ActionEvent, type metroinspectorV1EchoMetroinspector_context_d_BaseEventMetadata as BaseEventMetadata, type metroinspectorV1EchoMetroinspector_context_d_Dispatched as Dispatched, type metroinspectorV1EchoMetroinspector_context_d_DomainEvent as DomainEvent, type metroinspectorV1EchoMetroinspector_context_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type metroinspectorV1EchoMetroinspector_context_d_EchoDispatchedEnvelope as EchoDispatchedEnvelope, type metroinspectorV1EchoMetroinspector_context_d_EchoMessage as EchoMessage, type metroinspectorV1EchoMetroinspector_context_d_EchoOptions as EchoOptions, type metroinspectorV1EchoMetroinspector_context_d_EchoRequest as EchoRequest, type metroinspectorV1EchoMetroinspector_context_d_EchoResponse as EchoResponse, type metroinspectorV1EchoMetroinspector_context_d_EchoResponseNonNullableFields as EchoResponseNonNullableFields, type metroinspectorV1EchoMetroinspector_context_d_EntityCreatedEvent as EntityCreatedEvent, type metroinspectorV1EchoMetroinspector_context_d_EntityDeletedEvent as EntityDeletedEvent, type metroinspectorV1EchoMetroinspector_context_d_EntityUpdatedEvent as EntityUpdatedEvent, type metroinspectorV1EchoMetroinspector_context_d_EventMetadata as EventMetadata, type metroinspectorV1EchoMetroinspector_context_d_IdentificationData as IdentificationData, type metroinspectorV1EchoMetroinspector_context_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type metroinspectorV1EchoMetroinspector_context_d_MessageEnvelope as MessageEnvelope, type metroinspectorV1EchoMetroinspector_context_d_MessageItem as MessageItem, type metroinspectorV1EchoMetroinspector_context_d_RestoreInfo as RestoreInfo, metroinspectorV1EchoMetroinspector_context_d_WebhookIdentityType as WebhookIdentityType, type metroinspectorV1EchoMetroinspector_context_d__publicEchoType as _publicEchoType, type metroinspectorV1EchoMetroinspector_context_d__publicOnEchoDispatchedType as _publicOnEchoDispatchedType, metroinspectorV1EchoMetroinspector_context_d_echo as echo, metroinspectorV1EchoMetroinspector_context_d_onEchoDispatched as onEchoDispatched, onEchoDispatched$1 as publicOnEchoDispatched };
298
+ }
263
299
 
264
- type index_d_ActionEvent = ActionEvent;
265
- type index_d_BaseEventMetadata = BaseEventMetadata;
266
- type index_d_Dispatched = Dispatched;
267
- type index_d_DomainEvent = DomainEvent;
268
- type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
269
- type index_d_EchoDispatchedEnvelope = EchoDispatchedEnvelope;
270
- type index_d_EchoMessage = EchoMessage;
271
- type index_d_EchoOptions = EchoOptions;
272
- type index_d_EchoRequest = EchoRequest;
273
- type index_d_EchoResponse = EchoResponse;
274
- type index_d_EchoResponseNonNullableFields = EchoResponseNonNullableFields;
275
- type index_d_EntityCreatedEvent = EntityCreatedEvent;
276
- type index_d_EntityDeletedEvent = EntityDeletedEvent;
277
- type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
278
- type index_d_EventMetadata = EventMetadata;
279
- type index_d_IdentificationData = IdentificationData;
280
- type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
281
- type index_d_MessageEnvelope = MessageEnvelope;
282
- type index_d_MessageItem = MessageItem;
283
- type index_d_RestoreInfo = RestoreInfo;
284
- type index_d_WebhookIdentityType = WebhookIdentityType;
285
- declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
286
- declare const index_d_echo: typeof echo;
287
- declare const index_d_onEchoDispatched: typeof onEchoDispatched;
288
300
  declare namespace index_d {
289
- export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_Dispatched as Dispatched, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EchoDispatchedEnvelope as EchoDispatchedEnvelope, type index_d_EchoMessage as EchoMessage, type index_d_EchoOptions as EchoOptions, type index_d_EchoRequest as EchoRequest, type index_d_EchoResponse as EchoResponse, type index_d_EchoResponseNonNullableFields as EchoResponseNonNullableFields, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MessageItem as MessageItem, type index_d_RestoreInfo as RestoreInfo, index_d_WebhookIdentityType as WebhookIdentityType, index_d_echo as echo, index_d_onEchoDispatched as onEchoDispatched };
301
+ export { metroinspectorV1EchoMetroinspector_context_d as metroinspector };
290
302
  }
291
303
 
292
304
  export { index_d as metroinspector };