Skip to content

Commit

Permalink
Merge pull request #37 from AshanFernando/master
Browse files Browse the repository at this point in the history
Updating the README.md and version
  • Loading branch information
AshanFernando authored Jul 9, 2016
2 parents 4f7da68 + a15a6ee commit accac03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ You need to add the following parameters to the AWS NODE SDK dynamodb constructo

e.g. for dynamodb document client sdk
```
var AWS = require('aws-sdk'),
var AWS = require('aws-sdk');
```
```
new AWS.DynamoDB.DocumentClient({
Expand All @@ -186,6 +186,9 @@ new AWS.DynamoDB({
})
```

### Using with serverless-offline plugin
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.

## Links
* [Dynamodb local documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html)
* [Contact Us](mailto:[email protected])
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-dynamodb-local",
"version": "0.2.6",
"version": "0.2.7",
"engines": {
"node": ">=4.0"
},
Expand Down

0 comments on commit accac03

Please sign in to comment.