Skip to content

Commit dad1e8e

Browse files
author
Ariel Melendez
committed
chore(gateway): update default gateway from https://arweave.net to https://ardrive.net PE-8969
1 parent 48edcc8 commit dad1e8e

4 files changed

Lines changed: 27 additions & 11 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "ardrive-cli",
3-
"version": "3.0.2",
3+
"version": "4.0.0",
44
"description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.",
55
"main": "./lib/index.js",
66
"bin": {
77
"ardrive": "./lib/index.js"
88
},
99
"types": "./lib/index.d.ts",
1010
"dependencies": {
11-
"ardrive-core-js": "3.0.2",
11+
"ardrive-core-js": "4.0.0",
1212
"arweave": "1.15.7",
1313
"axios": "^0.21.1",
1414
"commander": "^8.2.0",
@@ -77,5 +77,6 @@
7777
},
7878
"files": [
7979
"lib/**/*"
80-
]
80+
],
81+
"packageManager": "yarn@3.6.1"
8182
}

src/CLICommand/parameters_helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { turboProdUrl } from 'ardrive-core-js/lib/utils/constants';
5454
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5555
type ParameterOptions = any;
5656

57-
const DEFAULT_GATEWAY = 'https://arweave.net:443';
57+
const DEFAULT_GATEWAY = 'https://ardrive.net:443';
5858
const ARWEAVE_GATEWAY_ENV_VAR = 'ARWEAVE_GATEWAY';
5959
const TURBO_URL_ENV_VAR = 'TURBO_URL';
6060

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export { CLI_APP_VERSION };
3535

3636
// TODO: Make configurable from CLI
3737
export const cliArweave = Arweave.init({
38-
host: 'arweave.net', // Arweave Gateway
39-
//host: 'arweave.dev', // Arweave Dev Gateway
38+
host: 'ardrive.net',
4039
port: 443,
4140
protocol: 'https',
4241
timeout: 600000

yarn.lock

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,13 @@ __metadata:
11521152
languageName: node
11531153
linkType: hard
11541154

1155+
"@noble/ciphers@npm:^2.0.1":
1156+
version: 2.1.1
1157+
resolution: "@noble/ciphers@npm:2.1.1"
1158+
checksum: 1e1bfcd8ccb6dce7df20f2ac0162fdea2a760f6f8159d2c4a3ed754734a58fc484ea4ed953a4fa16d590662e44b55282455bbc90c56455ab102d5462db81e6cc
1159+
languageName: node
1160+
linkType: hard
1161+
11551162
"@noble/curves@npm:1.2.0":
11561163
version: 1.2.0
11571164
resolution: "@noble/curves@npm:1.2.0"
@@ -1207,6 +1214,13 @@ __metadata:
12071214
languageName: node
12081215
linkType: hard
12091216

1217+
"@noble/hashes@npm:^2.0.1":
1218+
version: 2.0.1
1219+
resolution: "@noble/hashes@npm:2.0.1"
1220+
checksum: aea67a671ca464027cd512d07666a804bd99abc343ba98c93ee8463a1c870c5594f8de468279ef3c60f3b23b6330db9f1a92bd23723b8a911ec73bddc9420248
1221+
languageName: node
1222+
linkType: hard
1223+
12101224
"@noble/hashes@npm:~1.6.0":
12111225
version: 1.6.1
12121226
resolution: "@noble/hashes@npm:1.6.1"
@@ -2245,7 +2259,7 @@ __metadata:
22452259
"@types/source-map-support": ^0
22462260
"@typescript-eslint/eslint-plugin": ^6.2.1
22472261
"@typescript-eslint/parser": ^6.2.1
2248-
ardrive-core-js: 3.0.2
2262+
ardrive-core-js: 4.0.0
22492263
arweave: 1.15.7
22502264
axios: ^0.21.1
22512265
chai: ^4.3.4
@@ -2272,13 +2286,15 @@ __metadata:
22722286
languageName: unknown
22732287
linkType: soft
22742288

2275-
"ardrive-core-js@npm:3.0.2":
2276-
version: 3.0.2
2277-
resolution: "ardrive-core-js@npm:3.0.2"
2289+
"ardrive-core-js@npm:4.0.0":
2290+
version: 4.0.0
2291+
resolution: "ardrive-core-js@npm:4.0.0"
22782292
dependencies:
22792293
"@ardrive/ardrive-promise-cache": ^1.1.4
22802294
"@ardrive/turbo-sdk": ^1.0.1
22812295
"@dha-team/arbundles": ^1.0.3
2296+
"@noble/ciphers": ^2.0.1
2297+
"@noble/hashes": ^2.0.1
22822298
arweave: ^1.15.7
22832299
axios: ^0.21.1
22842300
axios-retry: ^3.6.0
@@ -2294,7 +2310,7 @@ __metadata:
22942310
smartweave: ^0.4.49
22952311
utf8: ^3.0.0
22962312
uuid: ^9.0.1
2297-
checksum: 9194ec0c7b2103976a6800abf5e071eec3e2e2ab22b00491900a2c94e7aa4625eec5327e1c6136e2d4e9b7eafaadc96ee7d3e5dda63200d0fc03c5f572337c8f
2313+
checksum: 0daaf67eded0c5a09bebda0df132cd8e949e4545a14e62ddfd91d231560e9b506cd983a8f0d03be1ab9f8a6c819564ea0d037d1ffe7cc4e7f8f89d817ffffd36
22982314
languageName: node
22992315
linkType: hard
23002316

0 commit comments

Comments
 (0)