@holochain/client 0.20.5 → 0.20.7

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.
@@ -126,6 +126,18 @@ export type AppInfo = {
126
126
  * @public
127
127
  */
128
128
  export type MembraneProof = Uint8Array;
129
+ /**
130
+ * Opaque, app-defined bytes made available to a cell during its `init` callback.
131
+ *
132
+ * Supplied per role at install time in the `init_properties` field on
133
+ * `RoleSettings`, persisted by the conductor alongside the app, never written
134
+ * to the DHT, and read back during `init` via the
135
+ * `hdk::migrate::get_init_properties` host function.
136
+ *
137
+ *
138
+ * @public
139
+ */
140
+ export type InitProperties = Uint8Array;
129
141
  /**
130
142
  * @public
131
143
  */
@@ -151,6 +163,7 @@ export type RoleSettings = {
151
163
  value: {
152
164
  membrane_proof?: MembraneProof;
153
165
  modifiers?: DnaModifiersOpt;
166
+ init_properties?: InitProperties;
154
167
  };
155
168
  };
156
169
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holochain/client",
3
- "version": "0.20.5",
3
+ "version": "0.20.7",
4
4
  "description": "A JavaScript client for the Holochain Conductor API",
5
5
  "author": "Holochain Foundation <info@holochain.org> (https://holochain.org)",
6
6
  "license": "CAL-1.0",