-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from AshanFernando/master
Updating the README.md and version
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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({ | ||
|
@@ -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]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
}, | ||
|