@kosdev-code/kos-ui-sdk 0.1.0-next.1036 → 0.1.0-next.1045
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/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/util/index.d.ts +2 -0
- package/core/util/index.d.ts.map +1 -1
- package/core/util/kos-local-topic.d.ts +73 -0
- package/core/util/kos-local-topic.d.ts.map +1 -0
- package/core/util/kos-topic-client.d.ts +79 -0
- package/core/util/kos-topic-client.d.ts.map +1 -0
- package/index.cjs +77 -7
- package/index.cjs.map +1 -1
- package/index.js +286 -216
- package/index.js.map +1 -1
- package/models/utils/index.d.ts +1 -0
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/topics/kos/daily/topic.d.ts +74 -0
- package/models/utils/topics/kos/daily/topic.d.ts.map +1 -0
- package/models/utils/topics/kos/daily/topics.d.ts +1026 -0
- package/models/utils/topics-index.d.ts +8 -0
- package/models/utils/topics-index.d.ts.map +1 -0
- package/package.json +3 -3
- package/{software-info-registration-CPH7UyL6.js → software-info-registration-BhOmDkag.js} +307 -309
- package/software-info-registration-BhOmDkag.js.map +1 -0
- package/{software-info-registration-CWlRW0sN.cjs → software-info-registration-JdgonknE.cjs} +6 -8
- package/software-info-registration-JdgonknE.cjs.map +1 -0
- package/testing.cjs +1 -1
- package/testing.js +1 -1
- package/software-info-registration-CPH7UyL6.js.map +0 -1
- package/software-info-registration-CWlRW0sN.cjs.map +0 -1
|
@@ -10204,13 +10204,11 @@ class KosSubscriptionManager {
|
|
|
10204
10204
|
};
|
|
10205
10205
|
}
|
|
10206
10206
|
resolvePropKey(template) {
|
|
10207
|
-
const
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
}
|
|
10213
|
-
return topic;
|
|
10207
|
+
const topic = template.includes("{MODEL_ID}") ? template.replace("{MODEL_ID}", this.modelId) : template;
|
|
10208
|
+
return topic.replace(
|
|
10209
|
+
/{PROP_([^}]+)}/g,
|
|
10210
|
+
(placeholder, propName) => propName in this.modelData ? this.modelData[propName] : placeholder
|
|
10211
|
+
);
|
|
10214
10212
|
}
|
|
10215
10213
|
// ===== FLOW CONTROL METHODS =====
|
|
10216
10214
|
async subscribeWithFlowControl(config2, resolvedTopic, lifecycle) {
|
|
@@ -25411,4 +25409,4 @@ exports.waitForRequest = waitForRequest;
|
|
|
25411
25409
|
exports.whenReady = whenReady;
|
|
25412
25410
|
exports.withCancellation = withCancellation;
|
|
25413
25411
|
exports.wrapWithFutureLifecycle = wrapWithFutureLifecycle;
|
|
25414
|
-
//# sourceMappingURL=software-info-registration-
|
|
25412
|
+
//# sourceMappingURL=software-info-registration-JdgonknE.cjs.map
|