@holochain/client
Advanced tools
Comparing version 0.16.2 to 0.16.3
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106259
3408