@based/client
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { FileUploadStream, FileUploadPath } from '../../types'; | ||
@@ -3,0 +2,0 @@ import type { Readable } from 'stream'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { FileUploadStream } from '../../types'; | ||
@@ -3,0 +2,0 @@ import { Readable } from 'stream'; |
@@ -50,3 +50,3 @@ "use strict"; | ||
const file_1 = __importDefault(require("./file")); | ||
const get_service_1 = __importDefault(require("@based/get-service")); | ||
const get_service_1 = __importStar(require("@based/get-service")); | ||
__exportStar(require("./types"), exports); | ||
@@ -359,3 +359,3 @@ class Based extends Emitter_1.default { | ||
const based = (opts, BasedClass = Based) => { | ||
let { env, project, org, url, key, name = '@based/hub', cluster = 'https://dg194mksjrqfz.cloudfront.net', params, } = opts; | ||
let { env, project, org, url, key, name = '@based/hub', cluster, params, } = opts; | ||
if (!url) { | ||
@@ -369,3 +369,3 @@ url = async () => { | ||
name, | ||
}, 0, cluster); | ||
}, 0, (0, get_service_1.getClusterUrl)(cluster)); | ||
return addParamsToUrl(url, params); | ||
@@ -372,0 +372,0 @@ }; |
{ | ||
"name": "@based/client", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "browser": { | ||
"dependencies": { | ||
"@based/get-service": "^0.2.0", | ||
"@based/get-service": "^0.2.1", | ||
"@saulx/diff": "^1.1.3", | ||
@@ -19,0 +19,0 @@ "@saulx/hash": "^1.1.0", |
Sorry, the diff of this file is not supported yet
168632
2841
Updated@based/get-service@^0.2.1