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

@eximchain/dappbot-api-client

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eximchain/dappbot-api-client - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# v1.2.1
Made the `apiUrl` a `readonly` attribute on the API object, making it easy to determine the current configured API endpoint from any code with access to an API object.
# v1.2.0
Added support for new API methods related to enabling and using MFA authentication.
# v1.1.0

@@ -2,0 +8,0 @@ Upgraded `requestBuilder`'s `reqFactory` methods to include a fifth key, `call()`. While the previous four keys just return the configuration objects for various request libraries, the new `call()` function uses `request-promise-native` to actually perform the request and return `Promise<Response>`. This is ideal for small apps which are mostly just consuming DappBot data.

4

package.json
{
"name": "@eximchain/dappbot-api-client",
"version": "1.2.0",
"version": "1.2.1",
"description": "Typescript client for the DappBot API",

@@ -26,3 +26,3 @@ "main": "dist/index.js",

"dependencies": {
"@eximchain/dappbot-types": "^1.7.0",
"@eximchain/dappbot-types": "^1.7.4",
"@types/axios": "^0.14.0",

@@ -29,0 +29,0 @@ "@types/lodash.omit": "^4.5.6",

@@ -1,2 +0,2 @@

import Auth, {
import {
Login, NewPassChallenge, Refresh, BeginPassReset, ConfirmPassReset,

@@ -3,0 +3,0 @@ MfaLoginChallenge, BeginSetupAppMfa, ConfirmSetupAppMfa, SetMfaPreference

@@ -38,4 +38,4 @@ import User from '@eximchain/dappbot-types/spec/user';

private dappbotUrl:string
private authData:User.AuthData
readonly dappbotUrl:string
readonly authData:User.AuthData
private setAuthData:AuthSetter

@@ -42,0 +42,0 @@ private builder:RequestBuilder

@@ -6,3 +6,2 @@ import { Request as FetchRequest } from 'node-fetch';

import { HttpMethods } from '@eximchain/dappbot-types/spec/responses';
import { RootResources } from '@eximchain/dappbot-types/spec/methods';
import { Headers, ReqTypes, ReqFactoryWithArgs, ReqFactoryWithArgsAndPath } from './types';

@@ -9,0 +8,0 @@ const url = require('url')

@@ -8,4 +8,7 @@ {

"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"alwaysStrict": true
}
}
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