@canvas-js/chain-cosmos
Advanced tools
Comparing version 0.8.27-patch.5 to 0.8.27-patch.6
import { CosmosMessage } from "../types.js"; | ||
import { Awaitable } from "@canvas-js/interfaces"; | ||
export type ArbitrarySigner = { | ||
type: "arbitrary"; | ||
getAddress: (chainId: string) => Promise<string>; | ||
getChainId: () => Promise<string>; | ||
signArbitrary: (msg: string) => Promise<{ | ||
getAddress: (chainId: string) => Awaitable<string>; | ||
getChainId: () => Awaitable<string>; | ||
signArbitrary: (msg: string) => Awaitable<{ | ||
pub_key: { | ||
@@ -15,4 +16,4 @@ type: string; | ||
export declare const createArbitrarySigner: (signer: ArbitrarySigner) => { | ||
getAddress: (chainId: string) => Promise<string>; | ||
getChainId: () => Promise<string>; | ||
getAddress: (chainId: string) => Awaitable<string>; | ||
getChainId: () => Awaitable<string>; | ||
sign: (cosmosMessage: CosmosMessage) => Promise<{ | ||
@@ -19,0 +20,0 @@ signature: { |
{ | ||
"name": "@canvas-js/chain-cosmos", | ||
"version": "0.8.27-patch.5", | ||
"version": "0.8.27-patch.6", | ||
"type": "module", | ||
@@ -19,4 +19,4 @@ "author": "Canvas Technologies, Inc. (https://canvas.xyz)", | ||
"dependencies": { | ||
"@canvas-js/interfaces": "0.8.27-patch.5", | ||
"@canvas-js/signed-cid": "0.8.27-patch.5", | ||
"@canvas-js/interfaces": "0.8.27-patch.6", | ||
"@canvas-js/signed-cid": "0.8.27-patch.6", | ||
"@cosmjs/amino": "^0.30.1", | ||
@@ -23,0 +23,0 @@ "@cosmjs/crypto": "^0.30.1", |
33217
734
+ Added@canvas-js/interfaces@0.8.27-patch.6(transitive)
+ Added@canvas-js/signed-cid@0.8.27-patch.6(transitive)
- Removed@canvas-js/interfaces@0.8.27-patch.5(transitive)
- Removed@canvas-js/signed-cid@0.8.27-patch.5(transitive)