@funkit/core
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -1,1 +0,1 @@ | ||
{ "name": "UniswapV3LimitOrder", "abi": [{ "inputs": [{ "internalType": "address", "name": "_router", "type": "address" }, { "internalType": "address", "name": "_quoter", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "quoter", "outputs": [{ "internalType": "contractIQuoterV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "router", "outputs": [{ "internalType": "contractISwapRouter", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "validate", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "5": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "10": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "137": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "8453": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "36865": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "42161": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51" } } | ||
{ "name": "UniswapV3LimitOrder", "abi": [{ "inputs": [{ "internalType": "address", "name": "_router", "type": "address" }, { "internalType": "address", "name": "_quoter", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "quoter", "outputs": [{ "internalType": "contractIQuoterV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "router", "outputs": [{ "internalType": "contractISwapRouter", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "validate", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39", "5": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39", "10": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39", "137": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39", "8453": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39", "36865": "0x16F0623a6A9E0f9992A5c5589c98F2607CB6AF51", "42161": "0x973e8345610829b4B7a9C7B10dCef8a4A728bA39" } } |
@@ -184,3 +184,3 @@ "use strict"; | ||
async getUserId() { | ||
return (0, viem_1.pad)(await this.getAddress(), { size: 32 }); | ||
return (0, viem_1.pad)(await this.getAddress(), { size: 32 }).toLowerCase(); | ||
} | ||
@@ -270,3 +270,3 @@ /** | ||
let receipt; | ||
if (chainId !== "1") { | ||
if (chainId !== "1" && chainId !== "5") { | ||
receipt = await client.waitForTransactionReceipt({ hash, timeout: 30000 }); | ||
@@ -273,0 +273,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseError = void 0; | ||
const discord = "https://discord.gg/7ZRAv4es"; | ||
const discord = "https://discord.gg/mvQunrx6NG"; | ||
class BaseError extends Error { | ||
@@ -6,0 +6,0 @@ constructor(baseType, type, code, msg, paramsUsed, fixSuggestion, docLink, isInternal = false) { |
@@ -232,3 +232,3 @@ "use strict"; | ||
for (const userId of userIds) { | ||
if ((0, viem_1.pad)(userId, { size: 32 }) === (await auth.getUserId())) { | ||
if ((0, viem_1.pad)(userId, { size: 32 }).toLowerCase() === (await auth.getUserId())) { | ||
users.push({ userId: (0, viem_1.pad)(userId, { size: 32 }) }); | ||
@@ -235,0 +235,0 @@ } |
{ | ||
"name": "@funkit/core", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Funkit core SDK provides feature-rich and extensible smart wallets built on account abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -110,2 +110,2 @@ ![backdrop](./backdrop.png) | ||
- [Demo](https://demo.fun.xyz) - Try FunKit Core in action. | ||
- [Discord](https://discord.com/invite/KhJVrDy3) - Ask us a question, or just say hi! | ||
- [Discord](https://discord.gg/mvQunrx6NG) - Ask us a question, or just say hi! |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
845170
110