@keyhive/keyhive 0.0.0-alpha.7 → 0.0.0-alpha.8
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 +1 -6
- package/package.json +1 -1
- package/pkg/README.md +1 -6
- package/pkg/keyhive_wasm.d.ts +1 -1
- package/pkg/keyhive_wasm_bg.js +4 -4
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +1 -1
- package/pkg-node/README.md +1 -6
- package/pkg-node/keyhive_wasm.d.ts +1 -1
- package/pkg-node/keyhive_wasm.js +4 -4
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +1 -1
- package/pkg-slim/README.md +1 -6
- package/pkg-slim/keyhive_wasm.d.ts +2 -2
- package/pkg-slim/keyhive_wasm.js +4 -4
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +1 -1
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +1 -1
package/README.md
CHANGED
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
## Build package
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
To build with the `ingest_static` feature:
|
|
10
|
-
```
|
|
11
|
-
wasm-pack build --target web --out-dir pkg -- --features web-sys,ingest_static
|
|
6
|
+
pnpm install && pnpm build
|
|
12
7
|
```
|
|
13
8
|
|
|
14
9
|
## Run tests
|
package/package.json
CHANGED
package/pkg/README.md
CHANGED
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
## Build package
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
To build with the `ingest_static` feature:
|
|
10
|
-
```
|
|
11
|
-
wasm-pack build --target web --out-dir pkg -- --features web-sys,ingest_static
|
|
6
|
+
pnpm install && pnpm build
|
|
12
7
|
```
|
|
13
8
|
|
|
14
9
|
## Run tests
|
package/pkg/keyhive_wasm.d.ts
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -269,7 +269,7 @@ export function setPanicHook() {
|
|
|
269
269
|
wasm.setPanicHook();
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
function
|
|
272
|
+
function __wbg_adapter_10(arg0, arg1, arg2) {
|
|
273
273
|
wasm.closure429_externref_shim(arg0, arg1, arg2);
|
|
274
274
|
}
|
|
275
275
|
|
|
@@ -1102,11 +1102,11 @@ export class DocumentId {
|
|
|
1102
1102
|
/**
|
|
1103
1103
|
* @returns {string}
|
|
1104
1104
|
*/
|
|
1105
|
-
|
|
1105
|
+
toString() {
|
|
1106
1106
|
let deferred1_0;
|
|
1107
1107
|
let deferred1_1;
|
|
1108
1108
|
try {
|
|
1109
|
-
const ret = wasm.
|
|
1109
|
+
const ret = wasm.documentid_toString(this.__wbg_ptr);
|
|
1110
1110
|
deferred1_0 = ret[0];
|
|
1111
1111
|
deferred1_1 = ret[1];
|
|
1112
1112
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -3491,7 +3491,7 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
|
|
|
3491
3491
|
|
|
3492
3492
|
export function __wbindgen_cast_a788a31e51647739(arg0, arg1) {
|
|
3493
3493
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 428, function: Function { arguments: [Externref], shim_idx: 429, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3494
|
-
const ret = makeMutClosure(arg0, arg1, 428,
|
|
3494
|
+
const ret = makeMutClosure(arg0, arg1, 428, __wbg_adapter_10);
|
|
3495
3495
|
return ret;
|
|
3496
3496
|
};
|
|
3497
3497
|
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -56,7 +56,7 @@ export const doccontentrefs_docId: (a: number) => number;
|
|
|
56
56
|
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
57
57
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
58
58
|
export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
59
|
-
export const
|
|
59
|
+
export const documentid_toString: (a: number) => [number, number];
|
|
60
60
|
export const documentid_toJsValue: (a: number) => any;
|
|
61
61
|
export const documentid_toBytes: (a: number) => [number, number];
|
|
62
62
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
package/pkg-node/README.md
CHANGED
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
## Build package
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
To build with the `ingest_static` feature:
|
|
10
|
-
```
|
|
11
|
-
wasm-pack build --target web --out-dir pkg -- --features web-sys,ingest_static
|
|
6
|
+
pnpm install && pnpm build
|
|
12
7
|
```
|
|
13
8
|
|
|
14
9
|
## Run tests
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -259,7 +259,7 @@ exports.setPanicHook = function() {
|
|
|
259
259
|
wasm.setPanicHook();
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
function
|
|
262
|
+
function __wbg_adapter_14(arg0, arg1, arg2) {
|
|
263
263
|
wasm.closure429_externref_shim(arg0, arg1, arg2);
|
|
264
264
|
}
|
|
265
265
|
|
|
@@ -1122,11 +1122,11 @@ class DocumentId {
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* @returns {string}
|
|
1124
1124
|
*/
|
|
1125
|
-
|
|
1125
|
+
toString() {
|
|
1126
1126
|
let deferred1_0;
|
|
1127
1127
|
let deferred1_1;
|
|
1128
1128
|
try {
|
|
1129
|
-
const ret = wasm.
|
|
1129
|
+
const ret = wasm.documentid_toString(this.__wbg_ptr);
|
|
1130
1130
|
deferred1_0 = ret[0];
|
|
1131
1131
|
deferred1_1 = ret[1];
|
|
1132
1132
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -3583,7 +3583,7 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
|
|
|
3583
3583
|
|
|
3584
3584
|
exports.__wbindgen_cast_a788a31e51647739 = function(arg0, arg1) {
|
|
3585
3585
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 428, function: Function { arguments: [Externref], shim_idx: 429, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3586
|
-
const ret = makeMutClosure(arg0, arg1, 428,
|
|
3586
|
+
const ret = makeMutClosure(arg0, arg1, 428, __wbg_adapter_14);
|
|
3587
3587
|
return ret;
|
|
3588
3588
|
};
|
|
3589
3589
|
|
|
Binary file
|
|
@@ -56,7 +56,7 @@ export const doccontentrefs_docId: (a: number) => number;
|
|
|
56
56
|
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
57
57
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
58
58
|
export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
59
|
-
export const
|
|
59
|
+
export const documentid_toString: (a: number) => [number, number];
|
|
60
60
|
export const documentid_toJsValue: (a: number) => any;
|
|
61
61
|
export const documentid_toBytes: (a: number) => [number, number];
|
|
62
62
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
package/pkg-slim/README.md
CHANGED
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
## Build package
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
To build with the `ingest_static` feature:
|
|
10
|
-
```
|
|
11
|
-
wasm-pack build --target web --out-dir pkg -- --features web-sys,ingest_static
|
|
6
|
+
pnpm install && pnpm build
|
|
12
7
|
```
|
|
13
8
|
|
|
14
9
|
## Run tests
|
|
@@ -120,7 +120,7 @@ export class DocumentId {
|
|
|
120
120
|
free(): void;
|
|
121
121
|
[Symbol.dispose](): void;
|
|
122
122
|
constructor(bytes: Uint8Array);
|
|
123
|
-
|
|
123
|
+
toString(): string;
|
|
124
124
|
toJsValue(): any;
|
|
125
125
|
toBytes(): Uint8Array;
|
|
126
126
|
}
|
|
@@ -461,7 +461,7 @@ export interface InitOutput {
|
|
|
461
461
|
readonly doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
462
462
|
readonly __wbg_documentid_free: (a: number, b: number) => void;
|
|
463
463
|
readonly documentid_new: (a: number, b: number) => [number, number, number];
|
|
464
|
-
readonly
|
|
464
|
+
readonly documentid_toString: (a: number) => [number, number];
|
|
465
465
|
readonly documentid_toJsValue: (a: number) => any;
|
|
466
466
|
readonly documentid_toBytes: (a: number) => [number, number];
|
|
467
467
|
readonly __wbg_groupid_free: (a: number, b: number) => void;
|
package/pkg-slim/keyhive_wasm.js
CHANGED
|
@@ -265,7 +265,7 @@ export function setPanicHook() {
|
|
|
265
265
|
wasm.setPanicHook();
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
function
|
|
268
|
+
function __wbg_adapter_8(arg0, arg1, arg2) {
|
|
269
269
|
wasm.closure429_externref_shim(arg0, arg1, arg2);
|
|
270
270
|
}
|
|
271
271
|
|
|
@@ -1098,11 +1098,11 @@ export class DocumentId {
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @returns {string}
|
|
1100
1100
|
*/
|
|
1101
|
-
|
|
1101
|
+
toString() {
|
|
1102
1102
|
let deferred1_0;
|
|
1103
1103
|
let deferred1_1;
|
|
1104
1104
|
try {
|
|
1105
|
-
const ret = wasm.
|
|
1105
|
+
const ret = wasm.documentid_toString(this.__wbg_ptr);
|
|
1106
1106
|
deferred1_0 = ret[0];
|
|
1107
1107
|
deferred1_1 = ret[1];
|
|
1108
1108
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -3446,7 +3446,7 @@ function __wbg_get_imports() {
|
|
|
3446
3446
|
};
|
|
3447
3447
|
imports.wbg.__wbindgen_cast_a788a31e51647739 = function(arg0, arg1) {
|
|
3448
3448
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 428, function: Function { arguments: [Externref], shim_idx: 429, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3449
|
-
const ret = makeMutClosure(arg0, arg1, 428,
|
|
3449
|
+
const ret = makeMutClosure(arg0, arg1, 428, __wbg_adapter_8);
|
|
3450
3450
|
return ret;
|
|
3451
3451
|
};
|
|
3452
3452
|
imports.wbg.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
Binary file
|