@sentry/junior-plugin-api 0.291.0 → 0.293.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2009,6 +2009,8 @@ export interface HeartbeatHookContext extends PluginContext {
2009
2009
  };
2010
2010
  /** Host embedder bound to the configured embedding model. */
2011
2011
  embedder: PluginEmbedder;
2012
+ /** Publish events, as from a plugin route. */
2013
+ events: EventPublisher;
2012
2014
  nowMs: number;
2013
2015
  state: PluginState;
2014
2016
  }
@@ -2129,6 +2131,8 @@ export interface RouteRegistrationHookContext extends PluginContext {
2129
2131
  events: EventPublisher;
2130
2132
  /** Review desk items that the plugin adds and closes from its events. */
2131
2133
  reviewItems: PluginConversationReviewItems;
2134
+ /** Plugin-namespaced state, the same as in heartbeats. */
2135
+ state: PluginState;
2132
2136
  users: {
2133
2137
  /**
2134
2138
  * Read one stored identity and the user it links to now, with every
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-plugin-api",
3
- "version": "0.291.0",
3
+ "version": "0.293.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"