Skip to content

Commit 52a4bc4

Browse files
committed
dexai rebranded to wallioai-kit after domain purchase
1 parent 4f8efbe commit 52a4bc4

27 files changed

+643
-545
lines changed

dist/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export { D as DexAi } from './dexai-D27axkCr.js';
2-
export { D as DexAiConfig, R as Result } from './type-m6lDjsKl.js';
1+
export { W as Wallio } from './wallio-CHa3-kzI.js';
2+
export { R as Result, W as WallioConfig } from './type-dp34ZYhZ.js';
33
import { Chain } from 'viem/chains';
44
import { N as Network } from './adapter-06DuPPG-.js';
55
import 'zod';

dist/index.js

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,32 @@ import {
99
__publicField
1010
} from "./chunk-34RL7MW4.js";
1111

12-
// src/dexai.ts
13-
var _DexAi = class _DexAi {
12+
// src/wallio.ts
13+
import * as dotenv from "dotenv";
14+
dotenv.config();
15+
var _Wallio = class _Wallio {
1416
/**
15-
* Initializes a new DexAi instance
17+
* Initializes a new Wallio instance
1618
*
17-
* @param config - Configuration options for the DexAi
19+
* @param config - Configuration options for the Wallio
1820
* @param config.account - The wallet account to use
1921
* @param config.adapters - The adapter providers to use
2022
*/
21-
constructor(config) {
23+
constructor(config2) {
2224
__publicField(this, "account");
2325
__publicField(this, "adapters");
24-
this.account = config.account;
25-
this.adapters = config.adapters;
26+
this.account = config2.account;
27+
this.adapters = config2.adapters;
2628
}
27-
static async init(config) {
28-
const { account } = config;
29+
static async init(config2) {
30+
const { account } = config2;
2931
if (!account) {
3032
throw new Error("provide an account");
3133
}
32-
return new _DexAi(config);
34+
return new _Wallio(config2);
3335
}
3436
/**
35-
* Returns the adapters available to the DexAi.
37+
* Returns the adapters available to the Wallio.
3638
*
3739
* @returns An array of adapters
3840
*/
@@ -44,11 +46,11 @@ var _DexAi = class _DexAi {
4446
return adapters;
4547
}
4648
};
47-
__name(_DexAi, "DexAi");
48-
var DexAi = _DexAi;
49+
__name(_Wallio, "Wallio");
50+
var Wallio = _Wallio;
4951
export {
5052
ChainById,
51-
DexAi,
53+
Wallio,
5254
getChain,
5355
getChainMap,
5456
getNetworkInfo

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "dexai",
3-
"version": "1.0.2",
2+
"name": "wallioai-kit",
3+
"version": "0.0.1",
44
"description": "A smart agent which the capability to interact with the blockchain",
55
"repository": {
66
"type": "git",
7-
"url": "git+https://github.com/Apexloaded/dexai.git"
7+
"url": "git+https://github.com/wallioai/wallioai-kit"
88
},
99
"author": "Apexloaded",
1010
"license": "MIT",
@@ -25,10 +25,13 @@
2525
"prepublishOnly": "npm run ci"
2626
},
2727
"bugs": {
28-
"url": "https://github.com/Apexloaded/dexai/issues"
28+
"url": "https://github.com/wallioai/wallioai-kit/issues"
2929
},
30-
"homepage": "https://github.com/Apexloaded/dexai#readme",
30+
"homepage": "https://github.com/wallioai/wallioai-kit#readme",
3131
"keywords": [
32+
"wallio",
33+
"walletai",
34+
"wallioai",
3235
"dexai",
3336
"dex",
3437
"exchange",
@@ -63,6 +66,7 @@
6366
"@langchain/core": "^0.3.40",
6467
"ai": "^4.1.45",
6568
"dexai": "link:../../../Library/pnpm/global/5/node_modules/dexai",
69+
"dotenv": "^16.4.7",
6670
"lru-cache": "^11.0.2",
6771
"reflect-metadata": "^0.2.2",
6872
"viem": "^2.23.3",

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/accounts/viem.account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class ViemAccount extends BaseAccount {
217217
if (chain) {
218218
this.walletClient.chain = chain;
219219
}
220-
220+
221221
try {
222222
return this.walletClient.signTypedData({
223223
account: this.walletClient.account!,

src/adapters/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export {
44
type UseFunctionDecoratorParams,
55
type AdapterMetadata,
66
type StoredAdapterMetadata,
7-
type IAdapter
7+
type IAdapter,
88
} from "./type";
99
export * from "./providers";

src/adapters/providers/coingecko/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ export const CoingeckoPlatformId = {
5454
[Chain.SONIC]: "sonic",
5555
[Chain.STORY]: "story",
5656
[Chain.TRON]: "tron",
57-
};
57+
};

0 commit comments

Comments
 (0)