Skip to content

Commit a15a6ee

Browse files
committed
Updating the README.md and version
1 parent dc96cdf commit a15a6ee

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ You need to add the following parameters to the AWS NODE SDK dynamodb constructo
170170

171171
e.g. for dynamodb document client sdk
172172
```
173-
var AWS = require('aws-sdk'),
173+
var AWS = require('aws-sdk');
174174
```
175175
```
176176
new AWS.DynamoDB.DocumentClient({
@@ -186,6 +186,9 @@ new AWS.DynamoDB({
186186
})
187187
```
188188

189+
### Using with serverless-offline plugin
190+
When using this plugin with serverless-offline, it is difficult to use above syntax since the code should use DynamoDB Local for development, and use DynamoDB Online after provisioning in AWS. Therefore we suggest you to use [serverless-dynamodb-client](https://github.com/99xt/serverless-dynamodb-client) plugin in your code.
191+
189192
## Links
190193
* [Dynamodb local documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html)
191194
* [Contact Us](mailto:[email protected])

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-dynamodb-local",
3-
"version": "0.2.6",
3+
"version": "0.2.7",
44
"engines": {
55
"node": ">=4.0"
66
},

0 commit comments

Comments
 (0)