@neoskop/ethereal-secrets-client
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -58,3 +58,3 @@ "use strict"; | ||
} | ||
return this._agent.get(this._endpoint).accept("application/json").then(function (res) { | ||
return this._agent.get(this._endpoint).withCredentials().accept("application/json").then(function (res) { | ||
if (!res.body.hasOwnProperty('key')) { | ||
@@ -61,0 +61,0 @@ return Promise.reject('The server did not answer with a key'); |
{ | ||
"name": "@neoskop/ethereal-secrets-client", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,4 @@ "typings": "dist/index.d.ts", | ||
"start": "mocha -w --inspect=0.0.0.0:9229 --compilers ts:ts-node/register src/test/**/*.ts", | ||
"test": "mocha --compilers ts:ts-node/register src/test/**/*.ts" | ||
"test": "mocha --compilers ts:ts-node/register src/test/**/*.ts", | ||
"publish": "npm run build; npm publish --access public" | ||
}, | ||
@@ -19,0 +20,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
13814