Socket
Socket
Sign inDemoInstall

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/client - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

2

lib/api/admin/types.d.ts

@@ -9,3 +9,3 @@ import { Action, DhtOp, Entry, ZomeCallCapGrant } from "../../hdk/index.js";

export type AttachAppInterfaceRequest = {
port: number;
port?: number;
};

@@ -12,0 +12,0 @@ /**

@@ -41,8 +41,18 @@ import { FunctionName, ZomeName } from "../api/admin/types.js";

*/
export type CapAccess = "Unrestricted" | {
Transferable: {
export declare enum CapAccessType {
Unrestricted = "Unrestricted",
Transferable = "Transferable",
Assigned = "Assigned"
}
/**
* @public
*/
export type CapAccess = {
[CapAccessType.Unrestricted]: null;
} | {
[CapAccessType.Transferable]: {
secret: CapSecret;
};
} | {
Assigned: {
[CapAccessType.Assigned]: {
secret: CapSecret;

@@ -49,0 +59,0 @@ assignees: AgentPubKey[];

@@ -9,1 +9,10 @@ /**

})(GrantedFunctionsType || (GrantedFunctionsType = {}));
/**
* @public
*/
export var CapAccessType;
(function (CapAccessType) {
CapAccessType["Unrestricted"] = "Unrestricted";
CapAccessType["Transferable"] = "Transferable";
CapAccessType["Assigned"] = "Assigned";
})(CapAccessType || (CapAccessType = {}));
{
"name": "@holochain/client",
"version": "0.16.2",
"version": "0.16.3",
"description": "A JavaScript client for the Holochain Conductor API",

@@ -21,3 +21,3 @@ "author": "Holochain Foundation <info@holochain.org> (http://holochain.org)",

"engines": {
"node": ">=16.0.0 || >=18.0.0"
"node": ">=18.0.0 || >=20.0.0"
},

@@ -24,0 +24,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc