@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-alpha.3";
310507
+ var version16 = "1.14.0";
310508
310508
 
310509
310509
  // src/common/logger.ts
310510
310510
  var TurboWinstonLogger = class _TurboWinstonLogger {
@@ -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) {
@@ -18,4 +18,4 @@
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.version = void 0;
20
20
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '1.14.0';
21
+ exports.version = '1.14.1';
@@ -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) {
@@ -15,4 +15,4 @@
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
17
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '1.14.0';
18
+ export const version = '1.14.1';
@@ -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-alpha.3";
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,mBAAmB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardrive/turbo-sdk",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "main": "./lib/cjs/node/index.js",
5
5
  "types": "./lib/types/node/index.d.ts",
6
6
  "module": "./lib/esm/node/index.js",