Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@auraxy/services

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auraxy/services - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

27

index.d.ts

@@ -1,8 +0,8 @@

import { Storage } from '@livelybone/storage'
import {
AxiosInstance,
AxiosRequestConfig,
AxiosInterceptorManager,
AxiosRequestConfig,
AxiosResponse,
AxiosInstance,
} from 'axios'
import { Storage } from '@livelybone/storage'

@@ -21,3 +21,2 @@ interface Thenable<T, Err = Error> {

): Promise<RT>
/**

@@ -30,3 +29,2 @@ * 返回正常的 Promise

}
interface HttpConfig extends AxiosRequestConfig {

@@ -39,6 +37,2 @@ interceptors?: {

}
declare type BaseURL = 'prod' | 'test'
declare type AppName = 'LITE_APP' | 'KAIPIAO_APP'
interface MqttConfigData {

@@ -52,5 +46,3 @@ parentTopic: string

}
declare type Topics = string[]
interface MessageData {

@@ -61,14 +53,9 @@ id: string

}
declare type SubscribeCallback = (msg: MessageData) => any
interface QueryData {
[key: string]: string | number | boolean
[key: number]: string | number | boolean
}
interface PostData {
[key: string]: any
[key: number]: any

@@ -106,3 +93,2 @@ }

declare const TopicWildCardReg: RegExp
declare class Mqtt {

@@ -157,11 +143,6 @@ private getMqttConfig

declare function divRootUrl(url: string, rootPath?: string): string
declare function pathJoin(...urls: string[]): string
declare function joinWithRootUrl(rootPath?: string, ...urls: string[]): string
declare function queryString(query: QueryData, encode?: boolean): string
declare function getUrl(url: string, query?: QueryData): string
declare function convertToFormData(obj: PostData): FormData

@@ -193,4 +174,2 @@

export {
AppName,
BaseURL,
Http,

@@ -197,0 +176,0 @@ HttpConfig,

2

lib/es/index.js
/**
* Bundle of @auraxy/services
* Generated: 2019-10-24
* Version: 1.0.1
* Version: 1.0.2
* License: MIT

@@ -6,0 +6,0 @@ * Author: liuzhiping@auraxy.com

{
"name": "@auraxy/services",
"version": "1.0.1",
"version": "1.0.2",
"description": "services",

@@ -5,0 +5,0 @@ "main": "./lib/umd/index.js",

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