From 779c3a84213d7a3168074d22c1ede6d05f729784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 31 Aug 2023 19:02:56 +0300 Subject: [PATCH] Bump version. Fix some whitespace, as well. --- package-lock.json | 4 +-- package.json | 2 +- src/smartcontracts/nativeSerializer.spec.ts | 32 ++++++++++----------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8504400a..6aaf679f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@multiversx/sdk-core", - "version": "12.7.1", + "version": "12.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@multiversx/sdk-core", - "version": "12.7.1", + "version": "12.8.0", "license": "MIT", "dependencies": { "@multiversx/sdk-transaction-decoder": "1.0.2", diff --git a/package.json b/package.json index e2178416..d91a3446 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@multiversx/sdk-core", - "version": "12.7.1", + "version": "12.8.0", "description": "MultiversX SDK for JavaScript and TypeScript", "main": "out/index.js", "types": "out/index.d.js", diff --git a/src/smartcontracts/nativeSerializer.spec.ts b/src/smartcontracts/nativeSerializer.spec.ts index eb104c47..f24e8238 100644 --- a/src/smartcontracts/nativeSerializer.spec.ts +++ b/src/smartcontracts/nativeSerializer.spec.ts @@ -333,28 +333,28 @@ describe("test native serializer", () => { it('should accept no value for variadic types', async () => { const endpoint = AbiRegistry.create({ - endpoints: [ - { - name: 'foo', - inputs: [ + endpoints: [ { - type: 'u64', - }, - { - name: 'features', - type: 'variadic', - multi_arg: true, + name: 'foo', + inputs: [ + { + type: 'u64', + }, + { + name: 'features', + type: 'variadic', + multi_arg: true, + }, + ], + outputs: [], }, - ], - outputs: [], - }, - ], + ], }).getEndpoint('foo'); // Using both native JavaScript objects and typed values const typedValues = NativeSerializer.nativeToTypedValues( - [42], - endpoint + [42], + endpoint ); assert.deepEqual(typedValues[0].getType(), new U64Type());