@backand/nodejs-sdk
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -10,2 +10,12 @@ const backand = require('./../src/index'); | ||
var await = false; | ||
//Test Anonymous | ||
backand.object.getList('items') | ||
.then(res=> { | ||
await = res; | ||
console.log(res.data); | ||
}) | ||
.catch(err=> console.log(err)); | ||
//Test sign in - access token | ||
backand.signin('sdk@backand.com', "Password1") | ||
@@ -12,0 +22,0 @@ .then(res=> { |
{ | ||
"name": "@backand/nodejs-sdk", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Backand SDK for Node.js", | ||
@@ -14,4 +14,6 @@ "main": "./src/index.js", | ||
"scripts": { | ||
"test": "node node_modules/mocha/bin/mocha test/sdktest.js", | ||
"start": "cd ./example/ && node demo.js", | ||
"patch": "npm version patch -m \"Release version %s\"", | ||
"preversion": "npm test", | ||
"version": "npm i -S -f @backand/vanilla-sdk && git add -A", | ||
@@ -26,3 +28,6 @@ "postversion": "git push && git push --tags" | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"chai": "latest", | ||
"mocha": "latest" | ||
}, | ||
"repository": { | ||
@@ -29,0 +34,0 @@ "type": "git", |
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
4509
33
2