Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit a77ecc5

Browse files
committed
use const instead of let for SDK as it doesn't change
1 parent 5404a42 commit a77ecc5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/data/docs/slp/js/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ To use inside a command line script or client/server app:
2626

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

29-
let SLPSDK = require('slp-sdk');
30-
let SLP = new SLPSDK();
29+
const SLPSDK = require('slp-sdk');
30+
const SLP = new SLPSDK();

src/data/docs/slp/js/slp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SLP `SLP`: instance of SLP SDK
2424

2525
##### Create instance of SLP SDK
2626

27-
let SLPSDK = require("slp-sdk");
28-
let SLP = new SLPSDK({
27+
const SLPSDK = require("slp-sdk");
28+
const SLP = new SLPSDK({
2929
restURL: "https://trest.bitcoin.com/v2/"
3030
});

src/data/docs/slp/js/slpdb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ result `any`: SLPDB Result
2020

2121
```javascript
2222
;(async () => {
23-
let SLPSDK = require('slp-sdk')
24-
let SLP = new SLPSDK()
23+
const SLPSDK = require('slp-sdk')
24+
const SLP = new SLPSDK()
2525
let res = await SLP.SLPDB.get({
2626
v: 3,
2727
q: {

0 commit comments

Comments
 (0)