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

@qn-pandora/app-sdk

Package Overview
Dependencies
Maintainers
2
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qn-pandora/app-sdk - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

lib/managers/LoginManager/base/pandora.d.ts

1

lib/apis/job/model.d.ts

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

import { IKeyValues } from '../../models';
export declare const Max_Log_Length = 5000;

@@ -3,0 +2,0 @@ export declare enum JobStatus {

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

export * from './manager/SearchManager';
export * from './manager/LoginManager';
export { SearchManager, EEventName } from './managers/SearchManager';
export { LoginManager, ELoginType } from './managers/LoginManager';

@@ -1,4 +0,1 @@

export interface IKeyValues<T = any> {
[key: string]: T;
}
export declare const enum OrderType {

@@ -5,0 +2,0 @@ Ascend = "ascend",

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

export default function bind(target: any, properykey: string, decscriptor: PropertyDescriptor): {
/**
* bind 装饰器,用于将装饰的函数绑定 this 指针
* WARNING:bind装饰过的函数在被重载时,不可在重载函数中调用父集的当前函数,会导致父集的当前函数this指针异常
*/
export default function bind(_: any, properykey: string, decscriptor: PropertyDescriptor): {
configurable: boolean;

@@ -3,0 +7,0 @@ get(): any;

@@ -0,1 +1,6 @@

export declare class ResponseError extends Error {
status: number;
body: any;
constructor(status: number, body: any);
}
export interface IExtraOptions {

@@ -2,0 +7,0 @@ includeCredentials?: boolean;

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

import { IKeyValues } from '../models';
export declare function formatURL(url: string, params?: IKeyValues | null): string;
export declare function formatURL(url: string, params?: IKeyValues): string;
export declare function parseSearch(search: string): any;
{
"name": "@qn-pandora/app-sdk",
"version": "1.0.2",
"version": "1.1.0",
"description": "Pandora APP 核心渲染逻辑 SDK",

@@ -61,4 +61,3 @@ "author": "pandora <pandora@qiniu.com>",

"webpack-node-externals": "^1.7.2"
},
"gitHead": "fd2924e631ab6bd511f1a678890166d5709ca8e1"
}
}

@@ -148,5 +148,5 @@ # `@qn-pandora/app-sdk`

```js
import { LoginManager, LoginType } from '@qn-pandora/app-sdk'
import { LoginManager, ELoginType } from '@qn-pandora/app-sdk'
const loginManager = new LoginManager(LoginType.Pandora)
const loginManager = new LoginManager(ELoginType.PANDORA)
loginManager.login({

@@ -161,5 +161,5 @@ username: 'admin',

```js
import { LoginManager, LoginType } from '@qn-pandora/app-sdk'
import { LoginManager, ELoginType } from '@qn-pandora/app-sdk'
const loginManager = new LoginManager(LoginType.SSO)
const loginManager = new LoginManager(ELoginType.SSO)
loginManager.login({

@@ -166,0 +166,0 @@ token:

Sorry, the diff of this file is too big to display

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