@holochain/client
Advanced tools
Comparing version 0.19.0-dev.5 to 0.19.0-dev.6
@@ -133,3 +133,3 @@ import { Action, DhtOp, Entry, ZomeCallCapGrant } from "../../hdk/index.js"; | ||
export type MemproofMap = { | ||
[key: string]: MembraneProof; | ||
[key: RoleName]: MembraneProof; | ||
}; | ||
@@ -139,2 +139,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 = { | ||
@@ -431,7 +462,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 | ||
@@ -442,2 +468,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. | ||
@@ -444,0 +474,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.19.0-dev.5", | ||
"version": "0.19.0-dev.6", | ||
"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", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
156604
4209
19
1