From 7c9349106308ad464ca59fda13dd08b45f4c45be Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Tue, 25 Aug 2026 12:49:52 +0800 Subject: [PATCH] chore: update plugin SDK to v0.3.8 --- go.mod | 2 +- go.sum | 4 ++-- plugin.mod | 2 +- web/dist/assets/index-BSkdT-DR.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 5988d42..1a14c6f 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.dev.alexdunmow.com/block/calcomblock go 1.26.6 require ( - git.dev.alexdunmow.com/block/pluginsdk v0.3.7 + git.dev.alexdunmow.com/block/pluginsdk v0.3.8 github.com/a-h/templ v0.3.1020 github.com/go-chi/chi/v5 v5.3.0 github.com/google/uuid v1.6.0 diff --git a/go.sum b/go.sum index 22bb311..f67b436 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ connectrpc.com/connect v1.20.0 h1:6TNDAB+WeNd2uolWNlYczB5E0KNNaVMNUEx8JEUsPmQ= connectrpc.com/connect v1.20.0/go.mod h1:A2ygJrukXwWy32vkCAAHNVguZrqZ+jeZ9rGRnGR4dN4= -git.dev.alexdunmow.com/block/pluginsdk v0.3.7 h1:PUT1YElhXre43m1UejDabSqRPAnx1BV7BEWKpG++7Rs= -git.dev.alexdunmow.com/block/pluginsdk v0.3.7/go.mod h1:Z+eG+WZxAP0jfreLqlGcc0kkWKt8RWevzWyWn8d+dhM= +git.dev.alexdunmow.com/block/pluginsdk v0.3.8 h1:rPgO2tz8b5aVJFURIA5LrJhY53r/9c+O6BJl38h8nJQ= +git.dev.alexdunmow.com/block/pluginsdk v0.3.8/go.mod h1:Z+eG+WZxAP0jfreLqlGcc0kkWKt8RWevzWyWn8d+dhM= github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk= github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/a-h/templ v0.3.1020 h1:ypAT/L5ySWEnZ6Zft/5yfoWXYYkhFNvEFOeeqecg4tw= diff --git a/plugin.mod b/plugin.mod index 4b86164..d19228b 100644 --- a/plugin.mod +++ b/plugin.mod @@ -12,4 +12,4 @@ allowed_hosts = ["api.cal.com"] [compatibility] block_core = ">=0.3.4" admin_api = ">=0.1.2" -plugin_sdk = ">=0.3.7" +plugin_sdk = ">=0.3.7 <0.4.0" diff --git a/web/dist/assets/index-BSkdT-DR.js b/web/dist/assets/index-BSkdT-DR.js index 554f819..19c3ac0 100644 --- a/web/dist/assets/index-BSkdT-DR.js +++ b/web/dist/assets/index-BSkdT-DR.js @@ -16186,7 +16186,7 @@ let Item$1 = class Item extends AbstractStruct { this.content.integrate(transaction, this); // add parent to transaction.changed addChangedTypeToTransaction(transaction, /** @type {AbstractType} */ (this.parent), this.parentSub); - if (/** @type {AbstractType} */ (this.parent._item !== null && /** @type {AbstractType} */ (this.parent)._item.deleted) || (this.parentSub !== null && this.right !== null)) { + if (/** @type {AbstractType} */ ((this.parent)._item !== null && /** @type {AbstractType} */ (this.parent)._item.deleted) || (this.parentSub !== null && this.right !== null)) { // delete if parent is deleted or if this is not the current attribute value of parent this.delete(transaction); }