Skip to content

Commit

Permalink
Merge pull request #787 from tomguluson92/main
Browse files Browse the repository at this point in the history
fix: enviroment -> environment
  • Loading branch information
jkbrooks authored Dec 2, 2024
2 parents e8067c1 + d413c49 commit 3ac8116
Show file tree
Hide file tree
Showing 26 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/api/functions/validateCharacterConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Validation function

## Defined in

[packages/core/src/enviroment.ts:130](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L130)
[packages/core/src/environment.ts:130](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L130)
2 changes: 1 addition & 1 deletion docs/api/functions/validateEnv.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Validation function

## Defined in

[packages/core/src/enviroment.ts:26](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L26)
[packages/core/src/environment.ts:26](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L26)
2 changes: 1 addition & 1 deletion docs/api/type-aliases/CharacterConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Type inference

## Defined in

[packages/core/src/enviroment.ts:127](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L127)
[packages/core/src/environment.ts:127](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L127)
2 changes: 1 addition & 1 deletion docs/api/type-aliases/EnvConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Type inference

## Defined in

[packages/core/src/enviroment.ts:23](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L23)
[packages/core/src/environment.ts:23](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L23)
2 changes: 1 addition & 1 deletion docs/api/variables/CharacterSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ Main Character schema
## Defined in

[packages/core/src/enviroment.ts:66](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L66)
[packages/core/src/environment.ts:66](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L66)
2 changes: 1 addition & 1 deletion docs/api/variables/envSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ API Keys with specific formats
## Defined in

[packages/core/src/enviroment.ts:5](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L5)
[packages/core/src/environment.ts:5](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L5)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/client-github/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
knowledge,
stringToUuid,
} from "@ai16z/eliza";
import { validateGithubConfig } from "./enviroment";
import { validateGithubConfig } from "./environment";

export interface GitHubConfig {
owner: string;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/client-telegram/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { elizaLogger } from "@ai16z/eliza";
import { Client, IAgentRuntime } from "@ai16z/eliza";
import { TelegramClient } from "./telegramClient.ts";
import { validateTelegramConfig } from "./enviroment.ts";
import { validateTelegramConfig } from "./environment.ts";

export const TelegramClientInterface: Client = {
start: async (runtime: IAgentRuntime) => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/client-twitter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TwitterPostClient } from "./post.ts";
import { TwitterSearchClient } from "./search.ts";
import { TwitterInteractionClient } from "./interactions.ts";
import { IAgentRuntime, Client, elizaLogger } from "@ai16z/eliza";
import { validateTwitterConfig } from "./enviroment.ts";
import { validateTwitterConfig } from "./environment.ts";
import { ClientBase } from "./base.ts";

class TwitterManager {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export * from "./types.ts";
export * from "./logger.ts";
export * from "./parsing.ts";
export * from "./uuid.ts";
export * from "./enviroment.ts";
export * from "./environment.ts";
export * from "./cache.ts";
export { default as knowledge } from "./knowledge.ts";
export * from "./utils.ts";
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/plugin-buttplug/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ButtplugClient, ButtplugNodeWebsocketClientConnector } from "buttplug";
import { validateButtplugConfig, type ButtplugConfig } from "./enviroment";
import { validateButtplugConfig, type ButtplugConfig } from "./environment";
import type {
Action,
HandlerCallback,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/plugin-node/src/services/speech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PassThrough, Readable } from "stream";
import { IAgentRuntime, ISpeechService, ServiceType } from "@ai16z/eliza";
import { getWavHeader } from "./audioUtils.ts";
import { Service } from "@ai16z/eliza";
import { validateNodeConfig } from "../enviroment.ts";
import { validateNodeConfig } from "../environment.ts";
import * as Echogarden from "echogarden";
import { elizaLogger } from "@ai16z/eliza";

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/plugin-starknet/src/actions/subdomain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
elizaLogger,
} from "@ai16z/eliza";
import { getStarknetAccount } from "../utils";
import { validateStarknetConfig } from "../enviroment";
import { validateStarknetConfig } from "../environment";
import { getTransferSubdomainCall, isStarkDomain } from "../utils/starknetId";

export interface SubdomainCreationContent extends Content {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-starknet/src/actions/swap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from "@avnu/avnu-sdk";

import { getStarknetAccount } from "../utils/index.ts";
import { validateStarknetConfig } from "../enviroment.ts";
import { validateStarknetConfig } from "../environment.ts";

interface SwapContent {
sellTokenAddress: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-starknet/src/actions/takeOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
settings,
} from "@ai16z/eliza";
import * as fs from "fs";
import { validateStarknetConfig } from "../enviroment";
import { validateStarknetConfig } from "../environment";

interface Order {
userId: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-starknet/src/actions/transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from "@ai16z/eliza";
import { getStarknetAccount } from "../utils";
import { ERC20Token } from "../utils/ERC20Token";
import { validateStarknetConfig } from "../enviroment";
import { validateStarknetConfig } from "../environment";
import { getAddressFromName, isStarkDomain } from "../utils/starknetId";

export interface TransferContent extends Content {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-starknet/src/actions/unruggable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
import { DeployData, Factory } from "@unruggable_starknet/core";
import { AMM, QUOTE_TOKEN_SYMBOL } from "@unruggable_starknet/core/constants";
import { ACCOUNTS, TOKENS } from "../utils/constants.ts";
import { validateStarknetConfig } from "../enviroment.ts";
import { validateStarknetConfig } from "../environment.ts";

export function isDeployTokenContent(
content: DeployData
Expand Down
File renamed without changes.

0 comments on commit 3ac8116

Please sign in to comment.