Skip to content

Commit

Permalink
Merge pull request #53 from ubiquibot/development
Browse files Browse the repository at this point in the history
Development into main
  • Loading branch information
rndquu authored Sep 6, 2024
2 parents 5c07424 + 43a5b97 commit 02ca7e4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"dist/types/*",
"dist/handlers/*",
"dist/core/*",
"dist/utils/*",
"README.md",
"package.json"
],
Expand All @@ -114,6 +115,11 @@
"require": "./dist/handlers/index.js",
"import": "./dist/handlers/index.js",
"types": "./dist/handlers/index.d.ts"
},
"./utils": {
"require": "./dist/utils/index.js",
"import": "./dist/utils/index.js",
"types": "./dist/utils/index.d.ts"
}
}
}
}
8 changes: 8 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ const config = [
},
plugins: [nodeResolve({ browser: true }), commonjs(), typescript(), yaml(), json(), generateDtsBundle(), terser()],
},
{
input: "src/utils/index.ts",
output: {
dir: "dist/utils",
format: "cjs",
},
plugins: [nodeResolve({ browser: true }), commonjs(), typescript(), yaml(), json(), generateDtsBundle(), terser()],
},
{
input: "src/index.ts",
output: {
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/generate-erc20-permit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PERMIT2_ADDRESS, PermitTransferFrom, SignatureTransfer } from "@uniswap
import { ethers, keccak256, MaxInt256, parseUnits, toUtf8Bytes } from "ethers";
import { Context, Logger } from "../types/context";
import { PermitReward, TokenType } from "../types";
import { decryptKeys } from "../utils/keys";
import { decryptKeys } from "../utils";
import { getFastestProvider } from "../utils/get-fastest-provider";

export interface Payload {
Expand Down
1 change: 1 addition & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './keys';

0 comments on commit 02ca7e4

Please sign in to comment.