@partisiablockchain/abi-client 5.44.0 → 5.48.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.
Files changed (56) hide show
  1. package/package.json +13 -13
  2. package/target/main/BigEndianReader.d.ts +0 -1
  3. package/target/main/HashMap.d.ts +4 -4
  4. package/target/main/RealBinderInvocationDeserialization.d.ts +0 -1
  5. package/target/main/TransactionAndEventDeserialization.d.ts +0 -1
  6. package/target/main/abiinput/AbiInput.d.ts +0 -1
  7. package/target/main/abiinput/AbiInputBits.d.ts +0 -1
  8. package/target/main/abiinput/AbiInputBytes.d.ts +0 -1
  9. package/target/main/abioutput/AbiOutput.d.ts +0 -1
  10. package/target/main/abioutput/AbiOutputBits.d.ts +0 -1
  11. package/target/main/abioutput/AbiOutputBytes.d.ts +0 -1
  12. package/target/main/builder/AbstractBuilder.d.ts +0 -1
  13. package/target/main/builder/AddressProducer.d.ts +0 -1
  14. package/target/main/builder/BlsPublicKeyProducer.d.ts +0 -1
  15. package/target/main/builder/BlsSignatureProducer.d.ts +0 -1
  16. package/target/main/builder/HashProducer.d.ts +0 -1
  17. package/target/main/builder/PublicKeyProducer.d.ts +0 -1
  18. package/target/main/builder/SignatureProducer.d.ts +0 -1
  19. package/target/main/codegen-lib/AbiByteInput.d.ts +0 -1
  20. package/target/main/codegen-lib/AbiByteOutput.d.ts +0 -1
  21. package/target/main/codegen-lib/AvlTreeMap.d.ts +0 -1
  22. package/target/main/codegen-lib/BlockchainAddress.d.ts +0 -1
  23. package/target/main/codegen-lib/BlockchainPublicKey.d.ts +0 -1
  24. package/target/main/codegen-lib/BlockchainStateClient.d.ts +0 -1
  25. package/target/main/codegen-lib/BlsPublicKey.d.ts +0 -1
  26. package/target/main/codegen-lib/BlsSignature.d.ts +0 -1
  27. package/target/main/codegen-lib/Hash.d.ts +0 -1
  28. package/target/main/codegen-lib/Signature.d.ts +0 -1
  29. package/target/main/codegen-lib/types.d.ts +0 -1
  30. package/target/main/parser/AbiParser.d.ts +0 -1
  31. package/target/main/parser/ContractAbi.d.ts +0 -1
  32. package/target/main/parser/FnKinds.js +2 -2
  33. package/target/main/parser/FnKinds.js.map +1 -1
  34. package/target/main/rpc/FnRpcBuilder.d.ts +0 -1
  35. package/target/main/rpc/FnRpcProducer.d.ts +0 -1
  36. package/target/main/rpc/RealBinderInvocationReader.d.ts +0 -1
  37. package/target/main/rpc/RpcReader.d.ts +0 -1
  38. package/target/main/state/StateBuilder.d.ts +0 -1
  39. package/target/main/state/StateReader.d.ts +0 -1
  40. package/target/main/transaction/TransactionBuilder.d.ts +0 -1
  41. package/target/main/transaction/TransactionReader.d.ts +0 -1
  42. package/target/main/types/FnAbi.d.ts +0 -1
  43. package/target/main/util/BufferUtil.d.ts +0 -1
  44. package/target/main/util/BufferUtil.js +2 -2
  45. package/target/main/util/BufferUtil.js.map +1 -1
  46. package/target/main/util/NumberToHex.js +1 -2
  47. package/target/main/util/NumberToHex.js.map +1 -1
  48. package/target/main/value/ScValue.d.ts +0 -1
  49. package/target/main/value/ScValueAddress.d.ts +0 -1
  50. package/target/main/value/ScValueArray.d.ts +0 -1
  51. package/target/main/value/ScValueBlsPublicKey.d.ts +0 -1
  52. package/target/main/value/ScValueBlsSignature.d.ts +0 -1
  53. package/target/main/value/ScValueHash.d.ts +0 -1
  54. package/target/main/value/ScValuePublicKey.d.ts +0 -1
  55. package/target/main/value/ScValueSignature.d.ts +0 -1
  56. package/target/main/value/ScValueVector.d.ts +0 -1
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@partisiablockchain/abi-client",
3
- "version": "5.44.0",
3
+ "version": "5.48.0",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0",
6
6
  "dependencies": {
7
- "@partisiablockchain/blockchain-api-transaction-client": "5.35.0",
7
+ "@partisiablockchain/blockchain-api-transaction-client": "5.38.0",
8
8
  "@secata-public/bitmanipulation-ts": "3.1.0",
9
- "@types/bn.js": "^5.1.0",
10
- "@types/elliptic": "^6.4.14",
11
- "bn.js": "^5.2.0",
9
+ "@types/bn.js": "^5.1.6",
10
+ "@types/elliptic": "^6.4.18",
11
+ "bn.js": "^5.2.1",
12
12
  "hash.js": "^1.1.7",
13
- "prettier": "^3.0.0"
13
+ "prettier": "^3.3.3"
14
14
  },
