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

@alicloud/mpserverless-sdk

Package Overview
Dependencies
Maintainers
9
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 1.0.0 to 1.0.1-alpha.0

dist/esm/utils.d.ts

4

dist/esm/transport.js
import * as tslib_1 from "tslib";
import { HTTPTransport, HTTP_UNAUTHORIZED, ErrorCode, ErrorName, ErrorType, BasementClientError, assert, } from '@ant-basement/core';
import { MiniProgramHTTPRequestEncoder, MiniProgramHTTPResponseDecoder, } from './codec';
var log = console.log;
import { log } from './utils';
var MiniProgramHTTPTransport = (function (_super) {

@@ -189,2 +189,2 @@ tslib_1.__extends(MiniProgramHTTPTransport, _super);

export { MiniProgramHTTPTransport };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3RyYW5zcG9ydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUVMLGFBQWEsRUFHYixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFNBQVMsRUFDVCxTQUFTLEVBQ1QsbUJBQW1CLEVBRW5CLE1BQU0sR0FFUCxNQUFNLG9CQUFvQixDQUFDO0FBQzVCLE9BQU8sRUFHTCw2QkFBNkIsRUFDN0IsOEJBQThCLEdBQy9CLE1BQU0sU0FBUyxDQUFDO0FBQ2pCLElBQU0sR0FBRyxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQUM7QUFReEI7SUFBOEMsb0RBQWE7SUFRekQsa0NBQ0UsUUFBZ0IsRUFDaEIsT0FBWTtRQUZkLFlBSUUsa0JBQU0sUUFBUSxFQUFFLE9BQU8sQ0FBQyxTQVF6QjtRQW5CUyxXQUFL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M7NkJBQ0YsQ0FBQyxFQUFBOzRCQVZGLFdBQU8sU0FVTCxFQUFDOzs7O0tBQ0o7SUFPUyx1Q0FBSSxHQUFkLFVBQWUsUUFBUTtRQUNyQixPQUFPLFVBQUEsSUFBSTtZQUNULE9BQU8sSUFBSSxPQUFPLENBQXFCLFVBQUMsT0FBTyxFQUFFLE1BQU07Z0JBQ3JELFFBQVEsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRTtvQkFDM0IsUUFBUSxFQUFFLFVBQUMsR0FBYTt3QkFBYixvQkFBQSxFQUFBLFFBQWE7d0JBQ3RCLEdBQUcsQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDO3dCQUN6QixHQUFHLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7d0JBQ2xDLElBQU0sT0FBTyxHQUFHLElBQUksOEJBQThCLEVBQUUsQ0FBQzt3QkFDckQsSUFBTSxRQUFRLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQzt3QkFDckMsSUFBSSxRQUFRLENBQUMsS0FBSyxFQUFFOzRCQUNsQixPQUFPLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQzt5QkFDekI7d0JBRUQsT0FBTyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUM7b0JBQzNCLENBQUM7aUJBQ0YsQ0FBQyxDQUFDLENBQUM7WUFDTixDQUFDLENBQUMsQ0FBQztRQUNMLENBQUMsQ0FBQztJQUNKLENBQUM7SUFDSCwrQkFBQztBQUFELENBQUMsQUExTkQsQ0FBOEMsYUFBYSxHQTBOMUQifQ==

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@ant-basement/core", "./codec"], factory);
define(["require", "exports", "@ant-basement/core", "./codec", "./utils"], factory);
}

@@ -15,3 +15,3 @@ })(function (require, exports) {

const codec_1 = require("./codec");
const log = console.log;
const utils_1 = require("./utils");
class MiniProgramHTTPTransport extends core_1.HTTPTransport {

@@ -52,4 +52,4 @@ constructor(endpoint, library) {

});
log('request data');
log(JSON.stringify(encoded, null, 2));
utils_1.log('request data');
utils_1.log(JSON.stringify(encoded, null, 2));
const decoded = await this.httpRequest(encoded);

@@ -63,3 +63,3 @@ return decoded;

if (retried) {
log('auth error', e);
utils_1.log('auth error', e);
throw new core_1.BasementClientError(core_1.ErrorName.UNAUTHORIZED_ERROR, core_1.ErrorCode.AUTHENTICATION_FAILED, core_1.ErrorType.COMMON_ERROR, 'authentication failed');

@@ -71,8 +71,8 @@ }

if (e.error) {
log('IDE error', e.message);
log(e);
utils_1.log('IDE error', e.message);
utils_1.log(e);
throw e.error;
}
log('Unknown error', e.message);
log(e);
utils_1.log('Unknown error', e.message);
utils_1.log(e);
throw e;

@@ -85,3 +85,3 @@ }

.then((res) => {
log('Request authcode ' + (res.body.authCode ? 'success' : 'failed'));
utils_1.log('Request authcode ' + (res.body.authCode ? 'success' : 'failed'));
return res.body.authCode;

@@ -113,3 +113,3 @@ })

.then((res) => {
log('Request accessToken ' + (res.body.success ? 'success' : 'failed'));
utils_1.log('Request accessToken ' + (res.body.success ? 'success' : 'failed'));
if (res.body && res.body.result) {

@@ -125,7 +125,7 @@ this.accessToken = res.body.result.accessToken;

if (this.pendingRequest) {
log('getAccessToken: reuse');
utils_1.log('getAccessToken: reuse');
return this.pendingRequest;
}
if (refresh || !this.accessToken) {
log('getAccessToken: start');
utils_1.log('getAccessToken: start');
return this.authorize();

@@ -136,4 +136,4 @@ }

async upload(host, formData, fileName, filePath, header) {
log('upload with params');
log(JSON.stringify(formData, null, 2));
utils_1.log('upload with params');
utils_1.log(JSON.stringify(formData, null, 2));
return await this.uploadFile({

@@ -156,4 +156,4 @@ url: host,

complete: (res = {}) => {
log('completed request');
log(JSON.stringify(res, null, 2));
utils_1.log('completed request');
utils_1.log(JSON.stringify(res, null, 2));
const decoder = new codec_1.MiniProgramHTTPResponseDecoder();

@@ -173,2 +173,2 @@ const response = decoder.decode(res);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3RyYW5zcG9ydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDZDQWE0QjtJQUM1QixtQ0FLaUI7SUFDakIsTUFBTSxHQUFHLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQztJQVF4QixNQUFhLHdCQUF5QixTQUFRLG9CQUFhO1FBUXpELFlBQ0UsUUFBZ0IsRUFDaEIsT0FBWTtZQUVaLEtBQUssQ0FBQyxRQUFRLEVBQUUsT0FBTyxDQUFDLENBQUM7WUFYakIsVUFBSyxHQUFlLFdBQVcsQ0FBQztZQVl4QyxhQUFNLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxvQkFBb0IsQ0FBQyxDQUFDO1lBQ2pELGFBQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLHFCQUFxQixDQUFDLENBQUM7WUFDbkQsYUFBTSxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsaUJBQWlCLENBQUMsQ0FBQztZQUUzQyxJQUFJLENBQUMsVUFBVSxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1lBQ2hELElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDLENBQUM7WUFDbEQsSUFBSSxDQUFDLFdBQVcsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUNoRCxDQUFDO1FBTU0sVUFBVTtZQUNmLE9BQU8sSUF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zegia@gmail.com>",
"version": "1.0.0",
"version": "1.0.1-alpha.0",
"description": "JavaScript SDK for Alicloud MPServerless",

@@ -28,4 +28,3 @@ "main": "dist/umd/index.js",

"crypto-js": "^3.1.9-1",
"tslib": "^1.9.3",
"mime": "^2.4.4"
"tslib": "^1.9.3"
},

@@ -38,2 +37,3 @@ "devDependencies": {

"babel-preset-env": "^1.7.0",
"mime": "^2.4.4",
"webpack": "^4.27.1",

@@ -40,0 +40,0 @@ "webpack-cli": "^3.1.2"

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