@crossbind/example-lib-prebuilt-matrix 2.0.0-beta.60 → 2.0.0-beta.63
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/AGENTS.md +3 -0
- package/README.md +22 -10
- package/crossbind-example-lib-prebuilt-matrix.xcframework/Info.plist +4 -4
- package/crossbind-example-lib-prebuilt-matrix.xcframework/ios-arm64/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/crossbind-example-lib-prebuilt-matrix.xcframework/ios-arm64-simulator/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix-wasi-wasm32-st-release.wasm +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix-wasm-wasm32-mt-release.browser.js +106 -60
- package/dist/crossbind-example-lib-prebuilt-matrix-wasm-wasm32-mt-release.node.js +12 -1
- package/dist/crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.browser.js +106 -60
- package/dist/crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.edge.js +12 -1
- package/dist/crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.node.js +12 -1
- package/dist/crossbind-example-lib-prebuilt-matrix.darwin-arm64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.darwin-x64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.linux-arm64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.linux-x64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.linuxmusl-arm64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.linuxmusl-x64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.native.cjs +3884 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.win32-arm64.node +0 -0
- package/dist/crossbind-example-lib-prebuilt-matrix.win32-x64.node +0 -0
- package/dist/edge/wasm.d.mts +10 -0
- package/dist/edge/wasm.mjs +18 -0
- package/dist/node/napi.d.mts +10 -0
- package/dist/node/napi.mjs +18 -0
- package/dist/node/wasm.d.mts +10 -0
- package/dist/node/wasm.mjs +18 -0
- package/dist/package.json +3 -0
- package/dist/prebuilt/CMakeLists.txt +3 -2
- package/dist/prebuilt/android-arm64-v8a-mt-release/lib.sources +1 -0
- package/dist/prebuilt/android-x86_64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/darwin-arm64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/darwin-arm64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/darwin-arm64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/darwin-arm64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/darwin-x64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/darwin-x64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/darwin-x64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/darwin-x64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/lib.sources +1 -0
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib.sources +1 -0
- package/dist/prebuilt/linux-arm64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/linux-arm64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/linux-arm64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/linux-arm64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/linux-x64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/linux-x64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/linux-x64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/linux-x64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/linuxmusl-arm64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/linuxmusl-arm64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/linuxmusl-arm64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/linuxmusl-arm64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/linuxmusl-x64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/linuxmusl-x64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/linuxmusl-x64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/linuxmusl-x64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib.sources +1 -0
- package/dist/prebuilt/wasm-wasm32-mt-release/lib.sources +1 -0
- package/dist/prebuilt/wasm-wasm32-st-release/lib.sources +1 -0
- package/dist/prebuilt/win32-arm64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/win32-arm64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/win32-arm64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/win32-arm64-mt-release/lib.sources +1 -0
- package/dist/prebuilt/win32-x64-mt-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/win32-x64-mt-release/include/Matrix.h +12 -0
- package/dist/prebuilt/win32-x64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a +0 -0
- package/dist/prebuilt/win32-x64-mt-release/lib.sources +1 -0
- package/edge/wasm +1 -0
- package/edge/wasm.d.ts +1 -0
- package/node/napi +1 -0
- package/node/napi.d.ts +1 -0
- package/node/wasm +1 -0
- package/node/wasm.d.ts +1 -0
- package/package.json +16 -3
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit. Values are usable after init().
|
|
2
|
+
|
|
3
|
+
export declare class Matrix {
|
|
4
|
+
constructor(size: number, initValue: number);
|
|
5
|
+
get(i: number): number;
|
|
6
|
+
multiple(b: Matrix): Matrix | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const VectorMatrix: any;
|
|
9
|
+
export declare let AllSymbols: Record<string, unknown>;
|
|
10
|
+
export declare function initNative(config?: Record<string, unknown>): Promise<unknown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit.
|
|
2
|
+
import boot from '../crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.edge.js';
|
|
3
|
+
import wasm from '../crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.edge.wasm';
|
|
4
|
+
|
|
5
|
+
export let AllSymbols = {};
|
|
6
|
+
let $VectorMatrix = null;
|
|
7
|
+
let $Matrix = null;
|
|
8
|
+
export { $VectorMatrix as VectorMatrix, $Matrix as Matrix };
|
|
9
|
+
|
|
10
|
+
export function initNative(config = {}) {
|
|
11
|
+
return boot({ getWasmFunction: () => wasm, ...config }).then((m) => {
|
|
12
|
+
AllSymbols = m;
|
|
13
|
+
$VectorMatrix = m.VectorMatrix;
|
|
14
|
+
$Matrix = m.Matrix;
|
|
15
|
+
return m;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
initNative.terminate = () => boot.terminate();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit. Values are usable after init().
|
|
2
|
+
|
|
3
|
+
export declare class Matrix {
|
|
4
|
+
constructor(size: number, initValue: number);
|
|
5
|
+
get(i: number): number;
|
|
6
|
+
multiple(b: Matrix): Matrix | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const VectorMatrix: any;
|
|
9
|
+
export declare let AllSymbols: Record<string, unknown>;
|
|
10
|
+
export declare function initNative(config?: Record<string, unknown>): Promise<unknown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit.
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
const boot = createRequire(import.meta.url)('../crossbind-example-lib-prebuilt-matrix.native.cjs');
|
|
4
|
+
|
|
5
|
+
export let AllSymbols = {};
|
|
6
|
+
let $VectorMatrix = null;
|
|
7
|
+
let $Matrix = null;
|
|
8
|
+
export { $VectorMatrix as VectorMatrix, $Matrix as Matrix };
|
|
9
|
+
|
|
10
|
+
export function initNative(config = {}) {
|
|
11
|
+
return boot(config).then((m) => {
|
|
12
|
+
AllSymbols = m;
|
|
13
|
+
$VectorMatrix = m.VectorMatrix;
|
|
14
|
+
$Matrix = m.Matrix;
|
|
15
|
+
return m;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
initNative.terminate = () => boot.terminate();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit. Values are usable after init().
|
|
2
|
+
|
|
3
|
+
export declare class Matrix {
|
|
4
|
+
constructor(size: number, initValue: number);
|
|
5
|
+
get(i: number): number;
|
|
6
|
+
multiple(b: Matrix): Matrix | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const VectorMatrix: any;
|
|
9
|
+
export declare let AllSymbols: Record<string, unknown>;
|
|
10
|
+
export declare function initNative(config?: Record<string, unknown>): Promise<unknown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Generated by crossbind - do not edit.
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
const boot = createRequire(import.meta.url)('../crossbind-example-lib-prebuilt-matrix-wasm-wasm32-st-release.node.js');
|
|
4
|
+
|
|
5
|
+
export let AllSymbols = {};
|
|
6
|
+
let $VectorMatrix = null;
|
|
7
|
+
let $Matrix = null;
|
|
8
|
+
export { $VectorMatrix as VectorMatrix, $Matrix as Matrix };
|
|
9
|
+
|
|
10
|
+
export function initNative(config = {}) {
|
|
11
|
+
return boot(config).then((m) => {
|
|
12
|
+
AllSymbols = m;
|
|
13
|
+
$VectorMatrix = m.VectorMatrix;
|
|
14
|
+
$Matrix = m.Matrix;
|
|
15
|
+
return m;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
initNative.terminate = () => boot.terminate();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
set(MY_LIST "android-arm64-v8a-mt-release;android-x86_64-mt-release;ios-iphoneos-mt-release;ios-iphonesimulator-mt-release;wasi-wasm32-st-release;wasm-wasm32-mt-release;wasm-wasm32-st-release")
|
|
1
|
+
set(MY_LIST "android-arm64-v8a-mt-release;android-x86_64-mt-release;darwin-arm64-mt-release;darwin-x64-mt-release;ios-iphoneos-mt-release;ios-iphonesimulator-mt-release;linux-arm64-mt-release;linux-x64-mt-release;linuxmusl-arm64-mt-release;linuxmusl-x64-mt-release;wasi-wasm32-st-release;wasm-wasm32-mt-release;wasm-wasm32-st-release;win32-arm64-mt-release;win32-x64-mt-release")
|
|
2
2
|
LIST(FIND MY_LIST "${PROJECT_TARGET_HOST}" PACKAGE_HOST_INDEX)
|
|
3
3
|
if(PACKAGE_HOST_INDEX EQUAL -1)
|
|
4
4
|
set(PROJECT_TARGET_HOST "${PROJECT_TARGET_HOST_RELEASE}")
|
|
@@ -51,7 +51,8 @@ if(NOT PACKAGE_HOST_INDEX EQUAL -1)
|
|
|
51
51
|
target_link_libraries("${PROJECT_NAME}" INTERFACE "${PROJECT_LIBS_DIR}")
|
|
52
52
|
endif()
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
# On iOS each library's xcframework carries the headers, so only a header-only package needs them here.
|
|
55
|
+
if(NOT (APPLE AND CMAKE_SYSTEM_NAME STREQUAL "iOS") OR PROJECT_LIBS STREQUAL "")
|
|
55
56
|
target_include_directories("${PROJECT_NAME}" INTERFACE "${PROJECT_SOURCE_DIR}/${PROJECT_TARGET_HOST}/include")
|
|
56
57
|
endif()
|
|
57
58
|
endif()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7b1946a7f6a79e392c0c9c3c4c6b687cc65cb70b598748dd752cf1f482da8a63
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7b1946a7f6a79e392c0c9c3c4c6b687cc65cb70b598748dd752cf1f482da8a63
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
419d0b9c3c5307315f9f60945bf20f5b555e4f0ab263a891be796c224bf4392f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
419d0b9c3c5307315f9f60945bf20f5b555e4f0ab263a891be796c224bf4392f
|
package/dist/prebuilt/ios-iphoneos-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
419d0b9c3c5307315f9f60945bf20f5b555e4f0ab263a891be796c224bf4392f
|
package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
419d0b9c3c5307315f9f60945bf20f5b555e4f0ab263a891be796c224bf4392f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
683eb30d18366ad043b51ba85b373465c9b6de5ddb1bfd9368026157d38cb8fb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
683eb30d18366ad043b51ba85b373465c9b6de5ddb1bfd9368026157d38cb8fb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
package/dist/prebuilt/linuxmusl-arm64-mt-release/lib/libcrossbind-example-lib-prebuilt-matrix.a
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
683eb30d18366ad043b51ba85b373465c9b6de5ddb1bfd9368026157d38cb8fb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
683eb30d18366ad043b51ba85b373465c9b6de5ddb1bfd9368026157d38cb8fb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2371577368fd4dc1049097de8d41d0367b1b919edafca8d25ac9bb563c280814
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9cc5e430f02beac8661fc6925542df52afc42d017f7139f68c7ed719d158cb1b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9cc5e430f02beac8661fc6925542df52afc42d017f7139f68c7ed719d158cb1b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8e53bf95484cf109732642605b376d31e504dd2bef0a7a131f8bbf83dfac9033
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <memory>
|
|
5
|
+
#include <cmath>
|
|
6
|
+
|
|
7
|
+
class Matrix : public std::vector<int> {
|
|
8
|
+
public:
|
|
9
|
+
Matrix(int size, int initValue) : std::vector<int>(size, initValue) {}
|
|
10
|
+
int get(int i);
|
|
11
|
+
std::shared_ptr<Matrix> multiple(std::shared_ptr<Matrix> b);
|
|
12
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8e53bf95484cf109732642605b376d31e504dd2bef0a7a131f8bbf83dfac9033
|
package/edge/wasm
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/edge/wasm.mjs';
|
package/edge/wasm.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/edge/wasm.mjs';
|
package/node/napi
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/node/napi.mjs';
|
package/node/napi.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/node/napi.mjs';
|
package/node/wasm
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/node/wasm.mjs';
|
package/node/wasm.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/node/wasm.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/example-lib-prebuilt-matrix",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.63",
|
|
4
4
|
"description": "crossbind sample prebuilt library: matrix multiplier",
|
|
5
5
|
"homepage": "https://github.com/crossbind/crossbind/tree/main/examples/lib-prebuilt-matrix#readme",
|
|
6
6
|
"repository": {
|
|
@@ -10,18 +10,29 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"crossbind": "^2.0.0-beta.
|
|
13
|
+
"crossbind": "^2.0.0-beta.63"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"crossbind-sample",
|
|
17
17
|
"matrix",
|
|
18
18
|
"crossbind-sample",
|
|
19
19
|
"webassembly",
|
|
20
|
-
"react-native"
|
|
20
|
+
"react-native",
|
|
21
|
+
"node",
|
|
22
|
+
"node-api"
|
|
21
23
|
],
|
|
22
24
|
"types": "./dist/types/index.d.ts",
|
|
23
25
|
"typesVersions": {
|
|
24
26
|
"*": {
|
|
27
|
+
"node/napi": [
|
|
28
|
+
"./node/napi.d.ts"
|
|
29
|
+
],
|
|
30
|
+
"node/wasm": [
|
|
31
|
+
"./node/wasm.d.ts"
|
|
32
|
+
],
|
|
33
|
+
"edge/wasm": [
|
|
34
|
+
"./edge/wasm.d.ts"
|
|
35
|
+
],
|
|
25
36
|
"*.h": [
|
|
26
37
|
"./dist/types/index.d.ts"
|
|
27
38
|
]
|
|
@@ -33,6 +44,8 @@
|
|
|
33
44
|
"build:wasm": "crossbind build -p wasm",
|
|
34
45
|
"build:android": "crossbind build -p android",
|
|
35
46
|
"build:ios": "crossbind build -p ios",
|
|
47
|
+
"build:darwin": "crossbind build -p darwin",
|
|
48
|
+
"build:desktop": "crossbind build -p darwin,linux,linuxmusl,win32 -e node",
|
|
36
49
|
"clear": "rm -rf .crossbind dist *.xcframework"
|
|
37
50
|
}
|
|
38
51
|
}
|