@holochain/client
Advanced tools
Comparing version 0.9.2 to 0.9.3
/// <reference types="node" /> | ||
import { AgentPubKey, CellId, DnaHash, DnaProperties, ActionHash, HoloHash, InstalledAppId, InstalledCell, KitsuneAgent, KitsuneSpace, RoleId, Signature } from "../../types.js"; | ||
import { AgentPubKey, CellId, DnaHash, DnaProperties, ActionHash, HoloHash, InstalledAppId, InstalledCell, KitsuneAgent, KitsuneSpace, RoleId, Signature, Timestamp, WasmHash } from "../../types.js"; | ||
import { DhtOp, Entry, Action } from "../../hdk/index.js"; | ||
@@ -87,2 +87,25 @@ import { Requester } from "../common.js"; | ||
export declare type RegisterDnaResponse = HoloHash; | ||
export declare type DnaModifiers = { | ||
network_seed: NetworkSeed; | ||
properties: DnaProperties; | ||
origin_time: Timestamp; | ||
}; | ||
export declare type ZomeName = string; | ||
export declare type ZomeDefinition = [ | ||
ZomeName, | ||
{ | ||
wasm_hash: WasmHash; | ||
dependencies: ZomeName[]; | ||
} | ||
]; | ||
export declare type IntegrityZome = ZomeDefinition; | ||
export declare type CoordinatorZome = ZomeDefinition; | ||
export declare type DnaDefinition = { | ||
name: string; | ||
modifiers: DnaModifiers; | ||
integrity_zomes: IntegrityZome[]; | ||
coordinator_zomes: CoordinatorZome[]; | ||
}; | ||
export declare type GetDnaDefinitionRequest = DnaHash; | ||
export declare type GetDnaDefinitionResponse = DnaDefinition; | ||
export declare type InstallAppRequest = { | ||
@@ -210,2 +233,3 @@ installed_app_id: InstalledAppId; | ||
registerDna: Requester<RegisterDnaRequest, RegisterDnaResponse>; | ||
getDnaDefinition: Requester<GetDnaDefinitionRequest, GetDnaDefinitionResponse>; | ||
installApp: Requester<InstallAppRequest, InstallAppResponse>; | ||
@@ -212,0 +236,0 @@ uninstallApp: Requester<UninstallAppRequest, UninstallAppResponse>; |
@@ -36,2 +36,3 @@ /** | ||
registerDna: Requester<Api.RegisterDnaRequest, Api.RegisterDnaResponse>; | ||
getDnaDefinition: Requester<Api.GetDnaDefinitionRequest, Api.GetDnaDefinitionResponse>; | ||
installApp: Requester<Api.InstallAppRequest, Api.InstallAppResponse>; | ||
@@ -38,0 +39,0 @@ uninstallApp: Requester<Api.UninstallAppRequest, Api.UninstallAppResponse>; |
@@ -54,2 +54,3 @@ /** | ||
registerDna = this._requester("register_dna"); | ||
getDnaDefinition = this._requester("get_dna_definition"); | ||
installApp = this._requester("install_app"); | ||
@@ -56,0 +57,0 @@ uninstallApp = this._requester("uninstall_app"); |
import { CapClaim, ZomeCallCapGrant } from "./capabilities.js"; | ||
import { AgentPubKey } from "../types.js"; | ||
import { CounterSigningSessionData } from "./countersigning.js"; | ||
export declare type EntryVisibility = "Public" | "Private"; | ||
export declare type EntryVisibility = { | ||
Public: null; | ||
} | { | ||
Private: null; | ||
}; | ||
export declare type AppEntryType = { | ||
@@ -6,0 +10,0 @@ id: number; |
export declare type HoloHash = Uint8Array; | ||
export declare type AgentPubKey = HoloHash; | ||
export declare type DnaHash = HoloHash; | ||
export declare type WasmHash = HoloHash; | ||
export declare type EntryHash = HoloHash; | ||
@@ -5,0 +6,0 @@ export declare type ActionHash = HoloHash; |
{ | ||
"name": "@holochain/client", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "A JavaScript client for the Holochain Conductor API", | ||
@@ -5,0 +5,0 @@ "author": "Holochain Foundation <info@holochain.org> (http://holochain.org)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
68887
1333