@jskit-ai/rewarded-core 0.1.181 → 0.1.182

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": "@jskit-ai/rewarded-core",
3
- "version": "0.1.181",
3
+ "version": "0.1.182",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test --test-concurrency=1"
@@ -119,15 +119,16 @@
119
119
  }
120
120
  },
121
121
  "dependencies": {
122
- "@jskit-ai/crud-core": "0.1.256",
123
- "@jskit-ai/database-runtime": "0.1.245",
124
- "@jskit-ai/json-rest-api-core": "0.1.189",
125
- "@jskit-ai/resource-crud-core": "0.1.187",
126
- "@jskit-ai/workspaces-core": "0.1.223"
122
+ "@jskit-ai/crud-core": "0.1.257",
123
+ "@jskit-ai/database-runtime": "0.1.246",
124
+ "@jskit-ai/json-rest-api-core": "0.1.190",
125
+ "@jskit-ai/resource-crud-core": "0.1.188",
126
+ "@jskit-ai/workspaces-core": "0.1.224",
127
+ "json-rest-schema": "^1.0.17"
127
128
  },
128
129
  "peerDependencies": {
129
- "@jskit-ai/auth-core": "0.1.243",
130
- "@jskit-ai/http-runtime": "0.1.243",
131
- "@jskit-ai/kernel": "0.1.245"
130
+ "@jskit-ai/auth-core": "0.1.244",
131
+ "@jskit-ai/http-runtime": "0.1.244",
132
+ "@jskit-ai/kernel": "0.1.246"
132
133
  }
133
134
  }
@@ -44,10 +44,6 @@ function createRewardedActions({ rewarded } = {}) {
44
44
  input: currentQueryInputValidator,
45
45
  output: currentStateOutputValidator,
46
46
  idempotency: "none",
47
- audit: {
48
- actionName: ACTION_CURRENT
49
- },
50
- observability: {},
51
47
  async execute(input, context) {
52
48
  return rewarded.getCurrentState(input, {
53
49
  context
@@ -64,10 +60,6 @@ function createRewardedActions({ rewarded } = {}) {
64
60
  input: startCommandInputValidator,
65
61
  output: startGateOutputValidator,
66
62
  idempotency: "optional",
67
- audit: {
68
- actionName: ACTION_START
69
- },
70
- observability: {},
71
63
  events: [changedEvent({
72
64
  entity: "watch-session",
73
65
  operation: "created",
@@ -90,10 +82,6 @@ function createRewardedActions({ rewarded } = {}) {
90
82
  input: grantCommandInputValidator,
91
83
  output: grantRewardOutputValidator,
92
84
  idempotency: "optional",
93
- audit: {
94
- actionName: ACTION_GRANT
95
- },
96
- observability: {},
97
85
  events: [
98
86
  changedEvent({
99
87
  entity: "watch-session",
@@ -124,10 +112,6 @@ function createRewardedActions({ rewarded } = {}) {
124
112
  input: closeCommandInputValidator,
125
113
  output: closeSessionOutputValidator,
126
114
  idempotency: "optional",
127
- audit: {
128
- actionName: ACTION_CLOSE
129
- },
130
- observability: {},
131
115
  events: [changedEvent({
132
116
  entity: "watch-session",
133
117
  operation: "updated",