@nosana/node 1.1.6-rc → 1.1.7-rc
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/package.json +2 -1
- package/dist/src/index.js +8 -0
- package/npm-shrinkwrap.json +12 -2
- package/package.json +3 -2
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7-rc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"bin": {
|
|
6
6
|
"nosana-node": "./dist/src/index.js"
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"@nosana/sdk": "^0.4.81",
|
|
71
71
|
"@solana/web3.js": "^1.78.0",
|
|
72
72
|
"bn.js": "^5.2.1",
|
|
73
|
+
"cacheable-lookup": "^7.0.0",
|
|
73
74
|
"chalk": "^5.3.0",
|
|
74
75
|
"cli-progress": "^3.12.0",
|
|
75
76
|
"commander": "^11.0.0",
|
package/dist/src/index.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --no-warnings
|
|
2
2
|
/// <reference path="./global.d.ts" />
|
|
3
|
+
import http from 'http';
|
|
4
|
+
import https from 'https';
|
|
5
|
+
import { setDefaultResultOrder } from 'dns';
|
|
6
|
+
import CacheableLookup from 'cacheable-lookup';
|
|
3
7
|
import { pkg } from './static/index.js';
|
|
4
8
|
import { startCLI } from './cli/index.js';
|
|
5
9
|
const VERSION = pkg.version;
|
|
10
|
+
setDefaultResultOrder('ipv4first');
|
|
11
|
+
const cacheable = new CacheableLookup();
|
|
12
|
+
cacheable.install(http.globalAgent);
|
|
13
|
+
cacheable.install(https.globalAgent);
|
|
6
14
|
startCLI(VERSION);
|
|
7
15
|
export * from './cli/createNosanaCli.js';
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7-rc",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@nosana/node",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.7-rc",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@coral-xyz/anchor": "^0.28.1-beta.1",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"@nosana/sdk": "^0.4.81",
|
|
15
15
|
"@solana/web3.js": "^1.78.0",
|
|
16
16
|
"bn.js": "^5.2.1",
|
|
17
|
+
"cacheable-lookup": "^7.0.0",
|
|
17
18
|
"chalk": "^5.3.0",
|
|
18
19
|
"cli-progress": "^3.12.0",
|
|
19
20
|
"commander": "^11.0.0",
|
|
@@ -3791,6 +3792,15 @@
|
|
|
3791
3792
|
"node": ">= 0.8"
|
|
3792
3793
|
}
|
|
3793
3794
|
},
|
|
3795
|
+
"node_modules/cacheable-lookup": {
|
|
3796
|
+
"version": "7.0.0",
|
|
3797
|
+
"resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz",
|
|
3798
|
+
"integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==",
|
|
3799
|
+
"license": "MIT",
|
|
3800
|
+
"engines": {
|
|
3801
|
+
"node": ">=14.16"
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3794
3804
|
"node_modules/call-bind": {
|
|
3795
3805
|
"version": "1.0.2",
|
|
3796
3806
|
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7-rc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"bin": {
|
|
6
6
|
"nosana-node": "./dist/src/index.js"
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"@nosana/sdk": "^0.4.81",
|
|
71
71
|
"@solana/web3.js": "^1.78.0",
|
|
72
72
|
"bn.js": "^5.2.1",
|
|
73
|
+
"cacheable-lookup": "^7.0.0",
|
|
73
74
|
"chalk": "^5.3.0",
|
|
74
75
|
"cli-progress": "^3.12.0",
|
|
75
76
|
"commander": "^11.0.0",
|
|
@@ -99,4 +100,4 @@
|
|
|
99
100
|
"util": "^0.12.5",
|
|
100
101
|
"yaml": "^2.8.0"
|
|
101
102
|
}
|
|
102
|
-
}
|
|
103
|
+
}
|