New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@elevenback/mdb-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elevenback/mdb-client - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

dist/cjs/index.js

@@ -19,3 +19,3 @@ "use strict";

async getAtomValue(atomId) {
const { data: { value }, } = await axios_1.default.get(`${this.apiOrigin}/atoms/${atomId}`, {
const { data: { value }, } = await axios_1.default.get(`${this.apiOrigin}/api/v1/atoms/${atomId}`, {
headers: {

@@ -28,3 +28,3 @@ Authorization: `Bearer ${this.token}`,

async updateAtomValue(atomId, value) {
await axios_1.default.put(`${this.apiOrigin}/atoms/${atomId}`, {
await axios_1.default.put(`${this.apiOrigin}/api/v1/atoms/${atomId}`, {
value,

@@ -31,0 +31,0 @@ }, {

@@ -24,3 +24,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return __awaiter(this, void 0, void 0, function* () {
const { data: { value }, } = yield axios.get(`${this.apiOrigin}/atoms/${atomId}`, {
const { data: { value }, } = yield axios.get(`${this.apiOrigin}/api/v1/atoms/${atomId}`, {
headers: {

@@ -35,3 +35,3 @@ Authorization: `Bearer ${this.token}`,

return __awaiter(this, void 0, void 0, function* () {
yield axios.put(`${this.apiOrigin}/atoms/${atomId}`, {
yield axios.put(`${this.apiOrigin}/api/v1/atoms/${atomId}`, {
value,

@@ -38,0 +38,0 @@ }, {

{
"name": "@elevenback/mdb-client",
"version": "0.2.3",
"version": "0.2.4",
"main": "./dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js",

@@ -23,3 +23,3 @@ import axios from 'axios';

data: { value },
} = await axios.get<{ value: string }>(`${this.apiOrigin}/atoms/${atomId}`, {
} = await axios.get<{ value: string }>(`${this.apiOrigin}/api/v1/atoms/${atomId}`, {
headers: {

@@ -34,3 +34,3 @@ Authorization: `Bearer ${this.token}`,

await axios.put<undefined>(
`${this.apiOrigin}/atoms/${atomId}`,
`${this.apiOrigin}/api/v1/atoms/${atomId}`,
{

@@ -37,0 +37,0 @@ value,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc