mirror of https://github.com/dapr/quickstarts.git
Updated JS SDK to stable release
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
parent
a9c9f3930b
commit
af7d9aa65b
|
@ -2,7 +2,7 @@ import { createReadStream, createWriteStream } from "node:fs";
|
|||
import { readFile, writeFile } from "node:fs/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 daprPort = process.env.DAPR_GRPC_PORT ?? "50001";
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@dapr/dapr-dev": "3.0.0-20230608164322-af71496"
|
||||
"@dapr/dapr": "3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.42.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@dapr/dapr-dev": {
|
||||
"version": "3.0.0-20230608164322-af71496",
|
||||
"resolved": "https://registry.npmjs.org/@dapr/dapr-dev/-/dapr-dev-3.0.0-20230608164322-af71496.tgz",
|
||||
"integrity": "sha512-0olN5kwcOVA1Fm2BD9Rzk8yi04/Zst5qH/HvccPuhvVbZoOkU3zH2v7ievLcN7mLmjscsNkudSWUhcUxL9+w+w==",
|
||||
"node_modules/@dapr/dapr": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@dapr/dapr/-/dapr-3.1.0.tgz",
|
||||
"integrity": "sha512-k3jGmbm5FIf2s5zzQYq9zeGX/mbrO4PQeRckkhB4uRiqExBmosWtFoDzwFK346c7eaO2my4lodobYYY6yUImyw==",
|
||||
"dependencies": {
|
||||
"@grpc/grpc-js": "^1.3.7",
|
||||
"@js-temporal/polyfill": "^0.3.0",
|
||||
|
@ -2269,10 +2269,10 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@dapr/dapr-dev": {
|
||||
"version": "3.0.0-20230608164322-af71496",
|
||||
"resolved": "https://registry.npmjs.org/@dapr/dapr-dev/-/dapr-dev-3.0.0-20230608164322-af71496.tgz",
|
||||
"integrity": "sha512-0olN5kwcOVA1Fm2BD9Rzk8yi04/Zst5qH/HvccPuhvVbZoOkU3zH2v7ievLcN7mLmjscsNkudSWUhcUxL9+w+w==",
|
||||
"@dapr/dapr": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@dapr/dapr/-/dapr-3.1.0.tgz",
|
||||
"integrity": "sha512-k3jGmbm5FIf2s5zzQYq9zeGX/mbrO4PQeRckkhB4uRiqExBmosWtFoDzwFK346c7eaO2my4lodobYYY6yUImyw==",
|
||||
"requires": {
|
||||
"@grpc/grpc-js": "^1.3.7",
|
||||
"@js-temporal/polyfill": "^0.3.0",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@dapr/dapr-dev": "3.0.0-20230608164322-af71496"
|
||||
"@dapr/dapr": "3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.42.0"
|
||||
|
|
Loading…
Reference in New Issue