gluesql 0.12.0 → 0.13.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 CHANGED
@@ -22,7 +22,7 @@ npm install gluesql
22
22
 
23
23
  #### JavaScript modules
24
24
  ```javascript
25
- import { gluesql } from 'https://cdn.jsdelivr.net/npm/gluesql@0.12.0/gluesql.js';
25
+ import { gluesql } from 'https://cdn.jsdelivr.net/npm/gluesql@0.13.0/gluesql.js';
26
26
  ```
27
27
 
28
28
  ## Usage
@@ -32,7 +32,7 @@ import { gluesql } from 'gluesql';
32
32
 
33
33
  const db = await gluesql();
34
34
 
35
- db.query(`
35
+ await db.query(`
36
36
  CREATE TABLE User (id INTEGER, name TEXT);
37
37
  INSERT INTO User VALUES (1, "Hello"), (2, "World");
38
38
  `);
@@ -73,7 +73,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
73
73
  return real;
74
74
  }
75
75
  function __wbg_adapter_22(arg0, arg1, arg2) {
76
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he6fde4b2bf3fa88b(arg0, arg1, addHeapObject(arg2));
76
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h219d4f1f418bd857(arg0, arg1, addHeapObject(arg2));
77
77
  }
78
78
 
79
79
  let WASM_VECTOR_LEN = 0;
@@ -151,7 +151,7 @@ function getArrayU8FromWasm0(ptr, len) {
151
151
  return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
152
152
  }
153
153
  function __wbg_adapter_59(arg0, arg1, arg2, arg3) {
154
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h0413e80f631de014(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
154
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h15dfab62720e3232(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
155
155
  }
156
156
 
157
157
  /**
@@ -195,15 +195,6 @@ class Glue {
195
195
  }
196
196
  module.exports.Glue = Glue;
197
197
 
198
- module.exports.__wbindgen_json_parse = function(arg0, arg1) {
199
- const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
200
- return addHeapObject(ret);
201
- };
202
-
203
- module.exports.__wbg_log_9d2d949c4b2a09d3 = function(arg0, arg1) {
204
- console.log(getStringFromWasm0(arg0, arg1));
205
- };
206
-
207
198
  module.exports.__wbindgen_string_new = function(arg0, arg1) {
208
199
  const ret = getStringFromWasm0(arg0, arg1);
209
200
  return addHeapObject(ret);
@@ -213,6 +204,15 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
213
204
  takeObject(arg0);
214
205
  };
215
206
 
207
+ module.exports.__wbg_log_819d5f8ad601b300 = function(arg0, arg1) {
208
+ console.log(getStringFromWasm0(arg0, arg1));
209
+ };
210
+
211
+ module.exports.__wbindgen_json_parse = function(arg0, arg1) {
212
+ const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
213
+ return addHeapObject(ret);
214
+ };
215
+
216
216
  module.exports.__wbg_new_693216e109162396 = function() {
217
217
  const ret = new Error();
218
218
  return addHeapObject(ret);
@@ -303,11 +303,6 @@ module.exports.__wbg_call_ae78342adc33730a = function() { return handleError(fun
303
303
  return addHeapObject(ret);
304
304
  }, arguments) };
305
305
 
306
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
307
- const ret = getObject(arg0);
308
- return addHeapObject(ret);
309
- };
310
-
311
306
  module.exports.__wbg_self_99737b4dcdf6f0d8 = function() { return handleError(function () {
312
307
  const ret = self.self;
313
308
  return addHeapObject(ret);
@@ -406,6 +401,11 @@ module.exports.__wbg_subarray_da527dbd24eafb6b = function(arg0, arg1, arg2) {
406
401
  return addHeapObject(ret);
407
402
  };
408
403
 
404
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
405
+ const ret = getObject(arg0);
406
+ return addHeapObject(ret);
407
+ };
408
+
409
409
  module.exports.__wbindgen_throw = function(arg0, arg1) {
410
410
  throw new Error(getStringFromWasm0(arg0, arg1));
411
411
  };
@@ -415,8 +415,8 @@ module.exports.__wbindgen_memory = function() {
415
415
  return addHeapObject(ret);
416
416
  };
417
417
 
418
- module.exports.__wbindgen_closure_wrapper385 = function(arg0, arg1, arg2) {
419
- const ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_22);
418
+ module.exports.__wbindgen_closure_wrapper432 = function(arg0, arg1, arg2) {
419
+ const ret = makeMutClosure(arg0, arg1, 87, __wbg_adapter_22);
420
420
  return addHeapObject(ret);
421
421
  };
422
422
 
Binary file
@@ -4,7 +4,7 @@
4
4
  "Taehoon Moon <taehoon.moon@outlook.com>"
5
5
  ],
6
6
  "description": "GlueSQL - Open source SQL database engine fully written in Rust with pure functional execution layer, easily swappable storage and web assembly support!",
7
- "version": "0.12.0",
7
+ "version": "0.13.0",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
@@ -71,7 +71,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
71
71
  return real;
72
72
  }
73
73
  function __wbg_adapter_22(arg0, arg1, arg2) {
74
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he6fde4b2bf3fa88b(arg0, arg1, addHeapObject(arg2));
74
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h219d4f1f418bd857(arg0, arg1, addHeapObject(arg2));
75
75
  }
76
76
 
77
77
  let WASM_VECTOR_LEN = 0;
@@ -149,7 +149,7 @@ function getArrayU8FromWasm0(ptr, len) {
149
149
  return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
150
150
  }
151
151
  function __wbg_adapter_59(arg0, arg1, arg2, arg3) {
152
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h0413e80f631de014(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
152
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h15dfab62720e3232(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
153
153
  }
154
154
 
155
155
  /**
@@ -229,13 +229,6 @@ async function init(input) {
229
229
  }
230
230
  const imports = {};
231
231
  imports.wbg = {};
232
- imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {
233
- const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
234
- return addHeapObject(ret);
235
- };
236
- imports.wbg.__wbg_log_9d2d949c4b2a09d3 = function(arg0, arg1) {
237
- console.log(getStringFromWasm0(arg0, arg1));
238
- };
239
232
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
240
233
  const ret = getStringFromWasm0(arg0, arg1);
241
234
  return addHeapObject(ret);
@@ -243,6 +236,13 @@ async function init(input) {
243
236
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
244
237
  takeObject(arg0);
245
238
  };
239
+ imports.wbg.__wbg_log_819d5f8ad601b300 = function(arg0, arg1) {
240
+ console.log(getStringFromWasm0(arg0, arg1));
241
+ };
242
+ imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {
243
+ const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
244
+ return addHeapObject(ret);
245
+ };
246
246
  imports.wbg.__wbg_new_693216e109162396 = function() {
247
247
  const ret = new Error();
248
248
  return addHeapObject(ret);
@@ -317,10 +317,6 @@ async function init(input) {
317
317
  const ret = getObject(arg0).call(getObject(arg1));
318
318
  return addHeapObject(ret);
319
319
  }, arguments) };
320
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
321
- const ret = getObject(arg0);
322
- return addHeapObject(ret);
323
- };
324
320
  imports.wbg.__wbg_self_99737b4dcdf6f0d8 = function() { return handleError(function () {
325
321
  const ret = self.self;
326
322
  return addHeapObject(ret);
@@ -402,6 +398,10 @@ async function init(input) {
402
398
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
403
399
  return addHeapObject(ret);
404
400
  };
401
+ imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
402
+ const ret = getObject(arg0);
403
+ return addHeapObject(ret);
404
+ };
405
405
  imports.wbg.__wbindgen_throw = function(arg0, arg1) {
406
406
  throw new Error(getStringFromWasm0(arg0, arg1));
407
407
  };
@@ -409,8 +409,8 @@ async function init(input) {
409
409
  const ret = wasm.memory;
410
410
  return addHeapObject(ret);
411
411
  };
412
- imports.wbg.__wbindgen_closure_wrapper385 = function(arg0, arg1, arg2) {
413
- const ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_22);
412
+ imports.wbg.__wbindgen_closure_wrapper432 = function(arg0, arg1, arg2) {
413
+ const ret = makeMutClosure(arg0, arg1, 87, __wbg_adapter_22);
414
414
  return addHeapObject(ret);
415
415
  };
416
416
 
Binary file
@@ -4,7 +4,7 @@
4
4
  "Taehoon Moon <taehoon.moon@outlook.com>"
5
5
  ],
6
6
  "description": "GlueSQL - Open source SQL database engine fully written in Rust with pure functional execution layer, easily swappable storage and web assembly support!",
7
- "version": "0.12.0",
7
+ "version": "0.13.0",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",