@fatehan/tsrp 1.3.36 → 1.3.38
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/dist/api.js +5 -7
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -112,13 +112,11 @@ class ApiService {
|
|
|
112
112
|
}
|
|
113
113
|
const { IoRequest, IoResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
|
|
114
114
|
const response = await this._call("IoIndex", request, IoRequest, IoResponse);
|
|
115
|
-
if (
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
(0, system_io_1.setSystemIoCache)(response.ios);
|
|
121
|
-
}
|
|
115
|
+
if (request.deviceId != null) {
|
|
116
|
+
(0, system_io_1.setDeviceIoCache)(request.deviceId.toString(), response.ios);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
(0, system_io_1.setSystemIoCache)(response.ios);
|
|
122
120
|
}
|
|
123
121
|
return response;
|
|
124
122
|
}
|