@wix/echo 1.0.27 → 1.0.28
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 +11 -3
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.28",
|
|
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.6"
|
|
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": "2bcec80ba9bddbee1ae99b0d4bf5b897fa37aceb5a21de6f2db0c17e"
|
|
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,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 index_d_ActionEvent = ActionEvent;
|
|
265
271
|
type index_d_BaseEventMetadata = BaseEventMetadata;
|
|
@@ -283,10 +289,12 @@ type index_d_MessageItem = MessageItem;
|
|
|
283
289
|
type index_d_RestoreInfo = RestoreInfo;
|
|
284
290
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
285
291
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
292
|
+
type index_d__publicEchoType = _publicEchoType;
|
|
293
|
+
type index_d__publicOnEchoDispatchedType = _publicOnEchoDispatchedType;
|
|
286
294
|
declare const index_d_echo: typeof echo;
|
|
287
295
|
declare const index_d_onEchoDispatched: typeof onEchoDispatched;
|
|
288
296
|
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 };
|
|
297
|
+
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, type index_d__publicEchoType as _publicEchoType, type index_d__publicOnEchoDispatchedType as _publicOnEchoDispatchedType, index_d_echo as echo, index_d_onEchoDispatched as onEchoDispatched, onEchoDispatched$1 as publicOnEchoDispatched };
|
|
290
298
|
}
|
|
291
299
|
|
|
292
300
|
export { index_d as metroinspector };
|