pinme 2.0.2-beta.3 → 2.0.2-beta.4
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/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ var import_chalk25 = __toESM(require("chalk"));
|
|
|
1523
1523
|
var import_figlet5 = __toESM(require("figlet"));
|
|
1524
1524
|
|
|
1525
1525
|
// package.json
|
|
1526
|
-
var version = "2.0.2-beta.
|
|
1526
|
+
var version = "2.0.2-beta.4";
|
|
1527
1527
|
|
|
1528
1528
|
// bin/upload.ts
|
|
1529
1529
|
var import_path7 = __toESM(require("path"));
|
|
@@ -4427,9 +4427,7 @@ function readNumberEnv(name, fallback) {
|
|
|
4427
4427
|
var DEFAULT_PINME_WEB_URL = "http://localhost:5173";
|
|
4428
4428
|
var _a;
|
|
4429
4429
|
var APP_CONFIG = {
|
|
4430
|
-
pinmeApiBase: trimTrailingSlash(
|
|
4431
|
-
"https://pinme.benny1996.win/api/v4"
|
|
4432
|
-
),
|
|
4430
|
+
pinmeApiBase: trimTrailingSlash("https://pinme.benny1996.win/api/v4"),
|
|
4433
4431
|
ipfsApiUrl: trimTrailingSlash("https://pinme.benny1996.win/api/v3"),
|
|
4434
4432
|
carApiBase: trimTrailingSlash(
|
|
4435
4433
|
process.env.CAR_API_BASE || "https://pinme.benny1996.win/api/v3"
|
|
@@ -5142,7 +5140,7 @@ async function getWalletBalance(tokenAddress, authToken) {
|
|
|
5142
5140
|
try {
|
|
5143
5141
|
const client = createPinmeApiClient();
|
|
5144
5142
|
const { data } = await client.get(
|
|
5145
|
-
"/
|
|
5143
|
+
"/pay/wallet/balance",
|
|
5146
5144
|
{
|
|
5147
5145
|
headers: {
|
|
5148
5146
|
"authentication-tokens": authToken,
|