Skip to content

@builder.io/[email protected]

Compare
Choose a tag to compare
@builderio-bot builderio-bot released this 10 Feb 17:25
· 3 commits to main since this release
b85f0a4

Minor Changes

  • 5ed08fc: - BREAKING CHANGE 🧨 : updated subscribeToEditor arguments: - arguments are now passed as a named argument object - apiKey is now a required field

Example:

  • from:
    subscribeToEditor('page', () => { ... }, options: {trustedHosts:['...']})
  • to:
    subscribeToEditor({
        apiKey: '...',
        model: '...',
        trustedHosts: ['...'],
        callback: () => { ... }
    })
  • 10a5754: BREAKING CHANGE 🧨: model and content are now required props for <Content>.