@fastnear/repl 0.7.1 → 0.7.2

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.
@@ -1,5 +1,7 @@
1
1
  mockTx
2
2
  v(mockTx)
3
+ mockTx
4
+ v(mockTx)
3
5
  near.exp.borsh.deserialize(near.exp.borshSchema.SignedTransaction, unborsh)
4
6
  v(unborsh)
5
7
  unborsh
@@ -25,6 +27,4 @@ near
25
27
  v(mockTx)
26
28
  mockTx
27
29
  {"hi":"mike"}
28
- near.queryRpc['?']
29
- Object.getOwnPropertyNames(near.queryRpc)
30
- near.queryRpc.?ueryRpcyRpc.''
30
+ near.queryRpc['?'].getOwnPropertyNames(near.queryRpc)yRpc.?ueryRpcyRpc.''
package/bin/repl.cjs ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import("../index.mjs").catch((err) => {
3
+ console.error("Error starting REPL:", err);
4
+ process.exit(1);
5
+ });
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@fastnear/repl",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "license": "MIT",
5
5
  "description": "Simple REPL to explore NEAR blockchain objects",
6
- "bin": "./bin/repl.js",
6
+ "bin": "bin/repl.cjs",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "start": "node index.mjs",
9
+ "start": "node bin/repl.cjs",
10
10
  "publish": "yarn npm publish",
11
11
  "clean": "yarn rimraf node_modules"
12
12
  },
13
13
  "dependencies": {
14
- "@fastnear/api": "0.7.1"
14
+ "@fastnear/api": "0.7.2"
15
15
  },
16
16
  "devDependencies": {
17
17
  "rimraf": "*"
package/bin/repl.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import("../index.mjs");