-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: comments applied. renamed tezos calls
- Loading branch information
1 parent
1b40b6f
commit 8e6fc54
Showing
10 changed files
with
963 additions
and
817 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export default { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
preset: "ts-jest", | ||
testEnvironment: "node", | ||
setupFiles: ["./test/jest.setup.js"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
{ | ||
"name": "@trili/tezos-provider", | ||
"description": "Tezos Provider for WalletConnect Protocol", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Trilitech TriliTech <[email protected]> (https://trili.tech)", | ||
"homepage": "https://trili.tech", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/trilitech/tezos-connect", | ||
"url": "git+https://github.com/trilitech/tezos-connect.git", | ||
"directory": "." | ||
}, | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.es.js", | ||
"unpkg": "dist/index.umd.js", | ||
"types": "dist/types/index.d.ts", | ||
"sideEffects": false, | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
|
@@ -33,39 +30,52 @@ | |
"scripts": { | ||
"clean": "rm -rf dist", | ||
"build": "tsup-node", | ||
"test:pre": "rm -rf ./test/test.db", | ||
"test:run": "jest", | ||
"test": "yarn test:pre; yarn test:run", | ||
"prettier": "prettier --check '{src,test}/**/*.{js,ts,jsx,tsx}' --write", | ||
"lint": "eslint -c 'eslint.config.mjs' --fix './src/**/*.ts'", | ||
"lint:ci": "eslint 'src/**/*.ts' -f json -o lintReport.json || true" | ||
"test": "jest", | ||
"prettier": "prettier --write .", | ||
"lint": "eslint -c eslint.config.mjs --fix ./src/**/*.ts", | ||
"lint:ci": "eslint src/**/*.ts -f json -o lintReport.json || true" | ||
}, | ||
"tsup": { | ||
"dts": true, | ||
"entry": [ | ||
"src/index.ts" | ||
], | ||
"dts": true, | ||
"clean": true, | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
], | ||
"external": [ | ||
"@taquito/taquito", | ||
"@taquito/rpc", | ||
"@airgap/beacon-types", | ||
"@walletconnect/universal-provider", | ||
"@walletconnect/types", | ||
"@walletconnect/keyvaluestorage", | ||
"@walletconnect/logger" | ||
] | ||
}, | ||
"dependencies": { | ||
"@airgap/beacon-types": "^4.3.1", | ||
"@taquito/rpc": "^20.1.0", | ||
"@taquito/taquito": "^20.1.0", | ||
"@walletconnect/keyvaluestorage": "^1.1.1", | ||
"@walletconnect/logger": "^2.1.2", | ||
"@walletconnect/types": "^2.17.2", | ||
"@walletconnect/universal-provider": "^2.17.2", | ||
"i": "^0.3.7", | ||
"micromatch": "^4.0.8", | ||
"package.json": "^2.0.1" | ||
}, | ||
"peerDependencies": { | ||
"@airgap/beacon-types": "^4.2.2", | ||
"@taquito/rpc": "~20.0.1", | ||
"@taquito/taquito": "~20.0.1", | ||
"@trili/tezos-provider": "^1.0.2", | ||
"@walletconnect/keyvaluestorage": "^1.1.1", | ||
"@walletconnect/logger": "^2.1.2", | ||
"@walletconnect/types": "2.13.3", | ||
"@walletconnect/universal-provider": "^2.17.1", | ||
"axios": "^1.7.7", | ||
"micromatch": "^4.0.8", | ||
"package.json": "^2.0.1", | ||
"rollup": "^4.24.0", | ||
"typescript": "^5.6.3", | ||
"yarn.lock": "^0.0.1-security" | ||
"@walletconnect/universal-provider": "^2.17.1" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
|
@@ -74,14 +84,17 @@ | |
"@typescript-eslint/eslint-plugin": "^8.8.1", | ||
"@typescript-eslint/parser": "^8.8.1", | ||
"depcheck": "^1.4.7", | ||
"eslint": "^8.57.0", | ||
"eslint": "^9.0.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"install-peerdeps": "^3.0.3", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.3.3", | ||
"rollup": "^4.24.0", | ||
"ts-jest": "^29.2.5", | ||
"tsup": "^8.2.4" | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.6.3" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
global.fetch = jest.fn(); |
Oops, something went wrong.