@dapr/dapr-dev
Advanced tools
Comparing version 3.1.2-20230614162535-0d16244 to 3.1.2-20230711064206-801847c
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const GRPCNotSupportedError_1 = require("../../../errors/GRPCNotSupportedError"); | ||
class GRPCClientWorkflow { | ||
@@ -21,23 +22,23 @@ constructor(client) { | ||
get(_instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
start(_workflowName, _input, _instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
terminate(_instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
pause(_instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
resume(_instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
purge(_instanceId, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
raise(_instanceId, _eventName, _input, _workflowComponent) { | ||
throw new Error("Method not implemented."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
} | ||
exports.default = GRPCClientWorkflow; |
@@ -24,2 +24,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const HTTPNotSupportedError_1 = require("../../../errors/HTTPNotSupportedError"); | ||
class HTTPClientConfiguration { | ||
@@ -31,3 +32,3 @@ constructor(client) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
throw new Error("HTTP is currently not supported."); | ||
throw new HTTPNotSupportedError_1.HTTPNotSupportedError(); | ||
}); | ||
@@ -37,3 +38,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
throw new Error("HTTP is currently not supported."); | ||
throw new HTTPNotSupportedError_1.HTTPNotSupportedError(); | ||
}); | ||
@@ -43,3 +44,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
throw new Error("HTTP is currently not supported."); | ||
throw new HTTPNotSupportedError_1.HTTPNotSupportedError(); | ||
}); | ||
@@ -49,3 +50,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
throw new Error("HTTP is currently not supported."); | ||
throw new HTTPNotSupportedError_1.HTTPNotSupportedError(); | ||
}); | ||
@@ -52,0 +53,0 @@ } |
@@ -24,2 +24,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const HTTPNotSupportedError_1 = require("../../../errors/HTTPNotSupportedError"); | ||
class HTTPClientProxy { | ||
@@ -31,3 +32,3 @@ constructor(client) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
throw new Error("HTTP is currently not supported."); | ||
throw new HTTPNotSupportedError_1.HTTPNotSupportedError(); | ||
}); | ||
@@ -34,0 +35,0 @@ } |
@@ -27,2 +27,3 @@ "use strict"; | ||
const Client_util_1 = require("../../../utils/Client.util"); | ||
const PropertyRequiredError_1 = require("../../../errors/PropertyRequiredError"); | ||
class HTTPClientWorkflow { | ||
@@ -36,3 +37,3 @@ constructor(client) { | ||
if (!instanceID) { | ||
throw new Error("instanceID is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("instanceID"); | ||
} | ||
@@ -65,3 +66,3 @@ workflowComponent = workflowComponent !== null && workflowComponent !== void 0 ? workflowComponent : HTTPClientWorkflow.DEFAULT_WORKFLOW_COMPONENT; | ||
if (!workflowName) { | ||
throw new Error("workflowName is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("workflowName"); | ||
} | ||
@@ -96,6 +97,6 @@ if (!instanceId) { | ||
if (!instanceId) { | ||
throw new Error("instanceID is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("instanceID"); | ||
} | ||
if (!eventName) { | ||
throw new Error("eventName is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("eventName"); | ||
} | ||
@@ -145,6 +146,6 @@ workflowComponent = workflowComponent !== null && workflowComponent !== void 0 ? workflowComponent : HTTPClientWorkflow.DEFAULT_WORKFLOW_COMPONENT; | ||
if (!instanceId) { | ||
throw new Error("instanceID is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("instanceID"); | ||
} | ||
if (!method) { | ||
throw new Error("method is required"); | ||
throw new PropertyRequiredError_1.PropertyRequiredError("method"); | ||
} | ||
@@ -151,0 +152,0 @@ workflowComponent = workflowComponent !== null && workflowComponent !== void 0 ? workflowComponent : HTTPClientWorkflow.DEFAULT_WORKFLOW_COMPONENT; |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const GRPCNotSupportedError_1 = require("../../../errors/GRPCNotSupportedError"); | ||
// https://docs.dapr.io/reference/api/bindings_api/ | ||
@@ -22,14 +23,14 @@ class GRPCServerActor { | ||
deactivateActor(_actorType, _actorId) { | ||
throw new Error("GRPC is currently not supported."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
init() { | ||
throw new Error("GRPC is currently not supported."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
getRegisteredActors() { | ||
throw new Error("GRPC is currently not supported."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
registerActor(_cls) { | ||
throw new Error("GRPC is currently not supported."); | ||
throw new GRPCNotSupportedError_1.GRPCNotSupportedError(); | ||
} | ||
} | ||
exports.default = GRPCServerActor; |
{ | ||
"name": "@dapr/dapr-dev", | ||
"version": "3.1.2-20230614162535-0d16244", | ||
"version": "3.1.2-20230711064206-801847c", | ||
"description": "The official Dapr (https://dapr.io) SDK for Node.js", | ||
@@ -23,3 +23,3 @@ "types": "./build/index.d.ts", | ||
"test:unit": "jest --runInBand --detectOpenHandles", | ||
"test:unit:all": "npm run test:unit:main && npm run test:unit:http && npm run test:unit:grpc && npm run test:unit:actors && npm run test:unit:logger && npm run test:unit:utils", | ||
"test:unit:all": "npm run test:unit:main && npm run test:unit:http && npm run test:unit:grpc && npm run test:unit:actors && npm run test:unit:logger && npm run test:unit:utils && npm run test:unit:errors", | ||
"test:unit:main": "NODE_ENV=test npm run test:unit 'test/unit/main/.*\\.test\\.ts'", | ||
@@ -31,2 +31,3 @@ "test:unit:http": "NODE_ENV=test npm run test:unit 'test/unit/http/.*\\.test\\.ts'", | ||
"test:unit:utils": "NODE_ENV=test npm run test:unit 'test/unit/utils/.*\\.test\\.ts'", | ||
"test:unit:errors": "NODE_ENV=test npm run test:unit 'test/unit/errors/.*\\.test\\.ts'", | ||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx", | ||
@@ -33,0 +34,0 @@ "prebuild": "./scripts/prebuild.sh", |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "3.1.2-20230614162535-0d16244"; | ||
export declare const SDK_VERSION = "3.1.2-20230711064206-801847c"; | ||
export declare const SDK_PACKAGE_NAME = "@dapr/dapr-dev"; |
@@ -18,3 +18,3 @@ "use strict"; | ||
// It is not checked in to the git repository. | ||
exports.SDK_VERSION = "3.1.2-20230614162535-0d16244"; | ||
exports.SDK_VERSION = "3.1.2-20230711064206-801847c"; | ||
exports.SDK_PACKAGE_NAME = "@dapr/dapr-dev"; |
2158557
412
47025