@ottochain/sdk 2.2.3 → 2.2.5

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.
@@ -97,7 +97,6 @@ function normalizeDefinition(def) {
97
97
  * - definition.states[*].metadata → null when absent
98
98
  * - definition.transitions[*].dependencies → [] when absent
99
99
  * - parentFiberId → null when absent
100
- * - participants → null when absent (Optional Set[Address] for multi-party signing)
101
100
  *
102
101
  * @example
103
102
  * ```typescript
@@ -106,7 +105,7 @@ function normalizeDefinition(def) {
106
105
  * definition: { states: { INIT: { id: { value: 'INIT' }, isFinal: false } }, ... },
107
106
  * initialData: {}
108
107
  * });
109
- * // message now has parentFiberId: null, participants: null, definition.metadata: null, etc.
108
+ * // message now has parentFiberId: null, definition.metadata: null, etc.
110
109
  * ```
111
110
  */
112
111
  function normalizeCreateStateMachine(msg) {
@@ -115,7 +114,6 @@ function normalizeCreateStateMachine(msg) {
115
114
  definition: normalizeDefinition(msg.definition),
116
115
  initialData: msg.initialData ?? {},
117
116
  parentFiberId: msg.parentFiberId ?? null,
118
- participants: msg.participants ?? null,
119
117
  };
120
118
  }
121
119
  exports.normalizeCreateStateMachine = normalizeCreateStateMachine;
@@ -94,7 +94,6 @@ function normalizeDefinition(def) {
94
94
  * - definition.states[*].metadata → null when absent
95
95
  * - definition.transitions[*].dependencies → [] when absent
96
96
  * - parentFiberId → null when absent
97
- * - participants → null when absent (Optional Set[Address] for multi-party signing)
98
97
  *
99
98
  * @example
100
99
  * ```typescript
@@ -103,7 +102,7 @@ function normalizeDefinition(def) {
103
102
  * definition: { states: { INIT: { id: { value: 'INIT' }, isFinal: false } }, ... },
104
103
  * initialData: {}
105
104
  * });
106
- * // message now has parentFiberId: null, participants: null, definition.metadata: null, etc.
105
+ * // message now has parentFiberId: null, definition.metadata: null, etc.
107
106
  * ```
108
107
  */
109
108
  export function normalizeCreateStateMachine(msg) {
@@ -112,7 +111,6 @@ export function normalizeCreateStateMachine(msg) {
112
111
  definition: normalizeDefinition(msg.definition),
113
112
  initialData: msg.initialData ?? {},
114
113
  parentFiberId: msg.parentFiberId ?? null,
115
- participants: msg.participants ?? null,
116
114
  };
117
115
  }
118
116
  /**
@@ -25,7 +25,6 @@
25
25
  * - definition.states[*].metadata → null when absent
26
26
  * - definition.transitions[*].dependencies → [] when absent
27
27
  * - parentFiberId → null when absent
28
- * - participants → null when absent (Optional Set[Address] for multi-party signing)
29
28
  *
30
29
  * @example
31
30
  * ```typescript
@@ -34,7 +33,7 @@
34
33
  * definition: { states: { INIT: { id: { value: 'INIT' }, isFinal: false } }, ... },
35
34
  * initialData: {}
36
35
  * });
37
- * // message now has parentFiberId: null, participants: null, definition.metadata: null, etc.
36
+ * // message now has parentFiberId: null, definition.metadata: null, etc.
38
37
  * ```
39
38
  */
40
39
  export declare function normalizeCreateStateMachine(msg: Record<string, unknown>): Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ottochain/sdk",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "TypeScript SDK for ottochain metagraph operations - signing, encoding, and network interactions",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",