near-api-js 6.4.1 → 6.5.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/lib/browser-index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { b as keyStores } from './browser-index-RhYalP0h.js';
|
|
2
2
|
export { i as providers } from './index-BDdRUK93.js';
|
|
3
|
-
export { i as utils } from './index-
|
|
3
|
+
export { i as utils } from './index-B3Nnuq00.js';
|
|
4
4
|
export { t as transactions } from './transaction-C81hWIM7.js';
|
|
5
5
|
export { v as validators } from './validators-q97R8D1k.js';
|
|
6
6
|
export { Account, Connection, Contract } from '@near-js/accounts';
|
package/lib/common-index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { i as providers } from './index-BDdRUK93.js';
|
|
2
|
-
export { i as utils } from './index-
|
|
2
|
+
export { i as utils } from './index-B3Nnuq00.js';
|
|
3
3
|
export { t as transactions } from './transaction-C81hWIM7.js';
|
|
4
4
|
export { v as validators } from './validators-q97R8D1k.js';
|
|
5
5
|
export { Account, Connection, Contract } from '@near-js/accounts';
|
|
@@ -3,7 +3,7 @@ import { s as serialize } from './serialize-DKM2UWTl.js';
|
|
|
3
3
|
import { e as enums } from './enums-BOxGXwY_.js';
|
|
4
4
|
import { f as format } from './format-BlG-d3wc.js';
|
|
5
5
|
import { r as rpc_errors } from './rpc_errors-BbA15mFX.js';
|
|
6
|
-
import { Logger
|
|
6
|
+
import { Logger } from '@near-js/utils';
|
|
7
7
|
import { KeyPair, KeyPairEd25519, KeyPairString, PublicKey } from '@near-js/crypto';
|
|
8
8
|
|
|
9
9
|
declare const index_KeyPair: typeof KeyPair;
|
|
@@ -13,12 +13,11 @@ declare const index_Logger: typeof Logger;
|
|
|
13
13
|
declare const index_PublicKey: typeof PublicKey;
|
|
14
14
|
declare const index_enums: typeof enums;
|
|
15
15
|
declare const index_format: typeof format;
|
|
16
|
-
declare const index_keyToImplicitAddress: typeof keyToImplicitAddress;
|
|
17
16
|
declare const index_key_pair: typeof key_pair;
|
|
18
17
|
declare const index_rpc_errors: typeof rpc_errors;
|
|
19
18
|
declare const index_serialize: typeof serialize;
|
|
20
19
|
declare namespace index {
|
|
21
|
-
export { index_KeyPair as KeyPair, index_KeyPairEd25519 as KeyPairEd25519, index_KeyPairString as KeyPairString, index_Logger as Logger, index_PublicKey as PublicKey, index_enums as enums, index_format as format,
|
|
20
|
+
export { index_KeyPair as KeyPair, index_KeyPairEd25519 as KeyPairEd25519, index_KeyPairString as KeyPairString, index_Logger as Logger, index_PublicKey as PublicKey, index_enums as enums, index_format as format, index_key_pair as key_pair, index_rpc_errors as rpc_errors, index_serialize as serialize };
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
export { index as i };
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { i as keyStores } from './index-Dvb6OQET.js';
|
|
2
2
|
export { i as providers } from './index-BDdRUK93.js';
|
|
3
|
-
export { i as utils } from './index-
|
|
3
|
+
export { i as utils } from './index-B3Nnuq00.js';
|
|
4
4
|
export { t as transactions } from './transaction-C81hWIM7.js';
|
|
5
5
|
export { v as validators } from './validators-q97R8D1k.js';
|
|
6
6
|
export { Account, Connection, Contract } from '@near-js/accounts';
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { s as serialize } from '../serialize-DKM2UWTl.js';
|
|
|
3
3
|
export { e as enums } from '../enums-BOxGXwY_.js';
|
|
4
4
|
export { f as format } from '../format-BlG-d3wc.js';
|
|
5
5
|
export { r as rpc_errors } from '../rpc_errors-BbA15mFX.js';
|
|
6
|
-
export { Logger
|
|
6
|
+
export { Logger } from '@near-js/utils';
|
|
7
7
|
export { KeyPair, KeyPairEd25519, KeyPairString, PublicKey } from '@near-js/crypto';
|
|
8
8
|
import 'borsh';
|
|
9
9
|
import '@near-js/types';
|
package/lib/utils/index.js
CHANGED
|
@@ -35,7 +35,6 @@ __export(utils_exports, {
|
|
|
35
35
|
PublicKey: () => import_key_pair.PublicKey,
|
|
36
36
|
enums: () => enums,
|
|
37
37
|
format: () => format,
|
|
38
|
-
keyToImplicitAddress: () => import_utils.keyToImplicitAddress,
|
|
39
38
|
key_pair: () => key_pair,
|
|
40
39
|
rpc_errors: () => rpc_errors,
|
|
41
40
|
serialize: () => serialize
|
|
@@ -48,7 +47,6 @@ var format = __toESM(require('./format.js'));
|
|
|
48
47
|
var rpc_errors = __toESM(require('./rpc_errors.js'));
|
|
49
48
|
var import_key_pair = require('./key_pair.js');
|
|
50
49
|
var import_logger = require('./logger.js');
|
|
51
|
-
var import_utils = require("@near-js/utils");
|
|
52
50
|
// Annotate the CommonJS export names for ESM import in node:
|
|
53
51
|
0 && (module.exports = {
|
|
54
52
|
KeyPair,
|
|
@@ -58,7 +56,6 @@ var import_utils = require("@near-js/utils");
|
|
|
58
56
|
PublicKey,
|
|
59
57
|
enums,
|
|
60
58
|
format,
|
|
61
|
-
keyToImplicitAddress,
|
|
62
59
|
key_pair,
|
|
63
60
|
rpc_errors,
|
|
64
61
|
serialize
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "near-api-js",
|
|
3
3
|
"description": "JavaScript library to interact with NEAR Protocol via RPC API",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/near/near-api-js.git"
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"http-errors": "1.7.2",
|
|
18
18
|
"near-abi": "0.2.0",
|
|
19
19
|
"node-fetch": "2.6.7",
|
|
20
|
-
"@near-js/accounts": "2.
|
|
21
|
-
"@near-js/crypto": "2.
|
|
22
|
-
"@near-js/keystores": "2.
|
|
23
|
-
"@near-js/keystores-browser": "2.
|
|
24
|
-
"@near-js/keystores-node": "2.
|
|
25
|
-
"@near-js/providers": "2.
|
|
26
|
-
"@near-js/signers": "2.
|
|
27
|
-
"@near-js/transactions": "2.
|
|
28
|
-
"@near-js/types": "2.
|
|
29
|
-
"@near-js/utils": "2.
|
|
20
|
+
"@near-js/accounts": "2.5.1",
|
|
21
|
+
"@near-js/crypto": "2.5.1",
|
|
22
|
+
"@near-js/keystores": "2.5.1",
|
|
23
|
+
"@near-js/keystores-browser": "2.5.1",
|
|
24
|
+
"@near-js/keystores-node": "2.5.1",
|
|
25
|
+
"@near-js/providers": "2.5.1",
|
|
26
|
+
"@near-js/signers": "2.5.1",
|
|
27
|
+
"@near-js/transactions": "2.5.1",
|
|
28
|
+
"@near-js/types": "2.5.1",
|
|
29
|
+
"@near-js/utils": "2.5.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/depd": "^1.1.37",
|