@cipherstash/protect-ffi 0.28.0 → 0.29.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.
- package/README.md +34 -18
- package/dist/wasm/protect_ffi.d.ts +10 -3
- package/dist/wasm/protect_ffi_bg.js +21 -14
- package/dist/wasm/protect_ffi_bg.wasm +0 -0
- package/dist/wasm/protect_ffi_bg.wasm.d.ts +9 -9
- package/dist/wasm/protect_ffi_inline.js +1 -1
- package/lib/eql-v3-types/Bigint.d.ts +1 -1
- package/lib/eql-v3-types/BigintEq.d.ts +1 -1
- package/lib/eql-v3-types/BigintEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/BigintEqQuery.js +2 -0
- package/lib/eql-v3-types/BigintOrd.d.ts +4 -4
- package/lib/eql-v3-types/BigintOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/BigintOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/BigintOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/BigintOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/BigintOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/BigintOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/BigintOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/BigintOrdQuery.js +2 -0
- package/lib/eql-v3-types/Boolean.d.ts +1 -1
- package/lib/eql-v3-types/Date.d.ts +1 -1
- package/lib/eql-v3-types/DateEq.d.ts +1 -1
- package/lib/eql-v3-types/DateEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/DateEqQuery.js +2 -0
- package/lib/eql-v3-types/DateOrd.d.ts +4 -4
- package/lib/eql-v3-types/DateOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/DateOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/DateOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/DateOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/DateOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/DateOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/DateOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/DateOrdQuery.js +2 -0
- package/lib/eql-v3-types/Double.d.ts +1 -1
- package/lib/eql-v3-types/DoubleEq.d.ts +1 -1
- package/lib/eql-v3-types/DoubleEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/DoubleEqQuery.js +2 -0
- package/lib/eql-v3-types/DoubleOrd.d.ts +4 -4
- package/lib/eql-v3-types/DoubleOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/DoubleOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/DoubleOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/DoubleOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/DoubleOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/DoubleOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/DoubleOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/DoubleOrdQuery.js +2 -0
- package/lib/eql-v3-types/Integer.d.ts +1 -1
- package/lib/eql-v3-types/IntegerEq.d.ts +1 -1
- package/lib/eql-v3-types/IntegerEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/IntegerEqQuery.js +2 -0
- package/lib/eql-v3-types/IntegerOrd.d.ts +4 -4
- package/lib/eql-v3-types/IntegerOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/IntegerOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/IntegerOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/IntegerOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/IntegerOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/IntegerOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/IntegerOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/IntegerOrdQuery.js +2 -0
- package/lib/eql-v3-types/Numeric.d.ts +1 -1
- package/lib/eql-v3-types/NumericEq.d.ts +1 -1
- package/lib/eql-v3-types/NumericEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/NumericEqQuery.js +2 -0
- package/lib/eql-v3-types/NumericOrd.d.ts +4 -4
- package/lib/eql-v3-types/NumericOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/NumericOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/NumericOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/NumericOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/NumericOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/NumericOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/NumericOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/NumericOrdQuery.js +2 -0
- package/lib/eql-v3-types/OpeCllw.d.ts +9 -6
- package/lib/eql-v3-types/OreBlock256.d.ts +4 -4
- package/lib/eql-v3-types/Real.d.ts +1 -1
- package/lib/eql-v3-types/RealEq.d.ts +1 -1
- package/lib/eql-v3-types/RealEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/RealEqQuery.js +2 -0
- package/lib/eql-v3-types/RealOrd.d.ts +4 -4
- package/lib/eql-v3-types/RealOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/RealOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/RealOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/RealOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/RealOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/RealOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/RealOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/RealOrdQuery.js +2 -0
- package/lib/eql-v3-types/Selector.d.ts +1 -1
- package/lib/eql-v3-types/Smallint.d.ts +1 -1
- package/lib/eql-v3-types/SmallintEq.d.ts +1 -1
- package/lib/eql-v3-types/SmallintEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/SmallintEqQuery.js +2 -0
- package/lib/eql-v3-types/SmallintOrd.d.ts +4 -4
- package/lib/eql-v3-types/SmallintOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/SmallintOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/SmallintOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/SmallintOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/SmallintOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/SmallintOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/SmallintOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/SmallintOrdQuery.js +2 -0
- package/lib/eql-v3-types/SteVecDocument.d.ts +1 -1
- package/lib/eql-v3-types/SteVecEntry.d.ts +4 -4
- package/lib/eql-v3-types/SteVecQuery.d.ts +1 -1
- package/lib/eql-v3-types/SteVecQueryEntry.d.ts +2 -2
- package/lib/eql-v3-types/SteVecTerm.d.ts +4 -4
- package/lib/eql-v3-types/Text.d.ts +1 -1
- package/lib/eql-v3-types/TextEq.d.ts +1 -1
- package/lib/eql-v3-types/TextEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/TextEqQuery.js +2 -0
- package/lib/eql-v3-types/TextMatch.d.ts +1 -1
- package/lib/eql-v3-types/TextMatchQuery.d.ts +13 -0
- package/lib/eql-v3-types/TextMatchQuery.js +2 -0
- package/lib/eql-v3-types/TextOrd.d.ts +4 -4
- package/lib/eql-v3-types/TextOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/TextOrdOpeQuery.d.ts +15 -0
- package/lib/eql-v3-types/TextOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/TextOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/TextOrdOreQuery.d.ts +15 -0
- package/lib/eql-v3-types/TextOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/TextOrdQuery.d.ts +15 -0
- package/lib/eql-v3-types/TextOrdQuery.js +2 -0
- package/lib/eql-v3-types/TextSearch.d.ts +4 -4
- package/lib/eql-v3-types/TextSearchOre.d.ts +19 -0
- package/lib/eql-v3-types/TextSearchOre.js +2 -0
- package/lib/eql-v3-types/TextSearchOreQuery.d.ts +17 -0
- package/lib/eql-v3-types/TextSearchOreQuery.js +2 -0
- package/lib/eql-v3-types/TextSearchQuery.d.ts +17 -0
- package/lib/eql-v3-types/TextSearchQuery.js +2 -0
- package/lib/eql-v3-types/Timestamp.d.ts +1 -1
- package/lib/eql-v3-types/TimestampEq.d.ts +1 -1
- package/lib/eql-v3-types/TimestampEqQuery.d.ts +13 -0
- package/lib/eql-v3-types/TimestampEqQuery.js +2 -0
- package/lib/eql-v3-types/TimestampOrd.d.ts +4 -4
- package/lib/eql-v3-types/TimestampOrdOpe.d.ts +1 -1
- package/lib/eql-v3-types/TimestampOrdOpeQuery.d.ts +13 -0
- package/lib/eql-v3-types/TimestampOrdOpeQuery.js +2 -0
- package/lib/eql-v3-types/TimestampOrdOre.d.ts +1 -1
- package/lib/eql-v3-types/TimestampOrdOreQuery.d.ts +13 -0
- package/lib/eql-v3-types/TimestampOrdOreQuery.js +2 -0
- package/lib/eql-v3-types/TimestampOrdQuery.d.ts +13 -0
- package/lib/eql-v3-types/TimestampOrdQuery.js +2 -0
- package/lib/eql-v3.d.ts +63 -7
- package/lib/errors.d.ts +1 -1
- package/lib/errors.js +0 -4
- package/lib/index.cjs +12 -7
- package/lib/index.d.cts +68 -24
- package/lib/normalizeEncryptConfig.d.ts +2 -1
- package/lib/normalizeEncryptConfig.js +2 -1
- package/package.json +7 -7
- package/lib/eql-v3-types/OreCllw.d.ts +0 -7
- package/lib/eql-v3-types/OreCllw.js +0 -5
package/README.md
CHANGED
|
@@ -59,37 +59,53 @@ const v3 = await addon.newClient({ encryptConfig, eqlVersion: 3 })
|
|
|
59
59
|
With `eqlVersion: 3`, each column's payload targets the `eql_v3` domain
|
|
60
60
|
derived from its `cast_as` and indexes:
|
|
61
61
|
|
|
62
|
+
Every public-schema column domain carries an `eql_v3_` prefix (so the SQL
|
|
63
|
+
column type is `public.eql_v3_text_eq`); the term-only query twins do not
|
|
64
|
+
(`eql_v3.query_text_eq`), because the `eql_v3` schema already versions them.
|
|
65
|
+
|
|
62
66
|
| `cast_as` | family | indexes | domain |
|
|
63
67
|
|-----------|--------|---------|--------|
|
|
64
|
-
| `text` | `text` | `unique` + `ore` + `match` | `
|
|
65
|
-
| `text` | `text` | `unique` + `
|
|
66
|
-
| `text` | `text` | `
|
|
67
|
-
| `text` | `text` | `
|
|
68
|
-
| `
|
|
69
|
-
| `int` / `small_int` / `bigint` | `integer` / `smallint` / `bigint` | `unique` |
|
|
68
|
+
| `text` | `text` | `unique` + `ore` + `match` | `eql_v3_text_search_ore` |
|
|
69
|
+
| `text` | `text` | `unique` + `ope` + `match` | `eql_v3_text_search` |
|
|
70
|
+
| `text` | `text` | `unique` + `ore` | `eql_v3_text_ord_ore` |
|
|
71
|
+
| `text` | `text` | `match` | `eql_v3_text_match` |
|
|
72
|
+
| `text` | `text` | `unique` | `eql_v3_text_eq` |
|
|
73
|
+
| `int` / `small_int` / `bigint` | `integer` / `smallint` / `bigint` | `ore` (with or without `unique`) | `eql_v3_<family>_ord_ore` |
|
|
74
|
+
| `int` / `small_int` / `bigint` | `integer` / `smallint` / `bigint` | `unique` | `eql_v3_<family>_eq` |
|
|
70
75
|
| `number` / `decimal` / `date` / `timestamp` | `double` / `numeric` / `date` / `timestamp` | as above | as above |
|
|
71
|
-
| any scalar | — | none | storage-only domain (`
|
|
72
|
-
| `boolean` | `boolean` | none only | `
|
|
73
|
-
| `json` | `json` | `ste_vec` (required) | `
|
|
76
|
+
| any scalar | — | none | storage-only domain (`eql_v3_text`, `eql_v3_integer`, …) |
|
|
77
|
+
| `boolean` | `boolean` | none only | `eql_v3_boolean` (storage-only — any index errors) |
|
|
78
|
+
| `json` | `json` | `ste_vec` (required, `compat` mode) | `eql_v3_json` |
|
|
74
79
|
|
|
75
80
|
Notes:
|
|
76
81
|
|
|
77
82
|
- The richest matching domain wins, and it must cover every configured
|
|
78
83
|
capability — a combination that would silently drop a term errors instead
|
|
79
|
-
(e.g. `unique` + `match
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
(e.g. `unique` + `match` or `ore` + `match` on text: no single domain
|
|
85
|
+
carries those term sets, so add the missing index to reach a search
|
|
86
|
+
domain, split the capabilities across columns, or use `eqlVersion: 2`).
|
|
87
|
+
- The two text search domains differ only in the ordering term they carry:
|
|
88
|
+
`eql_v3_text_search_ore` carries `ob` (ORE), `eql_v3_text_search` carries
|
|
89
|
+
`op` (OPE). Configuring both `ore` and `ope` selects the ORE one.
|
|
83
90
|
- Exception: dropping a *term* is fine when the *capability* survives.
|
|
84
91
|
Non-text ordering domains carry only `ob`, so `unique` + `ore` on a
|
|
85
92
|
numeric column drops `hm` — equality still works via the ORE operators.
|
|
86
|
-
- Ordered text requires a `unique` index (`
|
|
87
|
-
carry `hm` + `ob`/`op`); `ore`-only text errors.
|
|
93
|
+
- Ordered text requires a `unique` index (`eql_v3_text_ord_ore` /
|
|
94
|
+
`eql_v3_text_ord_ope` carry `hm` + `ob`/`op`); `ore`-only text errors.
|
|
95
|
+
- A `json` column's `ste_vec` index must use the `compat` mode (the
|
|
96
|
+
`cipherstash-client` default since 0.40.0). v3 orders SteVec entries by
|
|
97
|
+
the CLLW-OPE `op` term; a `standard`-mode index emits CLLW-ORE `oc`, which
|
|
98
|
+
has no mechanical conversion, so such a column errors at config time.
|
|
88
99
|
- `decrypt` accepts **both** formats regardless of `eqlVersion`, so v2 and
|
|
89
100
|
v3 data can coexist during a migration.
|
|
90
|
-
- v3 query encryption
|
|
91
|
-
|
|
92
|
-
|
|
101
|
+
- v3 query encryption returns index-terms-only operands: scalar queries
|
|
102
|
+
produce the column domain's query twin (`{v, i, <terms>}`, no `c`
|
|
103
|
+
ciphertext) — bind with `col = $1::jsonb::eql_v3.query_<name>` (or the
|
|
104
|
+
ordering / `@>` match operator). The operand always carries ALL the
|
|
105
|
+
column domain's terms, whichever `indexType` was queried. JSON
|
|
106
|
+
containment queries produce the `eql_v3.query_jsonb` needle, and
|
|
107
|
+
`ste_vec_selector` queries return the bare selector hash (a string) for
|
|
108
|
+
the `->` / `->>` operators.
|
|
93
109
|
- `ope`-indexed columns map to `<family>_ord_ope` and carry the `op`
|
|
94
110
|
(CLLW-OPE) term (emitted since cipherstash-client 0.38.1).
|
|
95
111
|
|
|
@@ -77,8 +77,15 @@ export function isEncrypted(raw: any): boolean;
|
|
|
77
77
|
/**
|
|
78
78
|
* Construct a [`WasmClient`].
|
|
79
79
|
*
|
|
80
|
-
* `opts.strategy` must be an `@cipherstash/auth`-shaped object — anything
|
|
81
|
-
*
|
|
82
|
-
*
|
|
80
|
+
* `opts.strategy` must be an `@cipherstash/auth`-shaped object — anything with
|
|
81
|
+
* a `getToken()` method returning a `Promise` works. A non-`Promise` return is
|
|
82
|
+
* rejected with `strategy.getToken() did not return a Promise`.
|
|
83
|
+
*
|
|
84
|
+
* The promise may resolve either the bare `{ token: string, ... }` payload
|
|
85
|
+
* (`@cipherstash/auth` <= 0.40 and custom strategies) or a `@byteslice/result`
|
|
86
|
+
* envelope — `{ data: { token, ... } }` on success, `{ failure }` on error
|
|
87
|
+
* (`@cipherstash/auth` >= 0.41). Both are accepted.
|
|
88
|
+
*
|
|
89
|
+
* `strategy` is required: wasm has no env / filesystem fallback path.
|
|
83
90
|
*/
|
|
84
91
|
export function newClient(opts: any): Promise<WasmClient>;
|
|
@@ -237,9 +237,16 @@ export function isEncrypted(raw) {
|
|
|
237
237
|
/**
|
|
238
238
|
* Construct a [`WasmClient`].
|
|
239
239
|
*
|
|
240
|
-
* `opts.strategy` must be an `@cipherstash/auth`-shaped object — anything
|
|
241
|
-
*
|
|
242
|
-
*
|
|
240
|
+
* `opts.strategy` must be an `@cipherstash/auth`-shaped object — anything with
|
|
241
|
+
* a `getToken()` method returning a `Promise` works. A non-`Promise` return is
|
|
242
|
+
* rejected with `strategy.getToken() did not return a Promise`.
|
|
243
|
+
*
|
|
244
|
+
* The promise may resolve either the bare `{ token: string, ... }` payload
|
|
245
|
+
* (`@cipherstash/auth` <= 0.40 and custom strategies) or a `@byteslice/result`
|
|
246
|
+
* envelope — `{ data: { token, ... } }` on success, `{ failure }` on error
|
|
247
|
+
* (`@cipherstash/auth` >= 0.41). Both are accepted.
|
|
248
|
+
*
|
|
249
|
+
* `strategy` is required: wasm has no env / filesystem fallback path.
|
|
243
250
|
* @param {any} opts
|
|
244
251
|
* @returns {Promise<WasmClient>}
|
|
245
252
|
*/
|
|
@@ -592,7 +599,7 @@ export function __wbg_new_typed_aaaeaf29cf802876(arg0, arg1) {
|
|
|
592
599
|
const a = state0.a;
|
|
593
600
|
state0.a = 0;
|
|
594
601
|
try {
|
|
595
|
-
return
|
|
602
|
+
return wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
596
603
|
} finally {
|
|
597
604
|
state0.a = a;
|
|
598
605
|
}
|
|
@@ -784,13 +791,13 @@ export function __wbg_wasmclient_new(arg0) {
|
|
|
784
791
|
return ret;
|
|
785
792
|
}
|
|
786
793
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
787
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
788
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
794
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 935, function: Function { arguments: [], shim_idx: 936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
795
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_4fd6a40e72de90f0___closure__destroy___dyn_core_7d5f0a2ba6a62c33___ops__function__FnMut_____Output_______, wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke_______true_);
|
|
789
796
|
return ret;
|
|
790
797
|
}
|
|
791
798
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
792
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
793
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
799
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 983, function: Function { arguments: [Externref], shim_idx: 984, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
800
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_4fd6a40e72de90f0___closure__destroy___dyn_core_7d5f0a2ba6a62c33___ops__function__FnMut__wasm_bindgen_4fd6a40e72de90f0___JsValue____Output___core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___, wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___wasm_bindgen_4fd6a40e72de90f0___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___true_);
|
|
794
801
|
return ret;
|
|
795
802
|
}
|
|
796
803
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -827,19 +834,19 @@ export function __wbindgen_init_externref_table() {
|
|
|
827
834
|
table.set(offset + 2, true);
|
|
828
835
|
table.set(offset + 3, false);
|
|
829
836
|
}
|
|
830
|
-
function
|
|
831
|
-
wasm.
|
|
837
|
+
function wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
838
|
+
wasm.wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke_______true_(arg0, arg1);
|
|
832
839
|
}
|
|
833
840
|
|
|
834
|
-
function
|
|
835
|
-
const ret = wasm.
|
|
841
|
+
function wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___wasm_bindgen_4fd6a40e72de90f0___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___true_(arg0, arg1, arg2) {
|
|
842
|
+
const ret = wasm.wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___wasm_bindgen_4fd6a40e72de90f0___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___true_(arg0, arg1, arg2);
|
|
836
843
|
if (ret[1]) {
|
|
837
844
|
throw takeFromExternrefTable0(ret[0]);
|
|
838
845
|
}
|
|
839
846
|
}
|
|
840
847
|
|
|
841
|
-
function
|
|
842
|
-
wasm.
|
|
848
|
+
function wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
849
|
+
wasm.wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
843
850
|
}
|
|
844
851
|
|
|
845
852
|
|
|
Binary file
|
|
@@ -15,21 +15,21 @@ export const newClient: (a: any) => any;
|
|
|
15
15
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
16
16
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
17
17
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
18
|
-
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
19
|
-
export const intounderlyingsink_abort: (a: number, b: any) => any;
|
|
20
|
-
export const intounderlyingsink_close: (a: number) => any;
|
|
21
|
-
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
22
18
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
19
|
+
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
23
20
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
24
21
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
25
22
|
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
26
23
|
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
27
24
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
25
|
+
export const intounderlyingsink_abort: (a: number, b: any) => any;
|
|
26
|
+
export const intounderlyingsink_close: (a: number) => any;
|
|
27
|
+
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
28
|
+
export const wasm_bindgen_4fd6a40e72de90f0___closure__destroy___dyn_core_7d5f0a2ba6a62c33___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
|
|
29
|
+
export const wasm_bindgen_4fd6a40e72de90f0___closure__destroy___dyn_core_7d5f0a2ba6a62c33___ops__function__FnMut__wasm_bindgen_4fd6a40e72de90f0___JsValue____Output___core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___: (a: number, b: number) => void;
|
|
30
|
+
export const wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___wasm_bindgen_4fd6a40e72de90f0___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_4fd6a40e72de90f0___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
31
|
+
export const wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined___js_sys_64e80f16f18e69d0___Function_fn_wasm_bindgen_4fd6a40e72de90f0___JsValue_____wasm_bindgen_4fd6a40e72de90f0___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
32
|
+
export const wasm_bindgen_4fd6a40e72de90f0___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
33
33
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
34
34
|
export const __externref_table_alloc: () => number;
|
|
35
35
|
export const __wbindgen_externrefs: WebAssembly.Table;
|