Skip to content

Commit

Permalink
fixes near wallet selector issues (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus authored Nov 15, 2023
1 parent 4182b71 commit 1201ffe
Show file tree
Hide file tree
Showing 28 changed files with 563 additions and 783 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
require('dotenv').config();


process.env.NFT_CONTRACT_ID = 'foo.near';
// FIXME: dotenv seems to load for the jest debugger, but not when running npm test
module.exports = {
Expand All @@ -11,5 +13,6 @@ module.exports = {
moduleNameMapper: {
'@near-wallet-selector/meteor-wallet': '<rootDir>/jest.stub.js',
'@here-wallet/core/build/strategy': '<rootDir>/jest.stub.js',
'\\.css$': '<rootDir>/jest.stub.js',
},
};
147 changes: 37 additions & 110 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
"@near-wallet-selector/sender": "^8.0.3",
"@near-wallet-selector/wallet-connect": "^8.0.3",
"bs58": "^5.0.0",
"isomorphic-textencoder": "^1.0.1",
"js-sha256": "^0.9.0",
"rxjs": "^7.5.7"
},
"devDependencies": {
"jest-environment-jsdom": "^29.1.1",
"zod": "^3.9.0"
},
"peerDependencies": {
"isomorphic-textencoder": "^1.0.1"
}
}
4 changes: 3 additions & 1 deletion packages/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"author": "",
"license": "MIT",
"dependencies": {
"graphql-request": "^5.0.0",
"graphql-request": "^5.0.0"
},
"peerDependencies": {
"isomorphic-fetch": "^3.0.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 1201ffe

Please sign in to comment.