Skip to content

Commit

Permalink
update useElven
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Apr 13, 2024
1 parent 7eed076 commit c3d76e6
Show file tree
Hide file tree
Showing 5 changed files with 763 additions and 699 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### [9.7.0](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.7.0) (2024-04-13)
- update useElven, which now supports sdk-core v13, and now, it is required to install it alongside with useElven
- adjust current codebase
- update other dependencies

### [9.6.1](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.6.1) (2024-02-28)
- update useElven with fixes for useTokenTransfer
- update dependencies
Expand Down
10 changes: 7 additions & 3 deletions components/demo/simple-esdt-tx-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ export const SimpleESDTTxDemo = ({

const handleSendTx = () => {
transfer({
type: ESDTType.FungibleESDT,
amount: '1',
tokenId: 'BUILDO-22c0a5',
receiver: transferAddress,
tokens: [
{
type: ESDTType.FungibleESDT,
amount: '1',
tokenId: 'BUILDO-22c0a5',
},
],
});
};

Expand Down
15 changes: 9 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
/** @type {import('next').NextConfig} */

const externals = ['pino-pretty', 'lokijs', 'utf-8-validate', 'bufferutil'];

const nextConfig = {
webpack: (config) => {
config.externals.push(
'pino-pretty',
'lokijs',
'utf-8-validate',
'bufferutil'
);
config.externals.push(...externals);
return config;
},
eslint: {
dirs: ['components', 'hooks', 'lib', 'app'],
},
experimental: {
turbo: {
externals: externals,
},
},
};

module.exports = nextConfig;
Loading

0 comments on commit c3d76e6

Please sign in to comment.