From 0ef590ca29ec1beb7567de7058af2b9e173aec4d Mon Sep 17 00:00:00 2001 From: Cameron Gilbert Date: Wed, 26 Jul 2023 09:29:44 -0400 Subject: [PATCH] feat(introspection): v21 (#188) * feat(introspection): v21 * feat(v21 sdk): sDK * fix(fix): tests * fix(fix): generic func * fix(build): build --- .eslintrc.js | 1 - .github/CODEOWNERS | 2 +- packages/indexer-nibi/CHANGELOG.md | 4 + packages/indexer-nibi/package.json | 12 +- packages/indexer-nibi/src/defaultObjects.ts | 112 + packages/indexer-nibi/src/gql.ts | 145 +- packages/indexer-nibi/src/gql/generated.ts | 514 +++++ packages/indexer-nibi/src/gql/schema.graphql | 421 ++++ .../src/graphql-codegen/codegen-loader.js | 24 + .../src/graphql-codegen/codegen.ts | 25 + .../indexer-nibi/src/heart-monitor.test.ts | 593 ++--- packages/indexer-nibi/src/heart-monitor.ts | 271 ++- packages/indexer-nibi/src/index.ts | 26 +- packages/indexer-nibi/src/query/ammPools.ts | 123 -- .../src/query/ammTotalLiquidity.ts | 80 - packages/indexer-nibi/src/query/balances.ts | 90 - .../indexer-nibi/src/query/communityPool.ts | 26 + .../indexer-nibi/src/query/delegations.ts | 113 +- .../src/query/distributionCommissions.ts | 36 + .../indexer-nibi/src/query/fundingRates.ts | 87 - packages/indexer-nibi/src/query/index.ts | 17 + .../indexer-nibi/src/query/liquidations.ts | 111 - .../src/query/markPriceCandles.ts | 95 - packages/indexer-nibi/src/query/markPrices.ts | 81 - .../indexer-nibi/src/query/oraclePrices.ts | 81 - .../indexer-nibi/src/query/perpLeaderboard.ts | 44 - packages/indexer-nibi/src/query/perpMarket.ts | 22 + .../indexer-nibi/src/query/perpMarkets.ts | 32 + .../indexer-nibi/src/query/perpPosition.ts | 22 + .../indexer-nibi/src/query/perpPositions.ts | 32 + .../indexer-nibi/src/query/positionChanges.ts | 113 - packages/indexer-nibi/src/query/positions.ts | 97 - .../indexer-nibi/src/query/redelegations.ts | 43 + .../indexer-nibi/src/query/spotLpPositions.ts | 42 + .../indexer-nibi/src/query/spotPoolCreated.ts | 32 + .../indexer-nibi/src/query/spotPoolExited.ts | 32 + .../indexer-nibi/src/query/spotPoolJoined.ts | 32 + .../indexer-nibi/src/query/spotPoolSwap.ts | 38 + packages/indexer-nibi/src/query/spotPools.ts | 32 + .../indexer-nibi/src/query/stakingPool.ts | 79 - .../indexer-nibi/src/query/statsVolume.ts | 88 - packages/indexer-nibi/src/query/transfer.ts | 90 - packages/indexer-nibi/src/query/unbondings.ts | 118 +- packages/indexer-nibi/src/query/users.ts | 23 + packages/indexer-nibi/src/query/validators.ts | 129 +- .../indexer-nibi/src/query/vpoolConfigs.ts | 89 - packages/indexer-nibi/src/types.ts | 56 - packages/nibijs/CHANGELOG.md | 4 + packages/nibijs/docs/classes/CustomChain.md | 65 +- .../nibijs/docs/classes/ErrorTxBroadcast.md | 4 +- .../nibijs/docs/classes/ErrorTxSimulation.md | 4 +- packages/nibijs/docs/classes/MsgFactory.md | 6 +- .../nibijs/docs/classes/NibiruQueryClient.md | 14 +- .../docs/classes/NibiruSigningClient.md | 14 +- .../nibijs/docs/classes/PerpMsgFactory.md | 14 +- .../nibijs/docs/classes/SpotMsgFactory.md | 10 +- packages/nibijs/docs/classes/StableSwap.md | 40 +- packages/nibijs/docs/enums/BECH32_PREFIX.md | 14 +- packages/nibijs/docs/enums/Signer.md | 6 +- packages/nibijs/docs/interfaces/Attribute.md | 6 +- packages/nibijs/docs/interfaces/Chain.md | 14 +- .../nibijs/docs/interfaces/ChainIdParts.md | 8 +- packages/nibijs/docs/interfaces/CoinMap.md | 2 +- .../nibijs/docs/interfaces/EpochsExtension.md | 4 +- packages/nibijs/docs/interfaces/Event.md | 6 +- .../docs/interfaces/InflationExtension.md | 4 +- .../interfaces/MsgAddMarginEncodeObject.md | 6 +- .../MsgClosePositionEncodeObject.md | 6 +- .../interfaces/MsgCreatePoolEncodeObject.md | 6 +- .../MsgDonateToEcosystemFundEncodeObject.md | 6 +- .../interfaces/MsgExitPoolEncodeObject.md | 6 +- .../interfaces/MsgJoinPoolEncodeObject.md | 6 +- .../MsgMultiLiquidateEncodeObject.md | 6 +- .../interfaces/MsgOpenPositionEncodeObject.md | 6 +- .../interfaces/MsgRemoveMarginEncodeObject.md | 6 +- .../interfaces/MsgSwapAssetsEncodeObject.md | 6 +- .../nibijs/docs/interfaces/MsgTypeUrls.md | 2 +- .../nibijs/docs/interfaces/OracleExtension.md | 4 +- .../nibijs/docs/interfaces/PageRequest.md | 12 +- .../nibijs/docs/interfaces/PerpExtension.md | 4 +- .../nibijs/docs/interfaces/SpotExtension.md | 4 +- .../nibijs/docs/interfaces/SudoExtension.md | 4 +- packages/nibijs/docs/interfaces/TxLog.md | 4 +- packages/nibijs/docs/interfaces/TxMessage.md | 2 +- packages/nibijs/docs/intro.md | 2 +- packages/nibijs/docs/modules.md | 189 +- packages/nibijs/package.json | 2 +- packages/protojs/package.json | 2 +- yarn.lock | 1960 ++++++++++++++++- 89 files changed, 4320 insertions(+), 2545 deletions(-) create mode 100644 packages/indexer-nibi/src/defaultObjects.ts create mode 100644 packages/indexer-nibi/src/gql/generated.ts create mode 100644 packages/indexer-nibi/src/gql/schema.graphql create mode 100644 packages/indexer-nibi/src/graphql-codegen/codegen-loader.js create mode 100644 packages/indexer-nibi/src/graphql-codegen/codegen.ts delete mode 100644 packages/indexer-nibi/src/query/ammPools.ts delete mode 100644 packages/indexer-nibi/src/query/ammTotalLiquidity.ts delete mode 100644 packages/indexer-nibi/src/query/balances.ts create mode 100644 packages/indexer-nibi/src/query/communityPool.ts create mode 100644 packages/indexer-nibi/src/query/distributionCommissions.ts delete mode 100644 packages/indexer-nibi/src/query/fundingRates.ts create mode 100644 packages/indexer-nibi/src/query/index.ts delete mode 100644 packages/indexer-nibi/src/query/liquidations.ts delete mode 100644 packages/indexer-nibi/src/query/markPriceCandles.ts delete mode 100644 packages/indexer-nibi/src/query/markPrices.ts delete mode 100644 packages/indexer-nibi/src/query/oraclePrices.ts delete mode 100644 packages/indexer-nibi/src/query/perpLeaderboard.ts create mode 100644 packages/indexer-nibi/src/query/perpMarket.ts create mode 100644 packages/indexer-nibi/src/query/perpMarkets.ts create mode 100644 packages/indexer-nibi/src/query/perpPosition.ts create mode 100644 packages/indexer-nibi/src/query/perpPositions.ts delete mode 100644 packages/indexer-nibi/src/query/positionChanges.ts delete mode 100644 packages/indexer-nibi/src/query/positions.ts create mode 100644 packages/indexer-nibi/src/query/redelegations.ts create mode 100644 packages/indexer-nibi/src/query/spotLpPositions.ts create mode 100644 packages/indexer-nibi/src/query/spotPoolCreated.ts create mode 100644 packages/indexer-nibi/src/query/spotPoolExited.ts create mode 100644 packages/indexer-nibi/src/query/spotPoolJoined.ts create mode 100644 packages/indexer-nibi/src/query/spotPoolSwap.ts create mode 100644 packages/indexer-nibi/src/query/spotPools.ts delete mode 100644 packages/indexer-nibi/src/query/stakingPool.ts delete mode 100644 packages/indexer-nibi/src/query/statsVolume.ts delete mode 100644 packages/indexer-nibi/src/query/transfer.ts create mode 100644 packages/indexer-nibi/src/query/users.ts delete mode 100644 packages/indexer-nibi/src/query/vpoolConfigs.ts delete mode 100644 packages/indexer-nibi/src/types.ts diff --git a/.eslintrc.js b/.eslintrc.js index 5ac644fc..dfefb603 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -51,7 +51,6 @@ const common = { ], "no-use-before-define": "off", "no-useless-constructor": "off", - "prettier/prettier": "error", quotes: ["off"], "quote-props": ["warn", "as-needed"], radix: "off", diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9a5cea16..08ab2d63 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,4 +2,4 @@ # Primary maintainers -* @Unique-Divine @k-yang @cgilbe27 @elshenak +- @Unique-Divine @k-yang @cgilbe27 @elshenak diff --git a/packages/indexer-nibi/CHANGELOG.md b/packages/indexer-nibi/CHANGELOG.md index 6296c1c7..1c19a45b 100644 --- a/packages/indexer-nibi/CHANGELOG.md +++ b/packages/indexer-nibi/CHANGELOG.md @@ -7,6 +7,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - . +## v0.21.6 + +- V21 introspection + ## v0.21.4 - Actually fix build diff --git a/packages/indexer-nibi/package.json b/packages/indexer-nibi/package.json index fdd0910b..7d0eff3e 100644 --- a/packages/indexer-nibi/package.json +++ b/packages/indexer-nibi/package.json @@ -1,7 +1,7 @@ { "name": "@nibiruchain/indexer-nibi", "description": "GraphQL API client for the Nibiru Chain indexer (heart-monitor)", - "version": "0.21.4", + "version": "0.21.6", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -11,17 +11,21 @@ "scripts": { "build": "tsc --build", "build:watch": "tsc --build --watch", + "gql-generate": "rm -rf gql && graphql-code-generator --config ./src/graphql-codegen/codegen.ts", "clean": "tsc --clean", "test": "jest", "test:watch": "jest --watch", "coverage": "jest --coverage" }, - "dependencies": { - "cross-fetch": "^3.1.5" - }, "devDependencies": { + "@babel/core": "7.22.9", + "@graphql-codegen/cli": "^4.0.1", + "@graphql-codegen/client-preset": "^4.0.1", + "@graphql-codegen/typescript": "^4.0.1", "@types/jest": "^29.1.2", "@types/node-fetch": "^2.6.2", + "cross-fetch": "4.0.0", + "graphql": "^16.7.1", "jest": "^28.1.3", "ts-jest": "^28.0.0-next.3" }, diff --git a/packages/indexer-nibi/src/defaultObjects.ts b/packages/indexer-nibi/src/defaultObjects.ts new file mode 100644 index 00000000..8b9b6cdf --- /dev/null +++ b/packages/indexer-nibi/src/defaultObjects.ts @@ -0,0 +1,112 @@ +import { ValidatorStatus } from "./gql/generated" + +export const defaultToken = { + denom: "", + amount: 0, +} + +export const defaultTokenAsString = { + denom: "", + amount: "", +} + +export const defaultBlock = { + block: 0, + block_duration: 0, + block_ts: 0, + num_txs: 0, +} + +export const defaultValidator = { + commission_update_time: "", + commission_rates: { + max_change_rate: 0, + max_rate: 0, + rate: 0, + }, + delegator_shares: 0, + description: { + details: "", + identity: "", + moniker: "", + security_contact: "", + website: "", + }, + jailed: false, + operator_address: "", + min_self_delegation: 0, + status: ValidatorStatus.Bonded, + tokens: 0, + unbonding_block: defaultBlock, + unbonding_time: "", +} + +export const defaultActor = { + address: "", + balances: [defaultToken], + created_block: defaultBlock, +} + +export const defaultDelegator = defaultActor + +export const defaultUser = defaultActor + +export const defaultPerpMarket = { + base_reserve: 0, + ecosystem_fund_fee_ratio: 0, + enabled: true, + exchange_fee_ratio: 0, + funding_rate_epoch_id: "", + index_price_twap: 0, + is_deleted: false, + latest_cumulative_premium_fraction: 0, + liquidation_fee_ratio: 0, + maintenance_margin_ratio: 0, + mark_price: 0, + mark_price_twap: 0, + max_leverage: 0, + pair: "", + partial_liquidation_ratio: 0, + prepaid_bad_debt: defaultToken, + price_multiplier: 0, + quote_reserve: 0, + sqrt_depth: 0, + total_long: 0, + total_short: 0, + twap_lookback_window: "", +} + +export const defaultPerpPosition = { + bad_debt: 0, + last_updated_block: defaultBlock, + latest_cumulative_premium_fraction: 0, + margin: 0, + margin_ratio: 0, + open_notional: 0, + pair: "", + position_notional: 0, + size: 0, + trader_address: "", + unrealized_funding_payment: 0, + unrealized_pnl: 0, +} + +export const defaultPool = { + amplification: 0, + created_block: defaultBlock, + exit_fee: 0, + swap_fee: 0, + pool_id: 0, + tokens: [defaultToken], + pool_type: "", + total_shares: defaultTokenAsString, + total_weight: 0, + weights: [defaultToken], +} + +export const defaultSpotPool = { + block: defaultBlock, + pool: defaultPool, + pool_shares: defaultTokenAsString, + user_address: "", +} diff --git a/packages/indexer-nibi/src/gql.ts b/packages/indexer-nibi/src/gql.ts index ba9d1705..4d02934c 100644 --- a/packages/indexer-nibi/src/gql.ts +++ b/packages/indexer-nibi/src/gql.ts @@ -8,63 +8,120 @@ declare global { window.fetch = cf.fetch -/** - * The workhorse function that fetches data from the GraphQL endpoint. - * - * ### Args: - * @param {string} gqlQuery - raw GraphQL query string - * @param {string} gqlEndpt - URL for the GraphQL endpoint. - * @returns {Promise} - */ -export async function doGqlQuery( - gqlQuery: string, - gqlEndpt: string -): Promise { - const encodedGqlQuery = encodeURI(gqlQuery) - const fetchString = `${gqlEndpt}?query=${encodedGqlQuery}` - const rawResp = await window.fetch(fetchString) - return cleanResponse(rawResp) +const createGqlEndpt = (chain: string) => + `https://hm-graphql.${chain}.nibiru.fi/graphql` + +export const arg = (name: string, value: any, ignoreQuotes?: boolean) => { + const isString = typeof value === "string" && !ignoreQuotes ? `"` : "" + + return `${name}: ${isString}${value}${isString}` +} + +export const getWhereArgArr = (whereArgs: any) => + `where: { + ${Object.keys(whereArgs) + .map((key) => arg(key, whereArgs[key])) + .join(", ")} + }` + +export const convertObjectToPropertiesString = (obj: any) => { + let result = "" + + for (const key in obj) { + const value = obj[key] + if (Array.isArray(value)) { + const innerString = value + .map( + (item) => + `${key} { + ${Object.keys(item) + .map((k) => `${k}`) + .join("\n")} + }` + ) + .join("\n") + result += `${innerString}\n` + } else if (typeof value === "object" && value !== null) { + result += `${key} { + ${convertObjectToPropertiesString(value)} + }\n` + } else { + result += `${key}\n` + } + } + + return result } -export async function cleanResponse(rawResp: Response): Promise { - const respJson: any = await rawResp.json().catch((err) => { +export const cleanResponse = async (rawResp: Response) => { + const respJson = await rawResp.json().catch((err) => { console.error(err) }) // console.debug("DEBUG respJson: %o", respJson) - if (!rawResp.ok || respJson === undefined) { + if (!rawResp.ok || !respJson) { throw new Error(`${respJson}`) - } else if (respJson.data !== undefined) { + } else if (respJson.data) { return respJson.data } else { return respJson } } -/** - * arg: Returns the string format for an "argument" in a GraphQL query. - * - * @param {string} name - name of the argument - * @param {*} value - value of the argument - * @returns {string} - */ -export const arg = (name: string, value: any): string => `${name}: ${value}` - -/** createGqlEndpt: Returns the URL of a heart monitor endpoint based on the - * standard 'chainNickname' included as part of the Tendermint RPC endpoint and - * LCD/Rest endpoint. - * - * Example: The chain ID "nibiru-testnet-2" has the chain nickname, "testnet", - * and chain number, "2". The combination of the nickname and number is what - * we'd use as prefix in the hm-graphql URL. - */ -const createGqlEndpt = (chain: string): string => - `https://hm-graphql.${chain}.nibiru.fi/graphql` +export const gqlQuery = ( + name: string, + typedQueryArgs: { [key: string]: T }, + properties: string +) => { + let queryArgList = [] + + if ( + typedQueryArgs.where !== undefined || + typedQueryArgs.limit !== undefined || + typedQueryArgs.order_by !== undefined || + typedQueryArgs.order_desc !== undefined + ) { + if (typedQueryArgs.where !== undefined) { + queryArgList.push(getWhereArgArr(typedQueryArgs.where)) + } + + if (typedQueryArgs.limit !== undefined) { + queryArgList.push(arg("limit", typedQueryArgs.limit)) + } + + if (typedQueryArgs.order_by !== undefined) { + queryArgList.push(arg("order_by", typedQueryArgs.order_by, true)) + } + + if (typedQueryArgs.order_desc !== undefined) { + queryArgList.push(arg("order_desc", typedQueryArgs.order_desc)) + } + } else { + queryArgList = Object.keys(typedQueryArgs).map((key) => + arg(key, typedQueryArgs[key]) + ) + } + + const hasQueryList = (char: string) => (queryArgList.length > 0 ? char : "") + + return `{ + ${name} ${hasQueryList("(")}${queryArgList.join(", ")}${hasQueryList(")")} { + ${properties} + } + }` +} + +export const doGqlQuery = async (gqlQuery: string, gqlEndpt: string) => { + const encodedGqlQuery = encodeURI(gqlQuery) + const fetchString = `${gqlEndpt}?query=${encodedGqlQuery}` + const rawResp = await window.fetch(fetchString) + return cleanResponse(rawResp) +} -export function gqlEndptFromTmRpc(endptTm: string): string | null { - const endptTmParts: string[] = endptTm.split(".") +export const gqlEndptFromTmRpc = (endptTm: string) => { + const endptTmParts = endptTm.split(".") // rpcIdx: the index of the substring that includes rpc - let rpcIdx: number = -1 + let rpcIdx = -1 endptTmParts.forEach((part, idx) => { if (part.includes("rpc")) { rpcIdx = idx @@ -73,8 +130,8 @@ export function gqlEndptFromTmRpc(endptTm: string): string | null { // nicknameIdx: the index of the substring that includes the chain nickname const nicknameIdx = rpcIdx + 1 - const invalidRpcIdx: boolean = rpcIdx === -1 - const invalidNicknameIdx: boolean = nicknameIdx === endptTmParts.length + const invalidRpcIdx = rpcIdx === -1 + const invalidNicknameIdx = nicknameIdx === endptTmParts.length if (invalidRpcIdx || invalidNicknameIdx) { return null } diff --git a/packages/indexer-nibi/src/gql/generated.ts b/packages/indexer-nibi/src/gql/generated.ts new file mode 100644 index 00000000..371162d3 --- /dev/null +++ b/packages/indexer-nibi/src/gql/generated.ts @@ -0,0 +1,514 @@ +export type Maybe = T | null +export type InputMaybe = Maybe +export type Exact = { + [K in keyof T]: T[K] +} +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe +} +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe +} +export type MakeEmpty< + T extends { [key: string]: unknown }, + K extends keyof T +> = { [_ in K]?: never } +export type Incremental = + | T + | { + [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never + } +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string } + String: { input: string; output: string } + Boolean: { input: boolean; output: boolean } + Int: { input: number; output: number } + Float: { input: number; output: number } +} + +export type Block = { + readonly __typename?: "Block" + readonly block: Scalars["Int"]["output"] + readonly block_duration: Scalars["Float"]["output"] + readonly block_ts: Scalars["Int"]["output"] + readonly num_txs: Scalars["Int"]["output"] +} + +export type CommunityPoolToken = { + readonly __typename?: "CommunityPoolToken" + readonly amount: Scalars["Float"]["output"] + readonly denom: Scalars["String"]["output"] +} + +export type Delegation = { + readonly __typename?: "Delegation" + readonly amount: Scalars["Int"]["output"] + readonly delegator: User + readonly validator: Validator +} + +export type DelegationFilter = { + readonly delegator_address?: InputMaybe + readonly validator_address?: InputMaybe +} + +export enum DelegationOrder { + DelegatorAddress = "delegator_address", + ValidatorAddress = "validator_address", +} + +export type DistributionCommission = { + readonly __typename?: "DistributionCommission" + readonly commission?: Maybe> + readonly validator: Validator +} + +export type DistributionCommissionFilter = { + readonly validator_address: Scalars["String"]["input"] +} + +export enum DistributionCommissionOrder { + ValidatorAddress = "validator_address", +} + +export type PerpMarket = { + readonly __typename?: "PerpMarket" + readonly base_reserve: Scalars["Float"]["output"] + readonly ecosystem_fund_fee_ratio: Scalars["Float"]["output"] + readonly enabled: Scalars["Boolean"]["output"] + readonly exchange_fee_ratio: Scalars["Float"]["output"] + readonly funding_rate_epoch_id: Scalars["String"]["output"] + readonly index_price_twap: Scalars["Float"]["output"] + readonly is_deleted: Scalars["Boolean"]["output"] + readonly latest_cumulative_premium_fraction: Scalars["Float"]["output"] + readonly liquidation_fee_ratio: Scalars["Float"]["output"] + readonly maintenance_margin_ratio: Scalars["Float"]["output"] + readonly mark_price: Scalars["Float"]["output"] + readonly mark_price_twap: Scalars["Float"]["output"] + readonly max_leverage: Scalars["Float"]["output"] + readonly pair: Scalars["String"]["output"] + readonly partial_liquidation_ratio: Scalars["Float"]["output"] + readonly prepaid_bad_debt: Token + readonly price_multiplier: Scalars["Float"]["output"] + readonly quote_reserve: Scalars["Float"]["output"] + readonly sqrt_depth: Scalars["Float"]["output"] + readonly total_long: Scalars["Float"]["output"] + readonly total_short: Scalars["Float"]["output"] + readonly twap_lookback_window: Scalars["String"]["output"] +} + +export type PerpMarketFilter = { + readonly is_deleted?: InputMaybe + readonly pair?: InputMaybe +} + +export enum PerpMarketOrder { + Pair = "pair", +} + +export type PerpPosition = { + readonly __typename?: "PerpPosition" + readonly bad_debt: Scalars["Float"]["output"] + readonly last_updated_block: Block + readonly latest_cumulative_premium_fraction: Scalars["Float"]["output"] + readonly margin: Scalars["Float"]["output"] + readonly margin_ratio: Scalars["Float"]["output"] + readonly open_notional: Scalars["Float"]["output"] + readonly pair: Scalars["String"]["output"] + readonly position_notional: Scalars["Float"]["output"] + readonly size: Scalars["Float"]["output"] + readonly trader_address: Scalars["String"]["output"] + readonly unrealized_funding_payment: Scalars["Float"]["output"] + readonly unrealized_pnl: Scalars["Float"]["output"] +} + +export type PerpPositionFilter = { + readonly include_closed?: InputMaybe + readonly pair?: InputMaybe + readonly trader_address?: InputMaybe +} + +export enum PerpPositionOrder { + CreatedBlock = "created_block", + Pair = "pair", + TraderAddress = "trader_address", +} + +export type Query = { + readonly __typename?: "Query" + readonly communityPool: ReadonlyArray + readonly delegations: ReadonlyArray + readonly distributionCommissions: ReadonlyArray + readonly perpMarket?: Maybe + readonly perpMarkets: ReadonlyArray + readonly perpPosition?: Maybe + readonly perpPositions: ReadonlyArray + readonly redelegations: ReadonlyArray + readonly spotLpPositions: ReadonlyArray + readonly spotPoolCreated: ReadonlyArray + readonly spotPoolExited: ReadonlyArray + readonly spotPoolJoined: ReadonlyArray + readonly spotPoolSwap: ReadonlyArray + readonly spotPools: ReadonlyArray + readonly unbondings: ReadonlyArray + readonly users: ReadonlyArray + readonly validators: ReadonlyArray +} + +export type QueryCommunityPoolArgs = { + denom?: InputMaybe +} + +export type QueryDelegationsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryDistributionCommissionsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryPerpMarketArgs = { + pair: Scalars["String"]["input"] +} + +export type QueryPerpMarketsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryPerpPositionArgs = { + pair: Scalars["String"]["input"] + trader_address: Scalars["String"]["input"] +} + +export type QueryPerpPositionsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryRedelegationsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotLpPositionsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotPoolCreatedArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotPoolExitedArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotPoolJoinedArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotPoolSwapArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QuerySpotPoolsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryUnbondingsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryUsersArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type QueryValidatorsArgs = { + limit?: InputMaybe + order_by?: InputMaybe + order_desc?: InputMaybe + where?: InputMaybe +} + +export type Redelegation = { + readonly __typename?: "Redelegation" + readonly amount: Scalars["Int"]["output"] + readonly completion_time: Scalars["String"]["output"] + readonly creation_block: Block + readonly delegator: User + readonly destination_validator: Validator + readonly source_validator: Validator +} + +export type RedelegationFilter = { + readonly delegator_address?: InputMaybe + readonly destination_validator_address?: InputMaybe< + Scalars["String"]["input"] + > + readonly source_validator_address?: InputMaybe +} + +export enum RedelegationOrder { + CompletionTime = "completion_time", + CreationHeight = "creation_height", + DelegatorAddress = "delegator_address", + DestinaitonValidatorAddress = "destinaiton_validator_address", + SourceValidatorAddress = "source_validator_address", +} + +export type SharesToken = { + readonly __typename?: "SharesToken" + readonly amount: Scalars["String"]["output"] + readonly denom: Scalars["String"]["output"] +} + +export type SpotLpPosition = { + readonly __typename?: "SpotLpPosition" + readonly created_block: Block + readonly pool: SpotPool + readonly pool_shares: SharesToken + readonly user: User +} + +export type SpotLpPositionFilter = { + readonly pool_id?: InputMaybe + readonly user_address?: InputMaybe +} + +export enum SpotLpPositionOrder { + PoolId = "pool_id", + UserAddress = "user_address", +} + +export type SpotPool = { + readonly __typename?: "SpotPool" + readonly amplification: Scalars["Float"]["output"] + readonly created_block: Block + readonly exit_fee: Scalars["Float"]["output"] + readonly pool_id: Scalars["Int"]["output"] + readonly pool_type: Scalars["String"]["output"] + readonly swap_fee: Scalars["Float"]["output"] + readonly tokens: ReadonlyArray + readonly total_shares: SharesToken + readonly total_weight: Scalars["Float"]["output"] + readonly weights: ReadonlyArray +} + +export type SpotPoolCreated = { + readonly __typename?: "SpotPoolCreated" + readonly block: Block + readonly pool: SpotPool + readonly pool_shares: SharesToken + readonly user_address: Scalars["String"]["output"] +} + +export type SpotPoolCreatedFilter = { + readonly pool_id?: InputMaybe + readonly user_address?: InputMaybe +} + +export enum SpotPoolCreatedOrder { + PoolId = "pool_id", + UserAddress = "user_address", +} + +export type SpotPoolExited = { + readonly __typename?: "SpotPoolExited" + readonly block: Block + readonly pool: SpotPool + readonly pool_shares: SharesToken + readonly user_address: Scalars["String"]["output"] +} + +export type SpotPoolExitedFilter = { + readonly pool_id?: InputMaybe + readonly user_address?: InputMaybe +} + +export enum SpotPoolExitedOrder { + PoolId = "pool_id", + UserAddress = "user_address", +} + +export type SpotPoolFilter = { + readonly pool_id?: InputMaybe +} + +export type SpotPoolJoined = { + readonly __typename?: "SpotPoolJoined" + readonly block: Block + readonly pool: SpotPool + readonly pool_shares: SharesToken + readonly user_address: Scalars["String"]["output"] +} + +export type SpotPoolJoinedFilter = { + readonly pool_id?: InputMaybe + readonly user_address?: InputMaybe +} + +export enum SpotPoolJoinedOrder { + PoolId = "pool_id", + UserAddress = "user_address", +} + +export enum SpotPoolOrder { + PoolId = "pool_id", +} + +export type SpotPoolSwap = { + readonly __typename?: "SpotPoolSwap" + readonly block: Block + readonly pool: SpotPool + readonly token_in: Token + readonly token_out: Token + readonly user_address: Scalars["String"]["output"] +} + +export type SpotPoolSwapFilter = { + readonly block_eq?: InputMaybe + readonly block_gte?: InputMaybe + readonly block_lte?: InputMaybe + readonly pool_id?: InputMaybe + readonly user_address?: InputMaybe +} + +export enum SpotPoolSwapOrder { + Block = "block", + PoolId = "pool_id", + UserAddress = "user_address", +} + +export type Token = { + readonly __typename?: "Token" + readonly amount: Scalars["Int"]["output"] + readonly denom: Scalars["String"]["output"] +} + +export type Unbonding = { + readonly __typename?: "Unbonding" + readonly amount: Scalars["Int"]["output"] + readonly completion_time: Scalars["String"]["output"] + readonly creation_block: Block + readonly delegator: User + readonly validator: Validator +} + +export type UnbondingFilter = { + readonly delegator_address?: InputMaybe + readonly validator_address?: InputMaybe +} + +export enum UnbondingOrder { + CompletionTime = "completion_time", + CreationHeight = "creation_height", + DelegatorAddress = "delegator_address", + ValidatorAddress = "validator_address", +} + +export type User = { + readonly __typename?: "User" + readonly address: Scalars["String"]["output"] + readonly balances: ReadonlyArray> + readonly created_block: Block +} + +export type UserFilter = { + readonly address?: InputMaybe + readonly created_block_eq?: InputMaybe + readonly created_block_gte?: InputMaybe + readonly created_block_lte?: InputMaybe +} + +export enum UserOrder { + Address = "address", + CreatedBlock = "created_block", +} + +export type Validator = { + readonly __typename?: "Validator" + readonly commission_rates?: Maybe + readonly commission_update_time: Scalars["String"]["output"] + readonly delegator_shares: Scalars["Float"]["output"] + readonly description: ValidatorDescription + readonly jailed: Scalars["Boolean"]["output"] + readonly min_self_delegation: Scalars["Int"]["output"] + readonly operator_address: Scalars["String"]["output"] + readonly status: ValidatorStatus + readonly tokens: Scalars["Int"]["output"] + readonly unbonding_block: Block + readonly unbonding_time: Scalars["String"]["output"] +} + +export type ValidatorCommission = { + readonly __typename?: "ValidatorCommission" + readonly max_change_rate: Scalars["Float"]["output"] + readonly max_rate: Scalars["Float"]["output"] + readonly rate: Scalars["Float"]["output"] +} + +export type ValidatorDescription = { + readonly __typename?: "ValidatorDescription" + readonly details: Scalars["String"]["output"] + readonly identity: Scalars["String"]["output"] + readonly moniker: Scalars["String"]["output"] + readonly security_contact: Scalars["String"]["output"] + readonly website: Scalars["String"]["output"] +} + +export type ValidatorFilter = { + readonly jailed?: InputMaybe + readonly moniker?: InputMaybe + readonly operator_address?: InputMaybe + readonly status?: InputMaybe +} + +export enum ValidatorOrder { + Jailed = "jailed", + Moniker = "moniker", + OperatorAddress = "operator_address", + Status = "status", +} + +export enum ValidatorStatus { + Bonded = "BONDED", + Unbonded = "UNBONDED", + Unbonding = "UNBONDING", +} diff --git a/packages/indexer-nibi/src/gql/schema.graphql b/packages/indexer-nibi/src/gql/schema.graphql new file mode 100644 index 00000000..182fbbb5 --- /dev/null +++ b/packages/indexer-nibi/src/gql/schema.graphql @@ -0,0 +1,421 @@ +type Block { + block: Int! + block_duration: Float! + block_ts: Int! + num_txs: Int! +} + +type CommunityPoolToken { + amount: Float! + denom: String! +} + +type Delegation { + amount: Int! + delegator: User! + validator: Validator! +} + +input DelegationFilter { + delegator_address: String + validator_address: String +} + +enum DelegationOrder { + delegator_address + validator_address +} + +type DistributionCommission { + commission: [Token!] + validator: Validator! +} + +input DistributionCommissionFilter { + validator_address: String! +} + +enum DistributionCommissionOrder { + validator_address +} + +type PerpMarket { + base_reserve: Float! + ecosystem_fund_fee_ratio: Float! + enabled: Boolean! + exchange_fee_ratio: Float! + funding_rate_epoch_id: String! + index_price_twap: Float! + is_deleted: Boolean! + latest_cumulative_premium_fraction: Float! + liquidation_fee_ratio: Float! + maintenance_margin_ratio: Float! + mark_price: Float! + mark_price_twap: Float! + max_leverage: Float! + pair: String! + partial_liquidation_ratio: Float! + prepaid_bad_debt: Token! + price_multiplier: Float! + quote_reserve: Float! + sqrt_depth: Float! + total_long: Float! + total_short: Float! + twap_lookback_window: String! +} + +input PerpMarketFilter { + is_deleted: Boolean + pair: String +} + +enum PerpMarketOrder { + pair +} + +type PerpPosition { + bad_debt: Float! + last_updated_block: Block! + latest_cumulative_premium_fraction: Float! + margin: Float! + margin_ratio: Float! + open_notional: Float! + pair: String! + position_notional: Float! + size: Float! + trader_address: String! + unrealized_funding_payment: Float! + unrealized_pnl: Float! +} + +input PerpPositionFilter { + include_closed: Boolean + pair: String + trader_address: String +} + +enum PerpPositionOrder { + created_block + pair + trader_address +} + +type Query { + communityPool(denom: String): [CommunityPoolToken!]! + delegations( + limit: Int + order_by: DelegationOrder + order_desc: Boolean + where: DelegationFilter + ): [Delegation!]! + distributionCommissions( + limit: Int + order_by: DistributionCommissionOrder + order_desc: Boolean + where: DistributionCommissionFilter + ): [DistributionCommission!]! + perpMarket(pair: String!): PerpMarket + perpMarkets( + limit: Int + order_by: PerpMarketOrder + order_desc: Boolean + where: PerpMarketFilter + ): [PerpMarket!]! + perpPosition(pair: String!, trader_address: String!): PerpPosition + perpPositions( + limit: Int + order_by: PerpPositionOrder + order_desc: Boolean + where: PerpPositionFilter + ): [PerpPosition!]! + redelegations( + limit: Int + order_by: RedelegationOrder + order_desc: Boolean + where: RedelegationFilter + ): [Redelegation!]! + spotLpPositions( + limit: Int + order_by: SpotLpPositionOrder + order_desc: Boolean + where: SpotLpPositionFilter + ): [SpotLpPosition!]! + spotPoolCreated( + limit: Int + order_by: SpotPoolCreatedOrder + order_desc: Boolean + where: SpotPoolCreatedFilter + ): [SpotPoolCreated!]! + spotPoolExited( + limit: Int + order_by: SpotPoolExitedOrder + order_desc: Boolean + where: SpotPoolExitedFilter + ): [SpotPoolExited!]! + spotPoolJoined( + limit: Int + order_by: SpotPoolJoinedOrder + order_desc: Boolean + where: SpotPoolJoinedFilter + ): [SpotPoolJoined!]! + spotPoolSwap( + limit: Int + order_by: SpotPoolSwapOrder + order_desc: Boolean + where: SpotPoolSwapFilter + ): [SpotPoolSwap!]! + spotPools( + limit: Int + order_by: SpotPoolOrder + order_desc: Boolean + where: SpotPoolFilter + ): [SpotPool!]! + unbondings( + limit: Int + order_by: UnbondingOrder + order_desc: Boolean + where: UnbondingFilter + ): [Unbonding!]! + users( + limit: Int + order_by: UserOrder + order_desc: Boolean + where: UserFilter + ): [User!]! + validators( + limit: Int + order_by: ValidatorOrder + order_desc: Boolean + where: ValidatorFilter + ): [Validator!]! +} + +type Redelegation { + amount: Int! + completion_time: String! + creation_block: Block! + delegator: User! + destination_validator: Validator! + source_validator: Validator! +} + +input RedelegationFilter { + delegator_address: String + destination_validator_address: String + source_validator_address: String +} + +enum RedelegationOrder { + completion_time + creation_height + delegator_address + destinaiton_validator_address + source_validator_address +} + +type SharesToken { + amount: String! + denom: String! +} + +type SpotLpPosition { + created_block: Block! + pool: SpotPool! + pool_shares: SharesToken! + user: User! +} + +input SpotLpPositionFilter { + pool_id: Int + user_address: String +} + +enum SpotLpPositionOrder { + pool_id + user_address +} + +type SpotPool { + amplification: Float! + created_block: Block! + exit_fee: Float! + pool_id: Int! + pool_type: String! + swap_fee: Float! + tokens: [Token!]! + total_shares: SharesToken! + total_weight: Float! + weights: [Token!]! +} + +type SpotPoolCreated { + block: Block! + pool: SpotPool! + pool_shares: SharesToken! + user_address: String! +} + +input SpotPoolCreatedFilter { + pool_id: Int + user_address: String +} + +enum SpotPoolCreatedOrder { + pool_id + user_address +} + +type SpotPoolExited { + block: Block! + pool: SpotPool! + pool_shares: SharesToken! + user_address: String! +} + +input SpotPoolExitedFilter { + pool_id: Int + user_address: String +} + +enum SpotPoolExitedOrder { + pool_id + user_address +} + +input SpotPoolFilter { + pool_id: Int +} + +type SpotPoolJoined { + block: Block! + pool: SpotPool! + pool_shares: SharesToken! + user_address: String! +} + +input SpotPoolJoinedFilter { + pool_id: Int + user_address: String +} + +enum SpotPoolJoinedOrder { + pool_id + user_address +} + +enum SpotPoolOrder { + pool_id +} + +type SpotPoolSwap { + block: Block! + pool: SpotPool! + token_in: Token! + token_out: Token! + user_address: String! +} + +input SpotPoolSwapFilter { + block_eq: Int + block_gte: Int + block_lte: Int + pool_id: Int + user_address: String +} + +enum SpotPoolSwapOrder { + block + pool_id + user_address +} + +type Token { + amount: Int! + denom: String! +} + +type Unbonding { + amount: Int! + completion_time: String! + creation_block: Block! + delegator: User! + validator: Validator! +} + +input UnbondingFilter { + delegator_address: String + validator_address: String +} + +enum UnbondingOrder { + completion_time + creation_height + delegator_address + validator_address +} + +type User { + address: String! + balances: [Token]! + created_block: Block! +} + +input UserFilter { + address: String + created_block_eq: Int + created_block_gte: Int + created_block_lte: Int +} + +enum UserOrder { + address + created_block +} + +type Validator { + commission_rates: ValidatorCommission + commission_update_time: String! + delegator_shares: Float! + description: ValidatorDescription! + jailed: Boolean! + min_self_delegation: Int! + operator_address: String! + status: ValidatorStatus! + tokens: Int! + unbonding_block: Block! + unbonding_time: String! +} + +type ValidatorCommission { + max_change_rate: Float! + max_rate: Float! + rate: Float! +} + +type ValidatorDescription { + details: String! + identity: String! + moniker: String! + security_contact: String! + website: String! +} + +input ValidatorFilter { + jailed: Boolean + moniker: String + operator_address: String + status: ValidatorStatus +} + +enum ValidatorOrder { + jailed + moniker + operator_address + status +} + +enum ValidatorStatus { + BONDED + UNBONDED + UNBONDING +} diff --git a/packages/indexer-nibi/src/graphql-codegen/codegen-loader.js b/packages/indexer-nibi/src/graphql-codegen/codegen-loader.js new file mode 100644 index 00000000..fbae80b2 --- /dev/null +++ b/packages/indexer-nibi/src/graphql-codegen/codegen-loader.js @@ -0,0 +1,24 @@ +const { fetch } = require("cross-fetch") +const { getIntrospectionQuery, buildClientSchema } = require("graphql") + +module.exports = async () => { + // Logic for loading the GraphQLSchema + try { + const response = await fetch( + "https://hm-graphql.devnet-2.nibiru.fi/query", + { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify({ query: getIntrospectionQuery() }), + } + ) + const { data } = await response.json() + + return buildClientSchema(data) + } catch (error) { + console.error(error) + throw error + } +} diff --git a/packages/indexer-nibi/src/graphql-codegen/codegen.ts b/packages/indexer-nibi/src/graphql-codegen/codegen.ts new file mode 100644 index 00000000..044307be --- /dev/null +++ b/packages/indexer-nibi/src/graphql-codegen/codegen.ts @@ -0,0 +1,25 @@ +import type { CodegenConfig } from "@graphql-codegen/cli" + +const config: CodegenConfig = { + schema: { + "indexer-nibi": { + loader: "./src/graphql-codegen/codegen-loader.js", + }, + }, + hooks: { + afterOneFileWrite: ["prettier --write"], + }, + generates: { + "./src/gql/schema.graphql": { + plugins: ["schema-ast"], + }, + "./src/gql/generated.ts": { + plugins: ["typescript", "typescript-operations"], + config: { + immutableTypes: true, + }, + }, + }, +} + +export default config diff --git a/packages/indexer-nibi/src/heart-monitor.test.ts b/packages/indexer-nibi/src/heart-monitor.test.ts index c99e0c8e..2707314d 100644 --- a/packages/indexer-nibi/src/heart-monitor.test.ts +++ b/packages/indexer-nibi/src/heart-monitor.test.ts @@ -1,15 +1,8 @@ -/* eslint-disable jest/no-conditional-expect */ import { HeartMonitor } from "./heart-monitor" -import { CandlePeriod, StatsPeriod } from "./enum" import { cleanResponse, gqlEndptFromTmRpc } from "./gql" -const fromBlock = 1 -const toBlock = 10 -const lastN = 20 -const pair = "ubtc:unusd" - const heartMonitor = new HeartMonitor({ - endptTm: "https://rpc.itn-1.nibiru.fi", + endptTm: "https://hm-graphql.devnet-2.nibiru.fi", }) describe("Heart Monitor constructor", () => { @@ -76,482 +69,376 @@ describe("gqlEndptFromTmRpc", () => { }) }) -test("markPriceCandles", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.markPriceCandles({ - pair, - period: CandlePeriod.MIN_5, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), - }) - expect(resp).toHaveProperty("markPriceCandles") +test("communityPool", async () => { + const resp = await heartMonitor.communityPool({}) + expect(resp).toHaveProperty("communityPool") - if (resp.markPriceCandles.length > 0) { - const [candle] = resp.markPriceCandles - const fields = [ - "pair", - "open", - "close", - "high", - "low", - "period", - "periodStartTs", - ] + if (resp.communityPool!.length > 0) { + const [communityPool] = resp.communityPool! + const fields = ["amount", "denom"] fields.forEach((field: string) => { - expect(candle).toHaveProperty(field) + expect(communityPool).toHaveProperty(field) }) } }) -test("markPrices", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.markPrices({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("delegations", async () => { + const resp = await heartMonitor.delegations({ + limit: 1, }) - expect(resp).toHaveProperty("markPrices") + expect(resp).toHaveProperty("delegations") - if (resp.markPrices.length > 0) { - const [price] = resp.markPrices - const fields = ["pair", "block", "blockTs", "price"] + if (resp.delegations!.length > 0) { + const [delegation] = resp.delegations! + const fields = ["amount", "delegator", "validator"] fields.forEach((field: string) => { - expect(price).toHaveProperty(field) + expect(delegation).toHaveProperty(field) }) } }) -test("liquidations", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 30 * 24 * 60 * 60) - const resp = await heartMonitor.liquidations({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("distributionCommissions", async () => { + const resp = await heartMonitor.distributionCommissions({ + limit: 1, }) - expect(resp).toHaveProperty("liquidations") + expect(resp).toHaveProperty("distributionCommissions") - if (resp.liquidations.length > 0) { - const [liquidation] = resp.liquidations - const fields = [ - "block", - "blockTs", - "traderAddress", - "pair", - "liquidatorAddress", - "exchangedQuoteAmount", - "exchangedPositionSize", - "feeToLiquidator", - "feeToEcosystemFund", - "badDebt", - ] + if (resp.distributionCommissions!.length > 0) { + const [distributionCommissions] = resp.distributionCommissions! + const fields = ["commission", "validator"] fields.forEach((field: string) => { - expect(liquidation).toHaveProperty(field) + expect(distributionCommissions).toHaveProperty(field) }) } }) -test("fundingRates", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 30 * 24 * 60 * 60) - const resp = await heartMonitor.fundingRates({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), - }) - expect(resp).toHaveProperty("fundingRates") +test("perpMarket", async () => { + const resp = await heartMonitor.perpMarket({ pair: "" }) + expect(resp).toHaveProperty("perpMarket") - if (resp.fundingRates.length > 0) { - const [fundingRate] = resp.fundingRates + if (resp.perpMarket) { + const perpMarket = resp.perpMarket! const fields = [ - "block", - "blockTs", "pair", - "markPrice", - "indexPrice", - "latestFundingRate", - "cumulativePremiumFraction", + "enabled", + "maintenance_margin_ratio", + "max_leverage", + "latest_cumulative_premium_fraction", + "exchange_fee_ratio", + "ecosystem_fund_fee_ratio", + "liquidation_fee_ratio", + "partial_liquidation_ratio", + "funding_rate_epoch_id", + "twap_lookback_window", + "prepaid_bad_debt", + "base_reserve", + "quote_reserve", + "sqrt_depth", + "price_multiplier", + "total_long", + "total_short", + "mark_price", + "mark_price_twap", + "index_price_twap", + "is_deleted", ] fields.forEach((field: string) => { - expect(fundingRate).toHaveProperty(field) + expect(perpMarket).toHaveProperty(field) }) } }) -test("transfers", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.transfers({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("perpMarkets", async () => { + const resp = await heartMonitor.perpMarkets({ + limit: 1, }) - expect(resp).toHaveProperty("transfers") - - if (resp.transfers.length > 0) { - const [transfer] = resp.transfers - const fields = ["block", "blockTs", "recipient", "sender", "amount"] - fields.forEach((field: string) => { - expect(transfer).toHaveProperty(field) - }) - } -}) + expect(resp).toHaveProperty("perpMarkets") -test("oraclePrices", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.oraclePrices({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), - }) - expect(resp).toHaveProperty("oraclePrices") - - if (resp.oraclePrices.length > 0) { - const [price] = resp.oraclePrices - const fields = ["pair", "block", "blockTs", "price"] + if (resp.perpMarkets) { + const [perpMarkets] = resp.perpMarkets! + const fields = [ + "pair", + "enabled", + "maintenance_margin_ratio", + "max_leverage", + "latest_cumulative_premium_fraction", + "exchange_fee_ratio", + "ecosystem_fund_fee_ratio", + "liquidation_fee_ratio", + "partial_liquidation_ratio", + "funding_rate_epoch_id", + "twap_lookback_window", + "prepaid_bad_debt", + "base_reserve", + "quote_reserve", + "sqrt_depth", + "price_multiplier", + "total_long", + "total_short", + "mark_price", + "mark_price_twap", + "index_price_twap", + "is_deleted", + ] fields.forEach((field: string) => { - expect(price).toHaveProperty(field) + expect(perpMarkets).toHaveProperty(field) }) } }) -test("positions", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.positions({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), - }) - expect(resp).toHaveProperty("positions") +test("perpPosition", async () => { + const resp = await heartMonitor.perpPosition({ pair: "", trader_address: "" }) + expect(resp).toHaveProperty("perpPosition") - if (resp.positions.length > 0) { - const [position] = resp.positions + if (resp.perpPosition) { + const perpPosition = resp.perpPosition! const fields = [ "pair", - "block", - "blockTs", - "trader", + "trader_address", "size", "margin", - "openNotional", - "positionNotional", - "unrealizedPnl", - "marginRatioMark", - "marginRatioIndex", - "openBlock", + "open_notional", + "position_notional", + "latest_cumulative_premium_fraction", + "unrealized_pnl", + "unrealized_funding_payment", + "margin_ratio", + "bad_debt", + "last_updated_block", ] fields.forEach((field: string) => { - expect(position).toHaveProperty(field) + expect(perpPosition).toHaveProperty(field) }) } }) -test("positionChanges", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.positionChanges({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("perpPositions", async () => { + const resp = await heartMonitor.perpPositions({ + limit: 1, }) - expect(resp).toHaveProperty("positionChanges") + expect(resp).toHaveProperty("perpPositions") - if (resp.positionChanges.length > 0) { - const [change] = resp.positionChanges + if (resp.perpPositions) { + const [perpPositions] = resp.perpPositions! const fields = [ "pair", - "block", - "blockTs", - "traderAddress", + "trader_address", + "size", "margin", - "markPrice", - "positionSize", - "exchangedSize", - "positionNotional", - "exchangedNotional", - "fundingPayment", - "transactionFee", - "unrealizedPnlAfter", - "realizedPnl", - "badDebt", + "open_notional", + "position_notional", + "latest_cumulative_premium_fraction", + "unrealized_pnl", + "unrealized_funding_payment", + "margin_ratio", + "bad_debt", + "last_updated_block", ] fields.forEach((field: string) => { - expect(change).toHaveProperty(field) + expect(perpPositions).toHaveProperty(field) }) } }) -test("unbondings", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.unbondings({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("redelegations", async () => { + const resp = await heartMonitor.redelegations({ + limit: 1, }) - expect(resp).toHaveProperty("unbondings") + expect(resp).toHaveProperty("redelegations") - if (resp.unbondings.length > 0) { - const [unbonding] = resp.unbondings + if (resp.redelegations!.length > 0) { + const [redelegations] = resp.redelegations! const fields = [ - "block", - "blockTs", - "validatorAddress", - "delegatorAddress", - "creationHeight", - "completionTime", - "initialBalance", - "balance", + "delegator", + "source_validator", + "destination_validator", + "amount", + "creation_block", + "completion_time", ] fields.forEach((field: string) => { - expect(unbonding).toHaveProperty(field) + expect(redelegations).toHaveProperty(field) }) } }) -test("statsVolume", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.statsVolume({ - limit: 3, - period: StatsPeriod.HOUR_1, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotLpPositions", async () => { + const resp = await heartMonitor.spotLpPositions({ + limit: 1, }) - expect(resp).toHaveProperty("statsVolume") + expect(resp).toHaveProperty("spotLpPositions") - if (resp.statsVolume.length > 0) { - const [statVolume] = resp.statsVolume - const fields = [ - "period", - "periodStartTs", - "volumePerp", - "volumeSwap", - "volumeTotal", - "volumePerpCumulative", - "volumeSwapCumulative", - "volumeTotalCumulative", - ] + if (resp.spotLpPositions!.length > 0) { + const [spotLpPositions] = resp.spotLpPositions! + const fields = ["pool", "user", "pool_shares", "created_block"] fields.forEach((field: string) => { - expect(statVolume).toHaveProperty(field) + expect(spotLpPositions).toHaveProperty(field) }) } }) -test("validators", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.validators({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotPoolCreated", async () => { + const resp = await heartMonitor.spotPoolCreated({ + limit: 1, }) - expect(resp).toHaveProperty("validators") + expect(resp).toHaveProperty("spotPoolCreated") - if (resp.validators.length > 0) { - const [validator] = resp.validators - const fields = [ - "block", - "blockTs", - "operatorAddress", - "jailed", - "statusBonded", - "tokens", - "delegatorShares", - "description", - "unbondingHeight", - "unbondingTime", - "commissionRates", - "commissionUpdateTime", - ] + if (resp.spotPoolCreated!.length > 0) { + const [spotPoolCreated] = resp.spotPoolCreated! + const fields = ["user_address", "block", "pool", "pool_shares"] fields.forEach((field: string) => { - expect(validator).toHaveProperty(field) + expect(spotPoolCreated).toHaveProperty(field) }) } }) -test("delegations", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.delegations({ - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotPoolExited", async () => { + const resp = await heartMonitor.spotPoolExited({ + limit: 1, }) - expect(resp).toHaveProperty("delegations") + expect(resp).toHaveProperty("spotPoolExited") - if (resp.delegations.length > 0) { - const [delegation] = resp.delegations - const fields = [ - "block", - "blockTs", - "validatorAddress", - "delegatorAddress", - "shares", - "balance", - ] + if (resp.spotPoolExited!.length > 0) { + const [spotPoolExited] = resp.spotPoolExited! + const fields = ["user_address", "block", "pool", "pool_shares"] fields.forEach((field: string) => { - expect(delegation).toHaveProperty(field) + expect(spotPoolExited).toHaveProperty(field) }) } }) -test("staking pool", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.stakingPool({ - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotPoolJoined", async () => { + const resp = await heartMonitor.spotPoolJoined({ + limit: 1, }) - expect(resp).toHaveProperty("stakingPool") + expect(resp).toHaveProperty("spotPoolJoined") - if (resp.stakingPool.length > 0) { - const [stakingPool] = resp.stakingPool - const fields = ["block", "blockTs", "bondedTokens", "notBondedTokens"] + if (resp.spotPoolJoined!.length > 0) { + const [spotPoolJoined] = resp.spotPoolJoined! + const fields = ["user_address", "block", "pool", "pool_shares"] fields.forEach((field: string) => { - expect(stakingPool).toHaveProperty(field) + expect(spotPoolJoined).toHaveProperty(field) }) } }) -test("balances", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.balances({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotPools", async () => { + const resp = await heartMonitor.spotPools({ + limit: 1, }) - expect(resp).toHaveProperty("balances") + expect(resp).toHaveProperty("spotPools") - if (resp.balances.length > 0) { - const [balance] = resp.balances - const fields = ["block", "blockTs", "moduleName", "address", "balance"] + if (resp.spotPools!.length > 0) { + const [spotPools] = resp.spotPools! + const fields = [ + "pool_id", + "pool_type", + "swap_fee", + "exit_fee", + "amplification", + "tokens", + "weights", + "total_weight", + "total_shares", + "created_block", + ] fields.forEach((field: string) => { - expect(balance).toHaveProperty(field) + expect(spotPools).toHaveProperty(field) }) } }) -test("vpoolConfigs", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.vpoolConfigs({ - pair, - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("spotPoolSwap", async () => { + const resp = await heartMonitor.spotPoolSwap({ + limit: 1, }) - expect(resp).toHaveProperty("vpoolConfigs") + expect(resp).toHaveProperty("spotPoolSwap") - if (resp.vpoolConfigs.length > 0) { - const [config] = resp.vpoolConfigs - const fields = [ - "block", - "blockTs", - "pair", - "tradeLimitRatio", - "fluctuationLimitRatio", - "maxOracleSpreadRatio", - "maintenanceMarginRatio", - "maxLeverage", - ] + if (resp.spotPoolSwap!.length > 0) { + const [spotPoolSwap] = resp.spotPoolSwap! + const fields = ["user_address", "block", "token_in", "token_out", "pool"] fields.forEach((field: string) => { - expect(config).toHaveProperty(field) + expect(spotPoolSwap).toHaveProperty(field) }) } }) -test("ammPools", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.ammPools({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("unbondings", async () => { + const resp = await heartMonitor.unbondings({ + limit: 1, }) - expect(resp).toHaveProperty("ammPools") + expect(resp).toHaveProperty("unbondings") - if (resp.ammPools.length > 0) { - const [config] = resp.ammPools + if (resp.unbondings!.length > 0) { + const [unbonding] = resp.unbondings! const fields = [ - "block", - "blockTs", - "poolId", - "address", - "swapFee", - "exitFee", - "amplification", - "poolType", - "assets", - "totalWeight", - "totalShares", + "delegator", + "validator", + "amount", + "creation_block", + "completion_time", ] fields.forEach((field: string) => { - expect(config).toHaveProperty(field) + expect(unbonding).toHaveProperty(field) }) } }) -test("ammTotalLiquidity", async () => { - const nowTimestamp = Date.now() - const endDate = new Date(nowTimestamp) - const startDate = new Date(nowTimestamp - 1000 * 7 * 24 * 60 * 60) - const resp = await heartMonitor.ammTotalLiquidity({ - limit: 3, - startTs: startDate.toISOString(), - endTs: endDate.toISOString(), +test("users", async () => { + const resp = await heartMonitor.users({ + limit: 1, }) - expect(resp).toHaveProperty("ammTotalLiquidity") + expect(resp).toHaveProperty("users") - if (resp.ammTotalLiquidity.length > 0) { - const [config] = resp.ammTotalLiquidity - const fields = ["block", "blockTs", "liquidity"] + if (resp.users!.length > 0) { + const [users] = resp.users! + const fields = ["address", "balances", "created_block"] fields.forEach((field: string) => { - expect(config).toHaveProperty(field) + expect(users).toHaveProperty(field) }) } }) -test("perpLeaderboard", async () => { - const resp = await heartMonitor.perpLeaderboard() - expect(resp).toHaveProperty("perpLeaderboard") +test("validators", async () => { + const resp = await heartMonitor.validators({ + limit: 1, + }) + expect(resp).toHaveProperty("validators") - if (resp.perpLeaderboard.length > 0) { - const [config] = resp.perpLeaderboard - const fields = ["traderAddress", "percentagePnl", "rawPnl", "inputMargin"] + if (resp.validators!.length > 0) { + const [validator] = resp.validators! + const fields = [ + "commission_rates", + "commission_update_time", + "delegator_shares", + "description", + "jailed", + "min_self_delegation", + "operator_address", + "status", + "tokens", + "unbonding_block", + "unbonding_time", + ] fields.forEach((field: string) => { - expect(config).toHaveProperty(field) + expect(validator).toHaveProperty(field) }) } }) +// test("perpLeaderboard", async () => { +// const resp = await heartMonitor.perpLeaderboard() +// expect(resp).toHaveProperty("perpLeaderboard") + +// if (resp.perpLeaderboard!.length > 0) { +// const [config] = resp.perpLeaderboard! +// const fields = ["traderAddress", "percentagePnl", "rawPnl", "inputMargin"] +// fields.forEach((field: string) => { +// expect(config).toHaveProperty(field) +// }) +// } +// }) + describe("gql cleanResponse", () => { test("should return the response data if rawResp is ok and contains data", async () => { const rawResp = { diff --git a/packages/indexer-nibi/src/heart-monitor.ts b/packages/indexer-nibi/src/heart-monitor.ts index 19883526..5160198b 100644 --- a/packages/indexer-nibi/src/heart-monitor.ts +++ b/packages/indexer-nibi/src/heart-monitor.ts @@ -1,117 +1,120 @@ -import { arg, gqlEndptFromTmRpc } from "./gql" +import { gqlEndptFromTmRpc } from "./gql" import { - fundingRates, - GqlInFundingRate, - GqlOutFundingRate, -} from "./query/fundingRates" + QueryCommunityPoolArgs, + QueryDelegationsArgs, + QueryDistributionCommissionsArgs, + QueryPerpMarketArgs, + QueryPerpMarketsArgs, + QueryPerpPositionArgs, + QueryPerpPositionsArgs, + QueryRedelegationsArgs, + QuerySpotLpPositionsArgs, + QuerySpotPoolCreatedArgs, + QuerySpotPoolExitedArgs, + QuerySpotPoolJoinedArgs, + QuerySpotPoolSwapArgs, + QuerySpotPoolsArgs, + QueryUnbondingsArgs, + QueryUsersArgs, + QueryValidatorsArgs, +} from "./gql/generated" import { - GqlInLiquidation, - GqlOutLiquidations, - liquidations, -} from "./query/liquidations" -import { - GqlInMarkPriceCandle, - GqlOutMarkPriceCandle, - markPriceCandles, -} from "./query/markPriceCandles" -import { GqlInMarkPrice, GqlOutMarkPrice, markPrices } from "./query/markPrices" -import { GqlInTransfer, GqlOutTransfer, transfers } from "./query/transfer" -import { - GqlInOraclePrice, - GqlOutOraclePrice, - oraclePrices, -} from "./query/oraclePrices" -import { GqlInPosition, GqlOutPosition, positions } from "./query/positions" -import { - GqlInUnbondings, + GqlOutCommunityPool, + GqlOutDelegations, + GqlOutDistributionCommissions, + GqlOutPerpMarket, + GqlOutPerpMarkets, + GqlOutPerpPosition, + GqlOutPerpPositions, + GqlOutRedelegations, + GqlOutSpotLpPositions, + GqlOutSpotPoolCreated, + GqlOutSpotPoolExited, + GqlOutSpotPoolJoined, + GqlOutSpotPoolSwap, + GqlOutSpotPools, GqlOutUnbondings, - unbondings, -} from "./query/unbondings" -import { - GqlInStatsVolume, - GqlOutStatsVolume, - statsVolume, -} from "./query/statsVolume" -import { GqlInValidator, GqlOutValidator, validators } from "./query/validators" -import { balances, GqlInBalance, GqlOutBalance } from "./query/balances" -import { - GqlInVPoolConfig, - GqlOutVPoolConfig, - vpoolConfigs, -} from "./query/vpoolConfigs" -import { - GqlInPositionChange, - GqlOutPositionChange, - positionChanges, -} from "./query/positionChanges" -import { ammPools, GqlInAmmPool, GqlOutAmmPool } from "./query/ammPools" -import { - ammTotalLiquidity, - GqlInAmmTotalLiquidity, - GqlOutAmmTotalLiquidity, -} from "./query/ammTotalLiquidity" -import { + GqlOutUsers, + GqlOutValidators, + communityPool, delegations, - GqlInDelegations, - GqlOutDelegations, -} from "./query/delegations" -import { - GqlInStakingPool, - GqlOutStakingPool, - stakingPool, -} from "./query/stakingPool" -import { - GqlInPerpLeaderboard, - GqlOutPerpLeaderboard, - perpLeaderboard, -} from "./query/perpLeaderboard" + distributionCommissions, + perpMarket, + perpMarkets, + perpPosition, + perpPositions, + redelegations, + spotLpPositions, + spotPoolCreated, + spotPoolExited, + spotPoolJoined, + spotPoolSwap, + spotPools, + unbondings, + users, + validators, +} from "./query" /** IHeartMonitor is an interface for a Heart Monitor GraphQL API. * Each of its methods corresponds to a query function. */ export interface IHeartMonitor { - readonly markPriceCandles: ( - args: GqlInMarkPriceCandle - ) => Promise - - readonly markPrices: (args: GqlInMarkPrice) => Promise + readonly communityPool: ( + args: QueryCommunityPoolArgs + ) => Promise - readonly liquidations: (args: GqlInLiquidation) => Promise + readonly delegations: ( + args: QueryDelegationsArgs + ) => Promise - readonly fundingRates: (args: GqlInFundingRate) => Promise + readonly distributionCommissions: ( + args: QueryDistributionCommissionsArgs + ) => Promise - readonly transfers: (args: GqlInTransfer) => Promise + readonly perpMarket: (args: QueryPerpMarketArgs) => Promise - readonly oraclePrices: (args: GqlInOraclePrice) => Promise + readonly perpMarkets: ( + args: QueryPerpMarketsArgs + ) => Promise - readonly positions: (args: GqlInPosition) => Promise + readonly perpPosition: ( + args: QueryPerpPositionArgs + ) => Promise - readonly positionChanges: ( - args: GqlInPositionChange - ) => Promise + readonly perpPositions: ( + args: QueryPerpPositionsArgs + ) => Promise - readonly unbondings: (args: GqlInUnbondings) => Promise + readonly redelegations: ( + args: QueryRedelegationsArgs + ) => Promise - readonly statsVolume: (args: GqlInStatsVolume) => Promise + readonly spotLpPositions: ( + args: QuerySpotLpPositionsArgs + ) => Promise - readonly validators: (args: GqlInValidator) => Promise + readonly spotPoolCreated: ( + args: QuerySpotPoolCreatedArgs + ) => Promise - readonly delegations: (args: GqlInDelegations) => Promise + readonly spotPoolExited: ( + args: QuerySpotPoolExitedArgs + ) => Promise - readonly stakingPool: (args: GqlInStakingPool) => Promise + readonly spotPoolJoined: ( + args: QuerySpotPoolJoinedArgs + ) => Promise - readonly balances: (args: GqlInBalance) => Promise + readonly spotPools: (args: QuerySpotPoolsArgs) => Promise - readonly vpoolConfigs: (args: GqlInVPoolConfig) => Promise + readonly spotPoolSwap: ( + args: QuerySpotPoolSwapArgs + ) => Promise - readonly ammPools: (args: GqlInAmmPool) => Promise + readonly unbondings: (args: QueryUnbondingsArgs) => Promise - readonly ammTotalLiquidity: ( - args: GqlInAmmTotalLiquidity - ) => Promise + readonly users: (args: QueryUsersArgs) => Promise - readonly perpLeaderboard: ( - args?: GqlInPerpLeaderboard - ) => Promise + readonly validators: (args: QueryValidatorsArgs) => Promise } /** HeartMonitor is an API for "Heart Monitor" that indexes the Nibiru blockchain @@ -119,82 +122,68 @@ export interface IHeartMonitor { * corresponds to a query function. */ export class HeartMonitor implements IHeartMonitor { gqlEndpt: string - - defaultGqlEndpt: string = "https://hm-graphql.devnet-2.nibiru.fi/graphql" + defaultGqlEndpt = "https://hm-graphql.devnet-2.nibiru.fi/query" constructor(gqlEndpt?: string | { endptTm: string }) { const chain = gqlEndpt as { endptTm: string } - if (gqlEndpt === undefined) { + if (!gqlEndpt) { this.gqlEndpt = this.defaultGqlEndpt } else if (typeof gqlEndpt === "string") { this.gqlEndpt = gqlEndpt - } else if (chain && chain.endptTm !== undefined) { - const endptFromRpc = gqlEndptFromTmRpc(chain.endptTm) - this.gqlEndpt = - endptFromRpc !== null ? endptFromRpc : this.defaultGqlEndpt + } else if (chain?.endptTm) { + const endptFromRpc = gqlEndptFromTmRpc(chain?.endptTm) + this.gqlEndpt = endptFromRpc ?? this.defaultGqlEndpt } else { this.gqlEndpt = this.defaultGqlEndpt } } - // ------------------------------------------------------------ - // hooks - // ------------------------------------------------------------ - - markPriceCandles = async ( - args: GqlInMarkPriceCandle - ): Promise => markPriceCandles(args, this.gqlEndpt) - - markPrices = async (args: GqlInMarkPrice): Promise => - markPrices(args, this.gqlEndpt) + communityPool = async (args: QueryCommunityPoolArgs) => + communityPool(args, this.gqlEndpt) - liquidations = async (args: GqlInLiquidation): Promise => - liquidations(args, this.gqlEndpt) + delegations = async (args: QueryDelegationsArgs) => + delegations(args, this.gqlEndpt) - fundingRates = async (args: GqlInFundingRate): Promise => - fundingRates(args, this.gqlEndpt) + distributionCommissions = async (args: QueryDistributionCommissionsArgs) => + distributionCommissions(args, this.gqlEndpt) - transfers = async (args: GqlInTransfer): Promise => - transfers(args, this.gqlEndpt) + perpMarket = async (args: QueryPerpMarketArgs) => + perpMarket(args, this.gqlEndpt) - oraclePrices = async (args: GqlInOraclePrice): Promise => - oraclePrices(args, this.gqlEndpt) + perpMarkets = async (args: QueryPerpMarketsArgs) => + perpMarkets(args, this.gqlEndpt) - positions = async (args: GqlInPosition): Promise => - positions(args, this.gqlEndpt) + perpPosition = async (args: QueryPerpPositionArgs) => + perpPosition(args, this.gqlEndpt) - positionChanges = ( - args: GqlInPositionChange - ): Promise => positionChanges(args, this.gqlEndpt) + perpPositions = async (args: QueryPerpPositionsArgs) => + perpPositions(args, this.gqlEndpt) - unbondings = async (args: GqlInUnbondings): Promise => - unbondings(args, this.gqlEndpt) + redelegations = async (args: QueryRedelegationsArgs) => + redelegations(args, this.gqlEndpt) - statsVolume = async (args: GqlInStatsVolume): Promise => - statsVolume(args, this.gqlEndpt) + spotLpPositions = async (args: QuerySpotLpPositionsArgs) => + spotLpPositions(args, this.gqlEndpt) - validators = async (args: GqlInValidator): Promise => - validators(args, this.gqlEndpt) + spotPoolCreated = async (args: QuerySpotPoolCreatedArgs) => + spotPoolCreated(args, this.gqlEndpt) - delegations = (args: GqlInDelegations): Promise => - delegations(args, this.gqlEndpt) + spotPoolExited = async (args: QuerySpotPoolExitedArgs) => + spotPoolExited(args, this.gqlEndpt) - stakingPool = (args: GqlInStakingPool): Promise => - stakingPool(args, this.gqlEndpt) + spotPoolJoined = async (args: QuerySpotPoolJoinedArgs) => + spotPoolJoined(args, this.gqlEndpt) - balances = async (args: GqlInBalance): Promise => - balances(args, this.gqlEndpt) + spotPools = async (args: QuerySpotPoolsArgs) => spotPools(args, this.gqlEndpt) - vpoolConfigs = async (args: GqlInVPoolConfig): Promise => - vpoolConfigs(args, this.gqlEndpt) + spotPoolSwap = async (args: QuerySpotPoolSwapArgs) => + spotPoolSwap(args, this.gqlEndpt) - ammPools = async (args: GqlInAmmPool): Promise => - ammPools(args, this.gqlEndpt) + unbondings = async (args: QueryUnbondingsArgs) => + unbondings(args, this.gqlEndpt) - ammTotalLiquidity = async ( - args: GqlInAmmTotalLiquidity - ): Promise => ammTotalLiquidity(args, this.gqlEndpt) + users = async (args: QueryUsersArgs) => users(args, this.gqlEndpt) - perpLeaderboard = async (args?: GqlInPerpLeaderboard) => - perpLeaderboard(this.gqlEndpt, args) + validators = async (args: QueryValidatorsArgs) => + validators(args, this.gqlEndpt) } diff --git a/packages/indexer-nibi/src/index.ts b/packages/indexer-nibi/src/index.ts index 16a3b933..b7277459 100644 --- a/packages/indexer-nibi/src/index.ts +++ b/packages/indexer-nibi/src/index.ts @@ -1,23 +1,5 @@ -/** - * @fileoverview '@nibiruchain/indexer-nibi' contains hooks for querying event data - * indexed from a Nibiru blockchain via a GraphQL endpoint ('heart-monitor' database). - * @see https://github.com/NibiruChain/heart-monitor - * - * ### Hooks - * - useQueryMarkPrices - * - useQueryBlockMarkPrices - * - useQueryPosChange - * - * @example - * ```js - * const fromBlock = 1 - * const toBlock = 20 - * const pair = "ubtc:unusd" - * const prices = await useQueryBlockMarkPrices(); - * console.info("prices: %o", prices) - * ``` - * @package - */ -export * from "./heart-monitor" -export * from "./types" export * from "./enum" +export * from "./query" +export * from "./gql/generated" +export * from "./gql" +export * from "./heart-monitor" diff --git a/packages/indexer-nibi/src/query/ammPools.ts b/packages/indexer-nibi/src/query/ammPools.ts deleted file mode 100644 index f2f41aaf..00000000 --- a/packages/indexer-nibi/src/query/ammPools.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { Coin } from "../types" -import { doGqlQuery, arg } from "../gql" - -export enum AMM_POOL_TYPE { - NONE, - STABLESWAP, -} - -// ------------------------------------------------ -// AmmPool -// ------------------------------------------------ - -/** - * AmmPool: A single amm pool data. - */ -export interface AmmPool { - block: number - blockTs: string - poolId: number - address: string - swapFee: number - exitFee: number - amplification: number - poolType: AMM_POOL_TYPE - assets: Coin[] - totalWeight: number - totalShares: Coin -} - -/** GqlOutAMMPools: Output response for the AMMPool query */ -export interface GqlOutAmmPool { - ammPools: AmmPool[] -} - -/** GqlInAMMPool: Input arguments for the AMMPool query */ -export interface GqlInAmmPool { - limit: number - poolId?: number - address?: string - swapFee?: number - exitFee?: number - totalWeight?: number - block?: string - startTs?: string - endTs?: string - orderBy?: AmmPoolOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum AmmPoolOrderBy { - block = "block", - block_ts = "block_ts", - pool_id = "pool_id", - swap_fee = "swap_fee", - exit_fee = "exit_fee", - total_weight = "total_weight", -} - -export const ammPools = async ( - args: GqlInAmmPool, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = AmmPoolOrderBy.pool_id - - const gqlQuery = ({ - poolId, - address, - swapFee, - exitFee, - totalWeight, - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInAmmPool): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (poolId) whereConditions.push(`poolIdEq: "${poolId}"`) - if (address) whereConditions.push(`addressEq: "${address}"`) - if (swapFee) whereConditions.push(`swapFeeEq: "${swapFee}"`) - if (exitFee) whereConditions.push(`exitFeeEq: "${exitFee}"`) - if (totalWeight) whereConditions.push(`totalWeightEq: "${totalWeight}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - ammPools(${queryArgs}) { - block - blockTs - poolId - address - swapFee - exitFee - amplification - poolType - assets { - amount - denom - } - totalWeight - totalShares { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/ammTotalLiquidity.ts b/packages/indexer-nibi/src/query/ammTotalLiquidity.ts deleted file mode 100644 index 67dbd359..00000000 --- a/packages/indexer-nibi/src/query/ammTotalLiquidity.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { Coin } from "../types" -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// AmmTotalLiquidity -// ------------------------------------------------ - -/** - * AmmTotalLiquidity: A single amm pool data. - */ -export interface AmmTotalLiquidity { - block: number - blockTs: string - liquidity: Coin[] -} - -/** GqlOutAmmTotalLiquidity: Output response for the AmmTotalLiquidity query */ -export interface GqlOutAmmTotalLiquidity { - ammTotalLiquidity: AmmTotalLiquidity[] -} - -/** GqlInAmmTotalLiquidity: Input arguments for the AmmTotalLiquidity query */ -export interface GqlInAmmTotalLiquidity { - limit: number - block?: string - startTs?: string - endTs?: string - orderBy?: AmmTotalLiquidityOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum AmmTotalLiquidityOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const ammTotalLiquidity = async ( - args: GqlInAmmTotalLiquidity, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = AmmTotalLiquidityOrderBy.block - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInAmmTotalLiquidity): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - ammTotalLiquidity(${queryArgs}) { - block - blockTs - liquidity { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/balances.ts b/packages/indexer-nibi/src/query/balances.ts deleted file mode 100644 index 48b6d8f5..00000000 --- a/packages/indexer-nibi/src/query/balances.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { doGqlQuery, arg } from "../gql" -import { Coin } from "../types" - -// ------------------------------------------------ -// Balance -// ------------------------------------------------ - -/** - * Balance: A single balance data. - */ -export interface Balance { - block: number - blockTs: string - moduleName: string - address: string - balance: Coin -} - -/** GqlOutBalance: Output response for the Balance query */ -export interface GqlOutBalance { - balances: Balance[] -} - -/** GqlInBalance: Input arguments for the Balance query */ -export interface GqlInBalance { - limit: number - block?: string - startTs?: string - endTs?: string - moduleName?: string - address?: string - orderBy?: BalanceOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum BalanceOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const balances = async ( - args: GqlInBalance, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = BalanceOrderBy.block_ts - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - moduleName, - address, - orderBy, - orderDescending, - }: GqlInBalance): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - if (moduleName) whereConditions.push(`moduleNameEq: "${moduleName}"`) - if (address) whereConditions.push(`addressEq: "${address}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - balances(${queryArgs}) { - block - blockTs - moduleName - address - balance { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/communityPool.ts b/packages/indexer-nibi/src/query/communityPool.ts new file mode 100644 index 00000000..07bd2e9b --- /dev/null +++ b/packages/indexer-nibi/src/query/communityPool.ts @@ -0,0 +1,26 @@ +import { defaultToken } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + QueryCommunityPoolArgs, + Query, + CommunityPoolToken, +} from "../gql/generated" + +export const defaultCommunityPoolObject: CommunityPoolToken = defaultToken + +export interface GqlOutCommunityPool { + communityPool?: Query["communityPool"] +} + +export const communityPool = async ( + args: QueryCommunityPoolArgs, + endpt: string +): Promise => + doGqlQuery( + gqlQuery( + "communityPool", + args, + convertObjectToPropertiesString(defaultCommunityPoolObject) + ), + endpt + ) diff --git a/packages/indexer-nibi/src/query/delegations.ts b/packages/indexer-nibi/src/query/delegations.ts index 4d0112eb..eded83b2 100644 --- a/packages/indexer-nibi/src/query/delegations.ts +++ b/packages/indexer-nibi/src/query/delegations.ts @@ -1,95 +1,36 @@ -import { doGqlQuery, arg } from "../gql" -import { Coin } from "../types" - -// ------------------------------------------------ -// Delegations -// ------------------------------------------------ - -/** - * Delegations: A single delegation data. - */ -export interface Delegations { - block: number - blockTs: string - validatorAddress: string - delegatorAddress: string - balance: Coin - shares: number +import { defaultDelegator, defaultValidator } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QueryDelegationsArgs, + DelegationOrder, + Delegation, +} from "../gql/generated" + +export const defaultDelegationsObject: Delegation = { + amount: 0, + delegator: defaultDelegator, + validator: defaultValidator, } -/** GqlOutDelegations: Output response for the Delegations query */ export interface GqlOutDelegations { - delegations: Delegations[] -} - -/** GqlInDelegations: Input arguments for the Delegations query */ -export interface GqlInDelegations { - limit?: number - block?: string - startTs?: string - endTs?: string - validatorAddress?: string - delegatorAddress?: string - orderBy?: BalanceOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum BalanceOrderBy { - block = "block", - block_ts = "block_ts", + delegations?: Query["delegations"] } export const delegations = async ( - args: GqlInDelegations, + args: QueryDelegationsArgs, endpt: string ): Promise => { - if (args.limit === undefined) args.limit = 100 - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = BalanceOrderBy.block_ts - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - validatorAddress, - delegatorAddress, - orderBy, - orderDescending, - }: GqlInDelegations): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - if (validatorAddress) - whereConditions.push(`validatorAddressEq: "${validatorAddress}"`) - if (delegatorAddress) - whereConditions.push(`delegatorAddressEq: "${delegatorAddress}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - delegations(${queryArgs}) { - block - blockTs - delegatorAddress - validatorAddress - shares - balance { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) + if (!args.limit) args.limit = 100 + if (!args.order_desc) args.order_desc = true + if (!args.order_by) args.order_by = DelegationOrder.DelegatorAddress + + return doGqlQuery( + gqlQuery( + "delegations", + args, + convertObjectToPropertiesString(defaultDelegationsObject) + ), + endpt + ) } diff --git a/packages/indexer-nibi/src/query/distributionCommissions.ts b/packages/indexer-nibi/src/query/distributionCommissions.ts new file mode 100644 index 00000000..77b71790 --- /dev/null +++ b/packages/indexer-nibi/src/query/distributionCommissions.ts @@ -0,0 +1,36 @@ +import { defaultToken, defaultValidator } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QueryDistributionCommissionsArgs, + DistributionCommissionOrder, + DistributionCommission, +} from "../gql/generated" + +export const defaultDistributionCommissionObject: DistributionCommission = { + commission: [defaultToken], + validator: defaultValidator, +} + +export interface GqlOutDistributionCommissions { + distributionCommissions?: Query["distributionCommissions"] +} + +export const distributionCommissions = async ( + args: QueryDistributionCommissionsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (!args.order_desc) args.order_desc = true + if (!args.order_by) + args.order_by = DistributionCommissionOrder.ValidatorAddress + + return doGqlQuery( + gqlQuery( + "distributionCommissions", + args, + convertObjectToPropertiesString(defaultDistributionCommissionObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/fundingRates.ts b/packages/indexer-nibi/src/query/fundingRates.ts deleted file mode 100644 index 93b33010..00000000 --- a/packages/indexer-nibi/src/query/fundingRates.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// FundingRate -// ------------------------------------------------ - -/** - * FundingRate: A single funding rate data. - */ -export interface FundingRate { - block: number - blockTs: string - pair: string - markPrice: number - indexPrice: number - latestFundingRate: number - cumulativePremiumFraction: number -} - -/** GqlOutFundingRate: Output response for the FundingRate query */ -export interface GqlOutFundingRate { - fundingRates: FundingRate[] -} - -/** GqlInFundingRate: Input arguments for the FundingRate query */ -export interface GqlInFundingRate { - pair: string - limit: number - block?: string - startTs?: string - endTs?: string - orderBy?: FundingRateOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum FundingRateOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const fundingRates = async ( - args: GqlInFundingRate, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = FundingRateOrderBy.block_ts - - const gqlQuery = ({ - pair, - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInFundingRate): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - fundingRates(${queryArgs}) { - block - blockTs - pair - markPrice - indexPrice - latestFundingRate - cumulativePremiumFraction - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/index.ts b/packages/indexer-nibi/src/query/index.ts new file mode 100644 index 00000000..036aef1d --- /dev/null +++ b/packages/indexer-nibi/src/query/index.ts @@ -0,0 +1,17 @@ +export * from "./communityPool" +export * from "./delegations" +export * from "./distributionCommissions" +export * from "./perpMarket" +export * from "./perpMarkets" +export * from "./perpPosition" +export * from "./perpPositions" +export * from "./redelegations" +export * from "./spotLpPositions" +export * from "./spotPoolCreated" +export * from "./spotPoolExited" +export * from "./spotPoolJoined" +export * from "./spotPools" +export * from "./spotPoolSwap" +export * from "./unbondings" +export * from "./users" +export * from "./validators" diff --git a/packages/indexer-nibi/src/query/liquidations.ts b/packages/indexer-nibi/src/query/liquidations.ts deleted file mode 100644 index f7271eec..00000000 --- a/packages/indexer-nibi/src/query/liquidations.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { Coin } from "../types" -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// Liquidation -// ------------------------------------------------ - -/** - * Liquidation: A single liquidation data. - * - pair: identifier for a market pair, e.g. "ueth:unusd". - */ -export interface Liquidation { - block: number - blockTs: string - pair: string - traderAddress: string - liquidatorAddress: string - exchangedQuoteAmount: number - exchangedPositionSize: number - feeToLiquidator: Coin - feeToEcosystemFund: Coin - badDebt: Coin -} - -/** GqlOutLiquidations: Output response for the Liquidation query */ -export interface GqlOutLiquidations { - liquidations: Liquidation[] -} - -/** GqlInLiquidation: Input arguments for the Liquidation query */ -export interface GqlInLiquidation { - pair: string - liquidator?: string - trader?: string - block?: string - limit: number - startTs?: string - endTs?: string - orderBy?: LiquidationsOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum LiquidationsOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const liquidations = async ( - args: GqlInLiquidation, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = LiquidationsOrderBy.block_ts - - const gqlQuery = ({ - pair, - block, - liquidator, - trader, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInLiquidation): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (liquidator) - whereConditions.push(`liquidatorAddressEq: "${liquidator}"`) - if (trader) whereConditions.push(`traderAddressEq: "${trader}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - liquidations(${queryArgs}) { - block - blockTs - traderAddress - pair - liquidatorAddress - exchangedQuoteAmount - exchangedPositionSize - feeToLiquidator { - amount - denom - } - feeToEcosystemFund { - amount - denom - } - badDebt { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/markPriceCandles.ts b/packages/indexer-nibi/src/query/markPriceCandles.ts deleted file mode 100644 index 9303fc9e..00000000 --- a/packages/indexer-nibi/src/query/markPriceCandles.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { CandlePeriod } from "../enum" -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// MarkPriceCandle -// ------------------------------------------------ - -/** - * MarkPriceCandle: A single candlestick aggregation of mark price data. - * - pair: identifier for a market pair, e.g. "ueth:unusd". - * - open: Price at the beginning of the period - * - close: Price at the end of the period - * - high: Highest price in the period - * - low: Lowest price in the period - * - period: - */ -export interface MarkPriceCandle { - pair: string - open: number - close: number - high: number - low: number - period: number - periodStartTs: string -} - -/** GqlOutMarkPriceCandle: Output response for the MarkPriceCandle query */ -export interface GqlOutMarkPriceCandle { - markPriceCandles: MarkPriceCandle[] -} - -/** GqlInMarkPriceCandle: Input arguments for the MarkPriceCandle query */ -export interface GqlInMarkPriceCandle { - pair: string - period: CandlePeriod - limit: number - startTs?: string - endTs?: string - orderBy?: MarkPriceCandleOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum MarkPriceCandleOrderBy { - period = "period", - period_start_ts = "period_start_ts", -} - -export const markPriceCandles = async ( - args: GqlInMarkPriceCandle, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) - args.orderBy = MarkPriceCandleOrderBy.period_start_ts - - const gqlQuery = ({ - pair, - period, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInMarkPriceCandle): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - whereConditions.push(`periodEq: ${period}`) - if (startTs) whereConditions.push(`periodStartTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`periodStartTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - markPriceCandles(${queryArgs}) { - pair - open - close - low - high - period - periodStartTs - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/markPrices.ts b/packages/indexer-nibi/src/query/markPrices.ts deleted file mode 100644 index 82f5f689..00000000 --- a/packages/indexer-nibi/src/query/markPrices.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// MarkPrice -// ------------------------------------------------ - -/** - * MarkPrice: A single mark price data. - */ -export interface MarkPrice { - block: number - blockTs: string - pair: string - price: number -} - -/** GqlOutMarkPrice: Output response for the MarkPrice query */ -export interface GqlOutMarkPrice { - markPrices: MarkPrice[] -} - -/** GqlInMarkPrice: Input arguments for the MarkPrice query */ -export interface GqlInMarkPrice { - pair: string - limit: number - block?: string - startTs?: string - endTs?: string - orderBy?: MarkPriceOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum MarkPriceOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const markPrices = async ( - args: GqlInMarkPrice, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = MarkPriceOrderBy.block_ts - - const gqlQuery = ({ - pair, - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInMarkPrice): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - markPrices(${queryArgs}) { - block - blockTs - pair - price - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/oraclePrices.ts b/packages/indexer-nibi/src/query/oraclePrices.ts deleted file mode 100644 index 1dabbf0d..00000000 --- a/packages/indexer-nibi/src/query/oraclePrices.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// OraclePrice -// ------------------------------------------------ - -/** - * OraclePrice: A single oracle price data. - */ -export interface OraclePrice { - block: number - blockTs: string - pair: string - price: number -} - -/** GqlOutOraclePrice: Output response for the OraclePrice query */ -export interface GqlOutOraclePrice { - oraclePrices: OraclePrice[] -} - -/** GqlInOraclePrice: Input arguments for the OraclePrice query */ -export interface GqlInOraclePrice { - pair: string - limit: number - block?: string - startTs?: string - endTs?: string - orderBy?: OraclePriceOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum OraclePriceOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const oraclePrices = async ( - args: GqlInOraclePrice, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = OraclePriceOrderBy.block_ts - - const gqlQuery = ({ - pair, - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInOraclePrice): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - oraclePrices(${queryArgs}) { - block - blockTs - pair - price - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/perpLeaderboard.ts b/packages/indexer-nibi/src/query/perpLeaderboard.ts deleted file mode 100644 index 97155b32..00000000 --- a/packages/indexer-nibi/src/query/perpLeaderboard.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { doGqlQuery } from "../gql" - -// ------------------------------------------------ -// PerpLeaderboard -// ------------------------------------------------ - -/** - * PerpLeaderboard: Get Perp Leaderboard data - */ -export interface PerpLeaderboard { - traderAddress: string - percentagePnl: number - rawPnl: number - inputMargin: number - lastUpdatedBlock: number - lastUpdatedBlockTs: Date -} -/** GqlInPerpLeaderboard: Optional input arguments for the PerpLeaderboard query */ -export interface GqlInPerpLeaderboard { - address: string -} - -/** GqlOutPerpLeaderboard: Output response for the PerpLeaderboard query */ -export interface GqlOutPerpLeaderboard { - perpLeaderboard: PerpLeaderboard[] -} - -export const perpLeaderboard = async ( - endpt: string, - args?: GqlInPerpLeaderboard -): Promise => - doGqlQuery( - `{ - perpLeaderboard ${ - args?.address ? `(traderAddress: "${args.address}")` : "" - } { - traderAddress - percentagePnl - rawPnl - inputMargin - } - }`, - endpt - ) diff --git a/packages/indexer-nibi/src/query/perpMarket.ts b/packages/indexer-nibi/src/query/perpMarket.ts new file mode 100644 index 00000000..bb681db1 --- /dev/null +++ b/packages/indexer-nibi/src/query/perpMarket.ts @@ -0,0 +1,22 @@ +import { defaultPerpMarket } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { QueryPerpMarketArgs, Query, PerpMarket } from "../gql/generated" + +export const defaultPerpMarketObject: PerpMarket = defaultPerpMarket + +export interface GqlOutPerpMarket { + perpMarket?: Query["perpMarket"] +} + +export const perpMarket = async ( + args: QueryPerpMarketArgs, + endpt: string +): Promise => + doGqlQuery( + gqlQuery( + "perpMarket", + args, + convertObjectToPropertiesString(defaultPerpMarketObject) + ), + endpt + ) diff --git a/packages/indexer-nibi/src/query/perpMarkets.ts b/packages/indexer-nibi/src/query/perpMarkets.ts new file mode 100644 index 00000000..64a5c20f --- /dev/null +++ b/packages/indexer-nibi/src/query/perpMarkets.ts @@ -0,0 +1,32 @@ +import { defaultPerpMarket } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + QueryPerpMarketsArgs, + Query, + PerpMarket, + PerpMarketOrder, +} from "../gql/generated" + +export const defaultPerpMarketsObject: PerpMarket = defaultPerpMarket + +export interface GqlOutPerpMarkets { + perpMarkets?: Query["perpMarkets"] +} + +export const perpMarkets = async ( + args: QueryPerpMarketsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = PerpMarketOrder.Pair + + return doGqlQuery( + gqlQuery( + "perpMarkets", + args, + convertObjectToPropertiesString(defaultPerpMarketsObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/perpPosition.ts b/packages/indexer-nibi/src/query/perpPosition.ts new file mode 100644 index 00000000..786ab2fe --- /dev/null +++ b/packages/indexer-nibi/src/query/perpPosition.ts @@ -0,0 +1,22 @@ +import { defaultPerpPosition } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { Query, PerpPosition, QueryPerpPositionArgs } from "../gql/generated" + +export const defaultPerpPositionObject: PerpPosition = defaultPerpPosition + +export interface GqlOutPerpPosition { + perpPosition?: Query["perpPosition"] +} + +export const perpPosition = async ( + args: QueryPerpPositionArgs, + endpt: string +): Promise => + doGqlQuery( + gqlQuery( + "perpPosition", + args, + convertObjectToPropertiesString(defaultPerpPositionObject) + ), + endpt + ) diff --git a/packages/indexer-nibi/src/query/perpPositions.ts b/packages/indexer-nibi/src/query/perpPositions.ts new file mode 100644 index 00000000..cd915c91 --- /dev/null +++ b/packages/indexer-nibi/src/query/perpPositions.ts @@ -0,0 +1,32 @@ +import { defaultPerpPosition } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + PerpPosition, + QueryPerpPositionsArgs, + PerpPositionOrder, +} from "../gql/generated" + +export const defaultPerpPositionsObject: PerpPosition = defaultPerpPosition + +export interface GqlOutPerpPositions { + perpPositions?: Query["perpPositions"] +} + +export const perpPositions = async ( + args: QueryPerpPositionsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = PerpPositionOrder.CreatedBlock + + return doGqlQuery( + gqlQuery( + "perpPositions", + args, + convertObjectToPropertiesString(defaultPerpPositionsObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/positionChanges.ts b/packages/indexer-nibi/src/query/positionChanges.ts deleted file mode 100644 index 902ae059..00000000 --- a/packages/indexer-nibi/src/query/positionChanges.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { doGqlQuery, arg } from "../gql" -import { Coin } from "../types" - -// ------------------------------------------------ -// PositionChange -// ------------------------------------------------ - -/** - * PositionChange: A single position change data. - */ -export interface PositionChange { - pair: string - block: number - blockTs: string - traderAddress: string - margin: Coin - markPrice: number - positionSize: number - exchangedSize: number - positionNotional: number - exchangedNotional: number - fundingPayment: number - transactionFee: Coin - unrealizedPnlAfter: number - realizedPnl: number - badDebt: string -} - -/** GqlOutPositionChange: Output response for the PositionChange query */ -export interface GqlOutPositionChange { - positionChanges: PositionChange[] -} - -/** GqlInPositionChange: Input arguments for the PositionChange query */ -export interface GqlInPositionChange { - pair: string - limit: number - startTs?: string - endTs?: string - trader?: string - orderBy?: PositionChangeOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum PositionChangeOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const positionChanges = async ( - args: GqlInPositionChange, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = PositionChangeOrderBy.block - - const gqlQuery = ({ - pair, - trader, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInPositionChange): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`pairEq: "${pair}"`) - if (trader) whereConditions.push(`traderEq: ${trader}`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - positionChanges(${queryArgs}) { - block - blockTs - pair - traderAddress - margin { - amount - denom - } - markPrice - positionSize - exchangedSize - positionNotional - exchangedNotional - fundingPayment - transactionFee { - amount - denom - } - unrealizedPnlAfter - realizedPnl - badDebt { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/positions.ts b/packages/indexer-nibi/src/query/positions.ts deleted file mode 100644 index a74d4f9e..00000000 --- a/packages/indexer-nibi/src/query/positions.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// Position -// ------------------------------------------------ - -/** - * Position: A single position data. - */ -export interface Position { - pair: string - block: number - blockTs: string - trader: string - size: number - margin: number - openNotional: number - positionNotional: number - unrealizedPnl: number - marginRatioMark: number - marginRatioIndex: number - openBlock: number -} - -/** GqlOutPosition: Output response for the Position query */ -export interface GqlOutPosition { - positions: Position[] -} - -/** GqlInPosition: Input arguments for the Position query */ -export interface GqlInPosition { - pair?: string - limit: number - startTs?: string - endTs?: string - trader?: string - orderBy?: PositionOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum PositionOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const positions = async ( - args: GqlInPosition, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = PositionOrderBy.block - - const gqlQuery = ({ - pair, - trader, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInPosition): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (pair) whereConditions.push(`pairEq: "${pair}"`) - if (trader) whereConditions.push(`traderEq: "${trader}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - positions(${queryArgs}) { - block - blockTs - pair - trader - size - margin - openNotional - positionNotional - unrealizedPnl - marginRatioMark - marginRatioIndex - openBlock - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/redelegations.ts b/packages/indexer-nibi/src/query/redelegations.ts new file mode 100644 index 00000000..6f1fe5ca --- /dev/null +++ b/packages/indexer-nibi/src/query/redelegations.ts @@ -0,0 +1,43 @@ +import { + defaultBlock, + defaultDelegator, + defaultValidator, +} from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QueryRedelegationsArgs, + Redelegation, + RedelegationOrder, +} from "../gql/generated" + +export const defaultRedelegationsObject: Redelegation = { + amount: 0, + delegator: defaultDelegator, + source_validator: defaultValidator, + destination_validator: defaultValidator, + completion_time: "", + creation_block: defaultBlock, +} + +export interface GqlOutRedelegations { + redelegations?: Query["redelegations"] +} + +export const redelegations = async ( + args: QueryRedelegationsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = RedelegationOrder.CreationHeight + + return doGqlQuery( + gqlQuery( + "redelegations", + args, + convertObjectToPropertiesString(defaultRedelegationsObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotLpPositions.ts b/packages/indexer-nibi/src/query/spotLpPositions.ts new file mode 100644 index 00000000..e2fec11c --- /dev/null +++ b/packages/indexer-nibi/src/query/spotLpPositions.ts @@ -0,0 +1,42 @@ +import { + defaultBlock, + defaultPool, + defaultTokenAsString, + defaultUser, +} from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QuerySpotLpPositionsArgs, + SpotLpPosition, + SpotLpPositionOrder, +} from "../gql/generated" + +export const defaultSpotLpPositionObject: SpotLpPosition = { + created_block: defaultBlock, + pool: defaultPool, + pool_shares: defaultTokenAsString, + user: defaultUser, +} + +export interface GqlOutSpotLpPositions { + spotLpPositions?: Query["spotLpPositions"] +} + +export const spotLpPositions = async ( + args: QuerySpotLpPositionsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotLpPositionOrder.PoolId + + return doGqlQuery( + gqlQuery( + "spotLpPositions", + args, + convertObjectToPropertiesString(defaultSpotLpPositionObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotPoolCreated.ts b/packages/indexer-nibi/src/query/spotPoolCreated.ts new file mode 100644 index 00000000..a0928043 --- /dev/null +++ b/packages/indexer-nibi/src/query/spotPoolCreated.ts @@ -0,0 +1,32 @@ +import { defaultSpotPool } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QuerySpotPoolCreatedArgs, + SpotPoolCreated, + SpotPoolCreatedOrder, +} from "../gql/generated" + +export const defaultSpotPoolCreatedObject: SpotPoolCreated = defaultSpotPool + +export interface GqlOutSpotPoolCreated { + spotPoolCreated?: Query["spotPoolCreated"] +} + +export const spotPoolCreated = async ( + args: QuerySpotPoolCreatedArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotPoolCreatedOrder.PoolId + + return doGqlQuery( + gqlQuery( + "spotPoolCreated", + args, + convertObjectToPropertiesString(defaultSpotPoolCreatedObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotPoolExited.ts b/packages/indexer-nibi/src/query/spotPoolExited.ts new file mode 100644 index 00000000..434fca7f --- /dev/null +++ b/packages/indexer-nibi/src/query/spotPoolExited.ts @@ -0,0 +1,32 @@ +import { defaultSpotPool } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QuerySpotPoolExitedArgs, + SpotPoolExited, + SpotPoolExitedOrder, +} from "../gql/generated" + +export const defaultSpotPoolExitedObject: SpotPoolExited = defaultSpotPool + +export interface GqlOutSpotPoolExited { + spotPoolExited?: Query["spotPoolExited"] +} + +export const spotPoolExited = async ( + args: QuerySpotPoolExitedArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotPoolExitedOrder.PoolId + + return doGqlQuery( + gqlQuery( + "spotPoolExited", + args, + convertObjectToPropertiesString(defaultSpotPoolExitedObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotPoolJoined.ts b/packages/indexer-nibi/src/query/spotPoolJoined.ts new file mode 100644 index 00000000..47559f23 --- /dev/null +++ b/packages/indexer-nibi/src/query/spotPoolJoined.ts @@ -0,0 +1,32 @@ +import { defaultSpotPool } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QuerySpotPoolJoinedArgs, + SpotPoolJoined, + SpotPoolJoinedOrder, +} from "../gql/generated" + +export const defaultSpotPoolJoinedObject: SpotPoolJoined = defaultSpotPool + +export interface GqlOutSpotPoolJoined { + spotPoolJoined?: Query["spotPoolJoined"] +} + +export const spotPoolJoined = async ( + args: QuerySpotPoolJoinedArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotPoolJoinedOrder.PoolId + + return doGqlQuery( + gqlQuery( + "spotPoolJoined", + args, + convertObjectToPropertiesString(defaultSpotPoolJoinedObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotPoolSwap.ts b/packages/indexer-nibi/src/query/spotPoolSwap.ts new file mode 100644 index 00000000..ecbf4ea2 --- /dev/null +++ b/packages/indexer-nibi/src/query/spotPoolSwap.ts @@ -0,0 +1,38 @@ +import { defaultBlock, defaultPool, defaultToken } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QuerySpotPoolSwapArgs, + SpotPoolSwap, + SpotPoolSwapOrder, +} from "../gql/generated" + +export const defaultSpotPoolSwapObject: SpotPoolSwap = { + block: defaultBlock, + pool: defaultPool, + token_in: defaultToken, + token_out: defaultToken, + user_address: "", +} + +export interface GqlOutSpotPoolSwap { + spotPoolSwap?: Query["spotPoolSwap"] +} + +export const spotPoolSwap = async ( + args: QuerySpotPoolSwapArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotPoolSwapOrder.Block + + return doGqlQuery( + gqlQuery( + "spotPoolSwap", + args, + convertObjectToPropertiesString(defaultSpotPoolSwapObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/spotPools.ts b/packages/indexer-nibi/src/query/spotPools.ts new file mode 100644 index 00000000..7a8c5ddc --- /dev/null +++ b/packages/indexer-nibi/src/query/spotPools.ts @@ -0,0 +1,32 @@ +import { defaultPool } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + QuerySpotPoolsArgs, + Query, + SpotPool, + SpotPoolOrder, +} from "../gql/generated" + +export const defaultSpotPoolObject: SpotPool = defaultPool + +export interface GqlOutSpotPools { + spotPools?: Query["spotPools"] +} + +export const spotPools = async ( + args: QuerySpotPoolsArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = SpotPoolOrder.PoolId + + return doGqlQuery( + gqlQuery( + "spotPools", + args, + convertObjectToPropertiesString(defaultSpotPoolObject) + ), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/stakingPool.ts b/packages/indexer-nibi/src/query/stakingPool.ts deleted file mode 100644 index b0c528e8..00000000 --- a/packages/indexer-nibi/src/query/stakingPool.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// StakingPool -// ------------------------------------------------ - -/** - * StakingPool: A single staking pool data. - */ -export interface StakingPool { - block: number - blockTs: string - bondedTokens: number - notBondedTokens: number -} - -/** GqlOutStakingPool: Output response for the StakingPool query */ -export interface GqlOutStakingPool { - stakingPool: StakingPool[] -} - -/** GqlInStakingPool: Input arguments for the StakingPool query */ -export interface GqlInStakingPool { - limit?: number - block?: string - startTs?: string - endTs?: string - orderBy?: StakingPoolOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum StakingPoolOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const stakingPool = async ( - args: GqlInStakingPool, - endpt: string -): Promise => { - if (args.limit === undefined) args.limit = 1 - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = StakingPoolOrderBy.block_ts - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInStakingPool): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - stakingPool(${queryArgs}) { - block - blockTs - bondedTokens - notBondedTokens - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/statsVolume.ts b/packages/indexer-nibi/src/query/statsVolume.ts deleted file mode 100644 index 9ae7fedf..00000000 --- a/packages/indexer-nibi/src/query/statsVolume.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { StatsPeriod } from "../enum" -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// StatsVolume -// ------------------------------------------------ - -/** - * StatsVolume: A single stats of volume data. - */ -export interface StatsVolume { - period: number - periodStartTs: string - volumePerp: number - volumeSwap: number - volumeTotal: number - volumePerpCumulative: number - volumeSwapCumulative: number - volumeTotalCumulative: number -} - -/** GqlOutStatsVolume: Output response for the StatsVolume query */ -export interface GqlOutStatsVolume { - statsVolume: StatsVolume[] -} - -/** GqlInStatsVolume: Input arguments for the StatsVolume query */ -export interface GqlInStatsVolume { - period: StatsPeriod - limit: number - startTs?: string - endTs?: string - orderBy?: StatsVolumeOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum StatsVolumeOrderBy { - period = "period", - period_start_ts = "period_start_ts", -} - -export const statsVolume = async ( - args: GqlInStatsVolume, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) - args.orderBy = StatsVolumeOrderBy.period_start_ts - - const gqlQuery = ({ - period, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInStatsVolume): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - whereConditions.push(`periodEq: ${period}`) - if (startTs) whereConditions.push(`periodStartTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`periodStartTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - statsVolume(${queryArgs}) { - period - periodStartTs - volumePerp - volumeSwap - volumeTotal - volumePerpCumulative - volumeSwapCumulative - volumeTotalCumulative - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/transfer.ts b/packages/indexer-nibi/src/query/transfer.ts deleted file mode 100644 index 4f53cb92..00000000 --- a/packages/indexer-nibi/src/query/transfer.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { doGqlQuery, arg } from "../gql" -import { Coin } from "../types" - -// ------------------------------------------------ -// Transfer -// ------------------------------------------------ - -/** - * Transfer: A single transfer data. - */ -export interface Transfer { - block: number - blockTs: string - sender: string - recipient: string - amount: Coin -} - -/** GqlOutTransfer: Output response for the Transfer query */ -export interface GqlOutTransfer { - transfers: Transfer[] -} - -/** GqlInMarkPrice: Input arguments for the MarkPrice query */ -export interface GqlInTransfer { - limit: number - block?: string - startTs?: string - endTs?: string - sender?: string - recipient?: string - orderBy?: TransferOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum TransferOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const transfers = async ( - args: GqlInTransfer, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = TransferOrderBy.block_ts - - const gqlQuery = ({ - block, - startTs, - endTs, - sender, - recipient, - limit, - orderBy, - orderDescending, - }: GqlInTransfer): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - if (sender) whereConditions.push(`senderEq: "${sender}"`) - if (recipient) whereConditions.push(`recipientEq: "${recipient}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - transfers(${queryArgs}) { - block - blockTs - recipient - sender - amount { - amount - denom - } - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/query/unbondings.ts b/packages/indexer-nibi/src/query/unbondings.ts index b0f07d92..72edbc7e 100644 --- a/packages/indexer-nibi/src/query/unbondings.ts +++ b/packages/indexer-nibi/src/query/unbondings.ts @@ -1,94 +1,42 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// Unbondings -// ------------------------------------------------ - -/** - * Unbondings: A single unbondings data. - */ -export interface Unbondings { - block: number - blockTs: string - validatorAddress: string - delegatorAddress: string - creationHeight: number - completionTime: string - initialBalance: number - balance: number +import { + defaultBlock, + defaultDelegator, + defaultValidator, +} from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QueryUnbondingsArgs, + Unbonding, + UnbondingOrder, +} from "../gql/generated" + +export const defaultUnbondingsObject: Unbonding = { + amount: 0, + completion_time: "", + creation_block: defaultBlock, + delegator: defaultDelegator, + validator: defaultValidator, } -/** GqlOutUnbondings: Output response for the Unbondings query */ export interface GqlOutUnbondings { - unbondings: Unbondings[] -} - -/** GqlInUnbondings: Input arguments for the Unbondings query */ -export interface GqlInUnbondings { - limit: number - block?: string - startTs?: string - endTs?: string - validatorAddress?: string - delegatorAddress?: string - orderBy?: UnbondingsOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum UnbondingsOrderBy { - block = "block", - block_ts = "block_ts", + unbondings?: Query["unbondings"] } export const unbondings = async ( - args: GqlInUnbondings, + args: QueryUnbondingsArgs, endpt: string ): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = UnbondingsOrderBy.block - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - validatorAddress, - delegatorAddress, - orderBy, - orderDescending, - }: GqlInUnbondings): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (validatorAddress) - whereConditions.push(`validatorAddressEq: "${validatorAddress}"`) - if (delegatorAddress) - whereConditions.push(`delegatorAddressEq: "${delegatorAddress}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - unbondings(${queryArgs}) { - block - blockTs - validatorAddress - delegatorAddress - creationHeight - completionTime - initialBalance - balance - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = UnbondingOrder.CreationHeight + + return doGqlQuery( + gqlQuery( + "unbondings", + args, + convertObjectToPropertiesString(defaultUnbondingsObject) + ), + endpt + ) } diff --git a/packages/indexer-nibi/src/query/users.ts b/packages/indexer-nibi/src/query/users.ts new file mode 100644 index 00000000..66c36ffc --- /dev/null +++ b/packages/indexer-nibi/src/query/users.ts @@ -0,0 +1,23 @@ +import { defaultUser } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { Query, QueryUsersArgs, User, UserOrder } from "../gql/generated" + +export const defaultUserObject: User = defaultUser + +export interface GqlOutUsers { + users?: Query["users"] +} + +export const users = async ( + args: QueryUsersArgs, + endpt: string +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = UserOrder.CreatedBlock + + return doGqlQuery( + gqlQuery("users", args, convertObjectToPropertiesString(defaultUserObject)), + endpt + ) +} diff --git a/packages/indexer-nibi/src/query/validators.ts b/packages/indexer-nibi/src/query/validators.ts index c5be4c27..613deb1a 100644 --- a/packages/indexer-nibi/src/query/validators.ts +++ b/packages/indexer-nibi/src/query/validators.ts @@ -1,107 +1,32 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// Validator -// ------------------------------------------------ - -/** - * Validator: A single validator data. - */ -export interface Validator { - block: number - blockTs: string - operatorAddress: string - jailed: boolean - statusBonded: boolean - tokens: number - delegatorShares: number - description: string - unbondingHeight: number - unbondingTime: string - commissionRates: string - commissionUpdateTime: string -} - -/** GqlOutValidator: Output response for the Validator query */ -export interface GqlOutValidator { - validators: Validator[] -} - -/** GqlInValidator: Input arguments for the Validator query */ -export interface GqlInValidator { - limit: number - operatorAddress?: string - jailed?: boolean - statusBonded?: boolean - block?: string - startTs?: string - endTs?: string - orderBy?: ValidatorOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum ValidatorOrderBy { - block = "block", - block_ts = "block_ts", - jailed = "jailed", - status_bonded = "status_bonded", - tokens = "tokens", +import { defaultValidator } from "../defaultObjects" +import { convertObjectToPropertiesString, doGqlQuery, gqlQuery } from "../gql" +import { + Query, + QueryValidatorsArgs, + Validator, + ValidatorOrder, +} from "../gql/generated" + +export const defaultValidatorsObject: Validator = defaultValidator + +export interface GqlOutValidators { + validators?: Query["validators"] } export const validators = async ( - args: GqlInValidator, + args: QueryValidatorsArgs, endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = ValidatorOrderBy.block - - const gqlQuery = ({ - block, - startTs, - endTs, - limit, - operatorAddress, - jailed, - statusBonded, - orderBy, - orderDescending, - }: GqlInValidator): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - if (jailed) whereConditions.push(`jailedEq: "${jailed}"`) - if (statusBonded) whereConditions.push(`statusBondedEq: ${statusBonded}`) - if (operatorAddress) - whereConditions.push(`operatorAddressEq: "${operatorAddress}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - validators(${queryArgs}) { - block - blockTs - operatorAddress - jailed - statusBonded - tokens - delegatorShares - description - unbondingHeight - unbondingTime - commissionRates - commissionUpdateTime - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) +): Promise => { + if (!args.limit) args.limit = 100 + if (args.order_desc === undefined) args.order_desc = true + if (!args.order_by) args.order_by = ValidatorOrder.OperatorAddress + + return doGqlQuery( + gqlQuery( + "validators", + args, + convertObjectToPropertiesString(defaultValidatorsObject) + ), + endpt + ) } diff --git a/packages/indexer-nibi/src/query/vpoolConfigs.ts b/packages/indexer-nibi/src/query/vpoolConfigs.ts deleted file mode 100644 index 154e3da4..00000000 --- a/packages/indexer-nibi/src/query/vpoolConfigs.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { doGqlQuery, arg } from "../gql" - -// ------------------------------------------------ -// VPoolConfig -// ------------------------------------------------ - -/** - * VPoolConfig: A single vpool config data. - */ -export interface VPoolConfig { - block: number - blockTs: string - pair: string - tradeLimitRatio: number - fluctuationLimitRatio: number - maxOracleSpreadRatio: number - maintenanceMarginRatio: number - maxLeverage: number -} - -/** GqlOutVPoolConfig: Output response for the VPoolConfig query */ -export interface GqlOutVPoolConfig { - vpoolConfigs: VPoolConfig[] -} - -/** GqlInVPoolConfig: Input arguments for the VPoolConfig query */ -export interface GqlInVPoolConfig { - limit: number - pair?: string - block?: string - startTs?: string - endTs?: string - orderBy?: VPoolConfigOrderBy | string - orderDescending?: boolean // defaults to true -} - -export enum VPoolConfigOrderBy { - block = "block", - block_ts = "block_ts", -} - -export const vpoolConfigs = async ( - args: GqlInVPoolConfig, - endpt: string -): Promise => { - if (args.orderDescending === undefined) args.orderDescending = true - if (args.orderBy === undefined) args.orderBy = VPoolConfigOrderBy.block_ts - - const gqlQuery = ({ - pair, - block, - startTs, - endTs, - limit, - orderBy, - orderDescending, - }: GqlInVPoolConfig): string => { - const argWhere = (): string => { - const whereConditions: string[] = [] - if (pair) whereConditions.push(`pairEq: "${pair}"`) - if (block) whereConditions.push(`blockEq: "${block}"`) - if (startTs) whereConditions.push(`blockTsGte: "${startTs}"`) - if (endTs) whereConditions.push(`blockTsLt: "${endTs}"`) - const argWhereBody: string = whereConditions.join(", ") - return `where: { ${argWhereBody} }` - } - - const queryArgList: string[] = [ - argWhere(), - arg("limit", limit), - arg("order", orderBy), - arg("orderDesc", orderDescending), - ] - const queryArgs: string = queryArgList.join(", ") - return `{ - vpoolConfigs(${queryArgs}) { - block - blockTs - pair - tradeLimitRatio - fluctuationLimitRatio - maxOracleSpreadRatio - maintenanceMarginRatio - maxLeverage - } - }` - } - return doGqlQuery(gqlQuery(args), endpt) -} diff --git a/packages/indexer-nibi/src/types.ts b/packages/indexer-nibi/src/types.ts deleted file mode 100644 index 7dcb1866..00000000 --- a/packages/indexer-nibi/src/types.ts +++ /dev/null @@ -1,56 +0,0 @@ -export interface TypeMarkPrice { - pair: string - price: string - block: string - txHash: string -} - -export interface TypeBlockTimestamp { - height: string - timestamp: string -} - -export interface TypeBlockMarkPrice { - pair: string - price: string - block: string - blockTimestamp: string -} - -export interface TypePosChange { - block: string - blockTimestamp: string - fundingPayment: string - margin: string - pair: string - positionNotional: string - positionNotionalChange: string - size: string - sizeChange: string - trader: string - transactionFee: string -} - -// ------------------------------------------------ -// MarkPrice -// ------------------------------------------------ - -export interface IGqlMarkPrices { - markPrices: TypeMarkPrice[] - blockTimestamps: TypeBlockTimestamp[] -} - -export interface GqlMarkPricesInputs { - pair: string - fromBlock: number - toBlock: number -} -export interface GqlRecentTradesInputs { - pair: string - lastN: number -} - -export interface Coin { - amount: number - denom: string -} diff --git a/packages/nibijs/CHANGELOG.md b/packages/nibijs/CHANGELOG.md index 501d9563..9da70e72 100644 --- a/packages/nibijs/CHANGELOG.md +++ b/packages/nibijs/CHANGELOG.md @@ -7,6 +7,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - . +## v0.21.6 + +- V21 introspection + ## v0.21.5 - Refactor stableswap class diff --git a/packages/nibijs/docs/classes/CustomChain.md b/packages/nibijs/docs/classes/CustomChain.md index 21bbf3dd..80637f50 100644 --- a/packages/nibijs/docs/classes/CustomChain.md +++ b/packages/nibijs/docs/classes/CustomChain.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / CustomChain +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / CustomChain # Class: CustomChain @@ -38,9 +38,6 @@ export const TEST_CHAIN = new CustomChain({ ### Methods - [initChainId](CustomChain.md#initchainid) -- [initGrpcEndpoint](CustomChain.md#initgrpcendpoint) -- [initRestEndpoint](CustomChain.md#initrestendpoint) -- [initTendermintEndpoint](CustomChain.md#inittendermintendpoint) ## Constructors @@ -56,7 +53,7 @@ export const TEST_CHAIN = new CustomChain({ #### Defined in -[chain/chain.ts:74](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L74) +[chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L65) ## Properties @@ -72,7 +69,7 @@ chainId: identifier for the chain #### Defined in -[chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L65) +[chain/chain.ts:56](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L56) --- @@ -82,7 +79,7 @@ chainId: identifier for the chain #### Defined in -[chain/chain.ts:72](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L72) +[chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L63) --- @@ -98,7 +95,7 @@ chainName: the name of the chain to display to the user #### Defined in -[chain/chain.ts:66](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L66) +[chain/chain.ts:57](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L57) --- @@ -114,7 +111,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090. #### Defined in -[chain/chain.ts:69](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L69) +[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L60) --- @@ -130,7 +127,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint. #### Defined in -[chain/chain.ts:68](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L68) +[chain/chain.ts:59](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L59) --- @@ -146,7 +143,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657. #### Defined in -[chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L67) +[chain/chain.ts:58](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L58) --- @@ -162,7 +159,7 @@ feeDenom: the denomination of the fee to be paid for transactions. #### Defined in -[chain/chain.ts:70](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L70) +[chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L61) ## Methods @@ -176,46 +173,4 @@ feeDenom: the denomination of the fee to be paid for transactions. #### Defined in -[chain/chain.ts:83](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L83) - ---- - -### initGrpcEndpoint - -▸ **initGrpcEndpoint**(): `string` - -#### Returns - -`string` - -#### Defined in - -[chain/chain.ts:98](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L98) - ---- - -### initRestEndpoint - -▸ **initRestEndpoint**(): `string` - -#### Returns - -`string` - -#### Defined in - -[chain/chain.ts:93](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L93) - ---- - -### initTendermintEndpoint - -▸ **initTendermintEndpoint**(): `string` - -#### Returns - -`string` - -#### Defined in - -[chain/chain.ts:88](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L88) +[chain/chain.ts:74](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L74) diff --git a/packages/nibijs/docs/classes/ErrorTxBroadcast.md b/packages/nibijs/docs/classes/ErrorTxBroadcast.md index b96dce96..aa89c63a 100644 --- a/packages/nibijs/docs/classes/ErrorTxBroadcast.md +++ b/packages/nibijs/docs/classes/ErrorTxBroadcast.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / ErrorTxBroadcast +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / ErrorTxBroadcast # Class: ErrorTxBroadcast @@ -33,4 +33,4 @@ Error.constructor #### Defined in -[chain/error.ts:33](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/error.ts#L33) +[chain/error.ts:33](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/error.ts#L33) diff --git a/packages/nibijs/docs/classes/ErrorTxSimulation.md b/packages/nibijs/docs/classes/ErrorTxSimulation.md index f1de40c0..16bc8408 100644 --- a/packages/nibijs/docs/classes/ErrorTxSimulation.md +++ b/packages/nibijs/docs/classes/ErrorTxSimulation.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / ErrorTxSimulation +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / ErrorTxSimulation # Class: ErrorTxSimulation @@ -33,4 +33,4 @@ Error.constructor #### Defined in -[chain/error.ts:25](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/error.ts#L25) +[chain/error.ts:25](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/error.ts#L25) diff --git a/packages/nibijs/docs/classes/MsgFactory.md b/packages/nibijs/docs/classes/MsgFactory.md index a2b589f2..f20514bc 100644 --- a/packages/nibijs/docs/classes/MsgFactory.md +++ b/packages/nibijs/docs/classes/MsgFactory.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgFactory +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgFactory # Class: MsgFactory @@ -27,7 +27,7 @@ #### Defined in -[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/index.ts#L7) +[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/index.ts#L7) --- @@ -37,4 +37,4 @@ #### Defined in -[msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/index.ts#L5) +[msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/index.ts#L5) diff --git a/packages/nibijs/docs/classes/NibiruQueryClient.md b/packages/nibijs/docs/classes/NibiruQueryClient.md index cabf5faa..9cc92d3b 100644 --- a/packages/nibijs/docs/classes/NibiruQueryClient.md +++ b/packages/nibijs/docs/classes/NibiruQueryClient.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / NibiruQueryClient +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / NibiruQueryClient # Class: NibiruQueryClient @@ -45,7 +45,7 @@ StargateClient.constructor #### Defined in -[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L56) +[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L56) ## Properties @@ -55,7 +55,7 @@ StargateClient.constructor #### Defined in -[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L44) +[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L44) --- @@ -65,7 +65,7 @@ StargateClient.constructor #### Defined in -[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L45) +[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L45) ## Methods @@ -85,7 +85,7 @@ StargateClient.constructor #### Defined in -[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L80) +[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L80) --- @@ -99,7 +99,7 @@ StargateClient.constructor #### Defined in -[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L88) +[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L88) --- @@ -124,4 +124,4 @@ StargateClient.connect #### Defined in -[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L47) +[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L47) diff --git a/packages/nibijs/docs/classes/NibiruSigningClient.md b/packages/nibijs/docs/classes/NibiruSigningClient.md index 9f2ee828..2e91e726 100644 --- a/packages/nibijs/docs/classes/NibiruSigningClient.md +++ b/packages/nibijs/docs/classes/NibiruSigningClient.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / NibiruSigningClient +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / NibiruSigningClient # Class: NibiruSigningClient @@ -46,7 +46,7 @@ SigningStargateClient.constructor #### Defined in -[tx/signingClient.ts:69](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L69) +[tx/signingClient.ts:69](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L69) ## Properties @@ -56,7 +56,7 @@ SigningStargateClient.constructor #### Defined in -[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L38) +[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L38) --- @@ -66,7 +66,7 @@ SigningStargateClient.constructor #### Defined in -[tx/signingClient.ts:39](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L39) +[tx/signingClient.ts:39](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L39) ## Methods @@ -86,7 +86,7 @@ SigningStargateClient.constructor #### Defined in -[tx/signingClient.ts:94](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L94) +[tx/signingClient.ts:94](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L94) --- @@ -100,7 +100,7 @@ SigningStargateClient.constructor #### Defined in -[tx/signingClient.ts:102](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L102) +[tx/signingClient.ts:102](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L102) --- @@ -127,4 +127,4 @@ SigningStargateClient.connectWithSigner #### Defined in -[tx/signingClient.ts:41](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L41) +[tx/signingClient.ts:41](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L41) diff --git a/packages/nibijs/docs/classes/PerpMsgFactory.md b/packages/nibijs/docs/classes/PerpMsgFactory.md index 61a7a63f..924c1b0d 100644 --- a/packages/nibijs/docs/classes/PerpMsgFactory.md +++ b/packages/nibijs/docs/classes/PerpMsgFactory.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / PerpMsgFactory +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / PerpMsgFactory # Class: PerpMsgFactory @@ -47,7 +47,7 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:106](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L106) +[msg/perp.ts:106](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L106) --- @@ -67,7 +67,7 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:143](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L143) +[msg/perp.ts:143](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L143) --- @@ -87,7 +87,7 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:150](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L150) +[msg/perp.ts:150](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L150) --- @@ -107,7 +107,7 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:113](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L113) +[msg/perp.ts:113](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L113) --- @@ -133,7 +133,7 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:120](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L120) +[msg/perp.ts:120](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L120) --- @@ -153,4 +153,4 @@ Returns a 'TxMessage' for adding margin to a position #### Defined in -[msg/perp.ts:92](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L92) +[msg/perp.ts:92](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L92) diff --git a/packages/nibijs/docs/classes/SpotMsgFactory.md b/packages/nibijs/docs/classes/SpotMsgFactory.md index da165138..e1af6bad 100644 --- a/packages/nibijs/docs/classes/SpotMsgFactory.md +++ b/packages/nibijs/docs/classes/SpotMsgFactory.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / SpotMsgFactory +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / SpotMsgFactory # Class: SpotMsgFactory @@ -39,7 +39,7 @@ #### Defined in -[msg/spot.ts:61](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L61) +[msg/spot.ts:61](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L61) --- @@ -59,7 +59,7 @@ #### Defined in -[msg/spot.ts:91](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L91) +[msg/spot.ts:91](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L91) --- @@ -79,7 +79,7 @@ #### Defined in -[msg/spot.ts:74](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L74) +[msg/spot.ts:74](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L74) --- @@ -99,4 +99,4 @@ #### Defined in -[msg/spot.ts:102](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L102) +[msg/spot.ts:102](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L102) diff --git a/packages/nibijs/docs/classes/StableSwap.md b/packages/nibijs/docs/classes/StableSwap.md index ff877167..28c8973a 100644 --- a/packages/nibijs/docs/classes/StableSwap.md +++ b/packages/nibijs/docs/classes/StableSwap.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / StableSwap +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / StableSwap # Class: StableSwap @@ -28,7 +28,6 @@ Constructor: - [Amplification](StableSwap.md#amplification) - [fee](StableSwap.md#fee) -- [tokenPrices](StableSwap.md#tokenprices) - [totalTokenSupply](StableSwap.md#totaltokensupply) - [totalTokensInPool](StableSwap.md#totaltokensinpool) @@ -43,7 +42,7 @@ Constructor: ### constructor -• **new StableSwap**(`Amplification`, `totalTokenSupply`, `tokenPrices`, `fee`) +• **new StableSwap**(`Amplification`, `totalTokenSupply`, `fee`) #### Parameters @@ -51,12 +50,11 @@ Constructor: | :----------------- | :------------ | | `Amplification` | `BigNumber` | | `totalTokenSupply` | `BigNumber`[] | -| `tokenPrices` | `BigNumber`[] | | `fee` | `BigNumber` | #### Defined in -[stableswap/stableswap.ts:26](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L26) +[stableswap/stableswap.ts:25](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L25) ## Properties @@ -66,7 +64,7 @@ Constructor: #### Defined in -[stableswap/stableswap.ts:20](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L20) +[stableswap/stableswap.ts:20](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L20) --- @@ -76,17 +74,7 @@ Constructor: #### Defined in -[stableswap/stableswap.ts:24](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L24) - ---- - -### tokenPrices - -• **tokenPrices**: `BigNumber`[] - -#### Defined in - -[stableswap/stableswap.ts:23](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L23) +[stableswap/stableswap.ts:23](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L23) --- @@ -96,7 +84,7 @@ Constructor: #### Defined in -[stableswap/stableswap.ts:21](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L21) +[stableswap/stableswap.ts:21](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L21) --- @@ -106,7 +94,7 @@ Constructor: #### Defined in -[stableswap/stableswap.ts:22](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L22) +[stableswap/stableswap.ts:22](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L22) ## Methods @@ -129,7 +117,7 @@ StableSwap #### Defined in -[stableswap/stableswap.ts:61](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L61) +[stableswap/stableswap.ts:54](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L54) --- @@ -157,7 +145,7 @@ StableSwap #### Defined in -[stableswap/stableswap.ts:150](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L150) +[stableswap/stableswap.ts:143](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L143) --- @@ -165,7 +153,7 @@ StableSwap ▸ **xp**(): `BigNumber`[] -xp() gives an array of total token cap per token +xp() gives an array of total tokens **`Memberof`** @@ -177,7 +165,7 @@ StableSwap #### Defined in -[stableswap/stableswap.ts:44](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L44) +[stableswap/stableswap.ts:41](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L41) --- @@ -190,8 +178,8 @@ y() Calculate x[j] if one makes x[i] = x Done by solving quadratic equation iteratively. -x*1\*\*2 + x1 * (sum' - (A*n\*\*n - 1) * D / (A _ n**n)) = D ** (n+1)/(n \*\* (2 _ n) \_ prod' \* A) -x_1\*\*2 + b\*x_1 = c +x_1**2 + x1 * (sum' - (A*n**n - 1) _ D / (A _ n**n)) = D ** (n+1)/(n ** (2 _ n) _ prod' \* A) +x_1**2 + b\*x_1 = c x_1 = (x_1\**2 + c) / (2*x_1 + b) @@ -213,4 +201,4 @@ StableSwap #### Defined in -[stableswap/stableswap.ts:111](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/stableswap/stableswap.ts#L111) +[stableswap/stableswap.ts:104](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/stableswap/stableswap.ts#L104) diff --git a/packages/nibijs/docs/enums/BECH32_PREFIX.md b/packages/nibijs/docs/enums/BECH32_PREFIX.md index db4b1f3b..3b98ec8b 100644 --- a/packages/nibijs/docs/enums/BECH32_PREFIX.md +++ b/packages/nibijs/docs/enums/BECH32_PREFIX.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / BECH32_PREFIX +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / BECH32_PREFIX # Enumeration: BECH32_PREFIX @@ -23,7 +23,7 @@ ADDR defines the Bech32 prefix of an account address #### Defined in -[tx/signer.ts:7](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L7) +[tx/signer.ts:7](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L7) --- @@ -35,7 +35,7 @@ ADDR_VAL defines the Bech32 prefix of an validator's operator address #### Defined in -[tx/signer.ts:9](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L9) +[tx/signer.ts:9](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L9) --- @@ -47,7 +47,7 @@ ADDR_VALCONS defines the Bech32 prefix of a consensus node address #### Defined in -[tx/signer.ts:11](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L11) +[tx/signer.ts:11](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L11) --- @@ -59,7 +59,7 @@ PUB defines the Bech32 prefix of an account's public key #### Defined in -[tx/signer.ts:13](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L13) +[tx/signer.ts:13](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L13) --- @@ -71,7 +71,7 @@ PUB_VAL defines the Bech32 prefix of an validator's operator public key #### Defined in -[tx/signer.ts:15](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L15) +[tx/signer.ts:15](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L15) --- @@ -83,4 +83,4 @@ PUB_VALCONS defines the Bech32 prefix of a consensus node public key #### Defined in -[tx/signer.ts:17](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L17) +[tx/signer.ts:17](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L17) diff --git a/packages/nibijs/docs/enums/Signer.md b/packages/nibijs/docs/enums/Signer.md index 4973208b..d0a80d7c 100644 --- a/packages/nibijs/docs/enums/Signer.md +++ b/packages/nibijs/docs/enums/Signer.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / Signer +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / Signer # Enumeration: Signer @@ -17,7 +17,7 @@ #### Defined in -[tx/signer.ts:53](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L53) +[tx/signer.ts:53](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L53) --- @@ -27,4 +27,4 @@ #### Defined in -[tx/signer.ts:52](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L52) +[tx/signer.ts:52](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L52) diff --git a/packages/nibijs/docs/interfaces/Attribute.md b/packages/nibijs/docs/interfaces/Attribute.md index b968e169..5fa36e78 100644 --- a/packages/nibijs/docs/interfaces/Attribute.md +++ b/packages/nibijs/docs/interfaces/Attribute.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / Attribute +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / Attribute # Interface: Attribute @@ -17,7 +17,7 @@ #### Defined in -[chain/types.ts:51](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L51) +[chain/types.ts:51](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L51) --- @@ -27,4 +27,4 @@ #### Defined in -[chain/types.ts:52](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L52) +[chain/types.ts:52](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L52) diff --git a/packages/nibijs/docs/interfaces/Chain.md b/packages/nibijs/docs/interfaces/Chain.md index 7a9f2ad6..be618464 100644 --- a/packages/nibijs/docs/interfaces/Chain.md +++ b/packages/nibijs/docs/interfaces/Chain.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / Chain +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / Chain # Interface: Chain @@ -40,7 +40,7 @@ chainId: identifier for the chain #### Defined in -[chain/chain.ts:30](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L30) +[chain/chain.ts:30](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L30) --- @@ -52,7 +52,7 @@ chainName: the name of the chain to display to the user #### Defined in -[chain/chain.ts:32](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L32) +[chain/chain.ts:32](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L32) --- @@ -64,7 +64,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090. #### Defined in -[chain/chain.ts:28](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L28) +[chain/chain.ts:28](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L28) --- @@ -76,7 +76,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint. #### Defined in -[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L26) +[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L26) --- @@ -88,7 +88,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657. #### Defined in -[chain/chain.ts:24](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L24) +[chain/chain.ts:24](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L24) --- @@ -100,4 +100,4 @@ feeDenom: the denomination of the fee to be paid for transactions. #### Defined in -[chain/chain.ts:34](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L34) +[chain/chain.ts:34](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L34) diff --git a/packages/nibijs/docs/interfaces/ChainIdParts.md b/packages/nibijs/docs/interfaces/ChainIdParts.md index cd3966f2..71e378d0 100644 --- a/packages/nibijs/docs/interfaces/ChainIdParts.md +++ b/packages/nibijs/docs/interfaces/ChainIdParts.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / ChainIdParts +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / ChainIdParts # Interface: ChainIdParts @@ -18,7 +18,7 @@ #### Defined in -[chain/chain.ts:49](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L49) +[chain/chain.ts:40](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L40) --- @@ -28,7 +28,7 @@ #### Defined in -[chain/chain.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L47) +[chain/chain.ts:38](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L38) --- @@ -38,4 +38,4 @@ #### Defined in -[chain/chain.ts:48](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L48) +[chain/chain.ts:39](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L39) diff --git a/packages/nibijs/docs/interfaces/CoinMap.md b/packages/nibijs/docs/interfaces/CoinMap.md index 8b6395e0..0f34a082 100644 --- a/packages/nibijs/docs/interfaces/CoinMap.md +++ b/packages/nibijs/docs/interfaces/CoinMap.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / CoinMap +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / CoinMap # Interface: CoinMap diff --git a/packages/nibijs/docs/interfaces/EpochsExtension.md b/packages/nibijs/docs/interfaces/EpochsExtension.md index eda09fe1..9a470bc5 100644 --- a/packages/nibijs/docs/interfaces/EpochsExtension.md +++ b/packages/nibijs/docs/interfaces/EpochsExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / EpochsExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / EpochsExtension # Interface: EpochsExtension @@ -16,4 +16,4 @@ #### Defined in -[query/epochs.ts:11](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/epochs.ts#L11) +[query/epochs.ts:11](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/epochs.ts#L11) diff --git a/packages/nibijs/docs/interfaces/Event.md b/packages/nibijs/docs/interfaces/Event.md index d642b2c1..92474938 100644 --- a/packages/nibijs/docs/interfaces/Event.md +++ b/packages/nibijs/docs/interfaces/Event.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / Event +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / Event # Interface: Event @@ -17,7 +17,7 @@ #### Defined in -[chain/types.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L47) +[chain/types.ts:47](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L47) --- @@ -27,4 +27,4 @@ #### Defined in -[chain/types.ts:46](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L46) +[chain/types.ts:46](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L46) diff --git a/packages/nibijs/docs/interfaces/InflationExtension.md b/packages/nibijs/docs/interfaces/InflationExtension.md index 426d5502..f77409f6 100644 --- a/packages/nibijs/docs/interfaces/InflationExtension.md +++ b/packages/nibijs/docs/interfaces/InflationExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / InflationExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / InflationExtension # Interface: InflationExtension @@ -16,4 +16,4 @@ #### Defined in -[query/inflation.ts:19](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/inflation.ts#L19) +[query/inflation.ts:19](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/inflation.ts#L19) diff --git a/packages/nibijs/docs/interfaces/MsgAddMarginEncodeObject.md b/packages/nibijs/docs/interfaces/MsgAddMarginEncodeObject.md index c2347f39..3f990ea8 100644 --- a/packages/nibijs/docs/interfaces/MsgAddMarginEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgAddMarginEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgAddMarginEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgAddMarginEncodeObject # Interface: MsgAddMarginEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:34](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L34) +[msg/perp.ts:34](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L34) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:35](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L35) +[msg/perp.ts:35](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L35) diff --git a/packages/nibijs/docs/interfaces/MsgClosePositionEncodeObject.md b/packages/nibijs/docs/interfaces/MsgClosePositionEncodeObject.md index ed47da27..1365d23a 100644 --- a/packages/nibijs/docs/interfaces/MsgClosePositionEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgClosePositionEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgClosePositionEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgClosePositionEncodeObject # Interface: MsgClosePositionEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:70](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L70) +[msg/perp.ts:70](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L70) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:71](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L71) +[msg/perp.ts:71](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L71) diff --git a/packages/nibijs/docs/interfaces/MsgCreatePoolEncodeObject.md b/packages/nibijs/docs/interfaces/MsgCreatePoolEncodeObject.md index a8fdb408..ac5266ad 100644 --- a/packages/nibijs/docs/interfaces/MsgCreatePoolEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgCreatePoolEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgCreatePoolEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgCreatePoolEncodeObject # Interface: MsgCreatePoolEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/spot.ts:27](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L27) +[msg/spot.ts:27](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L27) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/spot.ts:28](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L28) +[msg/spot.ts:28](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L28) diff --git a/packages/nibijs/docs/interfaces/MsgDonateToEcosystemFundEncodeObject.md b/packages/nibijs/docs/interfaces/MsgDonateToEcosystemFundEncodeObject.md index 22b36330..af4f227b 100644 --- a/packages/nibijs/docs/interfaces/MsgDonateToEcosystemFundEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgDonateToEcosystemFundEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgDonateToEcosystemFundEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgDonateToEcosystemFundEncodeObject # Interface: MsgDonateToEcosystemFundEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:79](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L79) +[msg/perp.ts:79](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L79) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:80](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L80) +[msg/perp.ts:80](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L80) diff --git a/packages/nibijs/docs/interfaces/MsgExitPoolEncodeObject.md b/packages/nibijs/docs/interfaces/MsgExitPoolEncodeObject.md index 156e21cf..5d148916 100644 --- a/packages/nibijs/docs/interfaces/MsgExitPoolEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgExitPoolEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgExitPoolEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgExitPoolEncodeObject # Interface: MsgExitPoolEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/spot.ts:43](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L43) +[msg/spot.ts:43](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L43) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/spot.ts:44](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L44) +[msg/spot.ts:44](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L44) diff --git a/packages/nibijs/docs/interfaces/MsgJoinPoolEncodeObject.md b/packages/nibijs/docs/interfaces/MsgJoinPoolEncodeObject.md index 5d655adb..cc2c6c2c 100644 --- a/packages/nibijs/docs/interfaces/MsgJoinPoolEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgJoinPoolEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgJoinPoolEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgJoinPoolEncodeObject # Interface: MsgJoinPoolEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/spot.ts:35](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L35) +[msg/spot.ts:35](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L35) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/spot.ts:36](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L36) +[msg/spot.ts:36](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L36) diff --git a/packages/nibijs/docs/interfaces/MsgMultiLiquidateEncodeObject.md b/packages/nibijs/docs/interfaces/MsgMultiLiquidateEncodeObject.md index 63a367e4..c25720b7 100644 --- a/packages/nibijs/docs/interfaces/MsgMultiLiquidateEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgMultiLiquidateEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgMultiLiquidateEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgMultiLiquidateEncodeObject # Interface: MsgMultiLiquidateEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:52](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L52) +[msg/perp.ts:52](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L52) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:53](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L53) +[msg/perp.ts:53](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L53) diff --git a/packages/nibijs/docs/interfaces/MsgOpenPositionEncodeObject.md b/packages/nibijs/docs/interfaces/MsgOpenPositionEncodeObject.md index 1e8d86e0..1681e1fc 100644 --- a/packages/nibijs/docs/interfaces/MsgOpenPositionEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgOpenPositionEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgOpenPositionEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgOpenPositionEncodeObject # Interface: MsgOpenPositionEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:61](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L61) +[msg/perp.ts:61](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L61) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:62](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L62) +[msg/perp.ts:62](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L62) diff --git a/packages/nibijs/docs/interfaces/MsgRemoveMarginEncodeObject.md b/packages/nibijs/docs/interfaces/MsgRemoveMarginEncodeObject.md index 6f0fa664..2a9cb9ca 100644 --- a/packages/nibijs/docs/interfaces/MsgRemoveMarginEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgRemoveMarginEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgRemoveMarginEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgRemoveMarginEncodeObject # Interface: MsgRemoveMarginEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/perp.ts:43](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L43) +[msg/perp.ts:43](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L43) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/perp.ts:44](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L44) +[msg/perp.ts:44](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L44) diff --git a/packages/nibijs/docs/interfaces/MsgSwapAssetsEncodeObject.md b/packages/nibijs/docs/interfaces/MsgSwapAssetsEncodeObject.md index 7ef87344..88fe6142 100644 --- a/packages/nibijs/docs/interfaces/MsgSwapAssetsEncodeObject.md +++ b/packages/nibijs/docs/interfaces/MsgSwapAssetsEncodeObject.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgSwapAssetsEncodeObject +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgSwapAssetsEncodeObject # Interface: MsgSwapAssetsEncodeObject @@ -27,7 +27,7 @@ EncodeObject.typeUrl #### Defined in -[msg/spot.ts:51](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L51) +[msg/spot.ts:51](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L51) --- @@ -41,4 +41,4 @@ EncodeObject.value #### Defined in -[msg/spot.ts:52](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L52) +[msg/spot.ts:52](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L52) diff --git a/packages/nibijs/docs/interfaces/MsgTypeUrls.md b/packages/nibijs/docs/interfaces/MsgTypeUrls.md index d2cc58d4..992baa34 100644 --- a/packages/nibijs/docs/interfaces/MsgTypeUrls.md +++ b/packages/nibijs/docs/interfaces/MsgTypeUrls.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / MsgTypeUrls +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / MsgTypeUrls # Interface: MsgTypeUrls diff --git a/packages/nibijs/docs/interfaces/OracleExtension.md b/packages/nibijs/docs/interfaces/OracleExtension.md index f5d9295f..4b521775 100644 --- a/packages/nibijs/docs/interfaces/OracleExtension.md +++ b/packages/nibijs/docs/interfaces/OracleExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / OracleExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / OracleExtension # Interface: OracleExtension @@ -16,4 +16,4 @@ #### Defined in -[query/oracle.ts:37](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/oracle.ts#L37) +[query/oracle.ts:37](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/oracle.ts#L37) diff --git a/packages/nibijs/docs/interfaces/PageRequest.md b/packages/nibijs/docs/interfaces/PageRequest.md index 82b65beb..b2e48ca5 100644 --- a/packages/nibijs/docs/interfaces/PageRequest.md +++ b/packages/nibijs/docs/interfaces/PageRequest.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / PageRequest +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / PageRequest # Interface: PageRequest @@ -36,7 +36,7 @@ is set. #### Defined in -[query/spot.ts:251](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L251) +[query/spot.ts:251](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L251) --- @@ -50,7 +50,7 @@ should be set. #### Defined in -[query/spot.ts:233](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L233) +[query/spot.ts:233](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L233) --- @@ -63,7 +63,7 @@ If left empty it will default to a value to be set by each app. #### Defined in -[query/spot.ts:244](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L244) +[query/spot.ts:244](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L244) --- @@ -77,7 +77,7 @@ be set. #### Defined in -[query/spot.ts:239](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L239) +[query/spot.ts:239](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L239) --- @@ -91,4 +91,4 @@ Since: cosmos-sdk 0.43 #### Defined in -[query/spot.ts:257](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L257) +[query/spot.ts:257](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L257) diff --git a/packages/nibijs/docs/interfaces/PerpExtension.md b/packages/nibijs/docs/interfaces/PerpExtension.md index cfa06fbb..4062b19a 100644 --- a/packages/nibijs/docs/interfaces/PerpExtension.md +++ b/packages/nibijs/docs/interfaces/PerpExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / PerpExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / PerpExtension # Interface: PerpExtension @@ -16,4 +16,4 @@ #### Defined in -[query/perp.ts:24](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/perp.ts#L24) +[query/perp.ts:24](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/perp.ts#L24) diff --git a/packages/nibijs/docs/interfaces/SpotExtension.md b/packages/nibijs/docs/interfaces/SpotExtension.md index 9c45651e..23d2ad92 100644 --- a/packages/nibijs/docs/interfaces/SpotExtension.md +++ b/packages/nibijs/docs/interfaces/SpotExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / SpotExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / SpotExtension # Interface: SpotExtension @@ -16,4 +16,4 @@ #### Defined in -[query/spot.ts:57](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L57) +[query/spot.ts:57](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L57) diff --git a/packages/nibijs/docs/interfaces/SudoExtension.md b/packages/nibijs/docs/interfaces/SudoExtension.md index 772f5d3a..6e4d2bc5 100644 --- a/packages/nibijs/docs/interfaces/SudoExtension.md +++ b/packages/nibijs/docs/interfaces/SudoExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / SudoExtension +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / SudoExtension # Interface: SudoExtension @@ -16,4 +16,4 @@ #### Defined in -[query/sudo.ts:9](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/sudo.ts#L9) +[query/sudo.ts:9](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/sudo.ts#L9) diff --git a/packages/nibijs/docs/interfaces/TxLog.md b/packages/nibijs/docs/interfaces/TxLog.md index 348bf9e5..851a0a85 100644 --- a/packages/nibijs/docs/interfaces/TxLog.md +++ b/packages/nibijs/docs/interfaces/TxLog.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / TxLog +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / TxLog # Interface: TxLog @@ -16,4 +16,4 @@ #### Defined in -[chain/types.ts:56](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L56) +[chain/types.ts:56](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L56) diff --git a/packages/nibijs/docs/interfaces/TxMessage.md b/packages/nibijs/docs/interfaces/TxMessage.md index fe151950..5aad8ec6 100644 --- a/packages/nibijs/docs/interfaces/TxMessage.md +++ b/packages/nibijs/docs/interfaces/TxMessage.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.21.4](../intro.md) / [Exports](../modules.md) / TxMessage +[NibiJS Documentation - v0.21.6](../intro.md) / [Exports](../modules.md) / TxMessage # Interface: TxMessage diff --git a/packages/nibijs/docs/intro.md b/packages/nibijs/docs/intro.md index 4cff43bc..e6da18cd 100644 --- a/packages/nibijs/docs/intro.md +++ b/packages/nibijs/docs/intro.md @@ -1,4 +1,4 @@ -NibiJS Documentation - v0.21.4 / [Exports](modules.md) +NibiJS Documentation - v0.21.6 / [Exports](modules.md)

diff --git a/packages/nibijs/docs/modules.md b/packages/nibijs/docs/modules.md index e627cba5..b0f3ee2e 100644 --- a/packages/nibijs/docs/modules.md +++ b/packages/nibijs/docs/modules.md @@ -1,6 +1,6 @@ -[NibiJS Documentation - v0.21.4](intro.md) / Exports +[NibiJS Documentation - v0.21.6](intro.md) / Exports -# NibiJS Documentation - v0.21.4 +# NibiJS Documentation - v0.21.6 ## Table of contents @@ -70,13 +70,14 @@ - [Devnet](modules.md#devnet) - [IncentivizedTestent](modules.md#incentivizedtestent) - [assert](modules.md#assert) +- [chainToParts](modules.md#chaintoparts) +- [faucetUrlFromChain](modules.md#fauceturlfromchain) - [fromSdkDec](modules.md#fromsdkdec) - [fromSdkDecSafe](modules.md#fromsdkdecsafe) - [fromSdkInt](modules.md#fromsdkint) - [getKeplr](modules.md#getkeplr) - [getRegistry](modules.md#getregistry) - [go](modules.md#go) -- [instanceOfChain](modules.md#instanceofchain) - [instanceOfError](modules.md#instanceoferror) - [isMsgAddMarginEncodeObject](modules.md#ismsgaddmarginencodeobject) - [isMsgClosePositionEncodeObject](modules.md#ismsgclosepositionencodeobject) @@ -113,7 +114,7 @@ #### Defined in -[query/query.ts:29](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/query.ts#L29) +[query/query.ts:29](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/query.ts#L29) ## Variables @@ -123,7 +124,7 @@ #### Defined in -[chain/parse.ts:2](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L2) +[chain/parse.ts:2](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L2) --- @@ -133,7 +134,7 @@ #### Defined in -[chain/chain.ts:104](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L104) +[chain/chain.ts:80](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L80) --- @@ -143,7 +144,7 @@ #### Defined in -[msg/index.ts:10](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/index.ts#L10) +[msg/index.ts:10](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/index.ts#L10) --- @@ -164,7 +165,7 @@ #### Defined in -[msg/perp.ts:15](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L15) +[msg/perp.ts:15](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L15) --- @@ -178,7 +179,7 @@ #### Defined in -[chain/error.ts:40](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/error.ts#L40) +[chain/error.ts:40](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/error.ts#L40) --- @@ -197,7 +198,7 @@ #### Defined in -[msg/spot.ts:12](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L12) +[msg/spot.ts:12](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L12) --- @@ -207,7 +208,7 @@ #### Defined in -[tx/signingClient.ts:31](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signingClient.ts#L31) +[tx/signingClient.ts:31](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signingClient.ts#L31) --- @@ -217,7 +218,7 @@ #### Defined in -[msg/perp.ts:24](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L24) +[msg/perp.ts:24](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L24) --- @@ -227,7 +228,7 @@ #### Defined in -[msg/spot.ts:19](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L19) +[msg/spot.ts:19](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L19) ## Functions @@ -247,7 +248,7 @@ #### Defined in -[chain/chain.ts:120](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L120) +[chain/chain.ts:96](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L96) --- @@ -267,7 +268,7 @@ #### Defined in -[chain/chain.ts:113](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L113) +[chain/chain.ts:89](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L89) --- @@ -288,7 +289,53 @@ #### Defined in -[chain/types.ts:25](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L25) +[chain/types.ts:25](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L25) + +--- + +### chainToParts + +▸ **chainToParts**(`chain`): [`ChainIdParts`](interfaces/ChainIdParts.md) + +Converts a Chain object to its constituent parts. + +#### Parameters + +| Name | Type | Description | +| :------ | :----------------------------- | :------------- | +| `chain` | [`Chain`](interfaces/Chain.md) | a Chain object | + +#### Returns + +[`ChainIdParts`](interfaces/ChainIdParts.md) + +a ChainIdParts object + +#### Defined in + +[chain/chain.ts:124](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L124) + +--- + +### faucetUrlFromChain + +▸ **faucetUrlFromChain**(`chain`): `string` + +Constructs a faucet URL from a Chain object. + +#### Parameters + +| Name | Type | Description | +| :------ | :----------------------------- | :------------- | +| `chain` | [`Chain`](interfaces/Chain.md) | a Chain object | + +#### Returns + +`string` + +#### Defined in + +[chain/useFaucet.ts:58](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/useFaucet.ts#L58) --- @@ -308,7 +355,7 @@ #### Defined in -[chain/parse.ts:99](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L99) +[chain/parse.ts:99](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L99) --- @@ -328,7 +375,7 @@ #### Defined in -[chain/parse.ts:154](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L154) +[chain/parse.ts:154](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L154) --- @@ -348,7 +395,7 @@ #### Defined in -[chain/parse.ts:150](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L150) +[chain/parse.ts:150](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L150) --- @@ -368,7 +415,7 @@ #### Defined in -[wallet/keplr.ts:8](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/wallet/keplr.ts#L8) +[wallet/keplr.ts:8](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/wallet/keplr.ts#L8) --- @@ -382,7 +429,7 @@ #### Defined in -[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L20) +[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L20) --- @@ -408,30 +455,7 @@ #### Defined in -[chain/types.ts:13](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L13) - ---- - -### instanceOfChain - -▸ **instanceOfChain**(`obj`): obj is Chain - -A function for strongly typing. Returns true if the input object satisfies -the Chain interface. - -#### Parameters - -| Name | Type | -| :---- | :---- | -| `obj` | `any` | - -#### Returns - -obj is Chain - -#### Defined in - -[chain/chain.ts:41](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L41) +[chain/types.ts:13](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L13) --- @@ -470,7 +494,7 @@ obj is Error #### Defined in -[chain/error.ts:21](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/error.ts#L21) +[chain/error.ts:21](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/error.ts#L21) --- @@ -490,7 +514,7 @@ obj is Error #### Defined in -[msg/perp.ts:38](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L38) +[msg/perp.ts:38](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L38) --- @@ -510,7 +534,7 @@ obj is Error #### Defined in -[msg/perp.ts:74](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L74) +[msg/perp.ts:74](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L74) --- @@ -530,7 +554,7 @@ obj is Error #### Defined in -[msg/spot.ts:31](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L31) +[msg/spot.ts:31](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L31) --- @@ -550,7 +574,7 @@ obj is Error #### Defined in -[msg/perp.ts:83](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L83) +[msg/perp.ts:83](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L83) --- @@ -570,7 +594,7 @@ obj is Error #### Defined in -[msg/spot.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L47) +[msg/spot.ts:47](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L47) --- @@ -590,7 +614,7 @@ obj is Error #### Defined in -[msg/spot.ts:39](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L39) +[msg/spot.ts:39](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L39) --- @@ -610,7 +634,7 @@ obj is Error #### Defined in -[msg/perp.ts:56](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L56) +[msg/perp.ts:56](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L56) --- @@ -630,7 +654,7 @@ obj is Error #### Defined in -[msg/perp.ts:65](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L65) +[msg/perp.ts:65](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L65) --- @@ -650,7 +674,7 @@ obj is Error #### Defined in -[msg/perp.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/perp.ts#L47) +[msg/perp.ts:47](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/perp.ts#L47) --- @@ -670,7 +694,7 @@ obj is Error #### Defined in -[msg/spot.ts:55](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/msg/spot.ts#L55) +[msg/spot.ts:55](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/msg/spot.ts#L55) --- @@ -690,7 +714,7 @@ obj is Error #### Defined in -[chain/chain.ts:138](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L138) +[chain/chain.ts:114](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L114) --- @@ -710,7 +734,7 @@ obj is Error #### Defined in -[chain/types.ts:37](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/types.ts#L37) +[chain/types.ts:37](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/types.ts#L37) --- @@ -737,7 +761,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT. #### Defined in -[tx/signer.ts:46](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L46) +[tx/signer.ts:46](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L46) --- @@ -758,7 +782,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT. #### Defined in -[tx/signer.ts:35](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L35) +[tx/signer.ts:35](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L35) --- @@ -785,7 +809,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT #### Defined in -[tx/signer.ts:30](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/tx/signer.ts#L30) +[tx/signer.ts:30](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/tx/signer.ts#L30) --- @@ -805,7 +829,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT #### Defined in -[chain/chain.ts:127](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/chain.ts#L127) +[chain/chain.ts:103](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/chain.ts#L103) --- @@ -829,7 +853,7 @@ given exceptions are raised, it returns false. #### Defined in -[chain/error.ts:53](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/error.ts#L53) +[chain/error.ts:53](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/error.ts#L53) --- @@ -849,7 +873,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/epochs.ts:19](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/epochs.ts#L19) +[query/epochs.ts:19](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/epochs.ts#L19) --- @@ -869,7 +893,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/inflation.ts:29](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/inflation.ts#L29) +[query/inflation.ts:29](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/inflation.ts#L29) --- @@ -889,7 +913,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/oracle.ts:91](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/oracle.ts#L91) +[query/oracle.ts:91](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/oracle.ts#L91) --- @@ -909,7 +933,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/perp.ts:35](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/perp.ts#L35) +[query/perp.ts:35](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/perp.ts#L35) --- @@ -929,7 +953,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/spot.ts:101](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/spot.ts#L101) +[query/spot.ts:101](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/spot.ts#L101) --- @@ -949,7 +973,7 @@ given exceptions are raised, it returns false. #### Defined in -[query/sudo.ts:14](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/query/sudo.ts#L14) +[query/sudo.ts:14](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/query/sudo.ts#L14) --- @@ -978,7 +1002,7 @@ ref: Reimplementation of cosmos-sdk/types/decimal.go #### Defined in -[chain/parse.ts:23](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L23) +[chain/parse.ts:23](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L23) --- @@ -998,7 +1022,7 @@ ref: Reimplementation of cosmos-sdk/types/decimal.go #### Defined in -[chain/parse.ts:148](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/parse.ts#L148) +[chain/parse.ts:148](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/parse.ts#L148) --- @@ -1006,20 +1030,19 @@ ref: Reimplementation of cosmos-sdk/types/decimal.go ▸ **useFaucet**(`«destructured»`): `Promise`<`Response`\> -Sends 10 NIBI and 100 NUSD to the given address from the testnet faucet. +Sends 11 NIBI, 100 NUSD, and 100 USDT to the given address from the testnet faucet. #### Parameters -| Name | Type | -| :--------------- | :----------------------------------------- | -| `«destructured»` | `Object` | -| › `address` | `string` | -| › `amts?` | `Object` | -| › `amts.nibi` | `number` | -| › `amts.nusd` | `number` | -| › `amts.usdt` | `number` | -| › `chain?` | `string` \| [`Chain`](interfaces/Chain.md) | -| › `faucetUrl?` | `string` \| `Error` | +| Name | Type | +| :--------------- | :----------------------------- | +| `«destructured»` | `Object` | +| › `address` | `string` | +| › `amts?` | `Object` | +| › `amts.nibi` | `number` | +| › `amts.nusd` | `number` | +| › `amts.usdt` | `number` | +| › `chain` | [`Chain`](interfaces/Chain.md) | #### Returns @@ -1027,4 +1050,4 @@ Sends 10 NIBI and 100 NUSD to the given address from the testnet faucet. #### Defined in -[chain/useFaucet.ts:6](https://github.com/NibiruChain/ts-sdk/blob/df2649e/packages/nibijs/src/chain/useFaucet.ts#L6) +[chain/useFaucet.ts:6](https://github.com/NibiruChain/ts-sdk/blob/2eedd33/packages/nibijs/src/chain/useFaucet.ts#L6) diff --git a/packages/nibijs/package.json b/packages/nibijs/package.json index f7f89439..7ac43850 100644 --- a/packages/nibijs/package.json +++ b/packages/nibijs/package.json @@ -1,7 +1,7 @@ { "name": "@nibiruchain/nibijs", "description": "The TypeScript SDK for the Nibiru blockchain.", - "version": "0.21.5", + "version": "0.21.6", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/protojs/package.json b/packages/protojs/package.json index 0b313efe..097dab73 100644 --- a/packages/protojs/package.json +++ b/packages/protojs/package.json @@ -1,7 +1,7 @@ { "name": "@nibiruchain/protojs", "description": "Protobuf-generated types for Nibiru Chain", - "version": "0.21.4", + "version": "0.21.6", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/yarn.lock b/yarn.lock index 1c993edd..804bde61 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,6 +10,44 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@ardatan/relay-compiler@12.0.0": + version "12.0.0" + resolved "https://registry.yarnpkg.com/@ardatan/relay-compiler/-/relay-compiler-12.0.0.tgz#2e4cca43088e807adc63450e8cab037020e91106" + integrity sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q== + dependencies: + "@babel/core" "^7.14.0" + "@babel/generator" "^7.14.0" + "@babel/parser" "^7.14.0" + "@babel/runtime" "^7.0.0" + "@babel/traverse" "^7.14.0" + "@babel/types" "^7.0.0" + babel-preset-fbjs "^3.4.0" + chalk "^4.0.0" + fb-watchman "^2.0.0" + fbjs "^3.0.0" + glob "^7.1.1" + immutable "~3.7.6" + invariant "^2.2.4" + nullthrows "^1.1.1" + relay-runtime "12.0.0" + signedsource "^1.0.0" + yargs "^15.3.1" + +"@ardatan/sync-fetch@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@ardatan/sync-fetch/-/sync-fetch-0.0.1.tgz#3385d3feedceb60a896518a1db857ec1e945348f" + integrity sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA== + dependencies: + node-fetch "^2.6.1" + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" @@ -24,11 +62,44 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" + integrity sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ== + dependencies: + "@babel/highlight" "^7.22.5" + "@babel/compat-data@^7.19.3": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.3.tgz#707b939793f867f5a73b2666e6d9a3396eb03151" integrity sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw== +"@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" + integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== + +"@babel/core@7.22.9", "@babel/core@^7.14.0": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" + integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.9" + "@babel/helper-compilation-targets" "^7.22.9" + "@babel/helper-module-transforms" "^7.22.9" + "@babel/helpers" "^7.22.6" + "@babel/parser" "^7.22.7" + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.8" + "@babel/types" "^7.22.5" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.1" + "@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.8.0": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" @@ -50,6 +121,16 @@ json5 "^2.2.1" semver "^6.3.0" +"@babel/generator@^7.14.0", "@babel/generator@^7.18.13", "@babel/generator@^7.22.7", "@babel/generator@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" + integrity sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw== + dependencies: + "@babel/types" "^7.22.5" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/generator@^7.19.3", "@babel/generator@^7.7.2": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" @@ -59,6 +140,13 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-compilation-targets@^7.19.3": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" @@ -69,11 +157,42 @@ browserslist "^4.21.3" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.22.5", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892" + integrity sha512-7qYrNM6HjpnPHJbopxmb8hSPoZ0gsX8IvUS32JGVoy+pU9e5N0nLr1VjJoR6kA4d9dmGLxNYOjeB8sUDal2WMw== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.5" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-create-class-features-plugin@^7.18.6": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.9.tgz#c36ea240bb3348f942f08b0fbe28d6d979fab236" + integrity sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-member-expression-to-functions" "^7.22.5" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + semver "^6.3.1" + "@babel/helper-environment-visitor@^7.18.9": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== +"@babel/helper-environment-visitor@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" + integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== + "@babel/helper-function-name@^7.19.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" @@ -82,6 +201,14 @@ "@babel/template" "^7.18.10" "@babel/types" "^7.19.0" +"@babel/helper-function-name@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== + dependencies: + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.5" + "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" @@ -89,6 +216,20 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-member-expression-to-functions@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz#0a7c56117cad3372fbf8d2fb4bf8f8d64a1e76b2" + integrity sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-module-imports@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" @@ -96,6 +237,13 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-module-imports@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" + integrity sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-module-transforms@^7.19.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz#309b230f04e22c58c6a2c0c0c7e50b216d350c30" @@ -110,11 +258,43 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/helper-module-transforms@^7.22.5", "@babel/helper-module-transforms@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" + integrity sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.5" + +"@babel/helper-optimise-call-expression@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" + integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.8.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== +"@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-replace-supers@^7.22.5", "@babel/helper-replace-supers@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz#cbdc27d6d8d18cd22c81ae4293765a5d9afd0779" + integrity sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-member-expression-to-functions" "^7.22.5" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-simple-access@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz#d6d8f51f4ac2978068df934b569f08f29788c7ea" @@ -122,6 +302,20 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" + integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-split-export-declaration@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" @@ -129,21 +323,43 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-string-parser@^7.18.10": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-identifier@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" + integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== + "@babel/helper-validator-option@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== +"@babel/helper-validator-option@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" + integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== + "@babel/helpers@^7.19.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.19.0.tgz#f30534657faf246ae96551d88dd31e9d1fa1fc18" @@ -153,6 +369,15 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/helpers@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.6.tgz#8e61d3395a4f0c5a8060f309fb008200969b5ecd" + integrity sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA== + dependencies: + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.6" + "@babel/types" "^7.22.5" + "@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -162,11 +387,44 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" + integrity sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.3": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.3.tgz#8dd36d17c53ff347f9e55c328710321b49479a9a" integrity sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ== +"@babel/parser@^7.14.0", "@babel/parser@^7.16.8", "@babel/parser@^7.22.5", "@babel/parser@^7.22.7": + version "7.22.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" + integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== + +"@babel/plugin-proposal-class-properties@^7.0.0": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-object-rest-spread@^7.0.0": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.20.7" + "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -181,13 +439,27 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.0.0", "@babel/plugin-syntax-class-properties@^7.8.3": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" +"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.22.5.tgz#163b820b9e7696ce134df3ee716d9c0c98035859" + integrity sha512-9RdCl0i+q0QExayk2nOS7853w08yLucnnPML6EN9S8fgMPVtdLDCdx/cOQ/i44Lb9UeQX9A35yaqBBOMMZxPxQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-import-assertions@^7.20.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz#07d252e2aa0bc6125567f742cd58619cb14dce98" + integrity sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" @@ -202,6 +474,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" + integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx@^7.7.2": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" @@ -230,7 +509,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== @@ -265,6 +544,173 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-transform-arrow-functions@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz#e5ba566d0c58a5b2ba2a8b795450641950b71958" + integrity sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-block-scoped-functions@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz#27978075bfaeb9fa586d3cb63a3d30c1de580024" + integrity sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-block-scoping@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.5.tgz#8bfc793b3a4b2742c0983fadc1480d843ecea31b" + integrity sha512-EcACl1i5fSQ6bt+YGuU/XGCeZKStLmyVGytWkpyhCLeQVA0eu6Wtiw92V+I1T/hnezUv7j74dA/Ro69gWcU+hg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-classes@^7.0.0": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.6.tgz#e04d7d804ed5b8501311293d1a0e6d43e94c3363" + integrity sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-compilation-targets" "^7.22.6" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz#cd1e994bf9f316bd1c2dafcd02063ec261bb3869" + integrity sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/template" "^7.22.5" + +"@babel/plugin-transform-destructuring@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz#d3aca7438f6c26c78cdd0b0ba920a336001b27cc" + integrity sha512-GfqcFuGW8vnEqTUBM7UtPd5A4q797LTvvwKxXTgRsFjoqaJiEg9deBG6kWeQYkVEL569NpnmpC0Pkr/8BLKGnQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-flow-strip-types@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.22.5.tgz#0bb17110c7bf5b35a60754b2f00c58302381dee2" + integrity sha512-tujNbZdxdG0/54g/oua8ISToaXTFBf8EnSb5PgQSciIXWOWKX3S4+JR7ZE9ol8FZwf9kxitzkGQ+QWeov/mCiA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-flow" "^7.22.5" + +"@babel/plugin-transform-for-of@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz#ab1b8a200a8f990137aff9a084f8de4099ab173f" + integrity sha512-3kxQjX1dU9uudwSshyLeEipvrLjBCVthCgeTp6CzE/9JYrlAIaeekVxRpCWsDDfYTfRZRoCeZatCQvwo+wvK8A== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-function-name@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz#935189af68b01898e0d6d99658db6b164205c143" + integrity sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg== + dependencies: + "@babel/helper-compilation-targets" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-literals@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz#e9341f4b5a167952576e23db8d435849b1dd7920" + integrity sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-member-expression-literals@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz#4fcc9050eded981a468347dd374539ed3e058def" + integrity sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-modules-commonjs@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.5.tgz#7d9875908d19b8c0536085af7b053fd5bd651bfa" + integrity sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA== + dependencies: + "@babel/helper-module-transforms" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + +"@babel/plugin-transform-object-super@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz#794a8d2fcb5d0835af722173c1a9d704f44e218c" + integrity sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.5" + +"@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.20.7": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.5.tgz#c3542dd3c39b42c8069936e48717a8d179d63a18" + integrity sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-property-literals@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz#b5ddabd73a4f7f26cd0e20f5db48290b88732766" + integrity sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-display-name@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.22.5.tgz#3c4326f9fce31c7968d6cb9debcaf32d9e279a2b" + integrity sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-jsx@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.22.5.tgz#932c291eb6dd1153359e2a90cb5e557dcf068416" + integrity sha512-rog5gZaVbUip5iWDMTYbVM15XQq+RkUKhET/IHR6oizR+JEoN6CAfTTuHcK4vwUyzca30qqHqEpzBOnaRMWYMA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/plugin-transform-shorthand-properties@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz#6e277654be82b5559fc4b9f58088507c24f0c624" + integrity sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-spread@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz#6487fd29f229c95e284ba6c98d65eafb893fea6b" + integrity sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + +"@babel/plugin-transform-template-literals@^7.0.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz#8f38cf291e5f7a8e60e9f733193f0bcc10909bff" + integrity sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/runtime@^7.0.0": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438" + integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ== + dependencies: + regenerator-runtime "^0.13.11" + "@babel/runtime@^7.20.7": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.5.tgz#8564dd588182ce0047d55d7a75e93921107b57ec" @@ -281,6 +727,31 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" +"@babel/template@^7.20.7", "@babel/template@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" + integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/parser" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8": + version "7.22.8" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" + integrity sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.7" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.7" + "@babel/types" "^7.22.5" + debug "^4.1.0" + globals "^11.1.0" + "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.3", "@babel/traverse@^7.7.2": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" @@ -306,6 +777,15 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" + integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.5" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -691,6 +1171,443 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@graphql-codegen/add@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/add/-/add-5.0.0.tgz#578ebaf4fa87c1e934c381cd679bcedcf79feaba" + integrity sha512-ynWDOsK2yxtFHwcJTB9shoSkUd7YXd6ZE57f0nk7W5cu/nAgxZZpEsnTPEpZB/Mjf14YRGe2uJHQ7AfElHjqUQ== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + tslib "~2.5.0" + +"@graphql-codegen/cli@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-4.0.1.tgz#2bd494d55aaef0dfe86eefe1fa42bff81f5147fe" + integrity sha512-/H4imnGOl3hoPXLKmIiGUnXpmBmeIClSZie/YHDzD5N59cZlGGJlIOOrUlOTDpJx5JNU1MTQcRjyTToOYM5IfA== + dependencies: + "@babel/generator" "^7.18.13" + "@babel/template" "^7.18.10" + "@babel/types" "^7.18.13" + "@graphql-codegen/core" "^4.0.0" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/apollo-engine-loader" "^8.0.0" + "@graphql-tools/code-file-loader" "^8.0.0" + "@graphql-tools/git-loader" "^8.0.0" + "@graphql-tools/github-loader" "^8.0.0" + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/prisma-loader" "^8.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@parcel/watcher" "^2.1.0" + "@whatwg-node/fetch" "^0.8.0" + chalk "^4.1.0" + cosmiconfig "^8.1.3" + debounce "^1.2.0" + detect-indent "^6.0.0" + graphql-config "^5.0.2" + inquirer "^8.0.0" + is-glob "^4.0.1" + jiti "^1.17.1" + json-to-pretty-yaml "^1.2.2" + listr2 "^4.0.5" + log-symbols "^4.0.0" + micromatch "^4.0.5" + shell-quote "^1.7.3" + string-env-interpolation "^1.0.1" + ts-log "^2.2.3" + tslib "^2.4.0" + yaml "^1.10.0" + yargs "^17.0.0" + +"@graphql-codegen/client-preset@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/client-preset/-/client-preset-4.0.1.tgz#6d9883525511ebbd6deaacdccf2c4673fad3263f" + integrity sha512-8kt8z1JK4CGbBb+oedSCyHENNxh8UHdEFU8sBCtN4QpKsfmsEXhHHeJCTRPVbQKtEZyfVuBqf89DzuSNLs0DFw== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/template" "^7.20.7" + "@graphql-codegen/add" "^5.0.0" + "@graphql-codegen/gql-tag-operations" "4.0.1" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typed-document-node" "^5.0.1" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/typescript-operations" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "^4.0.1" + "@graphql-tools/documents" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" + "@graphql-typed-document-node/core" "3.2.0" + tslib "~2.5.0" + +"@graphql-codegen/core@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/core/-/core-4.0.0.tgz#b29c911746a532a675e33720acb4eb2119823e01" + integrity sha512-JAGRn49lEtSsZVxeIlFVIRxts2lWObR+OQo7V2LHDJ7ohYYw3ilv7nJ8pf8P4GTg/w6ptcYdSdVVdkI8kUHB/Q== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "~2.5.0" + +"@graphql-codegen/gql-tag-operations@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.1.tgz#36c7d40a135b9889d7f225166be323c3d48cee87" + integrity sha512-qF6wIbBzW8BNT+wiVsBxrYOs2oYcsxQ7mRvCpfEI3HnNZMAST/uX76W8MqFEJvj4mw7NIDv7xYJAcAZIWM5LWw== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/plugin-helpers@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-5.0.0.tgz#40c18217454af5cf8317e5f46cf4d38e8cc78ae4" + integrity sha512-suL2ZMkBAU2a4YbBHaZvUPsV1z0q3cW6S96Z/eYYfkRIsJoe2vN+wNZ9Xdzmqx0JLmeeFCBSoBGC0imFyXlkDQ== + dependencies: + "@graphql-tools/utils" "^10.0.0" + change-case-all "1.0.15" + common-tags "1.8.2" + import-from "4.0.0" + lodash "~4.17.0" + tslib "~2.5.0" + +"@graphql-codegen/schema-ast@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-4.0.0.tgz#5d60996c87b64f81847da8fcb2d8ef50ede89755" + integrity sha512-WIzkJFa9Gz28FITAPILbt+7A8+yzOyd1NxgwFh7ie+EmO9a5zQK6UQ3U/BviirguXCYnn+AR4dXsoDrSrtRA1g== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typed-document-node@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.1.tgz#ac90cf67c61554f63ec100d6076b47c9f0b18b27" + integrity sha512-VFkhCuJnkgtbbgzoCAwTdJe2G1H6sd3LfCrDqWUrQe53y2ukfSb5Ov1PhAIkCBStKCMQBUY9YgGz9GKR40qQ8g== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + change-case-all "1.0.15" + tslib "~2.5.0" + +"@graphql-codegen/typescript-operations@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-4.0.1.tgz#930af3e2d2ae8ff06de696291be28fe7046a2fef" + integrity sha512-GpUWWdBVUec/Zqo23aFLBMrXYxN2irypHqDcKjN78JclDPdreasAEPcIpMfqf4MClvpmvDLy4ql+djVAwmkjbw== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typescript@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-4.0.1.tgz#7481d68f59bea802dd10e278dce73c8a1552b2a4" + integrity sha512-3YziQ21dCVdnHb+Us1uDb3pA6eG5Chjv0uTK+bt9dXeMlwYBU8MbtzvQTo4qvzWVC1AxSOKj0rgfNu1xCXqJyA== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/schema-ast" "^4.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/visitor-plugin-common@4.0.1", "@graphql-codegen/visitor-plugin-common@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-4.0.1.tgz#64e293728b3c186f6767141e41fcdb310e50d367" + integrity sha512-Bi/1z0nHg4QMsAqAJhds+ForyLtk7A3HQOlkrZNm3xEkY7lcBzPtiOTLBtvziwopBsXUxqeSwVjOOFPLS5Yw1Q== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/optimize" "^2.0.0" + "@graphql-tools/relay-operation-optimizer" "^7.0.0" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + change-case-all "1.0.15" + dependency-graph "^0.11.0" + graphql-tag "^2.11.0" + parse-filepath "^1.0.2" + tslib "~2.5.0" + +"@graphql-tools/apollo-engine-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/apollo-engine-loader/-/apollo-engine-loader-8.0.0.tgz#ac1f351cbe41508411784f25757f5557b0f27489" + integrity sha512-axQTbN5+Yxs1rJ6cWQBOfw3AEeC+fvIuZSfJLPLLvFJLj4pUm9fhxey/g6oQZAAQJqKPfw+tLDUQvnfvRK8Kmg== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" + tslib "^2.4.0" + +"@graphql-tools/batch-execute@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-9.0.0.tgz#9aba67c235dfa8e28e17d204ccb74998064eaec3" + integrity sha512-lT9/1XmPSYzBcEybXPLsuA6C5E0t8438PVUELABcqdvwHgZ3VOOx29MLBEqhr2oewOlDChH6PXNkfxoOoAuzRg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + dataloader "^2.2.2" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/code-file-loader@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-8.0.1.tgz#86ab699cc8ed76010b2f0401e8a4a149338b759e" + integrity sha512-pmg81lsIXGW3uW+nFSCIG0lFQIxWVbgDjeBkSWlnP8CZsrHTQEkB53DT7t4BHLryoxDS4G4cPxM52yNINDSL8w== + dependencies: + "@graphql-tools/graphql-tag-pluck" "8.0.1" + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/delegate@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-10.0.0.tgz#c9da70811de8efbf630a74188698941cdc618ccf" + integrity sha512-ZW5/7Q0JqUM+guwn8/cM/1Hz16Zvj6WR6r3gnOwoPO7a9bCbe8QTCk4itT/EO+RiGT8RLUPYaunWR9jxfNqqOA== + dependencies: + "@graphql-tools/batch-execute" "^9.0.0" + "@graphql-tools/executor" "^1.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + dataloader "^2.2.2" + tslib "^2.5.0" + value-or-promise "^1.0.12" + +"@graphql-tools/documents@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/documents/-/documents-1.0.0.tgz#e3ed97197cc22ec830ca227fd7d17e86d8424bdf" + integrity sha512-rHGjX1vg/nZ2DKqRGfDPNC55CWZBMldEVcH+91BThRa6JeT80NqXknffLLEZLRUxyikCfkwMsk6xR3UNMqG0Rg== + dependencies: + lodash.sortby "^4.7.0" + tslib "^2.4.0" + +"@graphql-tools/executor-graphql-ws@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-1.1.0.tgz#7727159ebaa9df4dc793d0d02e74dd1ca4a7cc60" + integrity sha512-yM67SzwE8rYRpm4z4AuGtABlOp9mXXVy6sxXnTJRoYIdZrmDbKVfIY+CpZUJCqS0FX3xf2+GoHlsj7Qswaxgcg== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@types/ws" "^8.0.0" + graphql-ws "^5.14.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + ws "^8.13.0" + +"@graphql-tools/executor-http@^1.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-1.0.2.tgz#d7964a6e5ec883842f9a8e3f104f93c9b8f472be" + integrity sha512-JKTB4E3kdQM2/1NEcyrVPyQ8057ZVthCV5dFJiKktqY9IdmF00M8gupFcW3jlbM/Udn78ickeUBsUzA3EouqpA== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@repeaterjs/repeater" "^3.0.4" + "@whatwg-node/fetch" "^0.9.0" + extract-files "^11.0.0" + meros "^1.2.1" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/executor-legacy-ws@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.1.tgz#49764812fc93f401cb3f3ef32b2d6db4a9cd8db5" + integrity sha512-PQrTJ+ncHMEQspBARc2lhwiQFfRAX/z/CsOdZTFjIljOHgRWGAA1DAx7pEN0j6PflbLCfZ3NensNq2jCBwF46w== + dependencies: + "@graphql-tools/utils" "^10.0.0" + "@types/ws" "^8.0.0" + isomorphic-ws "5.0.0" + tslib "^2.4.0" + ws "8.13.0" + +"@graphql-tools/executor@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor/-/executor-1.1.0.tgz#bafddb7c56d8250c5eda83437c10664e702109a8" + integrity sha512-+1wmnaUHETSYxiK/ELsT60x584Rw3QKBB7F/7fJ83HKPnLifmE2Dm/K9Eyt6L0Ppekf1jNUbWBpmBGb8P5hAeg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + "@graphql-typed-document-node/core" "3.2.0" + "@repeaterjs/repeater" "^3.0.4" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/git-loader@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-8.0.1.tgz#ca1aed6342d4f636f75aacced48713c5ebdde80d" + integrity sha512-ivNtxD+iEfpPONYKip0kbpZMRdMCNR3HrIui8NCURmUdvBYGaGcbB3VrGMhxwZuzc+ybhs2ralPt1F8Oxq2jLA== + dependencies: + "@graphql-tools/graphql-tag-pluck" "8.0.1" + "@graphql-tools/utils" "^10.0.0" + is-glob "4.0.3" + micromatch "^4.0.4" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/github-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/github-loader/-/github-loader-8.0.0.tgz#683195800618364701cfea9bc6f88674486f053b" + integrity sha512-VuroArWKcG4yaOWzV0r19ElVIV6iH6UKDQn1MXemND0xu5TzrFme0kf3U9o0YwNo0kUYEk9CyFM0BYg4he17FA== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/executor-http" "^1.0.0" + "@graphql-tools/graphql-tag-pluck" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/graphql-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.0.0.tgz#a2026405bce86d974000455647511bf65df4f211" + integrity sha512-wRXj9Z1IFL3+zJG1HWEY0S4TXal7+s1vVhbZva96MSp0kbb/3JBF7j0cnJ44Eq0ClccMgGCDFqPFXty4JlpaPg== + dependencies: + "@graphql-tools/import" "7.0.0" + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/graphql-tag-pluck@8.0.1", "@graphql-tools/graphql-tag-pluck@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.0.1.tgz#480d804a0fd7576f5ee06460528f1ee2b426f50e" + integrity sha512-4sfBJSoXxVB4rRCCp2GTFhAYsUJgAPSKxSV+E3Voc600mK52JO+KsHCCTnPgCeyJFMNR9l94J6+tqxVKmlqKvw== + dependencies: + "@babel/parser" "^7.16.8" + "@babel/plugin-syntax-import-assertions" "^7.20.0" + "@babel/traverse" "^7.16.8" + "@babel/types" "^7.16.8" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + +"@graphql-tools/import@7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/import/-/import-7.0.0.tgz#a6a91a90a707d5f46bad0fd3fde2f407b548b2be" + integrity sha512-NVZiTO8o1GZs6OXzNfjB+5CtQtqsZZpQOq+Uu0w57kdUkT4RlQKlwhT8T81arEsbV55KpzkpFsOZP7J1wdmhBw== + dependencies: + "@graphql-tools/utils" "^10.0.0" + resolve-from "5.0.0" + tslib "^2.4.0" + +"@graphql-tools/json-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/json-file-loader/-/json-file-loader-8.0.0.tgz#9b1b62902f766ef3f1c9cd1c192813ea4f48109c" + integrity sha512-ki6EF/mobBWJjAAC84xNrFMhNfnUFD6Y0rQMGXekrUgY0NdeYXHU0ZUgHzC9O5+55FslqUmAUHABePDHTyZsLg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/load@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-8.0.0.tgz#62e00f48c39b4085167a096f66ba6c21fb3fc796" + integrity sha512-Cy874bQJH0FP2Az7ELPM49iDzOljQmK1PPH6IuxsWzLSTxwTqd8dXA09dcVZrI7/LsN26heTY2R8q2aiiv0GxQ== + dependencies: + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + p-limit "3.1.0" + tslib "^2.4.0" + +"@graphql-tools/merge@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-9.0.0.tgz#b0a3636c82716454bff88e9bb40108b0471db281" + integrity sha512-J7/xqjkGTTwOJmaJQJ2C+VDBDOWJL3lKrHJN4yMaRLAJH3PosB7GiPRaSDZdErs0+F77sH2MKs2haMMkywzx7Q== + dependencies: + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + +"@graphql-tools/optimize@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/optimize/-/optimize-2.0.0.tgz#7a9779d180824511248a50c5a241eff6e7a2d906" + integrity sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg== + dependencies: + tslib "^2.4.0" + +"@graphql-tools/prisma-loader@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-8.0.1.tgz#0a013c69b04e0779b5be15757173d458cdf94e35" + integrity sha512-bl6e5sAYe35Z6fEbgKXNrqRhXlCJYeWKBkarohgYA338/SD9eEhXtg3Cedj7fut3WyRLoQFpHzfiwxKs7XrgXg== + dependencies: + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@types/js-yaml" "^4.0.0" + "@types/json-stable-stringify" "^1.0.32" + "@whatwg-node/fetch" "^0.9.0" + chalk "^4.1.0" + debug "^4.3.1" + dotenv "^16.0.0" + graphql-request "^6.0.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.0" + jose "^4.11.4" + js-yaml "^4.0.0" + json-stable-stringify "^1.0.1" + lodash "^4.17.20" + scuid "^1.1.0" + tslib "^2.4.0" + yaml-ast-parser "^0.0.43" + +"@graphql-tools/relay-operation-optimizer@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.0.0.tgz#24367666af87bc5a81748de5e8e9b3c523fd4207" + integrity sha512-UNlJi5y3JylhVWU4MBpL0Hun4Q7IoJwv9xYtmAz+CgRa066szzY7dcuPfxrA7cIGgG/Q6TVsKsYaiF4OHPs1Fw== + dependencies: + "@ardatan/relay-compiler" "12.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + +"@graphql-tools/schema@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-10.0.0.tgz#7b5f6b6a59f51c927de8c9069bde4ebbfefc64b3" + integrity sha512-kf3qOXMFcMs2f/S8Y3A8fm/2w+GaHAkfr3Gnhh2LOug/JgpY/ywgFVxO3jOeSpSEdoYcDKLcXVjMigNbY4AdQg== + dependencies: + "@graphql-tools/merge" "^9.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/url-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-8.0.0.tgz#8d952d5ebb7325e587cb914aaebded3dbd078cf6" + integrity sha512-rPc9oDzMnycvz+X+wrN3PLrhMBQkG4+sd8EzaFN6dypcssiefgWKToXtRKI8HHK68n2xEq1PyrOpkjHFJB+GwA== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/executor-graphql-ws" "^1.0.0" + "@graphql-tools/executor-http" "^1.0.0" + "@graphql-tools/executor-legacy-ws" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" + "@graphql-tools/wrap" "^10.0.0" + "@types/ws" "^8.0.0" + "@whatwg-node/fetch" "^0.9.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.11" + ws "^8.12.0" + +"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.2": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.0.3.tgz#e5d5b217ba643b7b67a35b50086b5d831aadb71c" + integrity sha512-6uO41urAEIs4sXQT2+CYGsUTkHkVo/2MpM/QjoHj6D6xoEF2woXHBpdAVi0HKIInDwZqWgEYOwIFez0pERxa1Q== + dependencies: + "@graphql-typed-document-node/core" "^3.1.1" + dset "^3.1.2" + tslib "^2.4.0" + +"@graphql-tools/wrap@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-10.0.0.tgz#573ab111482387d4acf4757d5fb7f9553a504bc1" + integrity sha512-HDOeUUh6UhpiH0WPJUQl44ODt1x5pnMUbOJZ7GjTdGQ7LK0AgVt3ftaAQ9duxLkiAtYJmu5YkULirfZGj4HzDg== + dependencies: + "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-typed-document-node/core@3.2.0", "@graphql-typed-document-node/core@^3.1.1", "@graphql-typed-document-node/core@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" + integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== + "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" @@ -1319,6 +2236,15 @@ "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/gen-mapping@^0.3.0": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/gen-mapping@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" @@ -1367,6 +2293,14 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@jridgewell/trace-mapping@^0.3.17": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@keplr-wallet/types@^0.12.12": version "0.12.12" resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.12.tgz#f4bd9e710d5e53504f6b53330abb45bedd9c20ae" @@ -1779,6 +2713,56 @@ dependencies: "@octokit/openapi-types" "^16.0.0" +"@parcel/watcher-android-arm64@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.2.0.tgz#3d1a71f251ba829ab884dfe119cc4f4c49c7222b" + integrity sha512-nU2wh00CTQT9rr1TIKTjdQ9lAGYpmz6XuKw0nAwAN+S2A5YiD55BK1u+E5WMCT8YOIDe/n6gaj4o/Bi9294SSQ== + +"@parcel/watcher-darwin-arm64@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.2.0.tgz#9ed47d9e4146d53a39f62577a993426d6ddec2d2" + integrity sha512-cJl0UZDcodciy3TDMomoK/Huxpjlkkim3SyMgWzjovHGOZKNce9guLz2dzuFwfObBFCjfznbFMIvAZ5syXotYw== + +"@parcel/watcher-darwin-x64@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.2.0.tgz#9b553e61f4a01a0947b1c005619db7b7c9a286d1" + integrity sha512-QI77zxaGrCV1StKcoRYfsUfmUmvPMPfQrubkBBy5XujV2fwaLgZivQOTQMBgp5K2+E19u1ufpspKXAPqSzpbyg== + +"@parcel/watcher-linux-arm-glibc@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.2.0.tgz#2644f6292b862c52d636978da8711bf2f7b14b24" + integrity sha512-I2GPBcAXazPzabCmfsa3HRRW+MGlqxYd8g8RIueJU+a4o5nyNZDz0CR1cu0INT0QSQXEZV7w6UE8Hz9CF8u3Pg== + +"@parcel/watcher-linux-arm64-glibc@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.2.0.tgz#b82c1715a20e6725c89b2697a208d2ae488d22da" + integrity sha512-St5mlfp+2lS9AmgixUqfwJa/DwVmTCJxC1HcOubUTz6YFOKIlkHCeUa1Bxi4E/tR/HSez8+heXHL8HQkJ4Bd8g== + +"@parcel/watcher-linux-arm64-musl@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.2.0.tgz#45511adc69c4c89b10965f0dd1519e56a00f512f" + integrity sha512-jS+qfhhoOBVWwMLP65MaG8xdInMK30pPW8wqTCg2AAuVJh5xepMbzkhHJ4zURqHiyY3EiIRuYu4ONJKCxt8iqA== + +"@parcel/watcher-linux-x64-glibc@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.2.0.tgz#f6e878bf40874b1ce9530ec87e5c2e644e9ad5ac" + integrity sha512-xJvJ7R2wJdi47WZBFS691RDOWvP1j/IAs3EXaWVhDI8FFITbWrWaln7KoNcR0Y3T+ZwimFY/cfb0PNht1q895g== + +"@parcel/watcher-linux-x64-musl@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.2.0.tgz#4a1b7a8f65b42f50b1819185ef56ed3c9e251425" + integrity sha512-D+NMpgr23a+RI5mu8ZPKWy7AqjBOkURFDgP5iIXXEf/K3hm0jJ3ogzi0Ed2237B/CdYREimCgXyeiAlE/FtwyA== + +"@parcel/watcher-win32-arm64@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.2.0.tgz#4cdbaf8c1097038e838d12f897ac8595b18dfb1f" + integrity sha512-z225cPn3aygJsyVUOWwfyW+fY0Tvk7N3XCOl66qUPFxpbuXeZuiuuJemmtm8vxyqa3Ur7peU/qJxrpC64aeI7Q== + +"@parcel/watcher-win32-x64@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.2.0.tgz#f2fcc255b7cadfd0afa7c51cde36413632075bcc" + integrity sha512-JqGW0RJ61BkKx+yYzIURt9s53P7xMVbv0uxYPzAXLBINGaFmkIKSuUPyBVfy8TMbvp93lvF4SPBNDzVRJfvgOw== + "@parcel/watcher@2.0.4": version "2.0.4" resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" @@ -1787,6 +2771,54 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" +"@parcel/watcher@^2.1.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.2.0.tgz#92067954e591d239c3ecfa08add205f88f476068" + integrity sha512-71S4TF+IMyAn24PK4KSkdKtqJDR3zRzb0HE3yXpacItqTM7XfF2f5q9NEGLEVl0dAaBAGfNwDCjH120y25F6Tg== + dependencies: + detect-libc "^1.0.3" + is-glob "^4.0.3" + micromatch "^4.0.5" + node-addon-api "^7.0.0" + optionalDependencies: + "@parcel/watcher-android-arm64" "2.2.0" + "@parcel/watcher-darwin-arm64" "2.2.0" + "@parcel/watcher-darwin-x64" "2.2.0" + "@parcel/watcher-linux-arm-glibc" "2.2.0" + "@parcel/watcher-linux-arm64-glibc" "2.2.0" + "@parcel/watcher-linux-arm64-musl" "2.2.0" + "@parcel/watcher-linux-x64-glibc" "2.2.0" + "@parcel/watcher-linux-x64-musl" "2.2.0" + "@parcel/watcher-win32-arm64" "2.2.0" + "@parcel/watcher-win32-x64" "2.2.0" + +"@peculiar/asn1-schema@^2.3.6": + version "2.3.6" + resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.6.tgz#3dd3c2ade7f702a9a94dfb395c192f5fa5d6b922" + integrity sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA== + dependencies: + asn1js "^3.0.5" + pvtsutils "^1.3.2" + tslib "^2.4.0" + +"@peculiar/json-schema@^1.1.12": + version "1.1.12" + resolved "https://registry.yarnpkg.com/@peculiar/json-schema/-/json-schema-1.1.12.tgz#fe61e85259e3b5ba5ad566cb62ca75b3d3cd5339" + integrity sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w== + dependencies: + tslib "^2.0.0" + +"@peculiar/webcrypto@^1.4.0": + version "1.4.3" + resolved "https://registry.yarnpkg.com/@peculiar/webcrypto/-/webcrypto-1.4.3.tgz#078b3e8f598e847b78683dc3ba65feb5029b93a7" + integrity sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A== + dependencies: + "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/json-schema" "^1.1.12" + pvtsutils "^1.3.2" + tslib "^2.5.0" + webcrypto-core "^1.7.7" + "@phenomnomnominal/tsquery@4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz#42971b83590e9d853d024ddb04a18085a36518df" @@ -1847,6 +2879,11 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== +"@repeaterjs/repeater@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.4.tgz#a04d63f4d1bf5540a41b01a921c9a7fddc3bd1ca" + integrity sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA== + "@sinclair/typebox@^0.24.1": version "0.24.44" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.44.tgz#0a0aa3bf4a155a678418527342a3ee84bd8caa5c" @@ -2004,6 +3041,11 @@ expect "^29.0.0" pretty-format "^29.0.0" +"@types/js-yaml@^4.0.0": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.5.tgz#738dd390a6ecc5442f35e7f03fa1431353f7e138" + integrity sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA== + "@types/json-schema@^7.0.7": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" @@ -2014,6 +3056,11 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== +"@types/json-stable-stringify@^1.0.32": + version "1.0.34" + resolved "https://registry.yarnpkg.com/@types/json-stable-stringify/-/json-stable-stringify-1.0.34.tgz#c0fb25e4d957e0ee2e497c1f553d7f8bb668fd75" + integrity sha512-s2cfwagOQAS8o06TcwKfr9Wx11dNGbH2E9vJz1cqV+a/LOyhWNLUNd6JSRYNzvB4d29UuJX2M0Dj9vE1T8fRXw== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -2104,6 +3151,13 @@ resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== +"@types/ws@^8.0.0": + version "8.5.5" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb" + integrity sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg== + dependencies: + "@types/node" "*" + "@types/yargs-parser@*": version "21.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" @@ -2287,6 +3341,57 @@ "@typescript-eslint/types" "5.59.7" eslint-visitor-keys "^3.3.0" +"@whatwg-node/events@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.3.tgz#13a65dd4f5893f55280f766e29ae48074927acad" + integrity sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA== + +"@whatwg-node/events@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.1.1.tgz#0ca718508249419587e130da26d40e29d99b5356" + integrity sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w== + +"@whatwg-node/fetch@^0.8.0": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.8.8.tgz#48c6ad0c6b7951a73e812f09dd22d75e9fa18cae" + integrity sha512-CdcjGC2vdKhc13KKxgsc6/616BQ7ooDIgPeTuAiE8qfCnS0mGzcfCOoZXypQSz73nxI+GWc7ZReIAVhxoE1KCg== + dependencies: + "@peculiar/webcrypto" "^1.4.0" + "@whatwg-node/node-fetch" "^0.3.6" + busboy "^1.6.0" + urlpattern-polyfill "^8.0.0" + web-streams-polyfill "^3.2.1" + +"@whatwg-node/fetch@^0.9.0": + version "0.9.9" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.9.9.tgz#65e68aaf8353755c20657b803f2fe983dbdabf91" + integrity sha512-OTVoDm039CNyAWSRc2WBimMl/N9J4Fk2le21Xzcf+3OiWPNNSIbMnpWKBUyraPh2d9SAEgoBdQxTfVNihXgiUw== + dependencies: + "@whatwg-node/node-fetch" "^0.4.8" + urlpattern-polyfill "^9.0.0" + +"@whatwg-node/node-fetch@^0.3.6": + version "0.3.6" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.3.6.tgz#e28816955f359916e2d830b68a64493124faa6d0" + integrity sha512-w9wKgDO4C95qnXZRwZTfCmLWqyRnooGjcIwG0wADWjw9/HN0p7dtvtgSvItZtUyNteEvgTrd8QojNEqV6DAGTA== + dependencies: + "@whatwg-node/events" "^0.0.3" + busboy "^1.6.0" + fast-querystring "^1.1.1" + fast-url-parser "^1.1.3" + tslib "^2.3.1" + +"@whatwg-node/node-fetch@^0.4.8": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.4.9.tgz#ff823a28b92d4e7585b9c57d85262c08a3ff13ca" + integrity sha512-0W9tV/RGOm/VlwvxjgBXTA7J3a0nwufjNi6VJEAQQR/pgQkBV6rQsC+GMy6LMlaAjPi6Fg0/Zp9wuRXb/trC9g== + dependencies: + "@whatwg-node/events" "^0.1.0" + busboy "^1.6.0" + fast-querystring "^1.1.1" + fast-url-parser "^1.1.3" + tslib "^2.3.1" + "@yarnpkg/lockfile@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" @@ -2370,6 +3475,13 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + agentkeepalive@^4.2.1: version "4.3.0" resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.3.0.tgz#bb999ff07412653c1803b3ced35e50729830a255" @@ -2589,11 +3701,20 @@ arrify@^2.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== -asap@^2.0.0: +asap@^2.0.0, asap@~2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== +asn1js@^3.0.1, asn1js@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.5.tgz#5ea36820443dbefb51cc7f88a2ebb5b462114f38" + integrity sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ== + dependencies: + pvtsutils "^1.3.2" + pvutils "^1.1.3" + tslib "^2.4.0" + ast-types-flow@^0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" @@ -2619,6 +3740,11 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== +auto-bind@~4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-4.0.0.tgz#e3589fc6c2da8f7ca43ba9f84fa52a744fc997fb" + integrity sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ== + available-typed-arrays@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" @@ -2733,6 +3859,11 @@ babel-plugin-jest-hoist@^29.5.0: "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" +babel-plugin-syntax-trailing-function-commas@^7.0.0-beta.0: + version "7.0.0-beta.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz#aa213c1435e2bffeb6fca842287ef534ad05d5cf" + integrity sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ== + babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -2751,6 +3882,39 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" +babel-preset-fbjs@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-3.4.0.tgz#38a14e5a7a3b285a3f3a86552d650dca5cf6111c" + integrity sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow== + dependencies: + "@babel/plugin-proposal-class-properties" "^7.0.0" + "@babel/plugin-proposal-object-rest-spread" "^7.0.0" + "@babel/plugin-syntax-class-properties" "^7.0.0" + "@babel/plugin-syntax-flow" "^7.0.0" + "@babel/plugin-syntax-jsx" "^7.0.0" + "@babel/plugin-syntax-object-rest-spread" "^7.0.0" + "@babel/plugin-transform-arrow-functions" "^7.0.0" + "@babel/plugin-transform-block-scoped-functions" "^7.0.0" + "@babel/plugin-transform-block-scoping" "^7.0.0" + "@babel/plugin-transform-classes" "^7.0.0" + "@babel/plugin-transform-computed-properties" "^7.0.0" + "@babel/plugin-transform-destructuring" "^7.0.0" + "@babel/plugin-transform-flow-strip-types" "^7.0.0" + "@babel/plugin-transform-for-of" "^7.0.0" + "@babel/plugin-transform-function-name" "^7.0.0" + "@babel/plugin-transform-literals" "^7.0.0" + "@babel/plugin-transform-member-expression-literals" "^7.0.0" + "@babel/plugin-transform-modules-commonjs" "^7.0.0" + "@babel/plugin-transform-object-super" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.0.0" + "@babel/plugin-transform-property-literals" "^7.0.0" + "@babel/plugin-transform-react-display-name" "^7.0.0" + "@babel/plugin-transform-react-jsx" "^7.0.0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0" + "@babel/plugin-transform-spread" "^7.0.0" + "@babel/plugin-transform-template-literals" "^7.0.0" + babel-plugin-syntax-trailing-function-commas "^7.0.0-beta.0" + babel-preset-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz#91f10f58034cb7989cb4f962b69fa6eef6a6bc81" @@ -2873,6 +4037,16 @@ browserslist@^4.21.3: node-releases "^2.0.6" update-browserslist-db "^1.0.9" +browserslist@^4.21.9: + version "4.21.9" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.9.tgz#e11bdd3c313d7e2a9e87e8b4b0c7872b13897635" + integrity sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg== + dependencies: + caniuse-lite "^1.0.30001503" + electron-to-chromium "^1.4.431" + node-releases "^2.0.12" + update-browserslist-db "^1.0.11" + bs-logger@0.x: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" @@ -2912,6 +4086,13 @@ builtins@^5.0.0: dependencies: semver "^7.0.0" +busboy@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" + integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== + dependencies: + streamsearch "^1.1.0" + byte-size@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.0.tgz#36528cd1ca87d39bd9abd51f5715dc93b6ceb032" @@ -2959,6 +4140,14 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== + dependencies: + pascal-case "^3.1.2" + tslib "^2.0.3" + camelcase-keys@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" @@ -2968,7 +4157,7 @@ camelcase-keys@^6.2.2: map-obj "^4.0.0" quick-lru "^4.0.1" -camelcase@^5.3.1: +camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== @@ -2983,6 +4172,20 @@ caniuse-lite@^1.0.30001400: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001416.tgz#29692af8a6a11412f2d3cf9a59d588fcdd21ce4c" integrity sha512-06wzzdAkCPZO+Qm4e/eNghZBDfVNDsCgw33T27OwBH9unE9S478OYw//Q2L7Npf/zBzs7rjZOszIFQkwQKAEqA== +caniuse-lite@^1.0.30001503: + version "1.0.30001516" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz#621b1be7d85a8843ee7d210fd9d87b52e3daab3a" + integrity sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g== + +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + chalk@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" @@ -3013,6 +4216,40 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: ansi-styles "^4.1.0" supports-color "^7.1.0" +change-case-all@1.0.15: + version "1.0.15" + resolved "https://registry.yarnpkg.com/change-case-all/-/change-case-all-1.0.15.tgz#de29393167fc101d646cd76b0ef23e27d09756ad" + integrity sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ== + dependencies: + change-case "^4.1.2" + is-lower-case "^2.0.2" + is-upper-case "^2.0.2" + lower-case "^2.0.2" + lower-case-first "^2.0.2" + sponge-case "^1.0.1" + swap-case "^2.0.2" + title-case "^3.0.3" + upper-case "^2.0.2" + upper-case-first "^2.0.2" + +change-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" + integrity sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A== + dependencies: + camel-case "^4.1.2" + capital-case "^1.0.4" + constant-case "^3.0.4" + dot-case "^3.0.4" + header-case "^2.0.4" + no-case "^3.0.4" + param-case "^3.0.4" + pascal-case "^3.1.2" + path-case "^3.0.4" + sentence-case "^3.0.4" + snake-case "^3.0.4" + tslib "^2.0.3" + char-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" @@ -3101,6 +4338,15 @@ cli-width@^3.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -3179,7 +4425,7 @@ color-support@^1.1.3: resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== -colorette@^2.0.19: +colorette@^2.0.16, colorette@^2.0.19: version "2.0.20" resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== @@ -3234,6 +4480,11 @@ common-ancestor-path@^1.0.1: resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== +common-tags@1.8.2: + version "1.8.2" + resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6" + integrity sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA== + compare-func@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" @@ -3275,6 +4526,15 @@ console-control-strings@^1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== +constant-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-3.0.4.tgz#3b84a9aeaf4cf31ec45e6bf5de91bdfb0589faf1" + integrity sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case "^2.0.2" + conventional-changelog-angular@5.0.12: version "5.0.12" resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" @@ -3423,6 +4683,16 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cosmiconfig@^8.1.0, cosmiconfig@^8.1.3: + version "8.2.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.2.0.tgz#f7d17c56a590856cd1e7cee98734dca272b0d8fd" + integrity sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + cosmjs-types@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.8.0.tgz#2ed78f3e990f770229726f95f3ef5bf9e2b6859b" @@ -3436,6 +4706,13 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== +cross-fetch@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" + integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== + dependencies: + node-fetch "^2.6.12" + cross-fetch@^3.1.5: version "3.1.6" resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.6.tgz#bae05aa31a4da760969756318feeee6e70f15d6c" @@ -3507,11 +4784,21 @@ dataloader@^1.4.0: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-1.4.0.tgz#bca11d867f5d3f1b9ed9f737bd15970c65dff5c8" integrity sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw== +dataloader@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" + integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== + dateformat@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== +debounce@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" + integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== + debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -3546,7 +4833,7 @@ decamelize-keys@^1.1.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0: +decamelize@^1.1.0, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== @@ -3611,6 +4898,11 @@ depd@^2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== +dependency-graph@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" + integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== + deprecation@^2.0.0, deprecation@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" @@ -3626,7 +4918,7 @@ detect-file@^1.0.0: resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== -detect-indent@6.1.0: +detect-indent@6.1.0, detect-indent@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== @@ -3636,6 +4928,11 @@ detect-indent@^5.0.0: resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== +detect-libc@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== + detect-newline@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" @@ -3702,6 +4999,14 @@ domexception@^2.0.1: dependencies: webidl-conversions "^5.0.0" +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + dot-prop@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" @@ -3716,11 +5021,21 @@ dot-prop@^5.1.0: dependencies: is-obj "^2.0.0" +dotenv@^16.0.0: + version "16.3.1" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" + integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== + dotenv@~10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +dset@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.2.tgz#89c436ca6450398396dc6538ea00abc0c54cd45a" + integrity sha512-g/M9sqy3oHe477Ar4voQxWtaPIFw1jTdKZuomOjhCcBx9nHUNn0pu6NopuFFrTh/TRZIKEj+76vLWFu9BNKk+Q== + duplexer@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" @@ -3743,6 +5058,11 @@ electron-to-chromium@^1.4.251: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.275.tgz#db25c8e39c9cc910a996d1ec9b73eee834cb0ac1" integrity sha512-aJeQQ+Hl9Jyyzv4chBqYJwmVRY46N5i2BEX5Cuyk/5gFCUZ5F3i7Hnba6snZftWla7Gglwc5pIgcd+E7cW+rPg== +electron-to-chromium@^1.4.431: + version "1.4.463" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.463.tgz#8eb04355f24fef5c8097661d14e143f6d8554055" + integrity sha512-fT3hvdUWLjDbaTGzyOjng/CQhQJSQP8ThO3XZAoaxHvHo2kUXiRQVMj9M235l8uDFiNPsPa6KHT1p3RaR6ugRw== + elliptic@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -4350,6 +5670,16 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" +extract-files@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-11.0.0.tgz#b72d428712f787eef1f5193aff8ab5351ca8469a" + integrity sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ== + +fast-decode-uri-component@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz#46f8b6c22b30ff7a81357d4f59abfae938202543" + integrity sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -4392,6 +5722,20 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== +fast-querystring@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.2.tgz#a6d24937b4fc6f791b4ee31dcb6f53aeafb89f53" + integrity sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg== + dependencies: + fast-decode-uri-component "^1.0.1" + +fast-url-parser@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" + integrity sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ== + dependencies: + punycode "^1.3.2" + fastq@^1.6.0: version "1.13.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" @@ -4406,6 +5750,24 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" +fbjs-css-vars@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8" + integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ== + +fbjs@^3.0.0: + version "3.0.5" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-3.0.5.tgz#aa0edb7d5caa6340011790bd9249dbef8a81128d" + integrity sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg== + dependencies: + cross-fetch "^3.1.5" + fbjs-css-vars "^1.0.0" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^1.0.35" + figures@3.2.0, figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -4622,7 +5984,7 @@ gensync@^1.0.0-beta.2: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.5: +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -4867,6 +6229,48 @@ grapheme-splitter@^1.0.4: resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== +graphql-config@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.2.tgz#7e962f94ccddcc2ee0aa71d75cf4491ec5092bdb" + integrity sha512-7TPxOrlbiG0JplSZYCyxn2XQtqVhXomEjXUmWJVSS5ET1nPhOJSsIb/WTwqWhcYX6G0RlHXSj9PLtGTKmxLNGg== + dependencies: + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/merge" "^9.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + cosmiconfig "^8.1.0" + jiti "^1.18.2" + minimatch "^4.2.3" + string-env-interpolation "^1.0.1" + tslib "^2.4.0" + +graphql-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== + dependencies: + "@graphql-typed-document-node/core" "^3.2.0" + cross-fetch "^3.1.5" + +graphql-tag@^2.11.0: + version "2.12.6" + resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" + integrity sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg== + dependencies: + tslib "^2.1.0" + +graphql-ws@^5.14.0: + version "5.14.0" + resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.14.0.tgz#766f249f3974fc2c48fae0d1fb20c2c4c79cd591" + integrity sha512-itrUTQZP/TgswR4GSSYuwWUzrE/w5GhbwM2GX3ic2U7aw33jgEsayfIlvaj7/GcIvZgNMzsPTrE5hqPuFUiE5g== + +graphql@^16.7.1: + version "16.7.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.7.1.tgz#11475b74a7bff2aefd4691df52a0eca0abd9b642" + integrity sha512-DRYR9tf+UGU0KOsMcKAlXeFfX89UiiIZ0dRU3mR0yJfu6OjZqUcp68NnFLnqQU5RexygFoDy1EW+ccOYcPfmHg== + handlebars@^4.7.7: version "4.7.7" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -4943,6 +6347,14 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +header-case@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/header-case/-/header-case-2.0.4.tgz#5a42e63b55177349cf405beb8d775acabb92c063" + integrity sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q== + dependencies: + capital-case "^1.0.4" + tslib "^2.0.3" + hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" @@ -5020,6 +6432,14 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" +http-proxy-agent@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz#e9096c5afd071a3fce56e6252bb321583c124673" + integrity sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -5028,6 +6448,14 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" +https-proxy-agent@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.1.tgz#0277e28f13a07d45c663633841e20a40aaafe0ab" + integrity sha512-Eun8zV0kcYS1g19r78osiQLEFIRspRUDd9tIfBCTBPBeMieF/EsJNL8VI3xOIdYRDEkjQnqOYPsZ2DsWsVsFwQ== + dependencies: + agent-base "^7.0.2" + debug "4" + human-signals@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" @@ -5096,6 +6524,11 @@ ignore@~5.1.8: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb" integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ== +immutable@~3.7.6: + version "3.7.6" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b" + integrity sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw== + import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -5104,6 +6537,11 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-from@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/import-from/-/import-from-4.0.0.tgz#2710b8d66817d232e16f4166e319248d3d5492e2" + integrity sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ== + import-local@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -5184,7 +6622,7 @@ inquirer@8.2.4: through "^2.3.6" wrap-ansi "^7.0.0" -inquirer@^8.2.4: +inquirer@^8.0.0, inquirer@^8.2.4: version "8.2.5" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== @@ -5223,11 +6661,26 @@ internal-slot@^1.0.5: has "^1.0.3" side-channel "^1.0.4" +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + ip@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== +is-absolute@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" + integrity sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA== + dependencies: + is-relative "^1.0.0" + is-windows "^1.0.1" + is-alphabetical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" @@ -5326,7 +6779,7 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: +is-glob@4.0.3, is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -5348,6 +6801,13 @@ is-lambda@^1.0.1: resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== +is-lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-lower-case/-/is-lower-case-2.0.2.tgz#1c0884d3012c841556243483aa5d522f47396d2a" + integrity sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ== + dependencies: + tslib "^2.0.3" + is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -5400,6 +6860,13 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-relative@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" + integrity sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA== + dependencies: + is-unc-path "^1.0.0" + is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" @@ -5466,11 +6933,25 @@ is-typedarray@^1.0.0: resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== +is-unc-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" + integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== + dependencies: + unc-path-regex "^0.1.2" + is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== +is-upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-upper-case/-/is-upper-case-2.0.2.tgz#f1105ced1fe4de906a5f39553e7d3803fd804649" + integrity sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ== + dependencies: + tslib "^2.0.3" + is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -5510,6 +6991,11 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== +isomorphic-ws@5.0.0, isomorphic-ws@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" + integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== + isomorphic-ws@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" @@ -6748,12 +8234,22 @@ jest@^29.0.0: import-local "^3.0.2" jest-cli "^29.5.0" +jiti@^1.17.1, jiti@^1.18.2: + version "1.19.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.19.1.tgz#fa99e4b76a23053e0e7cde098efe1704a14c16f1" + integrity sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg== + +jose@^4.11.4: + version "4.14.4" + resolved "https://registry.yarnpkg.com/jose/-/jose-4.14.4.tgz#59e09204e2670c3164ee24cbfe7115c6f8bff9ca" + integrity sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g== + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@4.1.0, js-yaml@^4.1.0: +js-yaml@4.1.0, js-yaml@^4.0.0, js-yaml@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== @@ -6831,6 +8327,13 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== +json-stable-stringify@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz#e06f23128e0bbe342dc996ed5a19e28b57b580e0" + integrity sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g== + dependencies: + jsonify "^0.0.1" + json-stringify-nice@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" @@ -6841,6 +8344,14 @@ json-stringify-safe@^5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== +json-to-pretty-yaml@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/json-to-pretty-yaml/-/json-to-pretty-yaml-1.2.2.tgz#f4cd0bd0a5e8fe1df25aaf5ba118b099fd992d5b" + integrity sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A== + dependencies: + remedial "^1.0.7" + remove-trailing-spaces "^1.0.6" + json5@2.x, json5@^2.2.1, json5@^2.2.2: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" @@ -6872,6 +8383,11 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" +jsonify@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" + integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== + jsonparse@^1.2.0, jsonparse@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" @@ -7094,6 +8610,20 @@ lint-staged@^13.2.2: string-argv "^0.3.1" yaml "^2.2.2" +listr2@^4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.5.tgz#9dcc50221583e8b4c71c43f9c7dfd0ef546b75d5" + integrity sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA== + dependencies: + cli-truncate "^2.1.0" + colorette "^2.0.16" + log-update "^4.0.0" + p-map "^4.0.0" + rfdc "^1.3.0" + rxjs "^7.5.5" + through "^2.3.8" + wrap-ansi "^7.0.0" + listr2@^5.0.7: version "5.0.8" resolved "https://registry.yarnpkg.com/listr2/-/listr2-5.0.8.tgz#a9379ffeb4bd83a68931a65fb223a11510d6ba23" @@ -7185,17 +8715,22 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== + lodash.truncate@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@4.17.21, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0: +lodash@4.17.21, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0, lodash@~4.17.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.1.0: +log-symbols@^4.0.0, log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -7228,13 +8763,34 @@ longest@^2.0.1: resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" integrity sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q== -loose-envify@^1.4.0: +loose-envify@^1.0.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== dependencies: js-tokens "^3.0.0 || ^4.0.0" +lower-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-2.0.2.tgz#64c2324a2250bf7c37c5901e76a5b5309301160b" + integrity sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg== + dependencies: + tslib "^2.0.3" + +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== + dependencies: + tslib "^2.0.3" + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -7301,6 +8857,11 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" +map-cache@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== + map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -7412,6 +8973,11 @@ merge@^2.1.1: resolved "https://registry.yarnpkg.com/merge/-/merge-2.1.1.tgz#59ef4bf7e0b3e879186436e8481c06a6c162ca98" integrity sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w== +meros@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/meros/-/meros-1.3.0.tgz#c617d2092739d55286bf618129280f362e6242f2" + integrity sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w== + micromark@~2.11.0: version "2.11.4" resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" @@ -7479,6 +9045,13 @@ minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" + integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== + dependencies: + brace-expansion "^1.1.7" + minimatch@^5.0.1: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" @@ -7658,11 +9231,24 @@ neo-async@^2.6.0: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== + dependencies: + lower-case "^2.0.2" + tslib "^2.0.3" + node-addon-api@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== +node-addon-api@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" + integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== + node-fetch@2.6.7, node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" @@ -7670,6 +9256,13 @@ node-fetch@2.6.7, node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" +node-fetch@^2.6.1, node-fetch@^2.6.12: + version "2.6.12" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" + integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== + dependencies: + whatwg-url "^5.0.0" + node-fetch@^2.6.11: version "2.6.11" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25" @@ -7703,6 +9296,11 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== +node-releases@^2.0.12: + version "2.0.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== + node-releases@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" @@ -7752,6 +9350,13 @@ normalize-package-data@^4.0.0: semver "^7.3.5" validate-npm-package-license "^3.0.4" +normalize-path@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" + integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w== + dependencies: + remove-trailing-separator "^1.0.1" + normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -7887,6 +9492,11 @@ npmlog@^6.0.0, npmlog@^6.0.2: gauge "^4.0.3" set-blocking "^2.0.0" +nullthrows@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1" + integrity sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw== + nwsapi@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.2.tgz#e5418863e7905df67d51ec95938d67bf801f0bb0" @@ -7943,7 +9553,7 @@ nx@15.8.6, "nx@>=15.5.2 < 16": "@nrwl/nx-win32-arm64-msvc" "15.8.6" "@nrwl/nx-win32-x64-msvc" "15.8.6" -object-assign@^4.1.1: +object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -8101,6 +9711,13 @@ p-finally@^1.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== +p-limit@3.1.0, p-limit@^3.0.2, p-limit@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -8115,13 +9732,6 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^3.0.2, p-limit@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" @@ -8256,6 +9866,14 @@ pako@^2.0.2: resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -8284,6 +9902,15 @@ parse-entities@^2.0.0: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" +parse-filepath@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" + integrity sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q== + dependencies: + is-absolute "^1.0.0" + map-cache "^0.2.0" + path-root "^0.1.1" + parse-json@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" @@ -8326,6 +9953,22 @@ parse5@6.0.1: resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +path-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f" + integrity sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + path-exists@4.0.0, path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -8356,6 +9999,18 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-root-regex@^0.1.0: + version "0.1.2" + resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" + integrity sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ== + +path-root@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" + integrity sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg== + dependencies: + path-root-regex "^0.1.0" + path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -8517,6 +10172,13 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" +promise@^7.1.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" + integrity sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== + dependencies: + asap "~2.0.3" + prompts@^2.0.1: version "2.4.2" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" @@ -8580,6 +10242,11 @@ psl@^1.1.33: resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== +punycode@^1.3.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" @@ -8590,6 +10257,18 @@ pure-rand@^6.0.0: resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.1.tgz#31207dddd15d43f299fdcdb2f572df65030c19af" integrity sha512-t+x1zEHDjBwkDGY5v5ApnZ/utcd4XYDiJsaQQoptTXgUXX95sDg1elCdJghzicm7n2mbCBJ3uYWr6M22SO19rg== +pvtsutils@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.2.tgz#9f8570d132cdd3c27ab7d51a2799239bf8d8d5de" + integrity sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ== + dependencies: + tslib "^2.4.0" + +pvutils@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/pvutils/-/pvutils-1.1.3.tgz#f35fc1d27e7cd3dfbd39c0826d173e806a03f5a3" + integrity sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ== + q@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -8779,6 +10458,30 @@ regexpp@^3.1.0: resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== +relay-runtime@12.0.0: + version "12.0.0" + resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-12.0.0.tgz#1e039282bdb5e0c1b9a7dc7f6b9a09d4f4ff8237" + integrity sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug== + dependencies: + "@babel/runtime" "^7.0.0" + fbjs "^3.0.0" + invariant "^2.2.4" + +remedial@^1.0.7: + version "1.0.8" + resolved "https://registry.yarnpkg.com/remedial/-/remedial-1.0.8.tgz#a5e4fd52a0e4956adbaf62da63a5a46a78c578a0" + integrity sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg== + +remove-trailing-separator@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" + integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== + +remove-trailing-spaces@^1.0.6: + version "1.0.8" + resolved "https://registry.yarnpkg.com/remove-trailing-spaces/-/remove-trailing-spaces-1.0.8.tgz#4354d22f3236374702f58ee373168f6d6887ada7" + integrity sha512-O3vsMYfWighyFbTd8hk8VaSj9UAGENxAtX+//ugIst2RMk5e03h6RoIS+0ylsFxY1gvmPuAY/PO4It+gPEeySA== + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -8789,6 +10492,11 @@ require-from-string@^2.0.2: resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" @@ -8951,6 +10659,11 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" +scuid@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/scuid/-/scuid-1.1.0.tgz#d3f9f920956e737a60f72d0e4ad280bf324d5dab" + integrity sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg== + "semver@2 || 3 || 4 || 5", semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -8982,11 +10695,30 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +sentence-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f" + integrity sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== +setimmediate@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== + shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -9006,6 +10738,11 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== +shell-quote@^1.7.3: + version "1.8.1" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" + integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== + shiki@^0.11.1: version "0.11.1" resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.11.1.tgz#df0f719e7ab592c484d8b73ec10e215a503ab8cc" @@ -9029,6 +10766,11 @@ signal-exit@3.0.7, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signedsource@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/signedsource/-/signedsource-1.0.0.tgz#1ddace4981798f93bd833973803d80d52e93ad6a" + integrity sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww== + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -9070,6 +10812,14 @@ smart-buffer@^4.2.0: resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== +snake-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" + integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + socks-proxy-agent@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" @@ -9160,6 +10910,13 @@ split@^1.0.0: dependencies: through "2" +sponge-case@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/sponge-case/-/sponge-case-1.0.1.tgz#260833b86453883d974f84854cdb63aecc5aef4c" + integrity sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA== + dependencies: + tslib "^2.0.3" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -9179,11 +10936,21 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +streamsearch@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" + integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== + string-argv@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== +string-env-interpolation@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz#ad4397ae4ac53fe6c91d1402ad6f6a52862c7152" + integrity sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg== + string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -9379,6 +11146,13 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +swap-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/swap-case/-/swap-case-2.0.2.tgz#671aedb3c9c137e2985ef51c51f9e98445bf70d9" + integrity sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw== + dependencies: + tslib "^2.0.3" + symbol-observable@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" @@ -9492,6 +11266,13 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8: resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== +title-case@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/title-case/-/title-case-3.0.3.tgz#bc689b46f02e411f1d1e1d081f7c3deca0489982" + integrity sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA== + dependencies: + tslib "^2.0.3" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -9583,6 +11364,11 @@ ts-jest@^28.0.0-next.3: semver "7.x" yargs-parser "^21.0.1" +ts-log@^2.2.3: + version "2.2.5" + resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.5.tgz#aef3252f1143d11047e2cb6f7cfaac7408d96623" + integrity sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA== + ts-node@^10.8.1, ts-node@^10.9.1: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" @@ -9671,11 +11457,21 @@ tslib@^2, tslib@^2.1.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@^2.0.0, tslib@^2.0.3, tslib@^2.3.1, tslib@^2.5.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" + integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA== + tslib@^2.3.0, tslib@^2.4.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== +tslib@~2.5.0: + version "2.5.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" + integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== + tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -9780,6 +11576,11 @@ typescript@^4.4.3, typescript@^4.6.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== +ua-parser-js@^1.0.35: + version "1.0.35" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.35.tgz#c4ef44343bc3db0a3cbefdf21822f1b1fc1ab011" + integrity sha512-fKnGuqmTBnIE+/KXSzCn4db8RTigUzw1AN0DmdU6hJovUTbYJKyqj+8Mt1c4VfRDnOVJnENmfYkIPZ946UrSAA== + uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" @@ -9800,6 +11601,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +unc-path-regex@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" + integrity sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg== + unique-filename@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" @@ -9836,11 +11642,26 @@ universalify@^2.0.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== +unixify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unixify/-/unixify-1.0.0.tgz#3a641c8c2ffbce4da683a5c70f03a462940c2090" + integrity sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg== + dependencies: + normalize-path "^2.1.1" + upath@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== +update-browserslist-db@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + update-browserslist-db@^1.0.9: version "1.0.10" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" @@ -9849,6 +11670,20 @@ update-browserslist-db@^1.0.9: escalade "^3.1.1" picocolors "^1.0.0" +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== + dependencies: + tslib "^2.0.3" + +upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-2.0.2.tgz#d89810823faab1df1549b7d97a76f8662bae6f7a" + integrity sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg== + dependencies: + tslib "^2.0.3" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -9864,6 +11699,16 @@ url-parse@^1.5.3: querystringify "^2.1.1" requires-port "^1.0.0" +urlpattern-polyfill@^8.0.0: + version "8.0.2" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz#99f096e35eff8bf4b5a2aa7d58a1523d6ebc7ce5" + integrity sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ== + +urlpattern-polyfill@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz#bc7e386bb12fd7898b58d1509df21d3c29ab3460" + integrity sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g== + util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -9924,6 +11769,11 @@ validate-npm-package-name@^3.0.0: dependencies: builtins "^1.0.3" +value-or-promise@^1.0.11, value-or-promise@^1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.12.tgz#0e5abfeec70148c78460a849f6b003ea7986f15c" + integrity sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q== + vscode-oniguruma@^1.6.1: version "1.7.0" resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b" @@ -9967,6 +11817,22 @@ wcwidth@^1.0.0, wcwidth@^1.0.1: dependencies: defaults "^1.0.3" +web-streams-polyfill@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + +webcrypto-core@^1.7.7: + version "1.7.7" + resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.7.tgz#06f24b3498463e570fed64d7cab149e5437b162c" + integrity sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g== + dependencies: + "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/json-schema" "^1.1.12" + asn1js "^3.0.1" + pvtsutils "^1.3.2" + tslib "^2.4.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" @@ -10022,6 +11888,11 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-module@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== + which-typed-array@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" @@ -10144,6 +12015,11 @@ write-pkg@4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" +ws@8.13.0, ws@^8.12.0, ws@^8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + ws@^7, ws@^7.4.6: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" @@ -10177,16 +12053,31 @@ xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== +y18n@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" + integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== + y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml-ast-parser@^0.0.43: + version "0.0.43" + resolved "https://registry.yarnpkg.com/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz#e8a23e6fb4c38076ab92995c5dca33f3d3d7c9bb" + integrity sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A== + yaml@^1.10.0: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" @@ -10212,6 +12103,14 @@ yargs-parser@21.1.1, yargs-parser@^21.0.0, yargs-parser@^21.0.1, yargs-parser@^2 resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== +yargs-parser@^18.1.2: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs@16.2.0, yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" @@ -10225,6 +12124,23 @@ yargs@16.2.0, yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" +yargs@^15.3.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + yargs@^17.0.0, yargs@^17.3.1: version "17.6.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c"