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

@alicloud/mpserverless-sdk

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/mpserverless-sdk - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

dist/esm/file/validator/rules.d.ts

1

dist/esm/core/transport/index.d.ts

@@ -22,4 +22,5 @@ import { TransportProtocol, PREFIX } from '../constant';

get timeoutOption(): number;
get spaceIdOption(): string;
setSpaceId(spaceId: string): void;
request(encoder: HTTPRequestEncoder): Promise<HTTPResponseObject>;
}

4

dist/esm/file/index.d.ts

@@ -11,3 +11,3 @@ import { BaseService, GenericObject, HTTPTransport } from './../core';

export interface OSSUploadHeaders {
'Expires'?: string;
Expires?: string;
'Cache-Control'?: string;

@@ -27,2 +27,3 @@ 'Content-Type'?: string;

cdnDomain: string;
ossCallbackUrl?: string;
}

@@ -58,2 +59,3 @@ export declare function OSSUploadResponseFormat(data: GenericObject<string>): OSSUploadResponseDataJSONObject;

uploadFile(options: FileUploadOptions): Promise<any>;
info(fileIds: string | string[], options?: object): Promise<any>;
getOSSUploadOptionsFromPath(relativePath: string, targetPath: string, fileSize?: number): Promise<any>;

@@ -60,0 +62,0 @@ reportOSSUpload(id: string, contentType?: string): Promise<void>;

@@ -1,3 +0,5 @@

import { Validator as FileValidator } from './../../core';
export { FileValidator };
import { Validator, GenericObject } from './../../core';
export declare class FileValidator extends Validator {
constructor(options?: GenericObject<any>);
}
export * from './schema';

@@ -60,1 +60,17 @@ export declare const uploadFileSchema: {

};
export declare const fileInfoSchema: {
fileIds: {
type: string;
required: boolean;
};
options: {
type: string;
required: boolean;
rule: {
maxAge: {
type: string;
require: boolean;
};
};
};
};
{
"name": "@alicloud/mpserverless-sdk",
"author": "junmo <qwe_lingkun@163.com>",
"version": "3.1.2",
"version": "3.1.3",
"description": "Custom FrameWork JavaScript SDK for Alicloud MPServerless",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

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