@canvas-js/interfaces
Advanced tools
Comparing version 0.5.0-alpha4 to 0.6.0-alpha1
@@ -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" | ||
} | ||
} |
19161
3
36
332
4
+ Addedmultiformats@^12.0.1
+ Added@canvas-js/modeldb-interface@0.6.0-alpha1(transitive)
+ Added@canvas-js/signed-cid@0.6.0-alpha1(transitive)
+ Added@ipld/dag-cbor@9.2.2(transitive)
+ Added@ipld/dag-json@10.2.3(transitive)
+ Added@noble/curves@1.8.1(transitive)
+ Addedcborg@4.2.7(transitive)
+ Addedmultiformats@12.1.313.3.1(transitive)
- Removed@noble/hashes@^1.3.0
- Removedsafe-stable-stringify@^2.4.3
- Removedsafe-stable-stringify@2.5.0(transitive)