@elevenback/mdb-client
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -27,3 +27,3 @@ "use strict"; | ||
async updateAtomValue(atomId, value) { | ||
await axios_1.default.put(`${this.apiOrigin}/atom/${atomId}`, { | ||
await axios_1.default.put(`${this.apiOrigin}/atoms/${atomId}`, { | ||
value, | ||
@@ -30,0 +30,0 @@ }, { |
@@ -34,3 +34,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield axios.put(`${this.apiOrigin}/atom/${atomId}`, { | ||
yield axios.put(`${this.apiOrigin}/atoms/${atomId}`, { | ||
value, | ||
@@ -37,0 +37,0 @@ }, { |
{ | ||
"name": "@elevenback/mdb-client", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "./dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js", |
@@ -33,3 +33,3 @@ import axios from 'axios'; | ||
await axios.put<undefined>( | ||
`${this.apiOrigin}/atom/${atomId}`, | ||
`${this.apiOrigin}/atoms/${atomId}`, | ||
{ | ||
@@ -36,0 +36,0 @@ value, |
7834