| @@ -1,4 +1,5 @@ | ||
| 1 | +(function() { | |
| 1 | 2 | "use strict"; |
| 2 | 3 | var wp; |
| 3 | 4 | (wp ||= {}).serverSideRender = (() => { |
| 4 | 5 | var __create = Object.create; |
| @@ -158,9 +159,9 @@ | ||
| 158 | 159 | skipBlockSupportAttributes = false, |
| 159 | 160 | httpMethod = "GET", |
| 160 | 161 | urlQueryArgs |
| 161 | 162 | } = args; |
| 162 | - let sanitizedAttributes = attributes && (0, import_blocks.__experimentalSanitizeBlockAttributes)(block, attributes); | |
| 163 | + let sanitizedAttributes = attributes && (0, import_blocks.sanitizeBlockAttributes)(block, attributes); | |
| 163 | 164 | if (skipBlockSupportAttributes && sanitizedAttributes) { |
| 164 | 165 | sanitizedAttributes = removeBlockSupportAttributes(sanitizedAttributes); |
| 165 | 166 | } |
| 166 | 167 | const isPostRequest = "POST" === httpMethod; |
| @@ -312,5 +313,7 @@ | ||
| 312 | 313 | var index_default = ServerSideRenderCompat; |
| 313 | 314 | return __toCommonJS(index_exports); |
| 314 | 315 | })(); |
| 315 | 316 | if (typeof wp.serverSideRender === 'object' && wp.serverSideRender.default) { wp.serverSideRender = wp.serverSideRender.default; } |
| 317 | +(window.wp ||= {}).serverSideRender = wp.serverSideRender; | |
| 318 | +})(); | |
| 316 | 319 | //# sourceMappingURL=index.js.map |