Skip to content

Commit

Permalink
Merge pull request #36 from SIDANWhatever/hotfix/update-assets-transa…
Browse files Browse the repository at this point in the history
…ctions-api-url

Hotfix/update assets transactions api url
  • Loading branch information
Vardominator authored Feb 9, 2024
2 parents de2dbf9 + 2b8be2d commit 5088ca2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/api/assets/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ export const AssetsApiAxiosParamCreator = function (configuration: Configuration
): Promise<RequestArgs> => {
// 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;
Expand Down

0 comments on commit 5088ca2

Please sign in to comment.