Updated JS SDK to stable release

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2023-06-12 09:06:42 -07:00
parent a9c9f3930b
commit af7d9aa65b
3 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@ import { createReadStream, createWriteStream } from "node:fs";
import { readFile, writeFile } from "node:fs/promises"; import { readFile, writeFile } from "node:fs/promises";
import { pipeline } from "node:stream/promises"; import { pipeline } from "node:stream/promises";
import { DaprClient, CommunicationProtocolEnum } from "@dapr/dapr-dev"; import { DaprClient, CommunicationProtocolEnum } from "@dapr/dapr";
const daprHost = process.env.DAPR_HOST ?? "127.0.0.1"; const daprHost = process.env.DAPR_HOST ?? "127.0.0.1";
const daprPort = process.env.DAPR_GRPC_PORT ?? "50001"; const daprPort = process.env.DAPR_GRPC_PORT ?? "50001";

View File

@ -9,16 +9,16 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@dapr/dapr-dev": "3.0.0-20230608164322-af71496" "@dapr/dapr": "3.1.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.42.0" "eslint": "^8.42.0"
} }
}, },
"node_modules/@dapr/dapr-dev": { "node_modules/@dapr/dapr": {
"version": "3.0.0-20230608164322-af71496", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/@dapr/dapr-dev/-/dapr-dev-3.0.0-20230608164322-af71496.tgz", "resolved": "https://registry.npmjs.org/@dapr/dapr/-/dapr-3.1.0.tgz",
"integrity": "sha512-0olN5kwcOVA1Fm2BD9Rzk8yi04/Zst5qH/HvccPuhvVbZoOkU3zH2v7ievLcN7mLmjscsNkudSWUhcUxL9+w+w==", "integrity": "sha512-k3jGmbm5FIf2s5zzQYq9zeGX/mbrO4PQeRckkhB4uRiqExBmosWtFoDzwFK346c7eaO2my4lodobYYY6yUImyw==",
"dependencies": { "dependencies": {
"@grpc/grpc-js": "^1.3.7", "@grpc/grpc-js": "^1.3.7",
"@js-temporal/polyfill": "^0.3.0", "@js-temporal/polyfill": "^0.3.0",
@ -2269,10 +2269,10 @@
} }
}, },
"dependencies": { "dependencies": {
"@dapr/dapr-dev": { "@dapr/dapr": {
"version": "3.0.0-20230608164322-af71496", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/@dapr/dapr-dev/-/dapr-dev-3.0.0-20230608164322-af71496.tgz", "resolved": "https://registry.npmjs.org/@dapr/dapr/-/dapr-3.1.0.tgz",
"integrity": "sha512-0olN5kwcOVA1Fm2BD9Rzk8yi04/Zst5qH/HvccPuhvVbZoOkU3zH2v7ievLcN7mLmjscsNkudSWUhcUxL9+w+w==", "integrity": "sha512-k3jGmbm5FIf2s5zzQYq9zeGX/mbrO4PQeRckkhB4uRiqExBmosWtFoDzwFK346c7eaO2my4lodobYYY6yUImyw==",
"requires": { "requires": {
"@grpc/grpc-js": "^1.3.7", "@grpc/grpc-js": "^1.3.7",
"@js-temporal/polyfill": "^0.3.0", "@js-temporal/polyfill": "^0.3.0",

View File

@ -12,7 +12,7 @@
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@dapr/dapr-dev": "3.0.0-20230608164322-af71496" "@dapr/dapr": "3.1.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.42.0" "eslint": "^8.42.0"