@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.
- package/package.json +13 -13
- package/target/main/BigEndianReader.d.ts +0 -1
- package/target/main/HashMap.d.ts +4 -4
- package/target/main/RealBinderInvocationDeserialization.d.ts +0 -1
- package/target/main/TransactionAndEventDeserialization.d.ts +0 -1
- package/target/main/abiinput/AbiInput.d.ts +0 -1
- package/target/main/abiinput/AbiInputBits.d.ts +0 -1
- package/target/main/abiinput/AbiInputBytes.d.ts +0 -1
- package/target/main/abioutput/AbiOutput.d.ts +0 -1
- package/target/main/abioutput/AbiOutputBits.d.ts +0 -1
- package/target/main/abioutput/AbiOutputBytes.d.ts +0 -1
- package/target/main/builder/AbstractBuilder.d.ts +0 -1
- package/target/main/builder/AddressProducer.d.ts +0 -1
- package/target/main/builder/BlsPublicKeyProducer.d.ts +0 -1
- package/target/main/builder/BlsSignatureProducer.d.ts +0 -1
- package/target/main/builder/HashProducer.d.ts +0 -1
- package/target/main/builder/PublicKeyProducer.d.ts +0 -1
- package/target/main/builder/SignatureProducer.d.ts +0 -1
- package/target/main/codegen-lib/AbiByteInput.d.ts +0 -1
- package/target/main/codegen-lib/AbiByteOutput.d.ts +0 -1
- package/target/main/codegen-lib/AvlTreeMap.d.ts +0 -1
- package/target/main/codegen-lib/BlockchainAddress.d.ts +0 -1
- package/target/main/codegen-lib/BlockchainPublicKey.d.ts +0 -1
- package/target/main/codegen-lib/BlockchainStateClient.d.ts +0 -1
- package/target/main/codegen-lib/BlsPublicKey.d.ts +0 -1
- package/target/main/codegen-lib/BlsSignature.d.ts +0 -1
- package/target/main/codegen-lib/Hash.d.ts +0 -1
- package/target/main/codegen-lib/Signature.d.ts +0 -1
- package/target/main/codegen-lib/types.d.ts +0 -1
- package/target/main/parser/AbiParser.d.ts +0 -1
- package/target/main/parser/ContractAbi.d.ts +0 -1
- package/target/main/parser/FnKinds.js +2 -2
- package/target/main/parser/FnKinds.js.map +1 -1
- package/target/main/rpc/FnRpcBuilder.d.ts +0 -1
- package/target/main/rpc/FnRpcProducer.d.ts +0 -1
- package/target/main/rpc/RealBinderInvocationReader.d.ts +0 -1
- package/target/main/rpc/RpcReader.d.ts +0 -1
- package/target/main/state/StateBuilder.d.ts +0 -1
- package/target/main/state/StateReader.d.ts +0 -1
- package/target/main/transaction/TransactionBuilder.d.ts +0 -1
- package/target/main/transaction/TransactionReader.d.ts +0 -1
- package/target/main/types/FnAbi.d.ts +0 -1
- package/target/main/util/BufferUtil.d.ts +0 -1
- package/target/main/util/BufferUtil.js +2 -2
- package/target/main/util/BufferUtil.js.map +1 -1
- package/target/main/util/NumberToHex.js +1 -2
- package/target/main/util/NumberToHex.js.map +1 -1
- package/target/main/value/ScValue.d.ts +0 -1
- package/target/main/value/ScValueAddress.d.ts +0 -1
- package/target/main/value/ScValueArray.d.ts +0 -1
- package/target/main/value/ScValueBlsPublicKey.d.ts +0 -1
- package/target/main/value/ScValueBlsSignature.d.ts +0 -1
- package/target/main/value/ScValueHash.d.ts +0 -1
- package/target/main/value/ScValuePublicKey.d.ts +0 -1
- package/target/main/value/ScValueSignature.d.ts +0 -1
- 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.
|
|
3
|
+
"version": "5.48.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@partisiablockchain/blockchain-api-transaction-client": "5.
|
|
7
|
+
"@partisiablockchain/blockchain-api-transaction-client": "5.38.0",
|
|
8
8
|
"@secata-public/bitmanipulation-ts": "3.1.0",
|
|
9
|
-
"@types/bn.js": "^5.1.
|
|
10
|
-
"@types/elliptic": "^6.4.
|
|
11
|
-
"bn.js": "^5.2.
|
|
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.
|
|
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
|
-
"
|
|
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.
|
|
26
|
-
"typescript": "^5.
|
|
25
|
+
"ts-jest": "^29.2.5",
|
|
26
|
+
"typescript": "^5.6.3"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"test": "npx jest",
|
package/target/main/HashMap.d.ts
CHANGED
|
@@ -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]():
|
|
7
|
+
[Symbol.iterator](): MapIterator<[K, V]>;
|
|
8
8
|
clear(): void;
|
|
9
9
|
delete(key: K): boolean;
|
|
10
|
-
entries():
|
|
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():
|
|
14
|
+
keys(): MapIterator<K>;
|
|
15
15
|
set(key: K, value: V): this;
|
|
16
|
-
values():
|
|
16
|
+
values(): MapIterator<V>;
|
|
17
17
|
}
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
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;;;
|
|
1
|
+
{"version":3,"file":"FnKinds.js","sourceRoot":"","sources":["../../../src/main/parser/FnKinds.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAsCH,gCAEC;AApCY,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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AI,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"}
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.hashBuffer =
|
|
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;;;
|
|
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 =
|
|
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
|
|
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"}
|