@txnlab/use-wallet 0.0.9 → 0.1.0
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.
|
@@ -5,6 +5,6 @@ export declare enum PROVIDER_ID {
|
|
|
5
5
|
DEFLY = "Defly",
|
|
6
6
|
EXODUS = "Exodus"
|
|
7
7
|
}
|
|
8
|
-
export declare const NODE_SERVER
|
|
9
|
-
export declare const NODE_TOKEN
|
|
10
|
-
export declare const NODE_PORT
|
|
8
|
+
export declare const NODE_SERVER: string;
|
|
9
|
+
export declare const NODE_TOKEN: string;
|
|
10
|
+
export declare const NODE_PORT: string;
|
package/dist/cjs/index.js
CHANGED
|
@@ -520,9 +520,11 @@ exports.PROVIDER_ID = void 0;
|
|
|
520
520
|
PROVIDER_ID["DEFLY"] = "Defly";
|
|
521
521
|
PROVIDER_ID["EXODUS"] = "Exodus";
|
|
522
522
|
})(exports.PROVIDER_ID || (exports.PROVIDER_ID = {}));
|
|
523
|
-
const NODE_SERVER =
|
|
524
|
-
|
|
525
|
-
|
|
523
|
+
const NODE_SERVER = process.env.REACT_APP_NODE_URL ||
|
|
524
|
+
process.env.NEXT_PUBLIC_NODE_URL ||
|
|
525
|
+
"https://mainnet-api.algonode.cloud";
|
|
526
|
+
const NODE_TOKEN = process.env.REACT_APP_NODE_TOKEN || process.env.NEXT_PUBLIC_NODE_TOKEN || "";
|
|
527
|
+
const NODE_PORT = process.env.REACT_APP_NODE_PORT || process.env.NEXT_PUBLIC_NODE_PORT || "";
|
|
526
528
|
|
|
527
529
|
/*
|
|
528
530
|
* big.js v6.2.1
|