@kaleidorg/wallet-engine 1.0.0-beta.14 → 1.0.0-beta.15
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lean RGB-L1 (WASM) entry — `@kaleidorg/wallet-engine/adapters/wdk/wasm-rgb`.
|
|
3
|
+
*
|
|
4
|
+
* Exposes ONLY the wasm RGB-L1 backing + the module-injection seam, with no
|
|
5
|
+
* static reference to the other WDK adapters (Spark/Liquid/RLN/native-RGB/
|
|
6
|
+
* Arkade) or `createWdkRegistry`. The full `./adapters/wdk` barrel statically
|
|
7
|
+
* re-exports every adapter, which transitively drags in heavy/native deps
|
|
8
|
+
* (`lwk_wasm`, `sodium-native`, `@utexo/wdk-wallet-rgb`, `@arkade-os/wdk`) that
|
|
9
|
+
* a browser / MV3 service worker host doesn't have. Importing from this lean
|
|
10
|
+
* entry lets such a host bundle just the wasm adapter (+ rgb-lib-wasm, which it
|
|
11
|
+
* injects) without resolving those.
|
|
12
|
+
*/
|
|
13
|
+
export { RgbLibWasmAdapter, type RgbLibWasmAdapterConfig } from './RgbLibWasmAdapter.js';
|
|
14
|
+
export { registerWdkModule, hasWdkModule, type WdkModuleLoader } from './moduleLoader.js';
|
|
15
|
+
//# sourceMappingURL=wasm-rgb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-rgb.d.ts","sourceRoot":"","sources":["../../../src/adapters/wdk/wasm-rgb.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AACrF,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lean RGB-L1 (WASM) entry — `@kaleidorg/wallet-engine/adapters/wdk/wasm-rgb`.
|
|
3
|
+
*
|
|
4
|
+
* Exposes ONLY the wasm RGB-L1 backing + the module-injection seam, with no
|
|
5
|
+
* static reference to the other WDK adapters (Spark/Liquid/RLN/native-RGB/
|
|
6
|
+
* Arkade) or `createWdkRegistry`. The full `./adapters/wdk` barrel statically
|
|
7
|
+
* re-exports every adapter, which transitively drags in heavy/native deps
|
|
8
|
+
* (`lwk_wasm`, `sodium-native`, `@utexo/wdk-wallet-rgb`, `@arkade-os/wdk`) that
|
|
9
|
+
* a browser / MV3 service worker host doesn't have. Importing from this lean
|
|
10
|
+
* entry lets such a host bundle just the wasm adapter (+ rgb-lib-wasm, which it
|
|
11
|
+
* injects) without resolving those.
|
|
12
|
+
*/
|
|
13
|
+
export { RgbLibWasmAdapter } from './RgbLibWasmAdapter.js';
|
|
14
|
+
export { registerWdkModule, hasWdkModule } from './moduleLoader.js';
|
|
15
|
+
//# sourceMappingURL=wasm-rgb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-rgb.js","sourceRoot":"","sources":["../../../src/adapters/wdk/wasm-rgb.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,iBAAiB,EAAgC,MAAM,qBAAqB,CAAA;AACrF,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAwB,MAAM,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaleidorg/wallet-engine",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.15",
|
|
4
4
|
"description": "WDK-based multi-protocol wallet engine (Spark, RGB/RLN, Liquid, Arkade): IProtocolAdapter contract + WDK adapters, cross-protocol router, BIP321 unified receive, and lite/advanced disclosure.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"types": "./dist/adapters/wdk/index.d.ts",
|
|
19
19
|
"default": "./dist/adapters/wdk/index.js"
|
|
20
20
|
},
|
|
21
|
+
"./adapters/wdk/wasm-rgb": {
|
|
22
|
+
"types": "./dist/adapters/wdk/wasm-rgb.d.ts",
|
|
23
|
+
"default": "./dist/adapters/wdk/wasm-rgb.js"
|
|
24
|
+
},
|
|
21
25
|
"./swap": {
|
|
22
26
|
"types": "./dist/swap/index.d.ts",
|
|
23
27
|
"default": "./dist/swap/index.js"
|