diff --git a/package.json b/package.json index 6c2435a..3728b30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stellar-plus", - "version": "0.12.2", + "version": "0.12.3", "description": "beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/src/stellar-plus/asset/stellar-asset-contract/index.ts b/src/stellar-plus/asset/stellar-asset-contract/index.ts index 1dc044d..c7d33b0 100644 --- a/src/stellar-plus/asset/stellar-asset-contract/index.ts +++ b/src/stellar-plus/asset/stellar-asset-contract/index.ts @@ -7,6 +7,7 @@ import { SorobanTokenHandlerConstructorArgs } from 'stellar-plus/asset/soroban-t import { SACConstructorArgs, SACHandler as SACHandlerType } from 'stellar-plus/asset/stellar-asset-contract/types' import { AssetTypes } from 'stellar-plus/asset/types' import { BaseInvocation } from 'stellar-plus/core/contract-engine/types' +import { SorobanTransactionPipelineOutput } from 'stellar-plus/core/pipelines/soroban-transaction/types' export class SACHandler implements SACHandlerType { public type: AssetTypes = AssetTypes.SAC @@ -78,11 +79,11 @@ export class SACHandler implements SACHandlerType { * * @description - Wraps and deploys the classic asset with the Stellar Asset Contract. * - * @returns {Promise} + * @returns {Promise} * */ - public async wrapAndDeploy(args: BaseInvocation): Promise { + public async wrapAndDeploy(args: BaseInvocation): Promise { const asset = new Asset(this.classicHandler.code, this.classicHandler.issuerPublicKey) - await this.sorobanTokenHandler.wrapAndDeployClassicAsset({ asset, ...args }) + return await this.sorobanTokenHandler.wrapAndDeployClassicAsset({ asset, ...args }) } }