@kosdev-code/kos-ui-sdk 0.1.0-next.871 → 0.1.0-next.894
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/core/core/decorators/kos-service-request-model-factory.test-d.d.ts +2 -0
- package/core/core/decorators/kos-service-request-model-factory.test-d.d.ts.map +1 -0
- package/core/core/decorators/kos-service-request.d.ts +1 -1
- package/core/core/decorators/kos-service-request.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/model/kos-service-request-manager.d.ts.map +1 -1
- package/core/core/registration/index.d.ts +1 -1
- package/core/core/registration/index.d.ts.map +1 -1
- package/core/core/registration/model-registration.d.ts +11 -0
- package/core/core/registration/model-registration.d.ts.map +1 -1
- package/core/index.d.ts +1 -1
- package/core/index.d.ts.map +1 -1
- package/{index-D64IOwMG.js → index-BUwbSjst.js} +5 -7
- package/index-BUwbSjst.js.map +1 -0
- package/{index-DsRhHHtS.cjs → index-DUoSahlA.cjs} +5 -7
- package/index-DUoSahlA.cjs.map +1 -0
- package/index.cjs +8 -4
- package/index.cjs.map +1 -1
- package/index.js +9 -5
- package/index.js.map +1 -1
- package/models/decorators/future-service.d.ts.map +1 -1
- package/package.json +3 -3
- package/testing/index.d.ts +51 -9
- package/testing/index.d.ts.map +1 -1
- package/testing.cjs +57 -3
- package/testing.cjs.map +1 -1
- package/testing.js +57 -3
- package/testing.js.map +1 -1
- package/index-D64IOwMG.js.map +0 -1
- package/index-DsRhHHtS.cjs.map +0 -1
|
@@ -1349,10 +1349,7 @@ function kosServiceRequest$1(params2) {
|
|
|
1349
1349
|
handlerMethod: propertyKey,
|
|
1350
1350
|
originalHandler
|
|
1351
1351
|
};
|
|
1352
|
-
|
|
1353
|
-
params2.path
|
|
1354
|
-
)}`;
|
|
1355
|
-
target[ServiceRequestHandlers][requestKey] = metadata;
|
|
1352
|
+
target[ServiceRequestHandlers][propertyKey] = metadata;
|
|
1356
1353
|
if (!params2.lifecycle) {
|
|
1357
1354
|
const wrappedMethod = function(...args) {
|
|
1358
1355
|
const lastArg = args[args.length - 1];
|
|
@@ -3532,9 +3529,10 @@ function applyFunctionalEnhancements(handler, enhancements) {
|
|
|
3532
3529
|
enhancements.throttle
|
|
3533
3530
|
);
|
|
3534
3531
|
} else if (enhancements.buffer) {
|
|
3532
|
+
const inner = enhancedHandler;
|
|
3535
3533
|
const adaptedHandler = async function(payloads) {
|
|
3536
3534
|
for (const payload of payloads) {
|
|
3537
|
-
await
|
|
3535
|
+
await inner.call(this, payload);
|
|
3538
3536
|
}
|
|
3539
3537
|
};
|
|
3540
3538
|
enhancedHandler = createBufferedHandler(
|
|
@@ -6632,7 +6630,7 @@ class ServiceRequestManager {
|
|
|
6632
6630
|
if (metadata.transform) {
|
|
6633
6631
|
transformedData = metadata.transform(response);
|
|
6634
6632
|
}
|
|
6635
|
-
if (metadata.mappings && metadata.mappings.length > 0) {
|
|
6633
|
+
if (metadata.mappings && metadata.mappings.length > 0 && !metadata.iterateOver) {
|
|
6636
6634
|
transformedData = this.applyMappings(transformedData, metadata);
|
|
6637
6635
|
}
|
|
6638
6636
|
if (metadata.iterateOver) {
|
|
@@ -13536,4 +13534,4 @@ exports.uuid = uuid;
|
|
|
13536
13534
|
exports.waitForAppToStart = waitForAppToStart;
|
|
13537
13535
|
exports.waitForAppsToStart = waitForAppsToStart;
|
|
13538
13536
|
exports.whenReady = whenReady;
|
|
13539
|
-
//# sourceMappingURL=index-
|
|
13537
|
+
//# sourceMappingURL=index-DUoSahlA.cjs.map
|