jazz-wasm 2.0.0-alpha.31 → 2.0.0-alpha.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jazz-wasm",
3
- "version": "2.0.0-alpha.31",
3
+ "version": "2.0.0-alpha.33",
4
4
  "description": "WebAssembly bindings for the Jazz database engine",
5
5
  "keywords": [
6
6
  "crdt",
@@ -203,7 +203,7 @@ export class WasmRuntime {
203
203
  /**
204
204
  * Insert a row and return a Promise that resolves when the tier acks.
205
205
  *
206
- * `tier` must be one of: "worker", "edge", "global".
206
+ * `tier` must be one of: "local", "edge", "global".
207
207
  */
208
208
  insertDurable(table: string, values: any, tier: string, object_id?: string | null): Promise<any>;
209
209
  /**
@@ -239,7 +239,7 @@ export class WasmRuntime {
239
239
  * * `app_id` - Application identifier
240
240
  * * `env` - Environment (e.g., "dev", "prod")
241
241
  * * `user_branch` - User's branch name (e.g., "main")
242
- * * `tier` - Optional node durability tier ("worker", "edge", "global").
242
+ * * `tier` - Optional node durability tier ("local", "edge", "global").
243
243
  * Set for server nodes to enable ack emission.
244
244
  * * `use_binary_encoding` - Optional outgoing sync payload encoding mode.
245
245
  * `Some(true)` emits postcard bytes (`Uint8Array`), otherwise JSON strings.
package/pkg/jazz_wasm.js CHANGED
@@ -676,7 +676,7 @@ export class WasmRuntime {
676
676
  /**
677
677
  * Insert a row and return a Promise that resolves when the tier acks.
678
678
  *
679
- * `tier` must be one of: "worker", "edge", "global".
679
+ * `tier` must be one of: "local", "edge", "global".
680
680
  * @param {string} table
681
681
  * @param {any} values
682
682
  * @param {string} tier
@@ -846,7 +846,7 @@ export class WasmRuntime {
846
846
  * * `app_id` - Application identifier
847
847
  * * `env` - Environment (e.g., "dev", "prod")
848
848
  * * `user_branch` - User's branch name (e.g., "main")
849
- * * `tier` - Optional node durability tier ("worker", "edge", "global").
849
+ * * `tier` - Optional node durability tier ("local", "edge", "global").
850
850
  * Set for server nodes to enable ack emission.
851
851
  * * `use_binary_encoding` - Optional outgoing sync payload encoding mode.
852
852
  * `Some(true)` emits postcard bytes (`Uint8Array`), otherwise JSON strings.
@@ -2145,12 +2145,12 @@ function __wbg_get_imports() {
2145
2145
  return ret;
2146
2146
  }, arguments); },
2147
2147
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2148
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3145, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2148
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3144, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2149
2149
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h656199c36535c3e6);
2150
2150
  return ret;
2151
2151
  },
2152
2152
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2153
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 549, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2153
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 522, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2154
2154
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hf7ddf3622752ec36);
2155
2155
  return ret;
2156
2156
  },
@@ -2160,7 +2160,7 @@ function __wbg_get_imports() {
2160
2160
  return ret;
2161
2161
  },
2162
2162
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
2163
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1271, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2163
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1270, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2164
2164
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h03757a48b3eba690);
2165
2165
  return ret;
2166
2166
  },
Binary file