@siafoundation/sia-storage 0.1.0 → 0.1.2
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 +93 -1
- package/dist/chunk-QYQQIWFH.js +74 -0
- package/dist/chunk-QYQQIWFH.js.map +1 -0
- package/dist/cli.js +13 -0
- package/dist/index.d.ts +89 -1
- package/dist/index.js +303 -0
- package/dist/index.js.map +1 -1
- package/dist/index.node.cjs +52 -12
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.d.ts +32 -6
- package/dist/next.d.ts +3 -0
- package/dist/next.js +12 -0
- package/dist/sia-storage-sw.js +2 -0
- package/dist/stream-worker.d.ts +51 -0
- package/dist/stream-worker.js +441 -0
- package/dist/stream-worker.js.map +1 -0
- package/dist/vite.d.ts +39 -0
- package/dist/vite.js +32 -0
- package/package.json +26 -10
- package/wasm/sia_storage_wasm.d.ts +21 -12
- package/wasm/sia_storage_wasm.js +33 -32
- package/wasm/sia_storage_wasm_bg.wasm +0 -0
- package/wasm/sia_storage_wasm_bg.wasm.d.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siafoundation/sia-storage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
|
+
"bin": {
|
|
12
|
+
"sia-storage-worker": "dist/cli.js"
|
|
13
|
+
},
|
|
11
14
|
"files": [
|
|
12
15
|
"dist",
|
|
13
16
|
"wasm"
|
|
@@ -32,33 +35,46 @@
|
|
|
32
35
|
"default": "./dist/index.js"
|
|
33
36
|
}
|
|
34
37
|
},
|
|
38
|
+
"./stream-worker": {
|
|
39
|
+
"types": "./dist/stream-worker.d.ts",
|
|
40
|
+
"default": "./dist/stream-worker.js"
|
|
41
|
+
},
|
|
42
|
+
"./vite": {
|
|
43
|
+
"types": "./dist/vite.d.ts",
|
|
44
|
+
"default": "./dist/vite.js"
|
|
45
|
+
},
|
|
46
|
+
"./next": {
|
|
47
|
+
"types": "./dist/next.d.ts",
|
|
48
|
+
"default": "./dist/next.js"
|
|
49
|
+
},
|
|
50
|
+
"./sia-storage-sw.js": "./dist/sia-storage-sw.js",
|
|
35
51
|
"./wasm": "./wasm/sia_storage_wasm.js",
|
|
36
52
|
"./wasm/*": "./wasm/*"
|
|
37
53
|
},
|
|
38
54
|
"scripts": {
|
|
39
|
-
"build": "bun run build-wasm && tsup && bun run scripts/build-node-types.ts",
|
|
55
|
+
"build": "bun run build-wasm && tsup --config tsup.worker.config.ts && tsup && bun run scripts/build-node-types.ts",
|
|
40
56
|
"build-wasm": "bun run scripts/build-wasm.ts",
|
|
41
57
|
"setup": "bun run scripts/setup-rust.ts",
|
|
42
58
|
"setup-napi-test": "bun run scripts/setup-napi-test.ts",
|
|
43
59
|
"typecheck": "tsc --noEmit",
|
|
44
60
|
"test": "bun test src/tests/install-integration.test.ts",
|
|
45
|
-
"test:browser": "bun test src/tests/vite-integration.test.ts src/tests/esbuild-integration.test.ts src/tests/webpack-integration.test.ts src/tests/rollup-integration.test.ts src/tests/nextjs-integration.test.ts",
|
|
61
|
+
"test:browser": "bun test src/tests/vite-integration.test.ts src/tests/esbuild-integration.test.ts src/tests/webpack-integration.test.ts src/tests/rollup-integration.test.ts src/tests/nextjs-integration.test.ts src/tests/streaming.test.ts src/tests/stream-prebuilt-worker.test.ts",
|
|
46
62
|
"test:all": "bun test",
|
|
47
63
|
"prepublishOnly": "bun run build && bun test",
|
|
48
64
|
"publish-npm": "bun run scripts/publish.ts"
|
|
49
65
|
},
|
|
50
|
-
"optionalDependencies": {
|
|
51
|
-
"@siafoundation/sia-storage-darwin-arm64": "0.1.0",
|
|
52
|
-
"@siafoundation/sia-storage-darwin-x64": "0.1.0",
|
|
53
|
-
"@siafoundation/sia-storage-linux-x64-gnu": "0.1.0",
|
|
54
|
-
"@siafoundation/sia-storage-linux-arm64-gnu": "0.1.0",
|
|
55
|
-
"@siafoundation/sia-storage-win32-x64-msvc": "0.1.0"
|
|
56
|
-
},
|
|
57
66
|
"devDependencies": {
|
|
58
67
|
"@types/bun": "^1.3.12",
|
|
59
68
|
"@types/node": "^24.13.2",
|
|
60
69
|
"playwright": "^1.60.0",
|
|
61
70
|
"tsup": "^8.4.0",
|
|
62
71
|
"typescript": "5.9.3"
|
|
72
|
+
},
|
|
73
|
+
"optionalDependencies": {
|
|
74
|
+
"@siafoundation/sia-storage-darwin-arm64": "0.1.2",
|
|
75
|
+
"@siafoundation/sia-storage-darwin-x64": "0.1.2",
|
|
76
|
+
"@siafoundation/sia-storage-linux-x64-gnu": "0.1.2",
|
|
77
|
+
"@siafoundation/sia-storage-linux-arm64-gnu": "0.1.2",
|
|
78
|
+
"@siafoundation/sia-storage-win32-x64-msvc": "0.1.2"
|
|
63
79
|
}
|
|
64
80
|
}
|
|
@@ -91,6 +91,14 @@ export interface App {
|
|
|
91
91
|
serviceUrl: string | undefined;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* Geographic coordinates used to sort hosts by proximity.
|
|
96
|
+
*/
|
|
97
|
+
export interface GeoLocation {
|
|
98
|
+
latitude: number;
|
|
99
|
+
longitude: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
94
102
|
/**
|
|
95
103
|
* Information about the user's account on the indexer.
|
|
96
104
|
*/
|
|
@@ -123,9 +131,10 @@ export interface ShardProgress {
|
|
|
123
131
|
* Query parameters for filtering hosts.
|
|
124
132
|
*/
|
|
125
133
|
export interface HostQuery {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
134
|
+
location?: GeoLocation;
|
|
135
|
+
country?: string;
|
|
136
|
+
limit?: number;
|
|
137
|
+
offset?: number;
|
|
129
138
|
}
|
|
130
139
|
|
|
131
140
|
/**
|
|
@@ -559,7 +568,7 @@ export class Sdk {
|
|
|
559
568
|
* Detaches an object from a sharing key, leaving the key and its other
|
|
560
569
|
* attachments in place.
|
|
561
570
|
*/
|
|
562
|
-
unshareObject(key: SharingKey,
|
|
571
|
+
unshareObject(key: SharingKey, id: string): Promise<void>;
|
|
563
572
|
/**
|
|
564
573
|
* Updates an object's metadata on the indexer.
|
|
565
574
|
*/
|
|
@@ -756,7 +765,7 @@ export interface InitOutput {
|
|
|
756
765
|
readonly sdk_sharingKey: (a: number, b: number) => any;
|
|
757
766
|
readonly sdk_sharingKeys: (a: number, b: number, c: number) => any;
|
|
758
767
|
readonly sdk_slab: (a: number, b: number, c: number) => any;
|
|
759
|
-
readonly sdk_unshareObject: (a: number, b: number, c: number) => any;
|
|
768
|
+
readonly sdk_unshareObject: (a: number, b: number, c: number, d: number) => any;
|
|
760
769
|
readonly sdk_updateObjectMetadata: (a: number, b: number) => any;
|
|
761
770
|
readonly sdk_upload: (a: number, b: number, c: any, d: number) => any;
|
|
762
771
|
readonly sdk_uploadPacked: (a: number, b: number) => [number, number, number];
|
|
@@ -785,13 +794,13 @@ export interface InitOutput {
|
|
|
785
794
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
786
795
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
787
796
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
788
|
-
readonly
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
791
|
-
readonly
|
|
792
|
-
readonly
|
|
793
|
-
readonly
|
|
794
|
-
readonly
|
|
797
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
798
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
799
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__3: (a: number, b: number, c: any) => [number, number];
|
|
800
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__4: (a: number, b: number, c: any) => [number, number];
|
|
801
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
802
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
803
|
+
readonly wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
795
804
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
796
805
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
797
806
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/wasm/sia_storage_wasm.js
CHANGED
|
@@ -980,13 +980,14 @@ export class Sdk {
|
|
|
980
980
|
* Detaches an object from a sharing key, leaving the key and its other
|
|
981
981
|
* attachments in place.
|
|
982
982
|
* @param {SharingKey} key
|
|
983
|
-
* @param {
|
|
983
|
+
* @param {string} id
|
|
984
984
|
* @returns {Promise<void>}
|
|
985
985
|
*/
|
|
986
|
-
unshareObject(key,
|
|
986
|
+
unshareObject(key, id) {
|
|
987
987
|
_assertClass(key, SharingKey);
|
|
988
|
-
|
|
989
|
-
const
|
|
988
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
989
|
+
const len0 = WASM_VECTOR_LEN;
|
|
990
|
+
const ret = wasm.sdk_unshareObject(this.__wbg_ptr, key.__wbg_ptr, ptr0, len0);
|
|
990
991
|
return ret;
|
|
991
992
|
}
|
|
992
993
|
/**
|
|
@@ -1629,7 +1630,7 @@ function __wbg_get_imports() {
|
|
|
1629
1630
|
const a = state0.a;
|
|
1630
1631
|
state0.a = 0;
|
|
1631
1632
|
try {
|
|
1632
|
-
return
|
|
1633
|
+
return wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1633
1634
|
} finally {
|
|
1634
1635
|
state0.a = a;
|
|
1635
1636
|
}
|
|
@@ -1667,7 +1668,7 @@ function __wbg_get_imports() {
|
|
|
1667
1668
|
const a = state0.a;
|
|
1668
1669
|
state0.a = 0;
|
|
1669
1670
|
try {
|
|
1670
|
-
return
|
|
1671
|
+
return wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1671
1672
|
} finally {
|
|
1672
1673
|
state0.a = a;
|
|
1673
1674
|
}
|
|
@@ -1893,33 +1894,33 @@ function __wbg_get_imports() {
|
|
|
1893
1894
|
return ret;
|
|
1894
1895
|
},
|
|
1895
1896
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1896
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1897
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1897
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1063, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1898
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_);
|
|
1898
1899
|
return ret;
|
|
1899
1900
|
},
|
|
1900
1901
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1901
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1902
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1902
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 525, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1903
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue______true_);
|
|
1903
1904
|
return ret;
|
|
1904
1905
|
},
|
|
1905
1906
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1906
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1907
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1907
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 581, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1908
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_);
|
|
1908
1909
|
return ret;
|
|
1909
1910
|
},
|
|
1910
1911
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1911
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx:
|
|
1912
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1912
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 581, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1913
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__3);
|
|
1913
1914
|
return ret;
|
|
1914
1915
|
},
|
|
1915
1916
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1916
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx:
|
|
1917
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1917
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 581, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1918
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__4);
|
|
1918
1919
|
return ret;
|
|
1919
1920
|
},
|
|
1920
1921
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1921
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1922
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1922
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 870, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1923
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke_______true_);
|
|
1923
1924
|
return ret;
|
|
1924
1925
|
},
|
|
1925
1926
|
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
@@ -1974,44 +1975,44 @@ function __wbg_get_imports() {
|
|
|
1974
1975
|
};
|
|
1975
1976
|
}
|
|
1976
1977
|
|
|
1977
|
-
function
|
|
1978
|
-
wasm.
|
|
1978
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1979
|
+
wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1979
1980
|
}
|
|
1980
1981
|
|
|
1981
|
-
function
|
|
1982
|
-
wasm.
|
|
1982
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue______true_(arg0, arg1, arg2) {
|
|
1983
|
+
wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue______true_(arg0, arg1, arg2);
|
|
1983
1984
|
}
|
|
1984
1985
|
|
|
1985
|
-
function
|
|
1986
|
-
const ret = wasm.
|
|
1986
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_(arg0, arg1, arg2) {
|
|
1987
|
+
const ret = wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_(arg0, arg1, arg2);
|
|
1987
1988
|
if (ret[1]) {
|
|
1988
1989
|
throw takeFromExternrefTable0(ret[0]);
|
|
1989
1990
|
}
|
|
1990
1991
|
}
|
|
1991
1992
|
|
|
1992
|
-
function
|
|
1993
|
-
const ret = wasm.
|
|
1993
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_(arg0, arg1, arg2) {
|
|
1994
|
+
const ret = wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_(arg0, arg1, arg2);
|
|
1994
1995
|
if (ret[1]) {
|
|
1995
1996
|
throw takeFromExternrefTable0(ret[0]);
|
|
1996
1997
|
}
|
|
1997
1998
|
}
|
|
1998
1999
|
|
|
1999
|
-
function
|
|
2000
|
-
const ret = wasm.
|
|
2000
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__3(arg0, arg1, arg2) {
|
|
2001
|
+
const ret = wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__3(arg0, arg1, arg2);
|
|
2001
2002
|
if (ret[1]) {
|
|
2002
2003
|
throw takeFromExternrefTable0(ret[0]);
|
|
2003
2004
|
}
|
|
2004
2005
|
}
|
|
2005
2006
|
|
|
2006
|
-
function
|
|
2007
|
-
const ret = wasm.
|
|
2007
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__4(arg0, arg1, arg2) {
|
|
2008
|
+
const ret = wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__4(arg0, arg1, arg2);
|
|
2008
2009
|
if (ret[1]) {
|
|
2009
2010
|
throw takeFromExternrefTable0(ret[0]);
|
|
2010
2011
|
}
|
|
2011
2012
|
}
|
|
2012
2013
|
|
|
2013
|
-
function
|
|
2014
|
-
wasm.
|
|
2014
|
+
function wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
2015
|
+
wasm.wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
2015
2016
|
}
|
|
2016
2017
|
|
|
2017
2018
|
|
|
Binary file
|
|
@@ -70,7 +70,7 @@ export const sdk_sharedObjects: (a: number, b: number, c: number, d: number) =>
|
|
|
70
70
|
export const sdk_sharingKey: (a: number, b: number) => any;
|
|
71
71
|
export const sdk_sharingKeys: (a: number, b: number, c: number) => any;
|
|
72
72
|
export const sdk_slab: (a: number, b: number, c: number) => any;
|
|
73
|
-
export const sdk_unshareObject: (a: number, b: number, c: number) => any;
|
|
73
|
+
export const sdk_unshareObject: (a: number, b: number, c: number, d: number) => any;
|
|
74
74
|
export const sdk_updateObjectMetadata: (a: number, b: number) => any;
|
|
75
75
|
export const sdk_upload: (a: number, b: number, c: any, d: number) => any;
|
|
76
76
|
export const sdk_uploadPacked: (a: number, b: number) => [number, number, number];
|
|
@@ -99,13 +99,13 @@ export const intounderlyingsink_close: (a: number) => any;
|
|
|
99
99
|
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
100
100
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
101
101
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const
|
|
105
|
-
export const
|
|
106
|
-
export const
|
|
107
|
-
export const
|
|
108
|
-
export const
|
|
102
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
103
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
104
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__3: (a: number, b: number, c: any) => [number, number];
|
|
105
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___sys__Undefined__core_608f92abc48d28da___result__Result_____wasm_bindgen_a939ac12ad536d64___JsError___true__4: (a: number, b: number, c: any) => [number, number];
|
|
106
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined___js_sys_7efaea6b2290715d___Function_fn_wasm_bindgen_a939ac12ad536d64___JsValue_____wasm_bindgen_a939ac12ad536d64___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
107
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke___wasm_bindgen_a939ac12ad536d64___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
108
|
+
export const wasm_bindgen_a939ac12ad536d64___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
109
109
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
110
110
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
111
111
|
export const __wbindgen_exn_store: (a: number) => void;
|