@sphereon/ssi-sdk.xstate-machine-persistence 0.36.1-next.47 → 0.36.1-next.70

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": "@sphereon/ssi-sdk.xstate-machine-persistence",
3
- "version": "0.36.1-next.47+31fe4eef",
3
+ "version": "0.36.1-next.70+6dc79789",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -27,16 +27,16 @@
27
27
  "generate-plugin-schema": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
28
28
  },
29
29
  "dependencies": {
30
- "@sphereon/ssi-sdk.data-store": "0.36.1-next.47+31fe4eef",
31
- "@sphereon/ssi-sdk.data-store-types": "0.36.1-next.47+31fe4eef",
30
+ "@sphereon/ssi-sdk.data-store": "0.36.1-next.70+6dc79789",
31
+ "@sphereon/ssi-sdk.data-store-types": "0.36.1-next.70+6dc79789",
32
32
  "@veramo/core": "4.2.0",
33
33
  "debug": "^4.3.5",
34
34
  "uuid": "^9.0.1",
35
35
  "xstate": "^4.38.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@sphereon/ssi-sdk.agent-config": "0.36.1-next.47+31fe4eef",
39
- "@sphereon/ssi-sdk.core": "0.36.1-next.47+31fe4eef",
38
+ "@sphereon/ssi-sdk.agent-config": "0.36.1-next.70+6dc79789",
39
+ "@sphereon/ssi-sdk.core": "0.36.1-next.70+6dc79789",
40
40
  "@types/uuid": "^9.0.8",
41
41
  "@typescript-eslint/eslint-plugin": "^8.9.0",
42
42
  "@typescript-eslint/parser": "^8.9.0",
@@ -66,5 +66,5 @@
66
66
  "XState",
67
67
  "state machine"
68
68
  ],
69
- "gitHead": "31fe4eeffb4312dae114c805734a037118411ad3"
69
+ "gitHead": "6dc79789e21f41b193a6e604c132d24130748fa5"
70
70
  }
@@ -16,7 +16,9 @@
16
16
  "type": "string"
17
17
  }
18
18
  },
19
- "required": ["instanceId"],
19
+ "required": [
20
+ "instanceId"
21
+ ],
20
22
  "additionalProperties": false
21
23
  },
22
24
  "MachineStateGetArgs": {
@@ -73,7 +75,15 @@
73
75
  "type": "string"
74
76
  }
75
77
  },
76
- "required": ["createdAt", "instanceId", "latestEventType", "machineName", "state", "updatedAt", "updatedCount"]
78
+ "required": [
79
+ "createdAt",
80
+ "instanceId",
81
+ "latestEventType",
82
+ "machineName",
83
+ "state",
84
+ "updatedAt",
85
+ "updatedCount"
86
+ ]
77
87
  },
78
88
  "SerializableState": {
79
89
  "$ref": "#/components/schemas/XStateConfig<any,AnyEventObject>"
@@ -89,7 +99,10 @@
89
99
  "$ref": "#/components/schemas/SCXML.Event<AnyEventObject>"
90
100
  },
91
101
  "_sessionid": {
92
- "type": ["string", "null"]
102
+ "type": [
103
+ "string",
104
+ "null"
105
+ ]
93
106
  },
94
107
  "historyValue": {
95
108
  "$ref": "#/components/schemas/HistoryValue"
@@ -126,7 +139,15 @@
126
139
  },
127
140
  "machine": {}
128
141
  },
129
- "required": ["value", "context", "_event", "_sessionid", "configuration", "transitions", "children"],
142
+ "required": [
143
+ "value",
144
+ "context",
145
+ "_event",
146
+ "_sessionid",
147
+ "configuration",
148
+ "transitions",
149
+ "children"
150
+ ],
130
151
  "additionalProperties": false,
131
152
  "description": "The configuration for the XState machine state. Simplified StateConfig object from XState so we have a minimal typed structure"
132
153
  },
@@ -156,7 +177,11 @@
156
177
  },
157
178
  "type": {
158
179
  "type": "string",
159
- "enum": ["platform", "internal", "external"],
180
+ "enum": [
181
+ "platform",
182
+ "internal",
183
+ "external"
184
+ ],
160
185
  "description": "This field describes the event type. The SCXML Processor must set it to: \"platform\" (for events raised by the platform itself, such as error events), \"internal\" (for events raised by <raise> and <send> with target '_internal') or \"external\" (for all other events)."
161
186
  },
162
187
  "sendid": {
@@ -184,7 +209,12 @@
184
209
  "const": "scxml"
185
210
  }
186
211
  },
187
- "required": ["name", "type", "data", "$$type"],
212
+ "required": [
213
+ "name",
214
+ "type",
215
+ "data",
216
+ "$$type"
217
+ ],
188
218
  "additionalProperties": false
189
219
  },
190
220
  "AnyEventObject": {
@@ -195,7 +225,9 @@
195
225
  "description": "The type of event that is sent."
196
226
  }
197
227
  },
198
- "required": ["type"]
228
+ "required": [
229
+ "type"
230
+ ]
199
231
  },
200
232
  "HistoryValue": {
201
233
  "type": "object",
@@ -207,7 +239,9 @@
207
239
  "$ref": "#/components/schemas/StateValue"
208
240
  }
209
241
  },
210
- "required": ["states"],
242
+ "required": [
243
+ "states"
244
+ ],
211
245
  "additionalProperties": false
212
246
  },
213
247
  "Record<string,(interface-434048446-6094-6223-434048446-0-57488|undefined)>": {
@@ -233,7 +267,9 @@
233
267
  "type": "number"
234
268
  }
235
269
  },
236
- "required": ["size"],
270
+ "required": [
271
+ "size"
272
+ ],
237
273
  "additionalProperties": false
238
274
  },
239
275
  "InitMachineStateArgs": {
@@ -271,11 +307,16 @@
271
307
  "$ref": "#/components/schemas/MachineStateInfo"
272
308
  }
273
309
  },
274
- "required": ["machineName"]
310
+ "required": [
311
+ "machineName"
312
+ ]
275
313
  },
276
314
  "MachineStateInitType": {
277
315
  "type": "string",
278
- "enum": ["new", "existing"]
316
+ "enum": [
317
+ "new",
318
+ "existing"
319
+ ]
279
320
  },
280
321
  "MachineStateInit": {
281
322
  "type": "object",
@@ -307,7 +348,12 @@
307
348
  "description": "Represents the expiration date"
308
349
  }
309
350
  },
310
- "required": ["createdAt", "instanceId", "machineName", "stateType"]
351
+ "required": [
352
+ "createdAt",
353
+ "instanceId",
354
+ "machineName",
355
+ "stateType"
356
+ ]
311
357
  },
312
358
  "MachineStatePersistArgs": {
313
359
  "type": "object",
@@ -345,7 +391,12 @@
345
391
  "$ref": "#/components/schemas/MachineStateInfo"
346
392
  }
347
393
  },
348
- "required": ["instanceId", "machineName", "state", "stateType"],
394
+ "required": [
395
+ "instanceId",
396
+ "machineName",
397
+ "state",
398
+ "stateType"
399
+ ],
349
400
  "description": "Represents the arguments required to persist the machine state."
350
401
  },
351
402
  "DeleteExpiredStatesArgs": {
@@ -456,4 +507,4 @@
456
507
  }
457
508
  }
458
509
  }
459
- }
510
+ }