Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/data/docs/slp/js/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ To use inside a command line script or client/server app:

Use the [scaffold generator](./new), or manually import SLP SDK into your code:

let SLPSDK = require('slp-sdk');
let SLP = new SLPSDK();
const SLPSDK = require('slp-sdk');
const SLP = new SLPSDK();
4 changes: 2 additions & 2 deletions src/data/docs/slp/js/slp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SLP `SLP`: instance of SLP SDK

##### Create instance of SLP SDK

let SLPSDK = require("slp-sdk");
let SLP = new SLPSDK({
const SLPSDK = require("slp-sdk");
const SLP = new SLPSDK({
restURL: "https://trest.bitcoin.com/v2/"
});
4 changes: 2 additions & 2 deletions src/data/docs/slp/js/slpdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ result `any`: SLPDB Result

```javascript
;(async () => {
let SLPSDK = require('slp-sdk')
let SLP = new SLPSDK()
const SLPSDK = require('slp-sdk')
const SLP = new SLPSDK()
let res = await SLP.SLPDB.get({
v: 3,
q: {
Expand Down