@corbado/nodejs
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "@corbado/nodejs", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./src/corbado.js", |
@@ -15,3 +15,3 @@ # Corbado Node.js library | ||
```npm install corbado --save``` | ||
```npm install @corbado/nodejs --save``` | ||
@@ -27,5 +27,11 @@ | ||
``` | ||
const Corbado = require('corbado'); | ||
const corbado = new Corbado('pro-xxxx', 'uu....DZ'); | ||
const Configuration = require('@corbado/nodejs/src/config/configuration'); | ||
const Corbado = require('@corbado/nodejs'); | ||
const config = new Configuration() | ||
config.projectID = process.env.PROJECT_ID | ||
config.apiSecret = process.env.API_SECRET | ||
const corbado = new Corbado(config) | ||
``` | ||
@@ -32,0 +38,0 @@ |
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
29840
53