@ray-js/ray-ipc-utils 1.1.7 → 1.1.8

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.
@@ -415,16 +415,6 @@ export const addCollectionPointsInfo = async (deviceId, name) => {
415
415
  }
416
416
  // 2. 获取收藏点 dpCode: memory_point_set
417
417
  const memoryPointSetDpId = await getDpIdByCode(deviceId, 'memory_point_set');
418
- if ((cruiseSwitchInfo === null || cruiseSwitchInfo === void 0 ? void 0 : cruiseSwitchInfo.code) === -1) {
419
- ty.showToast({
420
- icon: 'error',
421
- title: cruiseSwitchInfo.msg
422
- });
423
- return {
424
- code: -1,
425
- msg: cruiseSwitchInfo.msg
426
- };
427
- }
428
418
  if (_trim(name) === '') {
429
419
  ty.showToast({
430
420
  icon: 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-utils",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "IPC 工具库",
5
5
  "main": "lib/index",
6
6
  "files": [