@onekeyfe/cardano-coin-selection-asmjs 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.MD +22 -0
  2. package/lib/cjs/constants/index.d.ts +7 -2
  3. package/lib/cjs/constants/index.js +7 -2
  4. package/lib/cjs/methods/largestFirst.js +7 -4
  5. package/lib/cjs/methods/randomImprove.d.ts +1 -1
  6. package/lib/cjs/methods/randomImprove.js +4 -2
  7. package/lib/cjs/types/trezor.d.ts +4 -4
  8. package/lib/cjs/types/trezor.js +1 -1
  9. package/lib/cjs/types/types.d.ts +27 -6
  10. package/lib/cjs/types/types.js +9 -2
  11. package/lib/cjs/utils/common.d.ts +4 -4
  12. package/lib/cjs/utils/common.js +35 -9
  13. package/lib/cjs/utils/errors.d.ts +2 -2
  14. package/lib/cjs/utils/onekey/dapp.js +3 -1
  15. package/lib/cjs/utils/onekey/index.d.ts +2 -2
  16. package/lib/cjs/utils/onekey/signTx.d.ts +1 -1
  17. package/lib/cjs/utils/onekey/signTx.js +4 -2
  18. package/lib/cjs/utils/onekey/txToOneKey.d.ts +2 -2
  19. package/lib/cjs/utils/onekey/txToOneKey.js +4 -4
  20. package/lib/cjs/utils/onekey/types.d.ts +9 -9
  21. package/lib/cjs/utils/trezor/index.d.ts +2 -2
  22. package/lib/cjs/utils/trezor/index.js +2 -1
  23. package/lib/cjs/utils/trezor/transformations.d.ts +5 -1
  24. package/lib/cjs/utils/trezor/transformations.js +50 -1
  25. package/lib/esm/constants/index.d.ts +7 -2
  26. package/lib/esm/constants/index.js +7 -2
  27. package/lib/esm/methods/largestFirst.js +7 -4
  28. package/lib/esm/methods/randomImprove.d.ts +1 -1
  29. package/lib/esm/methods/randomImprove.js +4 -2
  30. package/lib/esm/types/trezor.d.ts +4 -4
  31. package/lib/esm/types/types.d.ts +27 -6
  32. package/lib/esm/types/types.js +7 -0
  33. package/lib/esm/utils/common.d.ts +4 -4
  34. package/lib/esm/utils/common.js +35 -9
  35. package/lib/esm/utils/errors.d.ts +2 -2
  36. package/lib/esm/utils/onekey/dapp.js +3 -1
  37. package/lib/esm/utils/onekey/index.d.ts +2 -2
  38. package/lib/esm/utils/onekey/signTx.d.ts +1 -1
  39. package/lib/esm/utils/onekey/signTx.js +4 -2
  40. package/lib/esm/utils/onekey/txToOneKey.d.ts +2 -2
  41. package/lib/esm/utils/onekey/types.d.ts +9 -9
  42. package/lib/esm/utils/trezor/index.d.ts +2 -2
  43. package/lib/esm/utils/trezor/index.js +2 -2
  44. package/lib/esm/utils/trezor/transformations.d.ts +5 -1
  45. package/lib/esm/utils/trezor/transformations.js +25 -0
  46. package/package.json +20 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/cardano-coin-selection-asmjs",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "coin selection"
@@ -32,30 +32,34 @@
32
32
  "test:badges": "make-coverage-badge --output-path ./docs/badge-coverage.svg"
33
33
  },
34
34
  "devDependencies": {
35
- "@emurgo/cardano-serialization-lib-nodejs": "11.0.0",
36
- "@swc-node/jest": "^1.5.2",
37
- "@types/jest": "^28.1.6",
35
+ "@emurgo/cardano-serialization-lib-nodejs": "13.2.0",
36
+ "@eslint/js": "^9.11.1",
37
+ "@swc-node/jest": "^1.8.12",
38
+ "@swc/core": "1.7.26",
39
+ "@swc/helpers": "^0.5.13",
40
+ "@types/jest": "^29.5.13",
38
41
  "@types/node": "^16.3.2",
39
- "@typescript-eslint/eslint-plugin": "^5.32.0",
40
- "@typescript-eslint/parser": "5.32.0",
42
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
43
+ "@typescript-eslint/parser": "8.8.0",
41
44
  "bignumber.js": "^9.0.1",
42
- "eslint": "8.21.0",
43
- "eslint-config-prettier": "8.5.0",
44
- "eslint-plugin-import": "2.26.0",
45
- "eslint-plugin-prettier": "4.2.1",
46
- "jest": "^28.1.3",
45
+ "eslint": "^9.11.1",
46
+ "eslint-config-prettier": "^9.1.0",
47
+ "eslint-plugin-import": "^2.30.0",
48
+ "eslint-plugin-prettier": "^5.2.1",
49
+ "jest": "^29.7.0",
47
50
  "make-coverage-badge": "^1.2.0",
48
51
  "npm-run-all": "^4.1.5",
49
- "prettier": "2.7.1",
50
- "rimraf": "^3.0.2",
51
- "typescript": "^4.7.4"
52
+ "prettier": "3.3.3",
53
+ "rimraf": "^6.0.1",
54
+ "typescript": "^5.6.2",
55
+ "typescript-eslint": "^8.8.0"
52
56
  },
53
57
  "dependencies": {
54
58
  "@emurgo/cardano-message-signing-asmjs": "^1.0.1",
55
- "@emurgo/cardano-serialization-lib-asmjs": "11.1.0"
59
+ "@emurgo/cardano-serialization-lib-asmjs": "13.2.0"
56
60
  },
57
61
  "peerDependencies": {
58
62
  "bignumber.js": "^9.0.1"
59
63
  },
60
- "packageManager": "yarn@3.2.2"
64
+ "packageManager": "yarn@4.5.0"
61
65
  }