-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-rpc-error-handling
- Loading branch information
Showing
114 changed files
with
5,876 additions
and
3,874 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ globals: | |
jasmine: true | ||
window: false | ||
fail: true | ||
BigInt: true |
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,5 +1,22 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
collectCoverage: true | ||
preset: "ts-jest", | ||
collectCoverage: true, | ||
projects: [ | ||
{ | ||
displayName: "dom", | ||
testEnvironment: "jsdom", // runs tests in a browser-like environment | ||
testMatch: [ | ||
"**/test/**/*.test.js?(x)", | ||
"**/test/**/*.test.dom.js?(x)", | ||
], | ||
}, | ||
{ | ||
displayName: "node", | ||
testEnvironment: "node", // runs tests in a Node.js environment | ||
testMatch: [ | ||
"**/test/**/*.test.js?(x)", | ||
"**/test/**/*.test.node.js?(x)", | ||
], | ||
}, | ||
], | ||
}; |
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,46 +1,48 @@ | ||
{ | ||
"name": "@near-js/accounts", | ||
"version": "1.0.2", | ||
"description": "Classes encapsulating account-specific functionality", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "pnpm compile", | ||
"compile": "tsc -p tsconfig.json", | ||
"lint:js": "eslint -c ../../.eslintrc.js.yml test/**/*.js --no-eslintrc", | ||
"lint:js:fix": "eslint -c ../../.eslintrc.js.yml test/**/*.js --no-eslintrc --fix", | ||
"lint:ts": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc", | ||
"lint:ts:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc --fix", | ||
"test": "jest test" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@near-js/crypto": "workspace:*", | ||
"@near-js/providers": "workspace:*", | ||
"@near-js/signers": "workspace:*", | ||
"@near-js/transactions": "workspace:*", | ||
"@near-js/types": "workspace:*", | ||
"@near-js/utils": "workspace:*", | ||
"ajv": "8.11.2", | ||
"ajv-formats": "2.1.1", | ||
"bn.js": "5.2.1", | ||
"borsh": "1.0.0", | ||
"depd": "2.0.0", | ||
"lru_map": "0.4.1", | ||
"near-abi": "0.1.1" | ||
}, | ||
"devDependencies": { | ||
"@near-js/keystores": "workspace:*", | ||
"@types/node": "18.11.18", | ||
"bs58": "4.0.0", | ||
"jest": "26.0.1", | ||
"near-hello": "0.5.1", | ||
"ts-jest": "26.5.6", | ||
"typescript": "4.9.4", | ||
"near-workspaces": "3.4.0" | ||
}, | ||
"files": [ | ||
"lib" | ||
] | ||
"name": "@near-js/accounts", | ||
"version": "1.2.0", | ||
"description": "Classes encapsulating account-specific functionality", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "pnpm compile", | ||
"compile": "tsc -p tsconfig.json", | ||
"lint:js": "eslint -c ../../.eslintrc.js.yml test/**/*.js --no-eslintrc", | ||
"lint:js:fix": "eslint -c ../../.eslintrc.js.yml test/**/*.js --no-eslintrc --fix", | ||
"lint:ts": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc", | ||
"lint:ts:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc --fix", | ||
"test": "jest test" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@near-js/crypto": "workspace:*", | ||
"@near-js/providers": "workspace:*", | ||
"@near-js/signers": "workspace:*", | ||
"@near-js/transactions": "workspace:*", | ||
"@near-js/types": "workspace:*", | ||
"@near-js/utils": "workspace:*", | ||
"borsh": "1.0.0", | ||
"depd": "2.0.0", | ||
"is-my-json-valid": "^2.20.6", | ||
"lru_map": "0.4.1", | ||
"near-abi": "0.1.1" | ||
}, | ||
"devDependencies": { | ||
"@near-js/keystores": "workspace:*", | ||
"@types/node": "18.11.18", | ||
"bs58": "4.0.0", | ||
"jest": "26.0.1", | ||
"near-hello": "0.5.1", | ||
"near-workspaces": "3.5.0", | ||
"ts-jest": "26.5.6", | ||
"typescript": "4.9.4" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"resolutions": { | ||
"near-sandbox": "0.0.18", | ||
"near-api-js": "4.0.0" | ||
} | ||
} |
Oops, something went wrong.