rapay 1.0.0 → 1.0.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/install.js +3 -3
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -12,8 +12,8 @@ const path = require('path');
|
|
|
12
12
|
const https = require('https');
|
|
13
13
|
const os = require('os');
|
|
14
14
|
|
|
15
|
-
const VERSION = '1.0.
|
|
16
|
-
const
|
|
15
|
+
const VERSION = '1.0.1';
|
|
16
|
+
const CDN_BASE = 'https://cdn.rapay.ai';
|
|
17
17
|
|
|
18
18
|
// Platform/arch to binary name mapping
|
|
19
19
|
// NOTE: linux-arm64 not supported yet (keyring native libs don't cross-compile)
|
|
@@ -48,7 +48,7 @@ function getBinaryName() {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
function getDownloadUrl(filename) {
|
|
51
|
-
return
|
|
51
|
+
return `${CDN_BASE}/v${VERSION}/${filename}`;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
function download(url) {
|