@lightsparkdev/lightspark-sdk 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +3 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -104,11 +104,10 @@ You'll need to set the following environment variables:
|
|
|
104
104
|
```bash
|
|
105
105
|
$ export LIGHTSPARK_API_TOKEN_CLIENT_ID=<your api token id>
|
|
106
106
|
$ export LIGHTSPARK_API_TOKEN_CLIENT_SECRET=<your api token secret>
|
|
107
|
-
$ export
|
|
107
|
+
$ export LIGHTSPARK_TEST_NODE_PASSWORD=<the test node password (1234!@#$)>
|
|
108
108
|
|
|
109
|
-
# If you want to run
|
|
109
|
+
# If you want to run internal_example.ts, you'll also need to set these:
|
|
110
110
|
$ export LIGHTSPARK_EXAMPLE_NODE_1_NAME=<the display name of a node to use in the example>
|
|
111
|
-
$ export LIGHTSPARK_EXAMPLE_NODE_1_PASSWORD=<the password used to unlock node 1>
|
|
112
111
|
$ export LIGHTSPARK_EXAMPLE_NODE_2_NAME=<the display name of a node to use in the example>
|
|
113
112
|
$ export LIGHTSPARK_EXAMPLE_NODE_2_PASSWORD=<the password used to unlock node 2>
|
|
114
113
|
```
|
|
@@ -118,7 +117,7 @@ Then, run the examples:
|
|
|
118
117
|
```bash
|
|
119
118
|
$ cd examples/node-scripts
|
|
120
119
|
$ npm install
|
|
121
|
-
$ ts-node createInvoice.ts -a "100" -m "Whasssupppp"
|
|
120
|
+
$ npx ts-node createInvoice.ts -a "100" -m "Whasssupppp"
|
|
122
121
|
```
|
|
123
122
|
|
|
124
123
|
### Streaming Wallet Extension
|
package/dist/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ var require_package = __commonJS({
|
|
|
35
35
|
"package.json"(exports, module2) {
|
|
36
36
|
module2.exports = {
|
|
37
37
|
name: "@lightsparkdev/lightspark-sdk",
|
|
38
|
-
version: "0.4.
|
|
38
|
+
version: "0.4.6",
|
|
39
39
|
description: "Lightspark JS SDK",
|
|
40
40
|
author: "Lightspark Inc.",
|
|
41
41
|
keywords: [
|
package/dist/index.js
CHANGED