From 630e341b5e07c6c4efcba3045b9ddfcfba6bda4c Mon Sep 17 00:00:00 2001 From: Inderjit Singh Date: Fri, 21 Jun 2024 16:16:04 +0200 Subject: [PATCH 1/2] Revert "Update to new version" This reverts commit 61c9e4f246fa09ccac7f506f690ede3172108053. --- Miro.sketchplugin/Contents/Sketch/core/api.js | 3 +-- Miro.sketchplugin/Contents/Sketch/manifest.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Miro.sketchplugin/Contents/Sketch/core/api.js b/Miro.sketchplugin/Contents/Sketch/core/api.js index 099ac71..b942490 100644 --- a/Miro.sketchplugin/Contents/Sketch/core/api.js +++ b/Miro.sketchplugin/Contents/Sketch/core/api.js @@ -310,8 +310,7 @@ function Api() { var sizeData = '\\"width\\": ' + width + ', \\"height\\":' + height; if (resourceId != nil && (originalId == nil || [objectId isEqualToString:originalId])) { - // dataArray.push(makeDataString(transformationData, sizeData, resourceId)); - dataArray.push(makeDataString(transformationData, sizeData)); // v1 api doesnt let us delete/switch images anymore + dataArray.push(makeDataString(transformationData, sizeData, resourceId)); } else { dataArray.push(makeDataString(transformationData, sizeData)); } diff --git a/Miro.sketchplugin/Contents/Sketch/manifest.json b/Miro.sketchplugin/Contents/Sketch/manifest.json index 2b778ce..58ae012 100644 --- a/Miro.sketchplugin/Contents/Sketch/manifest.json +++ b/Miro.sketchplugin/Contents/Sketch/manifest.json @@ -1,7 +1,7 @@ { "name": "Miro", "identifier" : "com.realtimeboard.sketch.plugin", - "version" : "1.7.1", + "version" : "1.7.0", "description" : "Export and sync your artboards with Miro", "authorEmail" : "support@miro.com", "author" : "Miro", From 8d734b784850b15b55264812805911fb0b68e512 Mon Sep 17 00:00:00 2001 From: Inderjit Singh Date: Fri, 21 Jun 2024 16:18:08 +0200 Subject: [PATCH 2/2] Remove workaround --- Miro.sketchplugin/Contents/Sketch/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Miro.sketchplugin/Contents/Sketch/manifest.json b/Miro.sketchplugin/Contents/Sketch/manifest.json index 58ae012..13228a7 100644 --- a/Miro.sketchplugin/Contents/Sketch/manifest.json +++ b/Miro.sketchplugin/Contents/Sketch/manifest.json @@ -1,7 +1,7 @@ { "name": "Miro", "identifier" : "com.realtimeboard.sketch.plugin", - "version" : "1.7.0", + "version" : "1.7.2", "description" : "Export and sync your artboards with Miro", "authorEmail" : "support@miro.com", "author" : "Miro",