pshenmic-dpp 1.0.11 → 1.0.12

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.
@@ -1497,20 +1497,8 @@ export class IdentityWASM {
1497
1497
  * @returns {IdentityWASM}
1498
1498
  */
1499
1499
  constructor(js_identifier: any);
1500
- /** @param {any} js_identifier */
1501
- setId(js_identifier: any): void;
1502
- /** @param {bigint} balance */
1503
- setBalance(balance: bigint): void;
1504
- /** @param {bigint} revision */
1505
- setRevision(revision: bigint): void;
1506
1500
  /** @param {IdentityPublicKeyWASM} public_key */
1507
1501
  addPublicKey(public_key: IdentityPublicKeyWASM): void;
1508
- /** @returns {IdentifierWASM} */
1509
- getId(): IdentifierWASM;
1510
- /** @returns {bigint} */
1511
- getBalance(): bigint;
1512
- /** @returns {bigint} */
1513
- getRevision(): bigint;
1514
1502
  /**
1515
1503
  * @param {number} key_id
1516
1504
  * @returns {IdentityPublicKeyWASM}
@@ -1540,6 +1528,10 @@ export class IdentityWASM {
1540
1528
  */
1541
1529
  static fromBytes(bytes: Uint8Array): IdentityWASM;
1542
1530
  readonly __type: string;
1531
+ get id(): IdentifierWASM;
1532
+ set id(value: any);
1533
+ balance: bigint;
1534
+ revision: bigint;
1543
1535
  }
1544
1536
  export class InstantAssetLockProofWASM {
1545
1537
  /** @ignore */
@@ -2834,13 +2826,13 @@ export interface InitOutput {
2834
2826
  readonly __wbg_identitywasm_free: (a: number, b: number) => void;
2835
2827
  readonly identitywasm_type_name: (a: number, b: number) => void;
2836
2828
  readonly identitywasm_new: (a: number, b: number) => void;
2837
- readonly identitywasm_setId: (a: number, b: number, c: number) => void;
2838
- readonly identitywasm_setBalance: (a: number, b: bigint) => void;
2839
- readonly identitywasm_setRevision: (a: number, b: bigint) => void;
2829
+ readonly identitywasm_set_id: (a: number, b: number, c: number) => void;
2830
+ readonly identitywasm_set_balance: (a: number, b: bigint) => void;
2831
+ readonly identitywasm_set_revision: (a: number, b: bigint) => void;
2840
2832
  readonly identitywasm_addPublicKey: (a: number, b: number) => void;
2841
- readonly identitywasm_getId: (a: number) => number;
2842
- readonly identitywasm_getBalance: (a: number) => bigint;
2843
- readonly identitywasm_getRevision: (a: number) => bigint;
2833
+ readonly identitywasm_get_id: (a: number) => number;
2834
+ readonly identitywasm_get_balance: (a: number) => bigint;
2835
+ readonly identitywasm_get_revision: (a: number) => bigint;
2844
2836
  readonly identitywasm_getPublicKeyById: (a: number, b: number) => number;
2845
2837
  readonly identitywasm_getPublicKeys: (a: number, b: number) => void;
2846
2838
  readonly identitywasm_fromHex: (a: number, b: number, c: number) => void;
@@ -9620,10 +9620,10 @@ export class IdentityWASM {
9620
9620
  /**
9621
9621
  * @param {any} js_identifier
9622
9622
  */
9623
- setId(js_identifier) {
9623
+ set id(js_identifier) {
9624
9624
  try {
9625
9625
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9626
- wasm.identitywasm_setId(retptr, this.__wbg_ptr, addBorrowedObject(js_identifier));
9626
+ wasm.identitywasm_set_id(retptr, this.__wbg_ptr, addBorrowedObject(js_identifier));
9627
9627
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9628
9628
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9629
9629
  if (r1) {
@@ -9637,14 +9637,14 @@ export class IdentityWASM {
9637
9637
  /**
9638
9638
  * @param {bigint} balance
9639
9639
  */
9640
- setBalance(balance) {
9641
- wasm.identitywasm_setBalance(this.__wbg_ptr, balance);
9640
+ set balance(balance) {
9641
+ wasm.identitywasm_set_balance(this.__wbg_ptr, balance);
9642
9642
  }
9643
9643
  /**
9644
9644
  * @param {bigint} revision
9645
9645
  */
9646
- setRevision(revision) {
9647
- wasm.identitywasm_setRevision(this.__wbg_ptr, revision);
9646
+ set revision(revision) {
9647
+ wasm.identitywasm_set_revision(this.__wbg_ptr, revision);
9648
9648
  }
9649
9649
  /**
9650
9650
  * @param {IdentityPublicKeyWASM} public_key
@@ -9656,22 +9656,22 @@ export class IdentityWASM {
9656
9656
  /**
9657
9657
  * @returns {IdentifierWASM}
9658
9658
  */
9659
- getId() {
9660
- const ret = wasm.identitywasm_getId(this.__wbg_ptr);
9659
+ get id() {
9660
+ const ret = wasm.identitywasm_get_id(this.__wbg_ptr);
9661
9661
  return IdentifierWASM.__wrap(ret);
9662
9662
  }
9663
9663
  /**
9664
9664
  * @returns {bigint}
9665
9665
  */
9666
- getBalance() {
9667
- const ret = wasm.identitywasm_getBalance(this.__wbg_ptr);
9666
+ get balance() {
9667
+ const ret = wasm.identitywasm_get_balance(this.__wbg_ptr);
9668
9668
  return BigInt.asUintN(64, ret);
9669
9669
  }
9670
9670
  /**
9671
9671
  * @returns {bigint}
9672
9672
  */
9673
- getRevision() {
9674
- const ret = wasm.identitywasm_getRevision(this.__wbg_ptr);
9673
+ get revision() {
9674
+ const ret = wasm.identitywasm_get_revision(this.__wbg_ptr);
9675
9675
  return BigInt.asUintN(64, ret);
9676
9676
  }
9677
9677
  /**