From 793210e9d1f23052a95f685644278fd7da38154b Mon Sep 17 00:00:00 2001 From: adairrr <32375605+adairrr@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:14:02 -0400 Subject: [PATCH] account id retrieval on account client --- .../abstract.config.ts | 2 +- .../cosmwasm-codegen/Betting.client.ts | 92 +++++++++++++------ .../Betting.message-builder.ts | 2 +- .../cosmwasm-codegen/Betting.react-query.ts | 2 +- .../cosmwasm-codegen/Betting.types.ts | 2 +- .../src/_generated/index.ts | 2 +- .../src/app/remote/page.tsx | 6 +- .../wagemos-graz-nextjs/abstract.config.ts | 2 +- .../cosmwasm-codegen/Betting.react-query.ts | 2 +- packages/cli/package.json | 2 +- .../actions/account/public/get-account-id.ts | 22 +++++ .../account/public/get-registry-account-id.ts | 11 +++ .../public/simulate-execute-remote-account.ts | 2 +- .../account/wallet/execute-ibc-action.ts | 15 +-- .../src/clients/decorators/account-public.ts | 6 ++ pnpm-lock.yaml | 14 +-- 16 files changed, 122 insertions(+), 62 deletions(-) create mode 100644 packages/core/src/actions/account/public/get-account-id.ts create mode 100644 packages/core/src/actions/account/public/get-registry-account-id.ts diff --git a/examples/wagemos-cosmoskit-nextjs/abstract.config.ts b/examples/wagemos-cosmoskit-nextjs/abstract.config.ts index 4e97fd1b..f7553bd5 100644 --- a/examples/wagemos-cosmoskit-nextjs/abstract.config.ts +++ b/examples/wagemos-cosmoskit-nextjs/abstract.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ plugins: [ react(), registry({ - contracts: [{ namespace: 'abstract', name: 'betting', version: '0.0.2' }], + contracts: [{ namespace: 'wagemos', name: 'betting', version: '0.0.2' }], }), ], }) diff --git a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.client.ts b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.client.ts index 5137403b..837a07ed 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.client.ts +++ b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.client.ts @@ -1,67 +1,86 @@ /** -* This file was automatically generated by @abstract-money/ts-codegen@0.35.8. +* This file was automatically generated by @abstract-money/ts-codegen@0.37.0-beta-3. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @abstract-money/ts-codegen generate command to regenerate this file. */ import { CamelCasedProperties } from "type-fest"; import { SigningCosmWasmClient, ExecuteResult } from "@abstract-money/cli/cosmjs"; +import { AccountPublicClient, AccountWalletClient, AppExecuteMsg, AppExecuteMsgFactory, AdapterExecuteMsg, AdapterExecuteMsgFactory } from "@abstract-money/core"; import { StdFee, Coin } from "@abstract-money/cli/cosmjs"; import { Decimal, InstantiateMsg, ExecuteMsg, AssetEntry, AccountTrace, ChainName, Uint128, AccountOdds, AccountId, Bet, AnsAsset, QueryMsg, MigrateMsg, Addr, BetsResponse, ConfigResponse, ListOddsResponse, RoundStatus, RoundsResponse, RoundResponse, OddsResponse } from "./Betting.types"; import { BettingQueryMsgBuilder, BettingExecuteMsgBuilder } from "./Betting.message-builder"; -import { AccountWalletClient, AccountPublicClient, AppExecuteMsg, AppExecuteMsgFactory } from "@abstract-money/core"; - export interface IBettingAppQueryClient { moduleId: string; accountPublicClient: AccountPublicClient; _moduleAddress: string | undefined; - round: () => Promise; + round: (params: CamelCasedProperties["round"]>) => Promise; + listRounds: (params: CamelCasedProperties["list_rounds"]>) => Promise; odds: (params: CamelCasedProperties["odds"]>) => Promise; - listOdds: () => Promise; + listOdds: (params: CamelCasedProperties["list_odds"]>) => Promise; config: () => Promise; - bets: () => Promise; + bets: (params: CamelCasedProperties["bets"]>) => Promise; getAddress: () => Promise; } - export class BettingAppQueryClient implements IBettingAppQueryClient { accountPublicClient: AccountPublicClient; moduleId: string; _moduleAddress: string | undefined; constructor({ - accountPublicClient, - moduleId - }: { + accountPublicClient, + moduleId + }: { accountPublicClient: AccountPublicClient; moduleId: string; }) { this.accountPublicClient = accountPublicClient; this.moduleId = moduleId; this.round = this.round.bind(this); + this.listRounds = this.listRounds.bind(this); this.odds = this.odds.bind(this); this.listOdds = this.listOdds.bind(this); this.config = this.config.bind(this); this.bets = this.bets.bind(this); } - round = async (): Promise => { - return this._query(BettingQueryMsgBuilder.round()); + round = async (params: CamelCasedProperties["round"]>): Promise => { + return this._query(BettingQueryMsgBuilder.round(params)); + }; + listRounds = async (params: CamelCasedProperties["list_rounds"]>): Promise => { + return this._query(BettingQueryMsgBuilder.listRounds(params)); }; odds = async (params: CamelCasedProperties["odds"]>): Promise => { return this._query(BettingQueryMsgBuilder.odds(params)); }; - listOdds = async (): Promise => { - return this._query(BettingQueryMsgBuilder.listOdds()); + listOdds = async (params: CamelCasedProperties["list_odds"]>): Promise => { + return this._query(BettingQueryMsgBuilder.listOdds(params)); }; config = async (): Promise => { return this._query(BettingQueryMsgBuilder.config()); }; - bets = async (): Promise => { - return this._query(BettingQueryMsgBuilder.bets()); + bets = async (params: CamelCasedProperties["bets"]>): Promise => { + return this._query(BettingQueryMsgBuilder.bets(params)); }; getAddress = async (): Promise => { if (!this._moduleAddress) { @@ -86,17 +105,23 @@ export class BettingAppQueryClient implements IBettingAppQueryClient { }); }; } - export interface IBettingAppClient extends IBettingAppQueryClient { accountWalletClient: AccountWalletClient; - register: (fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; + createRound: (params: CamelCasedProperties["create_round"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; + register: (params: CamelCasedProperties["register"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; updateAccounts: (params: CamelCasedProperties["update_accounts"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; placeBet: (params: CamelCasedProperties["place_bet"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; - distributeWinnings: (fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; + distributeWinnings: (params: CamelCasedProperties["distribute_winnings"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; closeRound: (params: CamelCasedProperties["close_round"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; @@ -104,15 +129,14 @@ export interface IBettingAppClient extends IBettingAppQueryClient { update_config: unknown; }>["update_config"]>, fee_?: number | StdFee | "auto", memo_?: string, funds_?: Coin[]) => Promise; } - export class BettingAppClient extends BettingAppQueryClient implements IBettingAppClient { accountWalletClient: AccountWalletClient; constructor({ - accountPublicClient, - accountWalletClient, - moduleId - }: { + accountPublicClient, + accountWalletClient, + moduleId + }: { accountPublicClient: AccountPublicClient; accountWalletClient: AccountWalletClient; moduleId: string; @@ -122,6 +146,7 @@ export class BettingAppClient extends BettingAppQueryClient implements IBettingA moduleId }); this.accountWalletClient = accountWalletClient; + this.createRound = this.createRound.bind(this); this.register = this.register.bind(this); this.updateAccounts = this.updateAccounts.bind(this); this.placeBet = this.placeBet.bind(this); @@ -130,8 +155,15 @@ export class BettingAppClient extends BettingAppQueryClient implements IBettingA this.updateConfig = this.updateConfig.bind(this); } - register = async (fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { - return this._execute(BettingExecuteMsgBuilder.register(), fee_, memo_, funds_); + createRound = async (params: CamelCasedProperties["create_round"]>, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { + return this._execute(BettingExecuteMsgBuilder.createRound(params), fee_, memo_, funds_); + }; + register = async (params: CamelCasedProperties["register"]>, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { + return this._execute(BettingExecuteMsgBuilder.register(params), fee_, memo_, funds_); }; updateAccounts = async (params: CamelCasedProperties["place_bet"]>, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { return this._execute(BettingExecuteMsgBuilder.placeBet(params), fee_, memo_, funds_); }; - distributeWinnings = async (fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { - return this._execute(BettingExecuteMsgBuilder.distributeWinnings(), fee_, memo_, funds_); + distributeWinnings = async (params: CamelCasedProperties["distribute_winnings"]>, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise => { + return this._execute(BettingExecuteMsgBuilder.distributeWinnings(params), fee_, memo_, funds_); }; closeRound = async (params: CamelCasedProperties = AppExecuteMsgFactory.executeApp(msg); return await signingCwClient.execute(sender, await this.getAddress(), moduleMsg, fee_, memo_, funds_); }; -} +} \ No newline at end of file diff --git a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.message-builder.ts b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.message-builder.ts index 91f897fc..aba75731 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.message-builder.ts +++ b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.message-builder.ts @@ -1,6 +1,6 @@ // @ts-nocheck /** -* This file was automatically generated by @abstract-money/ts-codegen@0.35.8. +* This file was automatically generated by @abstract-money/ts-codegen@0.37.0-beta-3. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @abstract-money/ts-codegen generate command to regenerate this file. */ diff --git a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts index eda91ffc..d1202904 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts +++ b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @abstract-money/ts-codegen@0.35.8. +* This file was automatically generated by @abstract-money/ts-codegen@0.37.0-beta-3. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @abstract-money/ts-codegen generate command to regenerate this file. */ diff --git a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.types.ts b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.types.ts index bbe597aa..a57b0715 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.types.ts +++ b/examples/wagemos-cosmoskit-nextjs/src/_generated/cosmwasm-codegen/Betting.types.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @abstract-money/ts-codegen@0.35.8. +* This file was automatically generated by @abstract-money/ts-codegen@0.37.0-beta-3. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @abstract-money/ts-codegen generate command to regenerate this file. */ diff --git a/examples/wagemos-cosmoskit-nextjs/src/_generated/index.ts b/examples/wagemos-cosmoskit-nextjs/src/_generated/index.ts index 8e3ead4f..3ba96005 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/_generated/index.ts +++ b/examples/wagemos-cosmoskit-nextjs/src/_generated/index.ts @@ -49,7 +49,7 @@ import { // React ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const BETTING_MODULE_ID = 'abstract:betting' +export const BETTING_MODULE_ID = 'wagemos:betting' export const betting = { queries: { diff --git a/examples/wagemos-cosmoskit-nextjs/src/app/remote/page.tsx b/examples/wagemos-cosmoskit-nextjs/src/app/remote/page.tsx index 28f80971..a5f19ad7 100644 --- a/examples/wagemos-cosmoskit-nextjs/src/app/remote/page.tsx +++ b/examples/wagemos-cosmoskit-nextjs/src/app/remote/page.tsx @@ -9,7 +9,6 @@ import { useSimulateExecuteRemoteManager, } from '@abstract-money/react' import { useChain } from '@cosmos-kit/react' -import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { useCallback, useMemo, useState } from 'react' import { Button } from '../../components/ui/button' import { @@ -79,7 +78,6 @@ export default function RemotePage() { funds: [], args: { hostChainName: chainInput, - base_asset: 'juno>juno', installModules: [], }, }) @@ -95,7 +93,7 @@ export default function RemotePage() { fee: 'auto', args: { hostChainName: chainInput, - managerMsg: { + accountMsg: { update_info: { name: 'test', }, @@ -116,7 +114,7 @@ export default function RemotePage() { console.log('simulating remote account') simulateRemote({ hostChainName: chainInput, - managerMsg: { + accountMsg: { update_info: { name: 'test', }, diff --git a/examples/wagemos-graz-nextjs/abstract.config.ts b/examples/wagemos-graz-nextjs/abstract.config.ts index 0901891d..f7553bd5 100644 --- a/examples/wagemos-graz-nextjs/abstract.config.ts +++ b/examples/wagemos-graz-nextjs/abstract.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ plugins: [ react(), registry({ - contracts: [{ name: 'betting', namespace: 'abstract', version: '0.0.2' }], + contracts: [{ namespace: 'wagemos', name: 'betting', version: '0.0.2' }], }), ], }) diff --git a/examples/wagemos-graz-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts b/examples/wagemos-graz-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts index 7e5638da..0a829f0a 100644 --- a/examples/wagemos-graz-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts +++ b/examples/wagemos-graz-nextjs/src/_generated/cosmwasm-codegen/Betting.react-query.ts @@ -294,4 +294,4 @@ export function useBettingCreateRoundMutation(options?: Omit client.createRound(msg, fee, memo, funds), options); -} \ No newline at end of file +} diff --git a/packages/cli/package.json b/packages/cli/package.json index 66ebe453..60a20b65 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -36,7 +36,7 @@ "type": "module", "dependencies": { "@abstract-money/bundle-require": "workspace:*", - "@abstract-money/ts-codegen": "0.37.0-beta-2", + "@abstract-money/ts-codegen": "0.37.0-beta-3", "@cosmjs/cosmwasm-stargate": "^0.32.3", "@cosmjs/stargate": "^0.32.3", "abort-controller": "^3.0.0", diff --git a/packages/core/src/actions/account/public/get-account-id.ts b/packages/core/src/actions/account/public/get-account-id.ts new file mode 100644 index 00000000..b47e987b --- /dev/null +++ b/packages/core/src/actions/account/public/get-account-id.ts @@ -0,0 +1,22 @@ +import { AccountId, chainIdToName } from '@abstract-money/core' +import { CosmWasmClient } from '@cosmjs/cosmwasm-stargate' +import { RegistryTypes } from '../../../codegen/abstract' + +export type GetAccountIdParameters = { + accountId: RegistryTypes.AccountId + cosmWasmClient: CosmWasmClient +} + +/** + * Get the account id with the chain name set. + * @param accountId + * @param cosmWasmClient + */ +export async function getAccountId({ + accountId, + cosmWasmClient, +}: GetAccountIdParameters): Promise { + const chainId = await cosmWasmClient.getChainId() + const chainName = chainIdToName(chainId) + return { ...accountId, chainName } satisfies AccountId +} diff --git a/packages/core/src/actions/account/public/get-registry-account-id.ts b/packages/core/src/actions/account/public/get-registry-account-id.ts new file mode 100644 index 00000000..0e3c15f1 --- /dev/null +++ b/packages/core/src/actions/account/public/get-registry-account-id.ts @@ -0,0 +1,11 @@ +import { RegistryTypes } from '../../../codegen/abstract' + +export type GetRegistryAccountIdParameters = { + accountId: RegistryTypes.AccountId +} + +export function getRegistryAccountId({ + accountId, +}: GetRegistryAccountIdParameters) { + return accountId +} diff --git a/packages/core/src/actions/account/public/simulate-execute-remote-account.ts b/packages/core/src/actions/account/public/simulate-execute-remote-account.ts index 8df466af..3728253a 100644 --- a/packages/core/src/actions/account/public/simulate-execute-remote-account.ts +++ b/packages/core/src/actions/account/public/simulate-execute-remote-account.ts @@ -19,7 +19,7 @@ export type SimulateExecuteRemoteAccountParameters = { * @param cosmWasmClient * @param apiUrl * @param hostChainName - * @param managerMsg + * @param accountMsg * @experimental */ export async function simulateExecuteRemoteAccount({ diff --git a/packages/core/src/actions/account/wallet/execute-ibc-action.ts b/packages/core/src/actions/account/wallet/execute-ibc-action.ts index 88c30309..9d3c6f6f 100644 --- a/packages/core/src/actions/account/wallet/execute-ibc-action.ts +++ b/packages/core/src/actions/account/wallet/execute-ibc-action.ts @@ -1,19 +1,8 @@ -import semver from 'semver/preload' -import { - AccountClient, - AccountMsgComposer, - AccountTypes, - IbcClientTypes, -} from '../../../codegen/abstract' -import { ModuleType } from '../../../codegen/gql/graphql' +import { IbcClientTypes } from '../../../codegen/abstract' import { WithCosmWasmSignOptions } from '../../../types/parameters' -import { MaybeArray } from '../../../types/utils' import { abstractModuleId } from '../../../utils/modules/abstract-module-id' -import { encodeModuleMsg } from '../../../utils/modules/encode-module-msg' import { CommonModuleNames } from '../../public/types' import { getModuleAddress } from '../public/get-module-address' -import { getModuleVersion } from '../public/get-module-version' -import { executeOnModule } from './execute-on-module' import { getAccountClientFromApi } from './get-account-client-from-api' import { BaseAccountWalletParameters } from './types' @@ -32,7 +21,7 @@ export type ExecuteIbcActionParameters = Omit< * @param signingCosmWasmClient * @param apiUrl * @param sender - * @param managerMsg + * @param msg * @param fee * @param memo */ diff --git a/packages/core/src/clients/decorators/account-public.ts b/packages/core/src/clients/decorators/account-public.ts index e9c1b865..3dee7328 100644 --- a/packages/core/src/clients/decorators/account-public.ts +++ b/packages/core/src/clients/decorators/account-public.ts @@ -2,6 +2,7 @@ import { ContractMsg } from '@abstract-money/core' import { CosmWasmClient } from '@cosmjs/cosmwasm-stargate' import { queryModule } from 'src/actions/account/public/query-module' import { getAccountAddressFromApi } from '../../actions/account/public/get-account-address-from-api' +import { getAccountId } from '../../actions/account/public/get-account-id' import { getAccountInstantiate2AddressFromApi } from '../../actions/account/public/get-account-instantiate2-address-from-api' import { getAccountQueryClientFromApi } from '../../actions/account/public/get-account-query-client-from-api' import { getAccountSettings } from '../../actions/account/public/get-account-settings' @@ -10,6 +11,7 @@ import { getModuleInstantiate2AddressFromApi } from '../../actions/account/publi import { getModules } from '../../actions/account/public/get-modules' import { getNamespace } from '../../actions/account/public/get-namespace' import { getOwner } from '../../actions/account/public/get-owner' +import { getRegistryAccountId } from '../../actions/account/public/get-registry-account-id' import { getRemoteAccountIds } from '../../actions/account/public/get-remote-account-ids' import { getRemoteAccountProxies } from '../../actions/account/public/get-remote-account-proxies' import { getSubAccountIds } from '../../actions/account/public/get-sub-account-ids' @@ -30,6 +32,8 @@ type ExtractAndPartializeDecoratedParametersFromParameters< * The public query client actions for an Abstract account. */ export type AccountPublicActions = { + getRegistryAccountId(): ReturnType + getAccountId(): ReturnType getAccountAddress( parameters?: ExtractAndPartializeDecoratedParametersFromParameters< typeof getAccountAddressFromApi @@ -118,6 +122,8 @@ export function accountPublicActions( apiUrl: string, ): AccountPublicActions { return { + getRegistryAccountId: () => getRegistryAccountId({ accountId }), + getAccountId: () => getAccountId({ accountId, cosmWasmClient }), getAccountAddress: ({ extra, ...parameters } = {}) => getAccountAddressFromApi({ accountId, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8906a4e..538680cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -360,8 +360,8 @@ importers: specifier: workspace:* version: link:../bundle-require '@abstract-money/ts-codegen': - specifier: 0.37.0-beta-2 - version: 0.37.0-beta-2 + specifier: 0.37.0-beta-3 + version: 0.37.0-beta-3 '@cosmjs/cosmwasm-stargate': specifier: ^0.32.3 version: 0.32.3 @@ -686,8 +686,8 @@ importers: packages: - /@abstract-money/ts-codegen@0.37.0-beta-2: - resolution: {integrity: sha512-T9+zc/pYzdW1aTKg1Jnvzm8vgUfEsM9tSCD5SPglAwsoi8g3TsHbh4RbfDQcKCvWdae8D7EF6F1Dj/QuMmbSag==} + /@abstract-money/ts-codegen@0.37.0-beta-3: + resolution: {integrity: sha512-XrgDPRdsXUCpeKoEKIZgysh88217oMMl53rc2sG1Z7IoJj4maA+kW7+1RjmzmJOqg8jipFtUK5kMmH6hXocORg==} hasBin: true dependencies: '@babel/core': 7.18.10 @@ -716,13 +716,13 @@ packages: parse-package-name: 1.0.0 rimraf: 3.0.2 shelljs: 0.8.5 - wasm-ast-types: /@abstract-money/wasm-ast-types@0.28.0-beta-2 + wasm-ast-types: /@abstract-money/wasm-ast-types@0.28.0-beta-3 transitivePeerDependencies: - supports-color dev: false - /@abstract-money/wasm-ast-types@0.28.0-beta-2: - resolution: {integrity: sha512-TmMpJwAQNA7kam7DGGaL0GTTFXO1b8YE+WcDRai/okOXCyBcGLNoC/yxdiVFyzkTcifeunVXtQ/gUhly5C/MpQ==} + /@abstract-money/wasm-ast-types@0.28.0-beta-3: + resolution: {integrity: sha512-fTUVZBjFpo+IRm+krtNYBCLRDcPIeKxpJgB1cosJAWOmHt8IHNagMYrMrmFrGV6ZbW5Us73/D6oe9n5KMv4eRw==} dependencies: '@babel/runtime': 7.23.4 '@babel/types': 7.18.10