@ardrive/turbo-sdk 1.14.0 → 1.14.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.
@@ -310504,7 +310504,7 @@ var import_winston = __toESM(require_winston(), 1);
|
|
310504
310504
|
init_dirname();
|
310505
310505
|
init_buffer2();
|
310506
310506
|
init_process2();
|
310507
|
-
var version16 = "1.14.0
|
310507
|
+
var version16 = "1.14.0";
|
310508
310508
|
|
310509
310509
|
// src/common/logger.ts
|
310510
310510
|
var TurboWinstonLogger = class _TurboWinstonLogger {
|
package/lib/cjs/cli/utils.js
CHANGED
@@ -136,7 +136,6 @@ const tokenToDevGatewayMap = {
|
|
136
136
|
function configFromOptions(options) {
|
137
137
|
let config = {};
|
138
138
|
const token = tokenFromOptions(options);
|
139
|
-
config.token = token;
|
140
139
|
if (options.dev) {
|
141
140
|
config = index_js_1.developmentTurboConfiguration;
|
142
141
|
config.gatewayUrl = tokenToDevGatewayMap[token];
|
@@ -148,6 +147,7 @@ function configFromOptions(options) {
|
|
148
147
|
if (options.gateway !== undefined) {
|
149
148
|
config.gatewayUrl = options.gateway;
|
150
149
|
}
|
150
|
+
config.token = token;
|
151
151
|
return config;
|
152
152
|
}
|
153
153
|
async function turboFromOptions(options) {
|
package/lib/cjs/version.js
CHANGED
package/lib/esm/cli/utils.js
CHANGED
@@ -119,7 +119,6 @@ const tokenToDevGatewayMap = {
|
|
119
119
|
export function configFromOptions(options) {
|
120
120
|
let config = {};
|
121
121
|
const token = tokenFromOptions(options);
|
122
|
-
config.token = token;
|
123
122
|
if (options.dev) {
|
124
123
|
config = developmentTurboConfiguration;
|
125
124
|
config.gatewayUrl = tokenToDevGatewayMap[token];
|
@@ -131,6 +130,7 @@ export function configFromOptions(options) {
|
|
131
130
|
if (options.gateway !== undefined) {
|
132
131
|
config.gatewayUrl = options.gateway;
|
133
132
|
}
|
133
|
+
config.token = token;
|
134
134
|
return config;
|
135
135
|
}
|
136
136
|
export async function turboFromOptions(options) {
|
package/lib/esm/version.js
CHANGED
package/lib/types/version.d.ts
CHANGED
@@ -14,5 +14,5 @@
|
|
14
14
|
* You should have received a copy of the GNU Affero General Public License
|
15
15
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
16
|
*/
|
17
|
-
export declare const version = "1.14.0
|
17
|
+
export declare const version = "1.14.0";
|
18
18
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,WAAW,CAAC"}
|