Skip to content

Commit

Permalink
update sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Jun 15, 2023
1 parent 6557a15 commit 7447645
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"doc": "ts-node ./src/doc.ts"
},
"dependencies": {
"@masa-finance/masa-sdk": "^3.4.4",
"@masa-finance/masa-sdk": "^3.4.6",
"@types/clear": "^0.1.2",
"@types/figlet": "^1.5.5",
"chalk": "~4.1.2",
Expand Down
6 changes: 3 additions & 3 deletions src/commands/sbt/SSSBT/add-authority.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const addAuthoritySSSBT = async (
contractAddress: string,
authorityAddress: string
) => {
const { addAuthority } = await masa.sssbt.connect(contractAddress);
const { contract } = await masa.sssbt.connect(contractAddress);

if (addAuthority) {
await addAuthority(authorityAddress);
if (contract) {
await contract.addAuthority(authorityAddress);
}
};
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,10 @@
dependencies:
ethers "~5.7.2"

"@masa-finance/masa-sdk@^3.4.4":
version "3.4.4"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-sdk/-/masa-sdk-3.4.4.tgz#df905a9c7369b4b2bed76ef5c75342beaeaa5920"
integrity sha512-ZGcaxeP8WXQInWt2tcAaJEbjwd8Izstc7qF0F8zI/A1fyagBoleoliJ7+wrQ0m6laVEYJCRbYlBHUO/rmDjE0Q==
"@masa-finance/masa-sdk@^3.4.6":
version "3.4.6"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-sdk/-/masa-sdk-3.4.6.tgz#3576ff0ea0b81367074e78119c9f482bb2e1823e"
integrity sha512-WLzroD7vnXd2EJKif4UIhGr0UxdI6jdoZm2Tq3X5/b2EEM9dDEz8xwI1ITaoOEGMTONXJlh0NjgZmFYQdRgGbQ==
dependencies:
"@masa-finance/masa-contracts-identity" "^1.8.2"
"@masa-finance/masa-token" "^2.0.0"
Expand Down

0 comments on commit 7447645

Please sign in to comment.