anymock-openapi
Advanced tools
Comparing version 1.0.3 to 1.1.0-alpha.0
@@ -40,2 +40,3 @@ "use strict"; | ||
_from: finalConfig.fromClient, | ||
_bizId: finalConfig.bizId, | ||
}, | ||
@@ -42,0 +43,0 @@ method: 'POST', |
import { IAnymockConfigUpdate, IRequestPipe } from 'anymock-include'; | ||
import Interface from './interface'; | ||
import Mock from './mock'; | ||
import Page from './page'; | ||
import Project from './project'; | ||
import Request from './request'; | ||
import Scene from './scene'; | ||
import TinyApp from './tinyapp'; | ||
export default class AnymockOpenapi { | ||
@@ -13,2 +15,4 @@ mock: Mock; | ||
scene: Scene; | ||
page: Page; | ||
tinyApp: TinyApp; | ||
anymockConfig: IAnymockConfigUpdate; | ||
@@ -15,0 +19,0 @@ requestPipe: IRequestPipe; |
@@ -7,5 +7,7 @@ "use strict"; | ||
var mock_1 = tslib_1.__importDefault(require("./mock")); | ||
var page_1 = tslib_1.__importDefault(require("./page")); | ||
var project_1 = tslib_1.__importDefault(require("./project")); | ||
var request_1 = tslib_1.__importDefault(require("./request")); | ||
var scene_1 = tslib_1.__importDefault(require("./scene")); | ||
var tinyapp_1 = tslib_1.__importDefault(require("./tinyapp")); | ||
// tslint:disable-next-line: no-var-requires | ||
@@ -52,2 +54,4 @@ var info = require('../package.json'); | ||
this.scene = new scene_1.default(this); | ||
this.page = new page_1.default(this); | ||
this.tinyApp = new tinyapp_1.default(this); | ||
if (verbose && !mounted) { | ||
@@ -54,0 +58,0 @@ console.log(name + "@" + version); |
@@ -68,5 +68,5 @@ /** | ||
data: T; | ||
errorMessage: string; | ||
errorCode: string; | ||
errorExtra: any; | ||
errorMessage?: string; | ||
errorCode?: string; | ||
errorExtra?: any; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MockTypeEnum = void 0; | ||
var MockTypeEnum; | ||
@@ -4,0 +5,0 @@ (function (MockTypeEnum) { |
{ | ||
"name": "anymock-openapi", | ||
"version": "1.0.3", | ||
"version": "1.1.0-alpha.0", | ||
"main": "lib/index.js", | ||
@@ -21,3 +21,3 @@ "types": "./lib/index.d.ts", | ||
"anymock-client-token": "^1.2.0", | ||
"anymock-include": "^0.2.0", | ||
"anymock-include": "^0.2.1", | ||
"tslib": "^1.10.0" | ||
@@ -24,0 +24,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
55450
32
931
2
1
Updatedanymock-include@^0.2.1