@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.
Files changed (152) hide show
  1. package/README.md +34 -18
  2. package/dist/wasm/protect_ffi.d.ts +10 -3
  3. package/dist/wasm/protect_ffi_bg.js +21 -14
  4. package/dist/wasm/protect_ffi_bg.wasm +0 -0
  5. package/dist/wasm/protect_ffi_bg.wasm.d.ts +9 -9
  6. package/dist/wasm/protect_ffi_inline.js +1 -1
  7. package/lib/eql-v3-types/Bigint.d.ts +1 -1
  8. package/lib/eql-v3-types/BigintEq.d.ts +1 -1
  9. package/lib/eql-v3-types/BigintEqQuery.d.ts +13 -0
  10. package/lib/eql-v3-types/BigintEqQuery.js +2 -0
  11. package/lib/eql-v3-types/BigintOrd.d.ts +4 -4
  12. package/lib/eql-v3-types/BigintOrdOpe.d.ts +1 -1
  13. package/lib/eql-v3-types/BigintOrdOpeQuery.d.ts +13 -0
  14. package/lib/eql-v3-types/BigintOrdOpeQuery.js +2 -0
  15. package/lib/eql-v3-types/BigintOrdOre.d.ts +1 -1
  16. package/lib/eql-v3-types/BigintOrdOreQuery.d.ts +13 -0
  17. package/lib/eql-v3-types/BigintOrdOreQuery.js +2 -0
  18. package/lib/eql-v3-types/BigintOrdQuery.d.ts +13 -0
  19. package/lib/eql-v3-types/BigintOrdQuery.js +2 -0
  20. package/lib/eql-v3-types/Boolean.d.ts +1 -1
  21. package/lib/eql-v3-types/Date.d.ts +1 -1
  22. package/lib/eql-v3-types/DateEq.d.ts +1 -1
  23. package/lib/eql-v3-types/DateEqQuery.d.ts +13 -0
  24. package/lib/eql-v3-types/DateEqQuery.js +2 -0
  25. package/lib/eql-v3-types/DateOrd.d.ts +4 -4
  26. package/lib/eql-v3-types/DateOrdOpe.d.ts +1 -1
  27. package/lib/eql-v3-types/DateOrdOpeQuery.d.ts +13 -0
  28. package/lib/eql-v3-types/DateOrdOpeQuery.js +2 -0
  29. package/lib/eql-v3-types/DateOrdOre.d.ts +1 -1
  30. package/lib/eql-v3-types/DateOrdOreQuery.d.ts +13 -0
  31. package/lib/eql-v3-types/DateOrdOreQuery.js +2 -0
  32. package/lib/eql-v3-types/DateOrdQuery.d.ts +13 -0
  33. package/lib/eql-v3-types/DateOrdQuery.js +2 -0
  34. package/lib/eql-v3-types/Double.d.ts +1 -1
  35. package/lib/eql-v3-types/DoubleEq.d.ts +1 -1
  36. package/lib/eql-v3-types/DoubleEqQuery.d.ts +13 -0
  37. package/lib/eql-v3-types/DoubleEqQuery.js +2 -0
  38. package/lib/eql-v3-types/DoubleOrd.d.ts +4 -4
  39. package/lib/eql-v3-types/DoubleOrdOpe.d.ts +1 -1
  40. package/lib/eql-v3-types/DoubleOrdOpeQuery.d.ts +13 -0
  41. package/lib/eql-v3-types/DoubleOrdOpeQuery.js +2 -0
  42. package/lib/eql-v3-types/DoubleOrdOre.d.ts +1 -1
  43. package/lib/eql-v3-types/DoubleOrdOreQuery.d.ts +13 -0
  44. package/lib/eql-v3-types/DoubleOrdOreQuery.js +2 -0
  45. package/lib/eql-v3-types/DoubleOrdQuery.d.ts +13 -0
  46. package/lib/eql-v3-types/DoubleOrdQuery.js +2 -0
  47. package/lib/eql-v3-types/Integer.d.ts +1 -1
  48. package/lib/eql-v3-types/IntegerEq.d.ts +1 -1
  49. package/lib/eql-v3-types/IntegerEqQuery.d.ts +13 -0
  50. package/lib/eql-v3-types/IntegerEqQuery.js +2 -0
  51. package/lib/eql-v3-types/IntegerOrd.d.ts +4 -4
  52. package/lib/eql-v3-types/IntegerOrdOpe.d.ts +1 -1
  53. package/lib/eql-v3-types/IntegerOrdOpeQuery.d.ts +13 -0
  54. package/lib/eql-v3-types/IntegerOrdOpeQuery.js +2 -0
  55. package/lib/eql-v3-types/IntegerOrdOre.d.ts +1 -1
  56. package/lib/eql-v3-types/IntegerOrdOreQuery.d.ts +13 -0
  57. package/lib/eql-v3-types/IntegerOrdOreQuery.js +2 -0
  58. package/lib/eql-v3-types/IntegerOrdQuery.d.ts +13 -0
  59. package/lib/eql-v3-types/IntegerOrdQuery.js +2 -0
  60. package/lib/eql-v3-types/Numeric.d.ts +1 -1
  61. package/lib/eql-v3-types/NumericEq.d.ts +1 -1
  62. package/lib/eql-v3-types/NumericEqQuery.d.ts +13 -0
  63. package/lib/eql-v3-types/NumericEqQuery.js +2 -0
  64. package/lib/eql-v3-types/NumericOrd.d.ts +4 -4
  65. package/lib/eql-v3-types/NumericOrdOpe.d.ts +1 -1
  66. package/lib/eql-v3-types/NumericOrdOpeQuery.d.ts +13 -0
  67. package/lib/eql-v3-types/NumericOrdOpeQuery.js +2 -0
  68. package/lib/eql-v3-types/NumericOrdOre.d.ts +1 -1
  69. package/lib/eql-v3-types/NumericOrdOreQuery.d.ts +13 -0
  70. package/lib/eql-v3-types/NumericOrdOreQuery.js +2 -0
  71. package/lib/eql-v3-types/NumericOrdQuery.d.ts +13 -0
  72. package/lib/eql-v3-types/NumericOrdQuery.js +2 -0
  73. package/lib/eql-v3-types/OpeCllw.d.ts +9 -6
  74. package/lib/eql-v3-types/OreBlock256.d.ts +4 -4
  75. package/lib/eql-v3-types/Real.d.ts +1 -1
  76. package/lib/eql-v3-types/RealEq.d.ts +1 -1
  77. package/lib/eql-v3-types/RealEqQuery.d.ts +13 -0
  78. package/lib/eql-v3-types/RealEqQuery.js +2 -0
  79. package/lib/eql-v3-types/RealOrd.d.ts +4 -4
  80. package/lib/eql-v3-types/RealOrdOpe.d.ts +1 -1
  81. package/lib/eql-v3-types/RealOrdOpeQuery.d.ts +13 -0
  82. package/lib/eql-v3-types/RealOrdOpeQuery.js +2 -0
  83. package/lib/eql-v3-types/RealOrdOre.d.ts +1 -1
  84. package/lib/eql-v3-types/RealOrdOreQuery.d.ts +13 -0
  85. package/lib/eql-v3-types/RealOrdOreQuery.js +2 -0
  86. package/lib/eql-v3-types/RealOrdQuery.d.ts +13 -0
  87. package/lib/eql-v3-types/RealOrdQuery.js +2 -0
  88. package/lib/eql-v3-types/Selector.d.ts +1 -1
  89. package/lib/eql-v3-types/Smallint.d.ts +1 -1
  90. package/lib/eql-v3-types/SmallintEq.d.ts +1 -1
  91. package/lib/eql-v3-types/SmallintEqQuery.d.ts +13 -0
  92. package/lib/eql-v3-types/SmallintEqQuery.js +2 -0
  93. package/lib/eql-v3-types/SmallintOrd.d.ts +4 -4
  94. package/lib/eql-v3-types/SmallintOrdOpe.d.ts +1 -1
  95. package/lib/eql-v3-types/SmallintOrdOpeQuery.d.ts +13 -0
  96. package/lib/eql-v3-types/SmallintOrdOpeQuery.js +2 -0
  97. package/lib/eql-v3-types/SmallintOrdOre.d.ts +1 -1
  98. package/lib/eql-v3-types/SmallintOrdOreQuery.d.ts +13 -0
  99. package/lib/eql-v3-types/SmallintOrdOreQuery.js +2 -0
  100. package/lib/eql-v3-types/SmallintOrdQuery.d.ts +13 -0
  101. package/lib/eql-v3-types/SmallintOrdQuery.js +2 -0
  102. package/lib/eql-v3-types/SteVecDocument.d.ts +1 -1
  103. package/lib/eql-v3-types/SteVecEntry.d.ts +4 -4
  104. package/lib/eql-v3-types/SteVecQuery.d.ts +1 -1
  105. package/lib/eql-v3-types/SteVecQueryEntry.d.ts +2 -2
  106. package/lib/eql-v3-types/SteVecTerm.d.ts +4 -4
  107. package/lib/eql-v3-types/Text.d.ts +1 -1
  108. package/lib/eql-v3-types/TextEq.d.ts +1 -1
  109. package/lib/eql-v3-types/TextEqQuery.d.ts +13 -0
  110. package/lib/eql-v3-types/TextEqQuery.js +2 -0
  111. package/lib/eql-v3-types/TextMatch.d.ts +1 -1
  112. package/lib/eql-v3-types/TextMatchQuery.d.ts +13 -0
  113. package/lib/eql-v3-types/TextMatchQuery.js +2 -0
  114. package/lib/eql-v3-types/TextOrd.d.ts +4 -4
  115. package/lib/eql-v3-types/TextOrdOpe.d.ts +1 -1
  116. package/lib/eql-v3-types/TextOrdOpeQuery.d.ts +15 -0
  117. package/lib/eql-v3-types/TextOrdOpeQuery.js +2 -0
  118. package/lib/eql-v3-types/TextOrdOre.d.ts +1 -1
  119. package/lib/eql-v3-types/TextOrdOreQuery.d.ts +15 -0
  120. package/lib/eql-v3-types/TextOrdOreQuery.js +2 -0
  121. package/lib/eql-v3-types/TextOrdQuery.d.ts +15 -0
  122. package/lib/eql-v3-types/TextOrdQuery.js +2 -0
  123. package/lib/eql-v3-types/TextSearch.d.ts +4 -4
  124. package/lib/eql-v3-types/TextSearchOre.d.ts +19 -0
  125. package/lib/eql-v3-types/TextSearchOre.js +2 -0
  126. package/lib/eql-v3-types/TextSearchOreQuery.d.ts +17 -0
  127. package/lib/eql-v3-types/TextSearchOreQuery.js +2 -0
  128. package/lib/eql-v3-types/TextSearchQuery.d.ts +17 -0
  129. package/lib/eql-v3-types/TextSearchQuery.js +2 -0
  130. package/lib/eql-v3-types/Timestamp.d.ts +1 -1
  131. package/lib/eql-v3-types/TimestampEq.d.ts +1 -1
  132. package/lib/eql-v3-types/TimestampEqQuery.d.ts +13 -0
  133. package/lib/eql-v3-types/TimestampEqQuery.js +2 -0
  134. package/lib/eql-v3-types/TimestampOrd.d.ts +4 -4
  135. package/lib/eql-v3-types/TimestampOrdOpe.d.ts +1 -1
  136. package/lib/eql-v3-types/TimestampOrdOpeQuery.d.ts +13 -0
  137. package/lib/eql-v3-types/TimestampOrdOpeQuery.js +2 -0
  138. package/lib/eql-v3-types/TimestampOrdOre.d.ts +1 -1
  139. package/lib/eql-v3-types/TimestampOrdOreQuery.d.ts +13 -0
  140. package/lib/eql-v3-types/TimestampOrdOreQuery.js +2 -0
  141. package/lib/eql-v3-types/TimestampOrdQuery.d.ts +13 -0
  142. package/lib/eql-v3-types/TimestampOrdQuery.js +2 -0
  143. package/lib/eql-v3.d.ts +63 -7
  144. package/lib/errors.d.ts +1 -1
  145. package/lib/errors.js +0 -4
  146. package/lib/index.cjs +12 -7
  147. package/lib/index.d.cts +68 -24
  148. package/lib/normalizeEncryptConfig.d.ts +2 -1
  149. package/lib/normalizeEncryptConfig.js +2 -1
  150. package/package.json +7 -7
  151. package/lib/eql-v3-types/OreCllw.d.ts +0 -7
  152. 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` | `text_search` |
65
- | `text` | `text` | `unique` + `ore` | `text_ord_ore` |
66
- | `text` | `text` | `match` | `text_match` |
67
- | `text` | `text` | `unique` | `text_eq` |
68
- | `int` / `small_int` / `bigint` | `integer` / `smallint` / `bigint` | `ore` (with or without `unique`) | `<family>_ord_ore` |
69
- | `int` / `small_int` / `bigint` | `integer` / `smallint` / `bigint` | `unique` | `<family>_eq` |
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 (`text`, `integer`, …) |
72
- | `boolean` | `boolean` | none only | `boolean` (storage-only — any index errors) |
73
- | `json` | `json` | `ste_vec` (required) | `json` |
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`, `unique` + `ope` + `match`, or `ore` + `match`
80
- on text: no single domain carries those term sets, so add the missing
81
- index to reach `text_search`, split the capabilities across columns, or
82
- use `eqlVersion: 2`).
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 (`text_ord_ore`/`text_ord_ope`
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 currently supports JSON containment only; scalar and
91
- selector queries throw `EQL_V3_QUERY_UNSUPPORTED` and need an
92
- `eqlVersion: 2` client.
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
- * with a `getToken(): Promise<{ token: string, ... }>` method works. It is
82
- * required: wasm has no env / filesystem fallback path.
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
- * with a `getToken(): Promise<{ token: string, ... }>` method works. It is
242
- * required: wasm has no env / filesystem fallback path.
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 wasm_bindgen__convert__closures_____invoke__h0cb80728b35f261e(a, state0.b, arg0, arg1);
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: 893, function: Function { arguments: [], shim_idx: 894, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
788
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9dedd770edb0aa1, wasm_bindgen__convert__closures_____invoke__h8b170b34f8b593df);
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: 946, function: Function { arguments: [Externref], shim_idx: 947, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
793
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h94971d029da3e81d, wasm_bindgen__convert__closures_____invoke__hacad64c6c6b78997);
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 wasm_bindgen__convert__closures_____invoke__h8b170b34f8b593df(arg0, arg1) {
831
- wasm.wasm_bindgen__convert__closures_____invoke__h8b170b34f8b593df(arg0, arg1);
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 wasm_bindgen__convert__closures_____invoke__hacad64c6c6b78997(arg0, arg1, arg2) {
835
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hacad64c6c6b78997(arg0, arg1, arg2);
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 wasm_bindgen__convert__closures_____invoke__h0cb80728b35f261e(arg0, arg1, arg2, arg3) {
842
- wasm.wasm_bindgen__convert__closures_____invoke__h0cb80728b35f261e(arg0, arg1, arg2, arg3);
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 wasm_bindgen__closure__destroy__hd9dedd770edb0aa1: (a: number, b: number) => void;
29
- export const wasm_bindgen__closure__destroy__h94971d029da3e81d: (a: number, b: number) => void;
30
- export const wasm_bindgen__convert__closures_____invoke__hacad64c6c6b78997: (a: number, b: number, c: any) => [number, number];
31
- export const wasm_bindgen__convert__closures_____invoke__h0cb80728b35f261e: (a: number, b: number, c: any, d: any) => void;
32
- export const wasm_bindgen__convert__closures_____invoke__h8b170b34f8b593df: (a: number, b: number) => void;
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;