diff --git a/package.json b/package.json index 837e312..6c2435a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stellar-plus", - "version": "0.12.1", + "version": "0.12.2", "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 09d7337..1dc044d 100644 --- a/src/stellar-plus/asset/stellar-asset-contract/index.ts +++ b/src/stellar-plus/asset/stellar-asset-contract/index.ts @@ -6,7 +6,7 @@ import { SorobanTokenHandler } from 'stellar-plus/asset/soroban-token' import { SorobanTokenHandlerConstructorArgs } from 'stellar-plus/asset/soroban-token/types' import { SACConstructorArgs, SACHandler as SACHandlerType } from 'stellar-plus/asset/stellar-asset-contract/types' import { AssetTypes } from 'stellar-plus/asset/types' -import { TransactionInvocation } from 'stellar-plus/core/types' +import { BaseInvocation } from 'stellar-plus/core/contract-engine/types' export class SACHandler implements SACHandlerType { public type: AssetTypes = AssetTypes.SAC @@ -81,8 +81,8 @@ export class SACHandler implements SACHandlerType { * @returns {Promise} * */ - public async wrapAndDeploy(txInvocation: TransactionInvocation): Promise { + public async wrapAndDeploy(args: BaseInvocation): Promise { const asset = new Asset(this.classicHandler.code, this.classicHandler.issuerPublicKey) - await this.sorobanTokenHandler.wrapAndDeployClassicAsset({ asset, ...txInvocation }) + await this.sorobanTokenHandler.wrapAndDeployClassicAsset({ asset, ...args }) } }