@rabbitholegg/questdk-plugin-utils
Advanced tools
Comparing version 1.0.0-alpha.31 to 1.0.0-alpha.32
# @rabbitholegg/questdk-plugin-utils | ||
## 1.0.0-alpha.32 | ||
### Minor Changes | ||
- [#422](https://github.com/rabbitholegg/questdk-plugins/pull/422) [`19d8db5c`](https://github.com/rabbitholegg/questdk-plugins/commit/19d8db5c5cafb4409dd469d22bdfc709d6d108aa) Thanks [@mmackz](https://github.com/mmackz)! - fix utils exports | ||
- [#385](https://github.com/rabbitholegg/questdk-plugins/pull/385) [`72a86095`](https://github.com/rabbitholegg/questdk-plugins/commit/72a860954036856b073a2043dfc8614c200585d6) Thanks [@sammccord](https://github.com/sammccord)! - use vite for build tooling, reduce plugin size, improve build speeds | ||
### Patch Changes | ||
- [#423](https://github.com/rabbitholegg/questdk-plugins/pull/423) [`1fa4bb52`](https://github.com/rabbitholegg/questdk-plugins/commit/1fa4bb5262cef6a1f434850b097b9aacc0d1e8ba) Thanks [@jonathandiep](https://github.com/jonathandiep)! - include tx hash and chain id | ||
## 1.0.0-alpha.31 | ||
@@ -4,0 +16,0 @@ |
export { createTestCase } from './test-helpers'; | ||
export type { TestCase, TestParams } from './test-helpers'; | ||
export { chainIdToViemChain } from './chain-id-to-viem-chain'; | ||
export * from './get-exit-addresses'; | ||
export { getExitAddresses } from './get-exit-addresses'; | ||
//# sourceMappingURL=index.d.ts.map |
export { CHAIN_TO_TOKENS, Chains, DEFAULT_ACCOUNT, BOOST_TREASURY_ADDRESS, } from './constants/index'; | ||
export type { TestParams, TestCase } from './helpers/index'; | ||
export * from './helpers'; | ||
export { chainIdToViemChain, createTestCase, getExitAddresses } from './helpers'; | ||
export type { IntentParams, MintIntentParams, SwapActionParams, OptionsActionParams, StakeActionParams, BridgeActionParams, VoteActionParams, MintActionParams, BurnActionParams, QuestActionParams, DelegateActionParams, ActionParams, FollowActionParams, RecastActionParams, CreateActionParams, CompleteActionParams, CompleteValidationParams, CompleteActionForm, IActionPlugin, FilterObject, BitmaskFilter, NthFilter, Filter, FilterArray, AbiFilter, AbstractAbiFilter, AbiParamFilter, ArrayOperator, LogicalOperator, NumericOperator, StringOperator, FilterOperator, TransactionFilter, DisctriminatedActionParams, Quest, QuestReward, QuestAndReward, RewardType, NetworkWithChainId, Reward, Task, QuestDetails, RewardWithClaim, QuestInputActionParamsAmountOperator, BridgeActionDetail, SwapActionDetail, DelegateActionDetail, DelegateActionForm, StakeActionDetail, MintActionDetail, MintActionForm, VoteActionDetail, VoteActionForm, OptionsActionDetail, OptionsActionForm, ActionParamsForm, CreateQuestInput, QuestActionParamsByType, FollowValidationParams, FollowActionDetail, FollowActionForm, RecastValidationParams, RecastActionDetail, RecastActionForm, ValidationParams, ActionValidation, PluginActionPayload, PluginActionValidation, QuestCompletionPayload, } from './types'; | ||
@@ -5,0 +5,0 @@ export { ActionType, OrderType, GetQuestsResponseSchema, NetworkWithChainIdSchema, QuestDetailsSchema, RewardWithClaimSchema, QuestInputActionParamsAmountOperatorEnum, QuestInputActionParamsAmountOperatorWithoutAny, BridgeActionDetailSchema, SwapActionDetailSchema, DelegateActionFormSchema, DelegateActionDetailSchema, StakeActionDetailSchema, BridgeActionFormSchema, SwapActionFormSchema, BaseStakeActionFormaSchema, StakeActionFormSchema, MintActionFormSchema, MintActionDetailSchema, VoteActionFormSchema, VoteActionDetailSchema, OptionsActionFormSchema, OptionsActionDetailSchema, ActionParamsFormSchema, CreateQuestInputSchema, EthAddressSchema, QuestActionParamsSchema, NetworkNameSchema, FollowActionFormSchema, FollowActionDetailSchema, FollowValidationParamsSchema, RecastActionFormSchema, RecastActionDetailSchema, RecastValidationParamsSchema, ActionParamsSchema, ValidationParamsSchema, ActionValidationSchema, PluginActionValidationSchema, } from './types'; |
{ | ||
"name": "@rabbitholegg/questdk-plugin-utils", | ||
"version": "1.0.0-alpha.31", | ||
"version": "1.0.0-alpha.32", | ||
"exports": { | ||
@@ -13,9 +13,2 @@ "require": "./dist/cjs/index.js", | ||
"typings": "./dist/types/index.d.ts", | ||
"dependencies": { | ||
"tslib": "2.3.1" | ||
}, | ||
"devDependencies": { | ||
"vite": "^5.2.11", | ||
"tsconfig": "0.1.0-alpha.1" | ||
}, | ||
"scripts": { | ||
@@ -22,0 +15,0 @@ "build": "vite build && tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./dist/types", |
export { createTestCase } from './test-helpers' | ||
export type { TestCase, TestParams } from './test-helpers' | ||
export { chainIdToViemChain } from './chain-id-to-viem-chain' | ||
export * from './get-exit-addresses' | ||
export { getExitAddresses } from './get-exit-addresses' |
@@ -10,3 +10,3 @@ export { | ||
export * from './helpers' | ||
export { chainIdToViemChain, createTestCase, getExitAddresses } from './helpers' | ||
export type { | ||
@@ -13,0 +13,0 @@ IntentParams, |
@@ -480,3 +480,9 @@ import { | ||
validateP: CompleteValidationParams, | ||
) => Promise<boolean> | Promise<PluginActionNotImplementedError> | ||
) => | ||
| Promise<{ | ||
isCompleteValid: boolean | ||
transactionHash: string | null | ||
chainId: number | null | ||
}> | ||
| Promise<PluginActionNotImplementedError> | ||
canValidate?: (actionType: ActionType) => boolean | ||
@@ -483,0 +489,0 @@ } |
{ | ||
"extends": "tsconfig/base.json", | ||
"extends": "../../tsconfig.json", | ||
"include": ["src"], | ||
@@ -12,6 +12,6 @@ "exclude": [ | ||
"sourceMap": true, | ||
"rootDir": "./src", | ||
"rootDir": "./src" | ||
} | ||
} | ||
// Path: packages/utils/tsconfig.json | ||
// Path: packages/utils/tsconfig.json |
{ | ||
"extends": "tsconfig/base.json", | ||
"extends": "../../tsconfig.json", | ||
"include": ["."], | ||
@@ -4,0 +4,0 @@ "compilerOptions": { |
/** @type {import('vite').UserConfig} */ | ||
export default { | ||
build: { | ||
rollupOptions: { | ||
external: [/@rabbitholegg/], | ||
}, | ||
lib: { | ||
entry: 'src/index.ts', | ||
entry: ['src/index.ts'], | ||
emptyOutDir: false, | ||
@@ -7,0 +10,0 @@ name: 'QuestdkUtils', |
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 too big to display
Sorry, the diff of this file is not supported yet
1225208
0
0
96
17965
- Removedtslib@2.3.1
- Removedtslib@2.3.1(transitive)