diff --git a/package.json b/package.json index a6e44b7698c1f3af422f78a9c8c1dd0d10d81b9c..835dfd5eb64001b904f06a69086be24a3f9dcd8b 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@hiveio/wax": "1.27.6-rc7-stable.250513162056", + "@hiveio/wax": "1.27.6-rc7-stable.250701234723", "comlink": "^4.4.1" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 644ea782fd15338ddcd0806511011b653fe73105..4c278c33a7dbfa1997d416496dca95659b6301f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@hiveio/wax': - specifier: 1.27.6-rc7-stable.250513162056 - version: 1.27.6-rc7-stable.250513162056 + specifier: 1.27.6-rc7-stable.250701234723 + version: 1.27.6-rc7-stable.250701234723 comlink: specifier: ^4.4.1 version: 4.4.1 @@ -877,8 +877,8 @@ packages: resolution: {integrity: sha1-WM73mERJWR06dqP67ZznUjbya6I=, tarball: https://gitlab.syncad.com/api/v4/projects/198/packages/npm/@hiveio/beekeeper/-/@hiveio/beekeeper-1.27.11-stable.250513143655.tgz} engines: {node: ^20.11 || >= 21.2} - '@hiveio/wax@1.27.6-rc7-stable.250513162056': - resolution: {integrity: sha1-DIUD5zPj06aDtT1BiriKW84cifE=, tarball: https://gitlab.syncad.com/api/v4/projects/419/packages/npm/@hiveio/wax/-/@hiveio/wax-1.27.6-rc7-stable.250513162056.tgz} + '@hiveio/wax@1.27.6-rc7-stable.250701234723': + resolution: {integrity: sha1-XwAc3n7HREsTxo44wBo/0nlZO04=, tarball: https://gitlab.syncad.com/api/v4/projects/419/packages/npm/@hiveio/wax/-/@hiveio/wax-1.27.6-rc7-stable.250701234723.tgz} engines: {node: ^20.11 || >= 21.2} '@humanwhocodes/config-array@0.11.14': @@ -3676,7 +3676,7 @@ snapshots: '@hiveio/beekeeper@1.27.11-stable.250513143655': {} - '@hiveio/wax@1.27.6-rc7-stable.250513162056': + '@hiveio/wax@1.27.6-rc7-stable.250701234723': dependencies: '@hiveio/beekeeper': 1.27.11-stable.250513143655 events: 3.3.0 diff --git a/src/client.ts b/src/client.ts index b73a1ab2bbf5f1ac8c4d64f5056e08270b9f46b1..53b61d3ceebd3cf9750824f2e3f9863a753f3334 100644 --- a/src/client.ts +++ b/src/client.ts @@ -229,7 +229,7 @@ abstract class Client { if (keyType === "posting") { txBuilder.pushOperation({ - vote: { + vote_operation: { voter: username, author: "author", permlink: "permlink", @@ -238,11 +238,11 @@ abstract class Client { }); } else if (keyType === "active") { txBuilder.pushOperation({ - limit_order_cancel: { owner: username, orderid: 0 }, + limit_order_cancel_operation: { owner: username, orderid: 0 }, }); } else if (keyType === "owner") { txBuilder.pushOperation({ - decline_voting_rights: { account: username, decline: false }, + decline_voting_rights_operation: { account: username, decline: false }, }); } else { throw new AuthorizationError(