Socket
Socket
Sign inDemoInstall

@temporalio/cloud-api-definitions

Package Overview
Dependencies
38
Maintainers
7
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha.6 to 0.0.1-alpha.7

4

mock-server/index.ts

@@ -83,3 +83,3 @@ import {

server.bindAsync(
`127.0.0.1:${config.PORT}`,
`0.0.0.0:${config.PORT}`,
ServerCredentials.createInsecure(),

@@ -89,3 +89,3 @@ (err, port) => {

server.start();
console.log(`Server running at localhost:${port}`);
console.log(`Server running at 0.0.0.0:${port}`);
} else {

@@ -92,0 +92,0 @@ console.log(err);

import { UntypedServiceImplementation } from "@grpc/grpc-js";
import { GetNamespacesResponse } from "../../api/namespaceservice/v1/request_response_pb";
import {
GetNamespacesResponse,
ListNamespacesResponse,
} from "../../api/namespaceservice/v1/request_response_pb";

@@ -7,4 +10,7 @@ export const NamespaceServiceMockImplementation: UntypedServiceImplementation =

listNamespaces: (call: any, callback: any) => {
callback(null, new ListNamespacesResponse());
},
getNamespaces: (call: any, callback: any) => {
callback(null, new GetNamespacesResponse());
},
};
{
"name": "@temporalio/cloud-api-definitions",
"version": "0.0.1-alpha.6",
"version": "0.0.1-alpha.7",
"files": [

@@ -10,5 +10,2 @@ "/api/**/*",

"types": "/api/**/*",
"bin": {
"mock-server": "./mock-server/index.js"
},
"dependencies": {

@@ -24,4 +21,3 @@ "@grpc/grpc-js": "^1.7.1",

"build": "tsc",
"serve": "rimraf ./dist && npm run build && node mock-server/index.js",
"prepare": "npm run build"
"start": "rimraf ./dist && npm run build && node dist/index.js"
},

@@ -28,0 +24,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc