Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
97
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.9.0 to 0.9.1

11

lib/api/common.d.ts

@@ -21,2 +21,8 @@ import { RoleId } from "../types.js";

export declare const promiseTimeout: (promise: Promise<any>, tag: string, ms: number) => Promise<unknown>;
/**
* Identifier of a clone cell, composed of the DNA's role id and the index
* of the clone, starting at 0.
*
* Example: `profiles.0`
*/
export declare class CloneId {

@@ -27,2 +33,7 @@ private static readonly CLONE_ID_DELIMITER;

constructor(roleId: RoleId, index: number);
/**
* Parse a role id of a clone cell to obtain a clone id instance.
* @param roleId Role id to parse.
* @returns A clone id instance.
*/
static fromRoleId(roleId: RoleId): CloneId;

@@ -29,0 +40,0 @@ toString(): string;

@@ -41,2 +41,8 @@ const ERROR_TYPE = "error";

};
/**
* Identifier of a clone cell, composed of the DNA's role id and the index
* of the clone, starting at 0.
*
* Example: `profiles.0`
*/
export class CloneId {

@@ -50,2 +56,7 @@ static CLONE_ID_DELIMITER = ".";

}
/**
* Parse a role id of a clone cell to obtain a clone id instance.
* @param roleId Role id to parse.
* @returns A clone id instance.
*/
static fromRoleId(roleId) {

@@ -52,0 +63,0 @@ const parts = roleId.split(CloneId.CLONE_ID_DELIMITER);

1

lib/api/index.d.ts
export * from "./admin/index.js";
export * from "./app/index.js";
export { CloneId } from "./common.js";
export * from "./admin/index.js";
export * from "./app/index.js";
export { CloneId } from "./common.js";
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@holochain/client",
"version": "0.9.0",
"version": "0.9.1",
"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

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