@holochain/client
Advanced tools
Comparing version 0.18.0-rc.0 to 0.18.0-rc.1
@@ -132,3 +132,3 @@ import { Action, DhtOp, Entry, ZomeCallCapGrant } from "../../hdk/index.js"; | ||
export type MemproofMap = { | ||
[key: string]: MembraneProof; | ||
[key: RoleName]: MembraneProof; | ||
}; | ||
@@ -138,2 +138,33 @@ /** | ||
*/ | ||
export type RoleSettingsMap = { | ||
[key: RoleName]: RoleSettings; | ||
}; | ||
/** | ||
* @public | ||
*/ | ||
export type RoleSettings = { | ||
type: "UseExisting"; | ||
cell_id: CellId; | ||
} | { | ||
type: "Provisioned"; | ||
membrane_proof?: MembraneProof; | ||
modifiers?: DnaModifiersOpt; | ||
}; | ||
/** | ||
* @public | ||
* Any value that is serializable to a Yaml value | ||
*/ | ||
export type YamlProperties = unknown; | ||
/** | ||
* @public | ||
*/ | ||
export type DnaModifiersOpt = { | ||
network_seed?: NetworkSeed; | ||
properties?: YamlProperties; | ||
origin_time?: Timestamp; | ||
quantum_time?: Duration; | ||
}; | ||
/** | ||
* @public | ||
*/ | ||
export type DisableAppRequest = { | ||
@@ -430,7 +461,2 @@ installed_app_id: InstalledAppId; | ||
/** | ||
* Include proof-of-membrane-membership data for cells that require it, | ||
* keyed by the CellNick specified in the app bundle manifest. | ||
*/ | ||
membrane_proofs: MemproofMap; | ||
/** | ||
* Optional global network seed override. If set will override the network seed value for all | ||
@@ -441,2 +467,6 @@ * DNAs in the bundle. | ||
/** | ||
* Specify role specific settings or modifiers that will override any settings in the dna manifest. | ||
*/ | ||
roles_settings?: RoleSettingsMap; | ||
/** | ||
* Optional: If app installation fails due to genesis failure, normally the app will be immediately uninstalled. | ||
@@ -443,0 +473,0 @@ * When this flag is set, the app is left installed with empty cells intact. This can be useful for |
{ | ||
"name": "@holochain/client", | ||
"version": "0.18.0-rc.0", | ||
"version": "0.18.0-rc.1", | ||
"description": "A JavaScript client for the Holochain Conductor API", | ||
@@ -58,2 +58,3 @@ "author": "Holochain Foundation <info@holochain.org> (https://holochain.org)", | ||
"@microsoft/api-extractor": "^7.34.4", | ||
"@types/js-yaml": "4.0.9", | ||
"@types/libsodium-wrappers": "^0.7.11", | ||
@@ -69,3 +70,3 @@ "@types/lodash-es": "^4.17.6", | ||
"eslint-plugin-tsdoc": "^0.2.17", | ||
"js-yaml": "^3.14.1", | ||
"js-yaml": "^4.1.0", | ||
"prettier": "^2.8.8", | ||
@@ -72,0 +73,0 @@ "rimraf": "^3.0.2", |
137537
3803
105
1
1
1
37
19