@autonomys/auto-consensus 0.1.7 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/balances.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ type BalanceData = {
|
|
|
4
4
|
reserved: bigint;
|
|
5
5
|
frozen: bigint;
|
|
6
6
|
};
|
|
7
|
-
export declare const totalIssuance: (networkId?: string) => Promise<import("@
|
|
7
|
+
export declare const totalIssuance: (networkId?: string) => Promise<import("@autonomys/auto-utils").Codec>;
|
|
8
8
|
export declare const balance: (api: Api, address: string) => Promise<BalanceData>;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=balances.d.ts.map
|
package/dist/balances.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balances.d.ts","sourceRoot":"","sources":["../src/balances.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAM,MAAM,uBAAuB,CAAA;AASpD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,eAAsB,MAAM,
|
|
1
|
+
{"version":3,"file":"balances.d.ts","sourceRoot":"","sources":["../src/balances.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAM,MAAM,uBAAuB,CAAA;AASpD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,eAAsB,MAAM,mDAQrD,CAAA;AAED,eAAO,MAAM,OAAO,QAAe,GAAG,WAAW,MAAM,KAAG,QAAQ,WAAW,CAgB5E,CAAA"}
|
package/dist/utils/parse.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { StorageKey } from '@
|
|
2
|
-
import {
|
|
3
|
-
import { DomainRegistry } from '../types';
|
|
1
|
+
import type { AnyTuple, Codec, StorageKey } from '@autonomys/auto-utils';
|
|
2
|
+
import { DomainRegistry } from '../types/domain';
|
|
4
3
|
import { Deposit, Operator, OperatorDetails, StringNumberOrBigInt, Withdrawal } from '../types/staking';
|
|
5
4
|
export declare const parseDomain: (domain: [StorageKey<AnyTuple>, Codec]) => DomainRegistry;
|
|
6
5
|
export declare const parseOperatorDetails: (operatorDetails: Codec) => OperatorDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/utils/parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/utils/parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EACL,OAAO,EACP,QAAQ,EACR,eAAe,EAOf,oBAAoB,EACpB,UAAU,EACX,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,WAAW,WAAY,CAAC,WAAW,QAAQ,CAAC,EAAE,KAAK,CAAC,KAAG,cAMnE,CAAA;AAED,eAAO,MAAM,oBAAoB,oBAAqB,KAAK,KAAG,eAgB7D,CAAA;AAED,eAAO,MAAM,aAAa,aAAc,CAAC,WAAW,QAAQ,CAAC,EAAE,KAAK,CAAC,KAAG,QAKvE,CAAA;AAED,eAAO,MAAM,YAAY,YAAa,CAAC,WAAW,QAAQ,CAAC,EAAE,KAAK,CAAC,KAAG,OAuBrE,CAAA;AAED,eAAO,MAAM,eAAe,eAAgB,CAAC,WAAW,QAAQ,CAAC,EAAE,KAAK,CAAC,KAAG,UAwB3E,CAAA;AAED,eAAO,MAAM,WAAW,eAAgB,oBAAoB,KAAG,MACM,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autonomys/auto-consensus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
@@ -21,10 +21,9 @@
|
|
|
21
21
|
"url": "https://www.autonomys.net"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@autonomys/auto-utils": "^0.
|
|
24
|
+
"@autonomys/auto-utils": "^0.2.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@polkadot/types-codec": "^11.2.1",
|
|
28
27
|
"@types/jest": "^29.5.12",
|
|
29
28
|
"eslint": "^8.57.0",
|
|
30
29
|
"jest": "^29.7.0",
|
|
@@ -32,5 +31,5 @@
|
|
|
32
31
|
"ts-jest": "^29.1.4",
|
|
33
32
|
"typescript": "^5.4.5"
|
|
34
33
|
},
|
|
35
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "6bd84f90326d63a2981367d3cb7c15aecd7dd732"
|
|
36
35
|
}
|