fix(core): update
This commit is contained in:
		
							
								
								
									
										2915
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2915
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										14
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								package.json
									
									
									
									
									
								
							@@ -12,18 +12,18 @@
 | 
				
			|||||||
    "build": "(tsbuild --web)"
 | 
					    "build": "(tsbuild --web)"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@gitzone/tsbuild": "^2.0.22",
 | 
					    "@gitzone/tsbuild": "^2.1.25",
 | 
				
			||||||
    "@gitzone/tstest": "^1.0.43",
 | 
					    "@gitzone/tstest": "^1.0.44",
 | 
				
			||||||
    "@pushrocks/tapbundle": "^3.2.9",
 | 
					    "@pushrocks/tapbundle": "^3.2.9",
 | 
				
			||||||
    "@types/node": "^14.0.26",
 | 
					    "@types/node": "^14.11.2",
 | 
				
			||||||
    "tslint": "^6.1.2",
 | 
					    "tslint": "^6.1.3",
 | 
				
			||||||
    "tslint-config-prettier": "^1.18.0"
 | 
					    "tslint-config-prettier": "^1.18.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@apiglobal/sdk": "^1.0.9",
 | 
					    "@apiglobal/sdk": "^1.0.13",
 | 
				
			||||||
    "@apiglobal/typedrequest": "^1.0.40",
 | 
					    "@apiglobal/typedrequest": "^1.0.43",
 | 
				
			||||||
    "@apiglobal/typedrequest-interfaces": "^1.0.15",
 | 
					    "@apiglobal/typedrequest-interfaces": "^1.0.15",
 | 
				
			||||||
    "@pushrocks/smartexpress": "^3.0.73",
 | 
					    "@pushrocks/smartexpress": "^3.0.76",
 | 
				
			||||||
    "@pushrocks/smartobject": "^1.0.4"
 | 
					    "@pushrocks/smartobject": "^1.0.4"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "files": [
 | 
					  "files": [
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,8 +6,13 @@ export {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let testServer: AgTestServer;
 | 
					let testServer: AgTestServer;
 | 
				
			||||||
export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {
 | 
					export const createTestServer = async (handlerArg: { new(envHandler: plugins.agSdk.AgEnvironment): plugins.agSdk.AAgHandler<any> }) => {
 | 
				
			||||||
  testServer = new AgTestServer(handlerArg);
 | 
					  class AgEnvironement extends plugins.agSdk.AgEnvironment {
 | 
				
			||||||
 | 
					    public async getEnvVar(nameArg: string) {
 | 
				
			||||||
 | 
					      return '';
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  testServer = new AgTestServer(new handlerArg(new AgEnvironement()));
 | 
				
			||||||
  await testServer.start();
 | 
					  await testServer.start();
 | 
				
			||||||
  return testServer;
 | 
					  return testServer;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user