Skip to content

v1.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 11:35
· 112 commits to main since this release
3c48c5d

Minor Changes

  • 63949a4: New event listener: EVENT_NAMES.ITEM_PUBLISHED. Will be triggered
    whenever an item is published with the payload:

    const payload: type ItemEventPayload = {
      id: string
      language: string
      name: string
    }
    

    Usage:

    bootstrapper.on(EVENT_NAMES.ITEM_PUBLISHED, (payload: ItemEventPayload) => {
      console.log('Item was published', payload)
    })