@diaryx/wasm-node 1.0.0 → 1.0.1-dev.54e869b

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/diaryx_wasm.d.ts CHANGED
@@ -459,9 +459,12 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
459
459
 
460
460
  export interface InitOutput {
461
461
  readonly memory: WebAssembly.Memory;
462
+ readonly now_timestamp: () => [number, number];
463
+ readonly today_formatted: (a: number, b: number) => [number, number];
462
464
  readonly __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
463
465
  readonly jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
464
466
  readonly jsasyncfilesystem_new: (a: any) => number;
467
+ readonly init: () => void;
465
468
  readonly __wbg_diaryxbackend_free: (a: number, b: number) => void;
466
469
  readonly __wbg_wasmsyncclient_free: (a: number, b: number) => void;
467
470
  readonly diaryxbackend_create: (a: number, b: number) => any;
@@ -497,9 +500,6 @@ export interface InitOutput {
497
500
  readonly wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
498
501
  readonly wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
499
502
  readonly wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
500
- readonly now_timestamp: () => [number, number];
501
- readonly today_formatted: (a: number, b: number) => [number, number];
502
- readonly init: () => void;
503
503
  readonly wasm_bindgen__closure__destroy__h358403ff5b31de35: (a: number, b: number) => void;
504
504
  readonly wasm_bindgen__convert__closures_____invoke__h9824f9855d7aa260: (a: number, b: number, c: any, d: any) => void;
505
505
  readonly wasm_bindgen__convert__closures_____invoke__h4b881ac518a5291a: (a: number, b: number, c: any) => void;
package/diaryx_wasm.js CHANGED
@@ -1003,7 +1003,7 @@ function __wbg_get_imports() {
1003
1003
  console.warn(arg0, arg1, arg2, arg3);
1004
1004
  },
1005
1005
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1006
- // Cast intrinsic for `Closure(Closure { dtor_idx: 613, function: Function { arguments: [Externref], shim_idx: 614, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1006
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 614, function: Function { arguments: [Externref], shim_idx: 615, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1007
1007
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h358403ff5b31de35, wasm_bindgen__convert__closures_____invoke__h4b881ac518a5291a);
1008
1008
  return ret;
1009
1009
  },
Binary file
@@ -1,9 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const now_timestamp: () => [number, number];
5
+ export const today_formatted: (a: number, b: number) => [number, number];
4
6
  export const __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
5
7
  export const jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
6
8
  export const jsasyncfilesystem_new: (a: any) => number;
9
+ export const init: () => void;
7
10
  export const __wbg_diaryxbackend_free: (a: number, b: number) => void;
8
11
  export const __wbg_wasmsyncclient_free: (a: number, b: number) => void;
9
12
  export const diaryxbackend_create: (a: number, b: number) => any;
@@ -39,9 +42,6 @@ export const wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
39
42
  export const wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
40
43
  export const wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
41
44
  export const wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
42
- export const now_timestamp: () => [number, number];
43
- export const today_formatted: (a: number, b: number) => [number, number];
44
- export const init: () => void;
45
45
  export const wasm_bindgen__closure__destroy__h358403ff5b31de35: (a: number, b: number) => void;
46
46
  export const wasm_bindgen__convert__closures_____invoke__h9824f9855d7aa260: (a: number, b: number, c: any, d: any) => void;
47
47
  export const wasm_bindgen__convert__closures_____invoke__h4b881ac518a5291a: (a: number, b: number, c: any) => void;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@diaryx/wasm-node",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for Diaryx core functionality",
5
- "version": "1.0.0",
5
+ "version": "1.0.1-dev.54e869b",
6
6
  "license": "SEE LICENSE IN ../../LICENSE.md",
7
7
  "repository": {
8
8
  "type": "git",