@holochain/hc-spin 0.500.3 → 0.600.0-dev.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
9
9
  ### Changed
10
10
  ### Removed
11
11
 
12
+ ## 2025-10-13: v0.600.0-dev.0
13
+
14
+ ### Changed
15
+ - Bumped to holochain 0.6.0-dev.28
16
+
12
17
  ## 2025-07-31: v0.500.3
13
18
  ### Fixed
14
19
  - The `--network-seed` argument to hc sandbox was not actually passed on to hc sandbox. Fixed with [#33](https://github.com/holochain/hc-spin/pull/33)
@@ -279,9 +279,6 @@ var AppStatusFilter;
279
279
  (function(AppStatusFilter2) {
280
280
  AppStatusFilter2["Enabled"] = "enabled";
281
281
  AppStatusFilter2["Disabled"] = "disabled";
282
- AppStatusFilter2["Running"] = "running";
283
- AppStatusFilter2["Stopped"] = "stopped";
284
- AppStatusFilter2["Paused"] = "paused";
285
282
  })(AppStatusFilter || (AppStatusFilter = {}));
286
283
  const __HC_LAUNCHER_ENV__ = "__HC_LAUNCHER_ENV__";
287
284
  const __HC_ZOME_CALL_SIGNER__ = "__HC_ZOME_CALL_SIGNER__";
@@ -11617,7 +11614,7 @@ class AppWebsocket {
11617
11614
  cachedAppInfo;
11618
11615
  appInfoRequester;
11619
11616
  agentInfoRequester;
11620
- agentMetaInfoRequester;
11617
+ peerMetaInfoRequester;
11621
11618
  callZomeRequester;
11622
11619
  provideMemproofRequester;
11623
11620
  enableAppRequester;
@@ -11639,7 +11636,7 @@ class AppWebsocket {
11639
11636
  this.cachedAppInfo = appInfo;
11640
11637
  this.appInfoRequester = AppWebsocket.requester(this.client, "app_info", this.defaultTimeout);
11641
11638
  this.agentInfoRequester = AppWebsocket.requester(this.client, "agent_info", this.defaultTimeout);
11642
- this.agentMetaInfoRequester = AppWebsocket.requester(this.client, "agent_meta_info", this.defaultTimeout);
11639
+ this.peerMetaInfoRequester = AppWebsocket.requester(this.client, "peer_meta_info", this.defaultTimeout);
11643
11640
  this.callZomeRequester = AppWebsocket.requester(this.client, "call_zome", this.defaultTimeout, this.callZomeTransform);
11644
11641
  this.provideMemproofRequester = AppWebsocket.requester(this.client, "provide_memproofs", this.defaultTimeout);
11645
11642
  this.enableAppRequester = AppWebsocket.requester(this.client, "enable_app", this.defaultTimeout);
@@ -11711,14 +11708,14 @@ class AppWebsocket {
11711
11708
  return await this.agentInfoRequester(req, timeout2);
11712
11709
  }
11713
11710
  /**
11714
- * Request agent meta info for an agent by peer Url.
11711
+ * Request peer meta info for a peer by Url.
11715
11712
  *
11716
11713
  * @param req - The peer Url of the agent and an optional array of DNA hashes
11717
11714
  * @param timeout - A timeout to override the default.
11718
11715
  * @returns The meta info stored for this peer URL.
11719
11716
  */
11720
- async agentMetaInfo(req, timeout2) {
11721
- return await this.agentMetaInfoRequester(req, timeout2);
11717
+ async peerMetaInfo(req, timeout2) {
11718
+ return await this.peerMetaInfoRequester(req, timeout2);
11722
11719
  }
11723
11720
  /**
11724
11721
  * Request network stats.
@@ -12280,12 +12277,6 @@ class AdminWebsocket {
12280
12277
  * Generate a new agent pub key.
12281
12278
  */
12282
12279
  revokeAgentKey = this._requester("revoke_agent_key");
12283
- /**
12284
- * Register a DNA for later app installation.
12285
- *
12286
- * Stores the given DNA into the Holochain DNA database and returns the hash of it.
12287
- */
12288
- registerDna = this._requester("register_dna");
12289
12280
  /**
12290
12281
  * Get the DNA definition for the specified DNA hash.
12291
12282
  */
@@ -12327,9 +12318,9 @@ class AdminWebsocket {
12327
12318
  */
12328
12319
  addAgentInfo = this._requester("add_agent_info");
12329
12320
  /**
12330
- * Request agent meta info about an agent.
12321
+ * Request peer meta info for a peer.
12331
12322
  */
12332
- agentMetaInfo = this._requester("agent_meta_info");
12323
+ peerMetaInfo = this._requester("peer_meta_info");
12333
12324
  /**
12334
12325
  * Delete a disabled clone cell.
12335
12326
  */
@@ -12339,6 +12330,15 @@ class AdminWebsocket {
12339
12330
  * calls.
12340
12331
  */
12341
12332
  grantZomeCallCapability = this._requester("grant_zome_call_capability");
12333
+ /**
12334
+ * Revoke a zome call capability for an agent, which was previously granted
12335
+ * using {@link AdminWebsocket.grantZomeCallCapability}.
12336
+ */
12337
+ revokeZomeCallCapability = this._requester("revoke_zome_call_capability");
12338
+ /**
12339
+ * List all capability grants for all cells.
12340
+ */
12341
+ listCapabilityGrants = this._requester("list_capability_grants");
12342
12342
  storageInfo = this._requester("storage_info");
12343
12343
  issueAppAuthenticationToken = this._requester("issue_app_authentication_token");
12344
12344
  dumpNetworkStats = this._requester("dump_network_stats");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@holochain/hc-spin",
3
- "version": "0.500.3",
4
- "holochainVersion": "0.5.4",
3
+ "version": "0.600.0-dev.0",
4
+ "holochainVersion": "0.6.0-dev.28",
5
5
  "description": "CLI to run Holochain apps during development.",
6
6
  "author": "matthme",
7
7
  "homepage": "https://developer.holochain.org",
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "@electron-toolkit/preload": "^3.0.0",
37
37
  "@electron-toolkit/utils": "^3.0.0",
38
- "@holochain/client": "^0.19.2",
39
- "@holochain/hc-spin-rust-utils": "^0.500.0",
38
+ "@holochain/client": "^0.20.0-dev.2",
39
+ "@holochain/hc-spin-rust-utils": "0.600.0-dev.0",
40
40
  "@msgpack/msgpack": "^2.8.0",
41
41
  "bufferutil": "4.0.8",
42
42
  "commander": "11.1.0",