diff --git a/package.json b/package.json index 6b391cd..f81b604 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maestro-org/typescript-sdk", - "version": "1.3.0", + "version": "1.3.1", "description": "TypeScript SDK for the Maestro Dapp Platform", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/api/assets/helpers.ts b/src/api/assets/helpers.ts index 8fc29e4..a57f860 100644 --- a/src/api/assets/helpers.ts +++ b/src/api/assets/helpers.ts @@ -168,7 +168,10 @@ export const AssetsApiAxiosParamCreator = function (configuration: Configuration ): Promise => { // verify required parameter 'asset' is not null or undefined assertParamExists('assetTxs', 'asset', asset); - const localVarPath = `/assets/{asset}/txs`.replace(`{${'asset'}}`, encodeURIComponent(String(asset))); + const localVarPath = `/assets/{asset}/transactions`.replace( + `{${'asset'}}`, + encodeURIComponent(String(asset)), + ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); const { baseOptions } = configuration;