@indexable/sdk 0.0.2 → 0.2.0
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/npm/linux-x64-gnu/ix-sdk.linux-x64-gnu.node +0 -0
- package/npm/linux-x64-gnu/libix_sdk_ffi.so +0 -0
- package/npm/linux-x64-gnu/package.json +10 -5
- package/package.json +9 -7
- package/src/bindings.ts +9 -0
- package/src/generated/ix_sdk_ffi.ts +4507 -0
- package/src/index.ts +6 -134
- package/src/index.test.ts +0 -102
|
Binary file
|
|
Binary file
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indexable/sdk-linux-x64-gnu",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"os": [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"os": [
|
|
5
|
+
"linux"
|
|
6
|
+
],
|
|
7
|
+
"cpu": [
|
|
8
|
+
"x64"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
"libix_sdk_ffi.so"
|
|
12
|
+
],
|
|
8
13
|
"license": "MIT",
|
|
9
14
|
"engines": {
|
|
10
15
|
"node": ">= 18"
|
package/package.json
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indexable/sdk",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./src/index.ts"
|
|
8
8
|
},
|
|
9
|
-
"files": [
|
|
9
|
+
"files": [
|
|
10
|
+
"src/",
|
|
11
|
+
"npm/"
|
|
12
|
+
],
|
|
10
13
|
"scripts": {
|
|
11
|
-
"build": "
|
|
12
|
-
"test": "bun test src/",
|
|
14
|
+
"build": "bunx tsc --noEmit",
|
|
13
15
|
"typecheck": "bunx tsc --noEmit"
|
|
14
16
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"koffi": "^2.9.0"
|
|
17
19
|
},
|
|
18
20
|
"devDependencies": {
|
|
19
21
|
"bun-types": "latest"
|
|
20
22
|
},
|
|
21
23
|
"engines": {
|
|
22
|
-
"
|
|
24
|
+
"bun": ">= 1.0.0"
|
|
23
25
|
},
|
|
24
26
|
"license": "MIT"
|
|
25
27
|
}
|
package/src/bindings.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// UniFFI-generated TypeScript bindings for ix-sdk-ffi.
|
|
2
|
+
//
|
|
3
|
+
// These bindings are generated by uniffi-bindgen from the Rust
|
|
4
|
+
// ix-sdk-ffi crate. Do not edit manually — regenerate with:
|
|
5
|
+
//
|
|
6
|
+
// ./crates/ix/sdk/ffi/scripts/generate-ts-bindings.sh
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
export * from './generated/ix_sdk_ffi'
|