@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.
- package/build/cjs/index.d.ts +1 -2
- package/build/cjs/index.js +1 -2
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.ts +1 -2
- package/build/es/index.js +1 -2
- package/build/es/index.js.map +1 -1
- package/package.json +5 -4
- package/type-bundles/context.bundle.d.ts +11 -3
- package/type-bundles/index.bundle.d.ts +39 -27
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { metroinspector, };
|
|
1
|
+
export * as metroinspector from '@wix/echo_metroinspector';
|
package/build/cjs/index.js
CHANGED
|
@@ -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
|
-
|
|
28
|
-
exports.metroinspector = metroinspector;
|
|
27
|
+
exports.metroinspector = __importStar(require("@wix/echo_metroinspector"));
|
|
29
28
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA2D"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { metroinspector, };
|
|
1
|
+
export * as metroinspector from '@wix/echo_metroinspector';
|
package/build/es/index.js
CHANGED
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,0BAA0B,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.
|
|
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.
|
|
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": "
|
|
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
|
-
|
|
262
|
-
declare const
|
|
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
|
-
|
|
262
|
-
declare const
|
|
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 {
|
|
301
|
+
export { metroinspectorV1EchoMetroinspector_context_d as metroinspector };
|
|
290
302
|
}
|
|
291
303
|
|
|
292
304
|
export { index_d as metroinspector };
|