15
15
  "devDependencies": {
16
- "@stryker-mutator/core": "^8.2.6",
17
- "@stryker-mutator/jest-runner": "^8.2.6",
18
- "@stryker-mutator/typescript-checker": "^8.2.6",
19
- "@types/jest": "^29.0.0",
20
16
  "@typescript-eslint/eslint-plugin": "^7.0.0",
21
17
  "eslint": "^8.14.0",
22
18
  "eslint-plugin-import": "^2.26.0",
23
- "jest": "^29.0.0",
19
+ "@stryker-mutator/core": "^8.6.0",
20
+ "@stryker-mutator/jest-runner": "^8.6.0",
21
+ "@stryker-mutator/typescript-checker": "^8.6.0",
22
+ "@types/jest": "^29.5.13",
23
+ "jest": "^29.7.0",
24
24
  "jest-fetch-mock": "^3.0.3",
25
- "ts-jest": "^29.1.5",
26
- "typescript": "^5.0.0"
25
+ "ts-jest": "^29.2.5",
26
+ "typescript": "^5.6.3"
27
27
  },
28
28
  "scripts": {
29
29
  "test": "npx jest",
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractReader } from "./AbstractReader";
3
2
  import { TypeSpec } from "./types/Abi";
4
3
  import { ScValueMap } from "./value/ScValueMap";
@@ -4,14 +4,14 @@ export declare class HashMap<K extends ScValue, V extends ScValue> implements Ma
4
4
  constructor(entries?: Array<[K, V]>);
5
5
  readonly [Symbol.toStringTag]: string;
6
6
  size: number;
7
- [Symbol.iterator](): IterableIterator<[K, V]>;
7
+ [Symbol.iterator](): MapIterator<[K, V]>;
8
8
  clear(): void;
9
9
  delete(key: K): boolean;
10
- entries(): IterableIterator<[K, V]>;
10
+ entries(): MapIterator<[K, V]>;
11
11
  forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void): void;
12
12
  get(key: K): V | undefined;
13
13
  has(key: K): boolean;
14
- keys(): IterableIterator<K>;
14
+ keys(): MapIterator<K>;
15
15
  set(key: K, value: V): this;
16
- values(): IterableIterator<V>;
16
+ values(): MapIterator<V>;
17
17
  }
@@ -1,2 +1 @@
1
- /// <reference types="node" />
2
1
  export declare const REAL_BINDER_ABI: Buffer;
@@ -1,2 +1 @@
1
- /// <reference types="node" />
2
1
  export declare const TRANSACTION_AND_EVENT_ABI: Buffer;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import BN from "bn.js";
