[TS] Update auto-generated TypeScript Bindings
[ldk-java] / ts / structs / MonitorUpdateId.mts
index 7ed27f2762f4300303177550471ae57fb7becaf1..030a25b9419247b71bb4e4f211cb7a66d8709d36 100644 (file)
@@ -279,9 +279,11 @@ import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
 
 import CommonBase from './CommonBase.mjs';
 import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
 
 
+/**
+ * An opaque identifier describing a specific [`Persist`] method call.
+ */
 export class MonitorUpdateId extends CommonBase {
        /* @internal */
        public constructor(_dummy: object, ptr: number) {
@@ -293,6 +295,9 @@ export class MonitorUpdateId extends CommonBase {
                return ret;
        }
 
+       /**
+        * Creates a copy of the MonitorUpdateId
+        */
        public clone(): MonitorUpdateId {
                const ret: number = bindings.MonitorUpdateId_clone(this.ptr);
                const ret_hu_conv: MonitorUpdateId = new MonitorUpdateId(null, ret);
@@ -300,11 +305,19 @@ export class MonitorUpdateId extends CommonBase {
                return ret_hu_conv;
        }
 
-       public hash(): number {
-               const ret: number = bindings.MonitorUpdateId_hash(this.ptr);
+       /**
+        * Checks if two MonitorUpdateIds contain equal inner contents.
+        */
+       public hash(): bigint {
+               const ret: bigint = bindings.MonitorUpdateId_hash(this.ptr);
                return ret;
        }
 
+       /**
+        * Checks if two MonitorUpdateIds contain equal inner contents.
+        * This ignores pointers and is_owned flags and looks at the values in fields.
+        * Two objects with NULL inner values will be considered "equal" here.
+        */
        public eq(b: MonitorUpdateId): boolean {
                const ret: boolean = bindings.MonitorUpdateId_eq(this.ptr, b == null ? 0 : CommonBase.get_ptr_of(b) & ~1);
                CommonBase.add_ref_from(this, b);