@p47h/vault-js 0.9.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.
Binary file
@@ -0,0 +1,40 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_p47hclient_free: (a: number, b: number) => void;
5
+ export const p47hclient_generate_new: (a: number) => void;
6
+ export const p47hclient_from_secret: (a: number, b: number, c: number) => void;
7
+ export const p47hclient_export_wrapped_secret: (a: number, b: number, c: number, d: number) => void;
8
+ export const p47hclient_from_wrapped_secret: (a: number, b: number, c: number, d: number, e: number) => void;
9
+ export const p47hclient_get_did: (a: number, b: number) => void;
10
+ export const p47hclient_get_public_key: (a: number, b: number) => void;
11
+ export const p47hclient_sign_challenge: (a: number, b: number, c: number, d: number) => void;
12
+ export const p47hclient_evaluate_request: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
13
+ export const p47hclient_evaluate_batch: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
14
+ export const init_session: (a: number, b: number) => number;
15
+ export const is_commercial_license: () => number;
16
+ export const get_licensee: (a: number) => void;
17
+ export const validate_policy: (a: number, b: number, c: number) => void;
18
+ export const validate_policy_detailed: (a: number, b: number, c: number) => void;
19
+ export const __wbg_vaultcrypto_free: (a: number, b: number) => void;
20
+ export const vaultcrypto_encrypt_vault: (a: number, b: number, c: number, d: number, e: number) => void;
21
+ export const vaultcrypto_decrypt_vault: (a: number, b: number, c: number, d: number, e: number) => void;
22
+ export const vaultcrypto_derive_session_key: (a: number, b: number, c: number, d: number, e: number) => void;
23
+ export const wasmidentity_new: (a: number) => void;
24
+ export const wasmidentity_publicKeyHash: (a: number, b: number) => void;
25
+ export const wasmidentity_getDid: (a: number, b: number) => void;
26
+ export const __wbg_wasmpolicy_free: (a: number, b: number) => void;
27
+ export const wasmpolicy_new: (a: number, b: number, c: number, d: bigint) => void;
28
+ export const wasmpolicy_addRule: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
29
+ export const wasmpolicy_name: (a: number, b: number) => void;
30
+ export const wasmpolicy_ruleCount: (a: number) => number;
31
+ export const wasmpolicy_getRootHash: (a: number, b: number) => void;
32
+ export const init: () => void;
33
+ export const p47hclient_sign_data: (a: number, b: number, c: number, d: number) => void;
34
+ export const __wbg_wasmidentity_free: (a: number, b: number) => void;
35
+ export const __wbindgen_export: (a: number, b: number) => number;
36
+ export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
37
+ export const __wbindgen_export3: (a: number) => void;
38
+ export const __wbindgen_export4: (a: number, b: number, c: number) => void;
39
+ export const __wbindgen_add_to_stack_pointer: (a: number) => number;
40
+ export const __wbindgen_start: () => void;
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "p47h-wasm-core",
3
+ "type": "module",
4
+ "collaborators": [
5
+ "p47h Team"
6
+ ],
7
+ "description": "WASM bindings for p47h-core governance engine",
8
+ "version": "0.9.1",
9
+ "license": "Apache-2.0",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/p47h/p47h-open-core"
13
+ },
14
+ "files": [
15
+ "p47h_wasm_core_bg.wasm",
16
+ "p47h_wasm_core.js",
17
+ "p47h_wasm_core.d.ts"
18
+ ],
19
+ "main": "p47h_wasm_core.js",
20
+ "types": "p47h_wasm_core.d.ts",
21
+ "sideEffects": [
22
+ "./snippets/*"
23
+ ]
24
+ }