@lendasat/lendaswap-sdk-native 0.0.67 → 0.1.67
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/README.md +7 -5
- package/lendaswap-sdk-native.win32-x64-msvc.node +0 -0
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -4,15 +4,17 @@ Native Node.js bindings for Lendaswap with SQLite storage.
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This package provides native Node.js bindings via [napi-rs](https://napi.rs/) for the Lendaswap client with SQLite
|
|
7
|
+
This package provides native Node.js bindings via [napi-rs](https://napi.rs/) for the Lendaswap client with SQLite
|
|
8
|
+
storage. It's designed for server-side applications, CLI tools, and backend services.
|
|
8
9
|
|
|
9
|
-
**Recommended:** Use this package through `@lendasat/lendaswap-sdk` with `.withSqliteStorage()` for a unified API across
|
|
10
|
+
**Recommended:** Use this package through `@lendasat/lendaswap-sdk` with `.withSqliteStorage()` for a unified API across
|
|
11
|
+
browser and Node.js.
|
|
10
12
|
|
|
11
13
|
## Installation
|
|
12
14
|
|
|
13
15
|
```bash
|
|
14
|
-
# Install
|
|
15
|
-
pnpm add @lendasat/lendaswap-sdk
|
|
16
|
+
# Install
|
|
17
|
+
pnpm add @lendasat/lendaswap-sdk-native
|
|
16
18
|
```
|
|
17
19
|
|
|
18
20
|
### Platform Support
|
|
@@ -28,7 +30,7 @@ Pre-built binaries are available for:
|
|
|
28
30
|
Use the main SDK with SQLite storage:
|
|
29
31
|
|
|
30
32
|
```javascript
|
|
31
|
-
import {
|
|
33
|
+
import {Client} from "@lendasat/lendaswap-sdk";
|
|
32
34
|
|
|
33
35
|
const client = await Client.builder()
|
|
34
36
|
.url("https://apilendaswap.lendasat.com")
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendasat/lendaswap-sdk-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"description": "Lendaswap Client SDK - Native Node.js bindings with SQLite storage",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -21,6 +21,13 @@
|
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"artifacts": "napi artifacts",
|
|
26
|
+
"build": "napi build --platform --release",
|
|
27
|
+
"build:debug": "napi build --platform",
|
|
28
|
+
"universal": "napi universal",
|
|
29
|
+
"version": "napi version"
|
|
30
|
+
},
|
|
24
31
|
"devDependencies": {
|
|
25
32
|
"@napi-rs/cli": "^2.18.0"
|
|
26
33
|
},
|
|
@@ -28,12 +35,5 @@
|
|
|
28
35
|
"index.js",
|
|
29
36
|
"index.d.ts",
|
|
30
37
|
"*.node"
|
|
31
|
-
]
|
|
32
|
-
|
|
33
|
-
"artifacts": "napi artifacts",
|
|
34
|
-
"build": "napi build --platform --release",
|
|
35
|
-
"build:debug": "napi build --platform",
|
|
36
|
-
"universal": "napi universal",
|
|
37
|
-
"version": "napi version"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
38
|
+
]
|
|
39
|
+
}
|