-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Tezos Provider #1
base: main
Are you sure you want to change the base?
Conversation
dd31d5d
to
1b4c23a
Compare
1b4c23a
to
e5cfdec
Compare
@@ -0,0 +1,6 @@ | |||
{ | |||
"tabWidth": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's more of an editorconfig thing
@@ -0,0 +1,6 @@ | |||
{ | |||
"tabWidth": 2, | |||
"useTabs": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "all", | ||
"printWidth": 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this
}, | ||
files: ["**/*.ts"], | ||
rules: { | ||
"@typescript-eslint/ban-ts-ignore": ["off"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you confident of turning all of those off?
], | ||
"scripts": { | ||
"clean": "rm -rf dist", | ||
"build": "tsup-node --dts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can puts the dts setting into the tsup config itself down below
return await this.tezosSend(op); | ||
}; | ||
|
||
public tezosSendProposal = async (op: TezosProposalOperation): Promise<TezosSendResponse> => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if all those methods need the tezos prefix. it's obvious from the class name that it's tezos related
return await this.tezosSend(op); | ||
}; | ||
|
||
public tezosSendIncreasePaidStorage = async ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no need to await unless you want to catch errors or something. so it should be
public async sendIncreasePaidStorage(op: PartialTezosIncreasePaidStorageOperation) {
return this.tezosSend(op);
}
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
"@swc/core": "^1.7.35", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so do you use swc or tsup in the end?
"ignoreDeprecations": "5.0" | ||
|
||
}, | ||
"include": ["./src/**/*.ts", "./src"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"include": ["src"]
"include": ["./src/**/*.ts", "./src"], | ||
"exclude": [ | ||
"node_modules", | ||
"test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't exclude test
Adding Tezos Provider for WalletConnect SDK.
See README for usage examples.
Usage example: reown-com/web-examples#697
Testing:
Moved tezosProvider from WalletConnect Monorepo, PR#5357