@rabbitholegg/questdk-plugin-utils
Advanced tools
Comparing version 1.0.0-alpha.16 to 1.0.0-alpha.17
# @rabbitholegg/questdk-plugin-utils | ||
## 1.0.0-alpha.17 | ||
### Minor Changes | ||
- [#323](https://github.com/rabbitholegg/questdk-plugins/pull/323) [`59ae9b8d`](https://github.com/rabbitholegg/questdk-plugins/commit/59ae9b8df08fe4e05f7743f67a685428ea0927e6) Thanks [@mmackz](https://github.com/mmackz)! - add sepolia chain to chainIdToViemChain | ||
### Patch Changes | ||
- [#321](https://github.com/rabbitholegg/questdk-plugins/pull/321) [`cd6215e7`](https://github.com/rabbitholegg/questdk-plugins/commit/cd6215e78e6d42bc6d2e23fb46b7906c990f7c87) Thanks [@mmackz](https://github.com/mmackz)! - add projectFees and simulation to manifold plugin | ||
## 1.0.0-alpha.16 | ||
@@ -4,0 +14,0 @@ |
@@ -17,2 +17,4 @@ "use strict"; | ||
return chains_1.polygon; | ||
case chains_1.sepolia.id: | ||
return chains_1.sepolia; | ||
case chains_1.zora.id: | ||
@@ -19,0 +21,0 @@ return chains_1.zora; |
@@ -75,2 +75,3 @@ import { zeroAddress as ETH_ADDRESS } from 'viem'; | ||
}; | ||
// Deployer Address. Can be used for simulations | ||
export const DEFAULT_ACCOUNT = '0x017f8ad14a2e745ea0f756bd57cd4852400be78c'; | ||
@@ -77,0 +78,0 @@ // This needs to exist and be set for every network with refer on |
@@ -1,2 +0,2 @@ | ||
import { arbitrum, base, mainnet, optimism, polygon, zora } from 'viem/chains'; | ||
import { arbitrum, base, mainnet, optimism, polygon, sepolia, zora, } from 'viem/chains'; | ||
export const chainIdToViemChain = (chainId) => { | ||
@@ -14,2 +14,4 @@ switch (chainId) { | ||
return polygon; | ||
case sepolia.id: | ||
return sepolia; | ||
case zora.id: | ||
@@ -16,0 +18,0 @@ return zora; |
{ | ||
"name": "@rabbitholegg/questdk-plugin-utils", | ||
"version": "1.0.0-alpha.16", | ||
"version": "1.0.0-alpha.17", | ||
"exports": { | ||
@@ -5,0 +5,0 @@ "require": "./dist/cjs/index.js", |
@@ -83,2 +83,3 @@ import { type Address, zeroAddress as ETH_ADDRESS } from 'viem' | ||
// Deployer Address. Can be used for simulations | ||
export const DEFAULT_ACCOUNT = '0x017f8ad14a2e745ea0f756bd57cd4852400be78c' | ||
@@ -85,0 +86,0 @@ |
@@ -1,2 +0,10 @@ | ||
import { arbitrum, base, mainnet, optimism, polygon, zora } from 'viem/chains' | ||
import { | ||
arbitrum, | ||
base, | ||
mainnet, | ||
optimism, | ||
polygon, | ||
sepolia, | ||
zora, | ||
} from 'viem/chains' | ||
@@ -15,2 +23,4 @@ export const chainIdToViemChain = (chainId: number) => { | ||
return polygon | ||
case sepolia.id: | ||
return sepolia | ||
case zora.id: | ||
@@ -17,0 +27,0 @@ return zora |
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
Sorry, the diff of this file is too big to display
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
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
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
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
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
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
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
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
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1174482
10734