@google-cloud/functions-framework
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -7,2 +7,9 @@ # Changelog | ||
## [3.1.2](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v3.1.1...v3.1.2) (2022-06-06) | ||
### Bug Fixes | ||
* TypeScript exports in package.json ([#461](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/issues/461)) ([3596068](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/commit/3596068cd3d5822773641f3e8b63acdb087ca55a)) | ||
### [3.1.1](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v3.1.0...v3.1.1) (2022-04-22) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/functions-framework", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "FaaS (Function as a service) framework for writing portable Node.js functions", | ||
@@ -12,4 +12,10 @@ "engines": { | ||
"exports": { | ||
".": "./build/src/index.js", | ||
"./testing": "./build/src/testing.js" | ||
".": { | ||
"types": "./build/src/index.d.ts", | ||
"default": "./build/src/index.js" | ||
}, | ||
"./testing": { | ||
"types": "./build/src/testing.d.ts", | ||
"default": "./build/src/testing.js" | ||
} | ||
}, | ||
@@ -16,0 +22,0 @@ "dependencies": { |
@@ -244,14 +244,2 @@ # Functions Framework for Node.js | ||
To enable the CloudEvent functions, you must list the Functions Framework as a dependency in your `package.json`: | ||
```json | ||
{ | ||
"dependencies": { | ||
"@google-cloud/functions-framework": "~2.0.0-beta.1" | ||
} | ||
} | ||
``` | ||
Learn how to use CloudEvents in this [guide](docs/cloudevents.md). | ||
## Advanced Docs | ||
@@ -258,0 +246,0 @@ |
122689
259