Skip to content

Commit

Permalink
debounced promise, version up
Browse files Browse the repository at this point in the history
  • Loading branch information
poocart committed Sep 2, 2022
1 parent 34f80e9 commit 1160869
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
15 changes: 13 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@etherspot/react-transaction-buidler",
"version": "0.5.17",
"version": "0.5.18",
"description": "Etherspot React component.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -33,6 +33,7 @@
"author": "Etherspot",
"license": "MIT",
"dependencies": {
"debounce-promise": "^3.1.2",
"ethers": "^5.6.9",
"etherspot": "^1.35.4",
"lodash": "^4.17.21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from 'etherspot';
import { TokenListToken } from 'etherspot/dist/sdk/assets/classes/token-list-token';
import { ethers } from 'ethers';
import { debounce } from 'lodash';
import debounce from 'debounce-promise';

import TextInput from '../TextInput';
import SelectInput, { SelectOption } from '../SelectInput/SelectInput';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from 'etherspot';
import { TokenListToken } from 'etherspot/dist/sdk/assets/classes/token-list-token';
import { ethers } from 'ethers';
import { debounce } from 'lodash';
import debounce from 'debounce-promise';

import TextInput from '../TextInput';
import SelectInput, { SelectOption } from '../SelectInput/SelectInput';
Expand Down
1 change: 1 addition & 0 deletions src/decs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'debounce-promise';

0 comments on commit 1160869

Please sign in to comment.