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

@canvas-js/interfaces

Package Overview
Dependencies
Maintainers
3
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canvas-js/interfaces - npm Package Compare versions

Comparing version 0.5.0-alpha4 to 0.6.0-alpha1

lib/action.d.ts

11

lib/index.d.ts

@@ -1,10 +0,5 @@

export * from "./sessions.js";
export * from "./actions.js";
export * from "./customActions.js";
export * from "./models.js";
export * from "./routes.js";
export * from "./contracts.js";
export * from "./chains.js";
export * from "./messages.js";
export * from "./core.js";
export * from "./signer.js";
export * from "./values.js";
export * from "./action.js";
export * from "./message.js";

@@ -1,10 +0,5 @@

export * from "./sessions.js";
export * from "./actions.js";
export * from "./customActions.js";
export * from "./models.js";
export * from "./routes.js";
export * from "./contracts.js";
export * from "./chains.js";
export * from "./messages.js";
export * from "./core.js";
export * from "./signer.js";
export * from "./values.js";
export * from "./action.js";
export * from "./message.js";

@@ -1,6 +0,9 @@

export type JSONValue = null | string | number | boolean | JSONArray | JSONObject;
export interface JSONArray extends Array<JSONValue> {
import type { CID } from "multiformats/cid";
export type JSONPrimitive = null | boolean | number | string;
export type JSONValue<Primitive = JSONPrimitive> = Primitive | JSONArray<Primitive> | JSONObject<Primitive>;
export interface JSONArray<Primitive = JSONPrimitive> extends Array<JSONValue<Primitive>> {
}
export interface JSONObject {
[key: string]: JSONValue;
export interface JSONObject<Primitive = JSONPrimitive> {
[key: string]: JSONValue<Primitive>;
}
export type IPLDValue = JSONValue<null | boolean | number | string | Uint8Array | CID>;
{
"name": "@canvas-js/interfaces",
"version": "0.5.0-alpha4",
"version": "0.6.0-alpha1",
"type": "module",

@@ -15,16 +15,12 @@ "author": "Canvas Technologies, Inc. (https://canvas.xyz)",

"dependencies": {
"@canvas-js/modeldb-interface": "0.6.0-alpha1",
"@canvas-js/signed-cid": "0.6.0-alpha1",
"@libp2p/interfaces": "^3.3.2",
"@noble/hashes": "^1.3.0",
"safe-stable-stringify": "^2.4.3"
"multiformats": "^12.0.1"
},
"devDependencies": {
"@ava/typescript": "^4.0.0",
"@canvas-js/chain-cosmos": "0.5.0-alpha4",
"@canvas-js/chain-ethereum": "0.5.0-alpha4",
"@canvas-js/chain-solana": "0.5.0-alpha4",
"@canvas-js/chain-substrate": "0.5.0-alpha4",
"@canvas-js/interfaces": "0.5.0-alpha4",
"ava": "^5.2.0",
"typescript": "^5.0.4"
"@canvas-js/chain-ethereum": "0.6.0-alpha1",
"@canvas-js/chain-solana": "0.6.0-alpha1",
"@canvas-js/chain-substrate": "0.6.0-alpha1"
}
}
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