anymock-openapi
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,10 +5,5 @@ "use strict"; | ||
var anymock_client_token_1 = tslib_1.__importStar(require("anymock-client-token")); | ||
// tslint:disable-next-line: no-var-requires | ||
var info = require('../package.json'); | ||
// console.log('info:', info); | ||
var _a = info || {}, name = _a.name, version = _a.version; | ||
var Base = /** @class */ (function () { | ||
function Base(ctx) { | ||
this.ctx = ctx; | ||
console.log(name + "@" + version); | ||
} | ||
@@ -15,0 +10,0 @@ // 请求api |
@@ -10,2 +10,6 @@ "use strict"; | ||
var scene_1 = tslib_1.__importDefault(require("./scene")); | ||
// tslint:disable-next-line: no-var-requires | ||
var info = require('../package.json'); | ||
// console.log('info:', info); | ||
var _a = info || {}, name = _a.name, version = _a.version; | ||
// declare var window: Window & typeof globalThis; | ||
@@ -35,2 +39,3 @@ var fromClient; | ||
this.scene = new scene_1.default(this); | ||
console.log(name + "@" + version); | ||
} | ||
@@ -37,0 +42,0 @@ AnymockOpenapi.prototype.setProjectToken = function (projectToken) { |
{ | ||
"name": "anymock-openapi", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43366