@bigmi/core 0.3.0-beta.0 → 0.3.0-beta.1
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/cjs/clients/decorators/public.d.ts +5 -1
- package/dist/cjs/clients/decorators/public.js +5 -1
- package/dist/cjs/clients/decorators/public.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/clients/decorators/public.d.ts +5 -1
- package/dist/esm/clients/decorators/public.js +5 -1
- package/dist/esm/clients/decorators/public.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/clients/decorators/public.d.ts +5 -1
- package/dist/types/clients/decorators/public.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/package.json.tmp +1 -1
- package/src/clients/decorators/public.ts +18 -6
- package/src/version.ts +1 -1
|
@@ -2,7 +2,9 @@ import { type GetBalanceParameters, type GetBalanceReturnType } from '../../acti
|
|
|
2
2
|
import { type GetBlockParameters, type GetBlockReturnType } from '../../actions/getBlock.js';
|
|
3
3
|
import { type GetBlockCountReturnType } from '../../actions/getBlockCount.js';
|
|
4
4
|
import { type GetBlockStatsParameters, type GetBlockStatsReturnType } from '../../actions/getBlockStats.js';
|
|
5
|
+
import { type GetTransactionsParameters, type GetTransactionsReturnType } from '../../actions/getTransactions.js';
|
|
5
6
|
import { type GetUTXOTransactionParameters, type GetUTXOTransactionReturnType } from '../../actions/getUTXOTransaction.js';
|
|
7
|
+
import { type GetUTXOsParameters, type GetUTXOsReturnType } from '../../actions/getUTXOs.js';
|
|
6
8
|
import type { Client } from '../../factories/createClient.js';
|
|
7
9
|
import type { Transport } from '../../factories/createTransport.js';
|
|
8
10
|
import type { UTXOSchema } from '../../transports/types.js';
|
|
@@ -10,9 +12,11 @@ import type { Account } from '../../types/account.js';
|
|
|
10
12
|
import type { Chain } from '../../types/chain.js';
|
|
11
13
|
export type PublicActions = {
|
|
12
14
|
getBalance: (args: GetBalanceParameters) => Promise<GetBalanceReturnType>;
|
|
15
|
+
getBlock: (args: GetBlockParameters) => Promise<GetBlockReturnType>;
|
|
13
16
|
getBlockCount: () => Promise<GetBlockCountReturnType>;
|
|
14
17
|
getBlockStats: (args: GetBlockStatsParameters) => Promise<GetBlockStatsReturnType>;
|
|
18
|
+
getTransactions: (args: GetTransactionsParameters) => Promise<GetTransactionsReturnType>;
|
|
15
19
|
getUTXOTransaction: (args: GetUTXOTransactionParameters) => Promise<GetUTXOTransactionReturnType>;
|
|
16
|
-
|
|
20
|
+
getUTXOs: (args: GetUTXOsParameters) => Promise<GetUTXOsReturnType>;
|
|
17
21
|
};
|
|
18
22
|
export declare function publicActions<transport extends Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, schema extends UTXOSchema = UTXOSchema>(client: Client<transport, chain, account, schema>): PublicActions;
|
|
@@ -5,14 +5,18 @@ const getBalance_js_1 = require("../../actions/getBalance.js");
|
|
|
5
5
|
const getBlock_js_1 = require("../../actions/getBlock.js");
|
|
6
6
|
const getBlockCount_js_1 = require("../../actions/getBlockCount.js");
|
|
7
7
|
const getBlockStats_js_1 = require("../../actions/getBlockStats.js");
|
|
8
|
+
const getTransactions_js_1 = require("../../actions/getTransactions.js");
|
|
8
9
|
const getUTXOTransaction_js_1 = require("../../actions/getUTXOTransaction.js");
|
|
10
|
+
const getUTXOs_js_1 = require("../../actions/getUTXOs.js");
|
|
9
11
|
function publicActions(client) {
|
|
10
12
|
return {
|
|
11
|
-
getBlock: (args) => (0, getBlock_js_1.getBlock)(client, args),
|
|
12
13
|
getBalance: (args) => (0, getBalance_js_1.getBalance)(client, args),
|
|
14
|
+
getBlock: (args) => (0, getBlock_js_1.getBlock)(client, args),
|
|
13
15
|
getBlockCount: () => (0, getBlockCount_js_1.getBlockCount)(client),
|
|
14
16
|
getBlockStats: (args) => (0, getBlockStats_js_1.getBlockStats)(client, args),
|
|
17
|
+
getTransactions: (args) => (0, getTransactions_js_1.getTransactions)(client, args),
|
|
15
18
|
getUTXOTransaction: (args) => (0, getUTXOTransaction_js_1.getUTXOTransaction)(client, args),
|
|
19
|
+
getUTXOs: (args) => (0, getUTXOs_js_1.getUTXOs)(client, args),
|
|
16
20
|
};
|
|
17
21
|
}
|
|
18
22
|
//# sourceMappingURL=public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":";;AA0DA,sCAeC;AAzED,+DAIoC;AACpC,2DAIkC;AAClC,qEAGuC;AACvC,qEAIuC;AACvC,yEAIyC;AACzC,+EAI4C;AAC5C,2DAIkC;AAyBlC,SAAgB,aAAa,CAK3B,MAAiD;IACjD,OAAO;QACL,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9C,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sBAAQ,EAAC,MAAM,EAAE,IAAI,CAAC;QAC1C,aAAa,EAAE,GAAG,EAAE,CAAC,IAAA,gCAAa,EAAC,MAAM,CAAC;QAC1C,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,gCAAa,EAAC,MAAM,EAAE,IAAI,CAAC;QACpD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9D,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sBAAQ,EAAC,MAAM,EAAE,IAAI,CAAC;KAC3C,CAAA;AACH,CAAC"}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@bigmi/core";
|
|
2
|
-
export declare const version = "0.3.0-beta.
|
|
2
|
+
export declare const version = "0.3.0-beta.1";
|
package/dist/cjs/version.js
CHANGED
|
@@ -2,7 +2,9 @@ import { type GetBalanceParameters, type GetBalanceReturnType } from '../../acti
|
|
|
2
2
|
import { type GetBlockParameters, type GetBlockReturnType } from '../../actions/getBlock.js';
|
|
3
3
|
import { type GetBlockCountReturnType } from '../../actions/getBlockCount.js';
|
|
4
4
|
import { type GetBlockStatsParameters, type GetBlockStatsReturnType } from '../../actions/getBlockStats.js';
|
|
5
|
+
import { type GetTransactionsParameters, type GetTransactionsReturnType } from '../../actions/getTransactions.js';
|
|
5
6
|
import { type GetUTXOTransactionParameters, type GetUTXOTransactionReturnType } from '../../actions/getUTXOTransaction.js';
|
|
7
|
+
import { type GetUTXOsParameters, type GetUTXOsReturnType } from '../../actions/getUTXOs.js';
|
|
6
8
|
import type { Client } from '../../factories/createClient.js';
|
|
7
9
|
import type { Transport } from '../../factories/createTransport.js';
|
|
8
10
|
import type { UTXOSchema } from '../../transports/types.js';
|
|
@@ -10,9 +12,11 @@ import type { Account } from '../../types/account.js';
|
|
|
10
12
|
import type { Chain } from '../../types/chain.js';
|
|
11
13
|
export type PublicActions = {
|
|
12
14
|
getBalance: (args: GetBalanceParameters) => Promise<GetBalanceReturnType>;
|
|
15
|
+
getBlock: (args: GetBlockParameters) => Promise<GetBlockReturnType>;
|
|
13
16
|
getBlockCount: () => Promise<GetBlockCountReturnType>;
|
|
14
17
|
getBlockStats: (args: GetBlockStatsParameters) => Promise<GetBlockStatsReturnType>;
|
|
18
|
+
getTransactions: (args: GetTransactionsParameters) => Promise<GetTransactionsReturnType>;
|
|
15
19
|
getUTXOTransaction: (args: GetUTXOTransactionParameters) => Promise<GetUTXOTransactionReturnType>;
|
|
16
|
-
|
|
20
|
+
getUTXOs: (args: GetUTXOsParameters) => Promise<GetUTXOsReturnType>;
|
|
17
21
|
};
|
|
18
22
|
export declare function publicActions<transport extends Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, schema extends UTXOSchema = UTXOSchema>(client: Client<transport, chain, account, schema>): PublicActions;
|
|
@@ -2,14 +2,18 @@ import { getBalance, } from '../../actions/getBalance.js';
|
|
|
2
2
|
import { getBlock, } from '../../actions/getBlock.js';
|
|
3
3
|
import { getBlockCount, } from '../../actions/getBlockCount.js';
|
|
4
4
|
import { getBlockStats, } from '../../actions/getBlockStats.js';
|
|
5
|
+
import { getTransactions, } from '../../actions/getTransactions.js';
|
|
5
6
|
import { getUTXOTransaction, } from '../../actions/getUTXOTransaction.js';
|
|
7
|
+
import { getUTXOs, } from '../../actions/getUTXOs.js';
|
|
6
8
|
export function publicActions(client) {
|
|
7
9
|
return {
|
|
8
|
-
getBlock: (args) => getBlock(client, args),
|
|
9
10
|
getBalance: (args) => getBalance(client, args),
|
|
11
|
+
getBlock: (args) => getBlock(client, args),
|
|
10
12
|
getBlockCount: () => getBlockCount(client),
|
|
11
13
|
getBlockStats: (args) => getBlockStats(client, args),
|
|
14
|
+
getTransactions: (args) => getTransactions(client, args),
|
|
12
15
|
getUTXOTransaction: (args) => getUTXOTransaction(client, args),
|
|
16
|
+
getUTXOs: (args) => getUTXOs(client, args),
|
|
13
17
|
};
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,GACX,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAGL,QAAQ,GACT,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAEL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,kBAAkB,GACnB,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,GACX,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAGL,QAAQ,GACT,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAEL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,eAAe,GAChB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAGL,kBAAkB,GACnB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAGL,QAAQ,GACT,MAAM,2BAA2B,CAAA;AAyBlC,MAAM,UAAU,aAAa,CAK3B,MAAiD;IACjD,OAAO;QACL,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC;QAC9C,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;QAC1C,aAAa,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC;QAC1C,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC;QACpD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC;QACxD,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,EAAE,IAAI,CAAC;QAC9D,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;KAC3C,CAAA;AACH,CAAC"}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@bigmi/core";
|
|
2
|
-
export declare const version = "0.3.0-beta.
|
|
2
|
+
export declare const version = "0.3.0-beta.1";
|
package/dist/esm/version.js
CHANGED
|
@@ -2,7 +2,9 @@ import { type GetBalanceParameters, type GetBalanceReturnType } from '../../acti
|
|
|
2
2
|
import { type GetBlockParameters, type GetBlockReturnType } from '../../actions/getBlock.js';
|
|
3
3
|
import { type GetBlockCountReturnType } from '../../actions/getBlockCount.js';
|
|
4
4
|
import { type GetBlockStatsParameters, type GetBlockStatsReturnType } from '../../actions/getBlockStats.js';
|
|
5
|
+
import { type GetTransactionsParameters, type GetTransactionsReturnType } from '../../actions/getTransactions.js';
|
|
5
6
|
import { type GetUTXOTransactionParameters, type GetUTXOTransactionReturnType } from '../../actions/getUTXOTransaction.js';
|
|
7
|
+
import { type GetUTXOsParameters, type GetUTXOsReturnType } from '../../actions/getUTXOs.js';
|
|
6
8
|
import type { Client } from '../../factories/createClient.js';
|
|
7
9
|
import type { Transport } from '../../factories/createTransport.js';
|
|
8
10
|
import type { UTXOSchema } from '../../transports/types.js';
|
|
@@ -10,10 +12,12 @@ import type { Account } from '../../types/account.js';
|
|
|
10
12
|
import type { Chain } from '../../types/chain.js';
|
|
11
13
|
export type PublicActions = {
|
|
12
14
|
getBalance: (args: GetBalanceParameters) => Promise<GetBalanceReturnType>;
|
|
15
|
+
getBlock: (args: GetBlockParameters) => Promise<GetBlockReturnType>;
|
|
13
16
|
getBlockCount: () => Promise<GetBlockCountReturnType>;
|
|
14
17
|
getBlockStats: (args: GetBlockStatsParameters) => Promise<GetBlockStatsReturnType>;
|
|
18
|
+
getTransactions: (args: GetTransactionsParameters) => Promise<GetTransactionsReturnType>;
|
|
15
19
|
getUTXOTransaction: (args: GetUTXOTransactionParameters) => Promise<GetUTXOTransactionReturnType>;
|
|
16
|
-
|
|
20
|
+
getUTXOs: (args: GetUTXOsParameters) => Promise<GetUTXOsReturnType>;
|
|
17
21
|
};
|
|
18
22
|
export declare function publicActions<transport extends Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, schema extends UTXOSchema = UTXOSchema>(client: Client<transport, chain, account, schema>): PublicActions;
|
|
19
23
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE7B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAElC,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE7B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAE/B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAElC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAA;IACzE,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACnE,aAAa,EAAE,MAAM,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACrD,aAAa,EAAE,CACb,IAAI,EAAE,uBAAuB,KAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACrC,eAAe,EAAE,CACf,IAAI,EAAE,yBAAyB,KAC5B,OAAO,CAAC,yBAAyB,CAAC,CAAA;IACvC,kBAAkB,EAAE,CAClB,IAAI,EAAE,4BAA4B,KAC/B,OAAO,CAAC,4BAA4B,CAAC,CAAA;IAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;CACpE,CAAA;AAED,wBAAgB,aAAa,CAC3B,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,MAAM,SAAS,UAAU,GAAG,UAAU,EACtC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,aAAa,CAUlE"}
|
package/dist/types/version.d.ts
CHANGED
package/package.json
CHANGED
package/package.json.tmp
CHANGED
|
@@ -17,11 +17,21 @@ import {
|
|
|
17
17
|
type GetBlockStatsReturnType,
|
|
18
18
|
getBlockStats,
|
|
19
19
|
} from '../../actions/getBlockStats.js'
|
|
20
|
+
import {
|
|
21
|
+
type GetTransactionsParameters,
|
|
22
|
+
type GetTransactionsReturnType,
|
|
23
|
+
getTransactions,
|
|
24
|
+
} from '../../actions/getTransactions.js'
|
|
20
25
|
import {
|
|
21
26
|
type GetUTXOTransactionParameters,
|
|
22
27
|
type GetUTXOTransactionReturnType,
|
|
23
28
|
getUTXOTransaction,
|
|
24
29
|
} from '../../actions/getUTXOTransaction.js'
|
|
30
|
+
import {
|
|
31
|
+
type GetUTXOsParameters,
|
|
32
|
+
type GetUTXOsReturnType,
|
|
33
|
+
getUTXOs,
|
|
34
|
+
} from '../../actions/getUTXOs.js'
|
|
25
35
|
|
|
26
36
|
import type { Client } from '../../factories/createClient.js'
|
|
27
37
|
import type { Transport } from '../../factories/createTransport.js'
|
|
@@ -32,18 +42,18 @@ import type { Chain } from '../../types/chain.js'
|
|
|
32
42
|
|
|
33
43
|
export type PublicActions = {
|
|
34
44
|
getBalance: (args: GetBalanceParameters) => Promise<GetBalanceReturnType>
|
|
35
|
-
|
|
45
|
+
getBlock: (args: GetBlockParameters) => Promise<GetBlockReturnType>
|
|
36
46
|
getBlockCount: () => Promise<GetBlockCountReturnType>
|
|
37
|
-
|
|
38
47
|
getBlockStats: (
|
|
39
48
|
args: GetBlockStatsParameters
|
|
40
49
|
) => Promise<GetBlockStatsReturnType>
|
|
41
|
-
|
|
50
|
+
getTransactions: (
|
|
51
|
+
args: GetTransactionsParameters
|
|
52
|
+
) => Promise<GetTransactionsReturnType>
|
|
42
53
|
getUTXOTransaction: (
|
|
43
54
|
args: GetUTXOTransactionParameters
|
|
44
55
|
) => Promise<GetUTXOTransactionReturnType>
|
|
45
|
-
|
|
46
|
-
getBlock: (args: GetBlockParameters) => Promise<GetBlockReturnType>
|
|
56
|
+
getUTXOs: (args: GetUTXOsParameters) => Promise<GetUTXOsReturnType>
|
|
47
57
|
}
|
|
48
58
|
|
|
49
59
|
export function publicActions<
|
|
@@ -53,10 +63,12 @@ export function publicActions<
|
|
|
53
63
|
schema extends UTXOSchema = UTXOSchema,
|
|
54
64
|
>(client: Client<transport, chain, account, schema>): PublicActions {
|
|
55
65
|
return {
|
|
56
|
-
getBlock: (args) => getBlock(client, args),
|
|
57
66
|
getBalance: (args) => getBalance(client, args),
|
|
67
|
+
getBlock: (args) => getBlock(client, args),
|
|
58
68
|
getBlockCount: () => getBlockCount(client),
|
|
59
69
|
getBlockStats: (args) => getBlockStats(client, args),
|
|
70
|
+
getTransactions: (args) => getTransactions(client, args),
|
|
60
71
|
getUTXOTransaction: (args) => getUTXOTransaction(client, args),
|
|
72
|
+
getUTXOs: (args) => getUTXOs(client, args),
|
|
61
73
|
}
|
|
62
74
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = '@bigmi/core'
|
|
2
|
-
export const version = '0.3.0-beta.
|
|
2
|
+
export const version = '0.3.0-beta.1'
|