Update auto-generated bindings
[ldk-java] / ts / structs / NodeFeatures.ts
index 13652f14d720313d86d2b5443342e64ec9770bf6..d1427d1a20d5fcd4db84906545b19ba502705368 100644 (file)
@@ -18,6 +18,12 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.NodeFeatures_free(this.ptr);
                     }
                 }
+       public boolean eq(NodeFeatures b) {
+               boolean ret = bindings.NodeFeatures_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
        public NodeFeatures clone() {
                number ret = bindings.NodeFeatures_clone(this.ptr);
                const ret_hu_conv: NodeFeatures = new NodeFeatures(null, ret);
@@ -39,6 +45,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public boolean supports_payment_secret() {
+               boolean ret = bindings.NodeFeatures_supports_payment_secret(this.ptr);
+               return ret;
+       }
+
        public Uint8Array write() {
                Uint8Array ret = bindings.NodeFeatures_write(this.ptr);
                return ret;