3
2
  export interface AbiInput {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { BitInput } from "@secata-public/bitmanipulation-ts";
3
2
  import BN from "bn.js";
4
3
  import { AbiInput } from "./AbiInput";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { ByteInput } from "@secata-public/bitmanipulation-ts";
3
2
  import BN from "bn.js";
4
3
  import { AbiInput } from "./AbiInput";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import BN from "bn.js";
3
2
  export interface AbiOutput {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbiOutput } from "./AbiOutput";
3
2
  import { BitOutput } from "@secata-public/bitmanipulation-ts";
4
3
  import BN from "bn.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbiOutput } from "./AbiOutput";
3
2
  import { ByteOutput } from "@secata-public/bitmanipulation-ts";
4
3
  import BN from "bn.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import BN from "bn.js";
3
2
  import { ContractAbi } from "../parser/ContractAbi";
4
3
  import { TypeSpec, TypeIndex } from "../types/Abi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class AddressProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class BlsPublicKeyProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class BlsSignatureProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class HashProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class PublicKeyProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Producer } from "../types/Producer";
3
2
  import { AbiOutput } from "../abioutput/AbiOutput";
4
3
  export declare class SignatureProducer implements Producer {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import BN from "bn.js";
3
2
  import { BlockchainAddress } from "./BlockchainAddress";
4
3
  import { Signature } from "./Signature";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import BN from "bn.js";
3
2
  import { BlockchainAddress } from "./BlockchainAddress";
4
3
  import { BlockchainPublicKey } from "./BlockchainPublicKey";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Entry } from "./types";
3
2
  import { BlockchainAddress } from "./BlockchainAddress";
4
3
  import { BlockchainStateClient } from "./BlockchainStateClient";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class BlockchainAddress {
3
2
  private readonly val;
4
3
  private static readonly ADDRESS_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class BlockchainPublicKey {
3
2
  private readonly val;
4
3
  private static readonly PUBLIC_KEY_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { BlockchainAddress } from "./BlockchainAddress";
3
2
  import { Entry } from "./types";
4
3
  import { ChainControllerApi } from "@partisiablockchain/blockchain-api-transaction-client";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class BlsPublicKey {
3
2
  private readonly val;
4
3
  private static readonly BLS_PUBLIC_KEY_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class BlsSignature {
3
2
  private readonly val;
4
3
  private static readonly BLS_SIGNATURE_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class Hash {
3
2
  private readonly val;
4
3
  private static readonly HASH_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class Signature {
3
2
  private readonly val;
4
3
  private static readonly SIGNATURE_LENGTH;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { BlockchainAddress } from "./BlockchainAddress";
3
2
  import { BlockchainStateClient } from "./BlockchainStateClient";
4
3
  export interface Entry<K, V> {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Header, TypeSpec } from "../types/Abi";
3
2
  import { FileAbi } from "../types/FileAbi";
4
3
  import { FnAbi } from "../types/FnAbi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { FnKind, NamedTypeRef, NamedTypeSpec, TypeSpec } from "../types/Abi";
3
2
  import { FnAbi } from "../types/FnAbi";
4
3
  import { StructTypeSpec } from "../types/StructTypeSpec";
@@ -17,7 +17,8 @@
17
17
  *
18
18
  */
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.fromKindId = exports.FnKinds = void 0;
20
+ exports.FnKinds = void 0;
21
+ exports.fromKindId = fromKindId;
21
22
  exports.FnKinds = {
22
23
  init: { kindId: 0x01, minAllowedPerContract: 1, maxAllowedPerContract: 1 },
23
24
  action: { kindId: 0x02, minAllowedPerContract: 0, maxAllowedPerContract: 2147483647 },
@@ -53,5 +54,4 @@ const kindByValue = new Map([
53
54
  function fromKindId(id) {
54
55
  return kindByValue.get(id);
55
56
  }
56
- exports.fromKindId = fromKindId;
57
57
  //# sourceMappingURL=FnKinds.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FnKinds.js","sourceRoot":"","sources":["../../../src/main/parser/FnKinds.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAIU,QAAA,OAAO,GAAG;IACrB,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE;IAC1E,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,UAAU,EAAE;IACrF,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,UAAU,EAAE;IACvF,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,UAAU,EAAE;IAC5F,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,UAAU,EAAE;IAC5F,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE;IACnF,iBAAiB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,UAAU,EAAE;IAChG,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE;IACjF,eAAe,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE;IACrF,qBAAqB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,C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iB;IAC/D,CAAC,IAAI,EAAE,eAAO,CAAC,IAAI,CAAC;IACpB,CAAC,IAAI,EAAE,eAAO,CAAC,MAAM,CAAC;IACtB,CAAC,IAAI,EAAE,eAAO,CAAC,QAAQ,CAAC;IACxB,CAAC,IAAI,EAAE,eAAO,CAAC,aAAa,CAAC;IAC7B,CAAC,IAAI,EAAE,eAAO,CAAC,aAAa,CAAC;IAC7B,CAAC,IAAI,EAAE,eAAO,CAAC,aAAa,CAAC;IAC7B,CAAC,IAAI,EAAE,eAAO,CAAC,iBAAiB,CAAC;IACjC,CAAC,IAAI,EAAE,eAAO,CAAC,WAAW,CAAC;IAC3B,CAAC,IAAI,EAAE,eAAO,CAAC,eAAe,CAAC;IAC/B,CAAC,IAAI,EAAE,eAAO,CAAC,qBAAqB,CAAC;IACrC,CAAC,IAAI,EAAE,eAAO,CAAC,6BAA6B,CAAC;IAC7C,CAAC,IAAI,EAAE,eAAO,CAAC,iBAAiB,CAAC;CAClC,CAAC,CAAC;AAEH,SAAgB,UAAU,CAAC,EAAU;IACnC,OAAO,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractBuilder } from "../builder/AbstractBuilder";
3
2
  import { ContractAbi } from "../parser/ContractAbi";
4
3
  import { FnKind } from "../types/Abi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { ContractAbi } from "../parser/ContractAbi";
3
2
  import { FnKind, TypeSpec } from "../types/Abi";
4
3
  import { Producer } from "../types/Producer";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbiInput } from "../abiinput/AbiInput";
3
2
  import { FnKind } from "../types/Abi";
4
3
  import { FileAbi } from "../types/FileAbi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractReader } from "../AbstractReader";
3
2
  import { FnKind } from "../types/Abi";
4
3
  import { BigEndianByteInput } from "@secata-public/bitmanipulation-ts";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractBuilder } from "../builder/AbstractBuilder";
3
2
  import { ContractAbi } from "../parser/ContractAbi";
4
3
  export declare class StateBuilder extends AbstractBuilder {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractReader } from "../AbstractReader";
3
2
  import { ContractAbi } from "../parser/ContractAbi";
4
3
  import { AvlTreeMapTypeSpec, MapTypeSpec, SetTypeSpec, TypeSpec } from "../types/Abi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AbstractBuilder } from "../builder/AbstractBuilder";
3
2
  export declare class TransactionBuilder extends AbstractBuilder {
4
3
  private constructor();
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { BigEndianByteInput } from "@secata-public/bitmanipulation-ts";
3
2
  import { AbstractReader } from "../AbstractReader";
4
3
  import { ContractAbi } from "../parser/ContractAbi";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { ArgumentAbi, FnKind } from "./Abi";
3
2
  import { DocumentationFunction } from "./DocumentationFunction";
4
3
  export declare class FnAbi {
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  export declare function hashBuffers(buffers: Buffer[]): Buffer;
3
2
  export declare const hashBuffer: (buffer: Buffer) => Buffer;
@@ -17,7 +17,8 @@
17
17
  *
18
18
  */
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.hashBuffer = exports.hashBuffers = void 0;
20
+ exports.hashBuffer = void 0;
21
+ exports.hashBuffers = hashBuffers;
21
22
  const hash_js_1 = require("hash.js");
22
23
  function hashBuffers(buffers) {
23
24
  const hash = (0, hash_js_1.sha256)();
@@ -26,7 +27,6 @@ function hashBuffers(buffers) {
26
27
  }
27
28
  return Buffer.from(hash.digest());
28
29
  }
29
- exports.hashBuffers = hashBuffers;
30
30
  const hashBuffer = (buffer) => {
31
31
  return hashBuffers([buffer]);
32
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BufferUtil.js","sourceRoot":"","sources":["../../../src/main/util/BufferUtil.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,qCAAiC;AAEjC,SAAgB,WAAW,CAAC,OAAiB;IAC3C,MAAM,IAAI,GAAG,IAAA,gBAAM,GAAE,CAAC;IAEtB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;AACpC,CAAC;AARD,kCAQC;AAEM,MAAM,UAAU,GAAG,CAAC,MAAc,EAAU,EAAE;IACnD,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB"}
1
+ {"version":3,"file":"BufferUtil.js","sourceRoot":"","sources":["../../../src/main/util/BufferUtil.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAIH,kCAQC;AAVD,qCAAiC;AAEjC,SAAgB,WAAW,CAAC,OAAiB;IAC3C,MAAM,IAAI,GAAG,IAAA,gBAAM,GAAE,CAAC;IAEtB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;AACpC,CAAC;AAEM,MAAM,UAAU,GAAG,CAAC,MAAc,EAAU,EAAE;IACnD,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB"}
@@ -17,7 +17,7 @@
17
17
  *
18
18
  */
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.toHexString = void 0;
20
+ exports.toHexString = toHexString;
21
21
  function toHexString(num) {
22
22
  let hex = num.toString(16);
23
23
  if (hex.length % 2 != 0) {
@@ -25,5 +25,4 @@ function toHexString(num) {
25
25
  }
26
26
  return hex;
27
27
  }
28
- exports.toHexString = toHexString;
29
28
  //# sourceMappingURL=NumberToHex.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberToHex.js","sourceRoot":"","sources":["../../../src/main/util/NumberToHex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,SAAgB,WAAW,CAAC,GAAW;IACrC,IAAI,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACxB,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAClB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAND,kCAMC"}
1
+ {"version":3,"file":"NumberToHex.js","sourceRoot":"","sources":["../../../src/main/util/NumberToHex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,kCAMC;AAND,SAAgB,WAAW,CAAC,GAAW;IACrC,IAAI,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACxB,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAClB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValueEnum } from "./ScValueEnum";
4
3
  import { ScValueStruct } from "./ScValueStruct";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValueAddress extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { ScValue } from "./ScValue";
3
2
  import { TypeIndex } from "../types/Abi";
4
3
  export declare class ScValueArray extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValueBlsPublicKey extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValueBlsSignature extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValueHash extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValuePublicKey extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { TypeIndex } from "../types/Abi";
3
2
  import { ScValue } from "./ScValue";
4
3
  export declare class ScValueSignature extends ScValue {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { ScValue } from "./ScValue";
3
2
  import { TypeIndex } from "../types/Abi";
4
3
  export declare class ScValueVector extends ScValue {