Skip to content

Commit

Permalink
Add mint action type
Browse files Browse the repository at this point in the history
  • Loading branch information
jimobrien committed Jul 14, 2023
1 parent f43338f commit edb25b0
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-geckos-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rabbitholegg/questdk": patch
---

add mint action type
4 changes: 3 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"initialVersions": {
"@rabbitholegg/questdk": "1.0.0"
},
"changesets": []
"changesets": [
"cool-geckos-sit"
]
}
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:
- type: input
attributes:
label: Package Version
description: What version of viem are you using?
description: What version of questdk are you using?
placeholder: 0.1.0
validations:
required: true
Expand Down Expand Up @@ -48,9 +48,9 @@ body:
attributes:
label: Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
description: |
Please provide a link via [new.viem.sh](https://new.viem.sh/) or a link to a minimal repository that can reproduce the problem you ran into.
Please provide a link via [rabbithole.gg](https://rabbithole.gg/) or a link to a minimal repository that can reproduce the problem you ran into.
This makes investigating issues and helping you out significantly easier! For most issues, you will likely get asked to provide one so why not add one now :)
placeholder: https://new.viem.sh/
placeholder: https://rabbithole.gg/
validations:
required: false

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Ask Question
url: https://github.com/wagmi-dev/viem/discussions/new?category=q-a
url: https://github.com/rabbitholegg/questdk/discussions/new?category=q-a
about: Ask questions and discuss with other community members
- name: Request Feature
url: https://github.com/wagmi-dev/viem/discussions/new?category=ideas
url: https://github.com/rabbitholegg/questdk/discussions/new?category=ideas
about: Requests features or brainstorm ideas for new functionality
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @rabbitholegg/questdk

## 1.0.1-alpha.0

### Patch Changes

- add mint action type
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rabbitholegg/questdk",
"version": "1.0.0",
"version": "1.0.1-alpha.0",
"description": "",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -32,7 +32,9 @@
"typecheck": "tsc --noEmit"
},
"keywords": [],
"authors": ["rabbitholegg"],
"authors": [
"rabbitholegg"
],
"license": "MIT",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/actions/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export type {
Swap,
Bridge,
Mint,
} from './types.js'
6 changes: 6 additions & 0 deletions src/actions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ export type Bridge = {
amount?: bigint
recipient?: Hex
}

export type Mint = {
address: string
tokenId: number
quantity: number
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export type {
Swap,
Bridge,
Mint,
} from './actions/types.js'

export { apply } from './filter/filters.js'

0 comments on commit edb25b0

Please sign in to comment.