Compare commits

...

3 Commits

Author SHA1 Message Date
fde4da3cb8 bump to 2.0.15 2026-08-25 12:51:12 +08:00
1acd9540bf bump to 2.0.14 2026-08-25 12:49:52 +08:00
7c93491063 chore: update plugin SDK to v0.3.8 2026-08-25 12:49:52 +08:00
4 changed files with 6 additions and 6 deletions

2
go.mod
View File

@ -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

4
go.sum
View File

@ -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=

View File

@ -2,7 +2,7 @@
name = "calcomblock"
display_name = "Cal.com Booking"
scope = "@ninja"
version = "2.0.13"
version = "2.0.15"
description = "Embeddable Cal.com booking calendar block with custom styling, timezone-aware slot windowing, honeypot + captcha + rate-limited public booking endpoints, and webhook receiver."
kind = "plugin"
categories = ["forms"]
@ -11,5 +11,5 @@ allowed_hosts = ["api.cal.com"]
[compatibility]
block_core = ">=0.3.4"
plugin_sdk = ">=0.3.7 <0.4.0"
admin_api = ">=0.1.2"
plugin_sdk = ">=0.3.7"

View File

@ -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<any>} */ (this.parent), this.parentSub);
if (/** @type {AbstractType<any>} */ (this.parent._item !== null && /** @type {AbstractType<any>} */ (this.parent)._item.deleted) || (this.parentSub !== null && this.right !== null)) {
if (/** @type {AbstractType<any>} */ ((this.parent)._item !== null && /** @type {AbstractType<any>} */ (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);
}