@dedot/types
Advanced tools
+7
-0
@@ -6,2 +6,8 @@ import { ApplyExtrinsicResult, BlockHash, DispatchError, DispatchInfo, Extrinsic, Hash, RuntimeDispatchInfo } from '@dedot/codecs'; | ||
| export type AddressOrPair = IKeyringPair | string; | ||
| export type MortalityOptions = { | ||
| type: 'Immortal'; | ||
| } | { | ||
| type: 'Mortal'; | ||
| period: number; | ||
| }; | ||
| export interface PayloadOptions<AssetId extends any = any> { | ||
@@ -12,2 +18,3 @@ nonce?: number; | ||
| metadataHash?: HexString; | ||
| mortality?: MortalityOptions; | ||
| [prop: string]: any; | ||
@@ -14,0 +21,0 @@ } |
+5
-5
| { | ||
| "name": "@dedot/types", | ||
| "version": "1.1.1", | ||
| "version": "1.2.0", | ||
| "description": "Known types", | ||
@@ -20,5 +20,5 @@ "author": "Thang X. Vu <thang@dedot.dev>", | ||
| "dependencies": { | ||
| "@dedot/codecs": "^1.1.1", | ||
| "@dedot/shape": "^1.1.1", | ||
| "@dedot/utils": "^1.1.1" | ||
| "@dedot/codecs": "^1.2.0", | ||
| "@dedot/shape": "^1.2.0", | ||
| "@dedot/utils": "^1.2.0" | ||
| }, | ||
@@ -47,5 +47,5 @@ "exports": { | ||
| "license": "Apache-2.0", | ||
| "gitHead": "d64c5da3433f21b17fcf1e431235b8694ed11fa2", | ||
| "gitHead": "d0da366e311d33389d0fd1b9e9435c1d61da5799", | ||
| "module": "./index.js", | ||
| "types": "./index.d.ts" | ||
| } |
95009
0.15%2225
0.32%Updated
Updated
Updated