@sentio/runtime 4.1.0-rc.1 → 4.1.0-rc.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "4.1.0-rc.1",
3
+ "version": "4.1.0-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/plugin.ts CHANGED
@@ -26,13 +26,6 @@ export abstract class Plugin {
26
26
 
27
27
  async start(start: StartRequest): Promise<void> {}
28
28
 
29
- /**
30
- * @deprecated The method should not be used, use ctx.states instead
31
- */
32
- stateDiff(config: ProcessConfigResponse): boolean {
33
- return false
34
- }
35
-
36
29
  async processBinding(request: DataBinding, preparedData: PreparedData | undefined): Promise<ProcessResult> {
37
30
  return create(ProcessResultSchema)
38
31
  }
@@ -110,13 +103,6 @@ export class PluginManager {
110
103
  this.plugins.forEach((plugin) => plugin.shutdownServer())
111
104
  }
112
105
 
113
- /**
114
- * @deprecated The method should not be used, use ctx.states instead
115
- */
116
- stateDiff(config: ProcessConfigResponse): boolean {
117
- return this.plugins.some((plugin) => plugin.stateDiff(config))
118
- }
119
-
120
106
  processBinding(
121
107
  request: DataBinding,
122
108
  preparedData: PreparedData | undefined,