Comparing version 3.0.0 to 3.1.0
@@ -167,3 +167,5 @@ /*jshint browserify: true */ | ||
if (!callback) callback = noop; | ||
this._api.post('import', data, extend({}, opts, { | ||
this._api.post('import', data, extend({ | ||
type: 'auto' | ||
}, opts, { | ||
collection: this.name | ||
@@ -170,0 +172,0 @@ }), function (err, body) { |
{ | ||
"name": "arangojs", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "The official ArangoDB JavaScript driver.", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/arangodb/arangodbjs.git" | ||
"url": "https://github.com/arangodb/arangojs.git" | ||
}, | ||
@@ -48,5 +48,5 @@ "author": "Alan Plum <me@pluma.io>", | ||
"bugs": { | ||
"url": "https://github.com/arangodb/arangodbjs/issues" | ||
"url": "https://github.com/arangodb/arangojs/issues" | ||
}, | ||
"homepage": "https://github.com/arangodb/arangodbjs", | ||
"homepage": "https://github.com/arangodb/arangojs", | ||
"devDependencies": { | ||
@@ -53,0 +53,0 @@ "async": "^0.9.0", |
@@ -435,4 +435,5 @@ # ArangoDB JavaScript driver | ||
* *waitForSync*: Wait until the documents have been synced to disk. Default: *false*. | ||
* *waitForSync*: Wait until the documents have been synced to disk. Default: `false`. | ||
* *details*: Whether the response should contain additional details about documents that could not be imported. Default: *false*. | ||
* *type*: Indicates which format the data uses. Can be `"collection"`, `"array"` or `"auto"`. Default: `"auto"`. | ||
@@ -439,0 +440,0 @@ #### collection.replace(documentHandle, data, [opts,] callback) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69477
1089
624