@taquito/sapling 24.3.0-beta.1 → 24.3.0-beta.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/sapling",
3
- "version": "24.3.0-beta.1",
3
+ "version": "24.3.0-beta.3",
4
4
  "description": "Sapling transaction building and viewing support for Taquito.",
5
5
  "keywords": [
6
6
  "taquito",
@@ -14,9 +14,9 @@
14
14
  "module": "dist/taquito-sapling.es6.js",
15
15
  "typings": "dist/types/taquito-sapling.d.ts",
16
16
  "files": [
17
- "signature.json",
18
17
  "dist",
19
- "fetch-sapling-params.js"
18
+ "saplingOutputParams.js",
19
+ "SAPLING_PARAMS_PROVENANCE.md"
20
20
  ],
21
21
  "publishConfig": {
22
22
  "access": "public"
@@ -41,16 +41,15 @@
41
41
  "node": ">=22"
42
42
  },
43
43
  "scripts": {
44
- "test": "jest --coverage",
45
- "test:watch": "jest --coverage --watch",
46
- "test:prod": "npm run lint && npm run test -- --no-cache",
44
+ "test": "vitest run --config ./vitest.config.ts",
45
+ "test:watch": "vitest --config ./vitest.config.ts",
46
+ "test:prod": "npm run lint && npm run test",
47
47
  "lint": "eslint --ext .js,.ts .",
48
48
  "precommit": "lint-staged",
49
49
  "prebuild": "rimraf dist",
50
50
  "version-stamp": "node ../taquito/version-stamping.js",
51
51
  "build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts --bundleConfigAsCjs",
52
- "start": "rollup -c rollup.config.ts --bundleConfigAsCjs -w",
53
- "postinstall": "node fetch-sapling-params.js"
52
+ "start": "rollup -c rollup.config.ts --bundleConfigAsCjs -w"
54
53
  },
55
54
  "lint-staged": {
56
55
  "{src,test}/**/*.ts": [
@@ -58,64 +57,40 @@
58
57
  "eslint --fix"
59
58
  ]
60
59
  },
61
- "jest": {
62
- "transform": {
63
- ".(ts|tsx)": "ts-jest"
64
- },
65
- "testEnvironment": "node",
66
- "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
67
- "moduleFileExtensions": [
68
- "ts",
69
- "tsx",
70
- "js"
71
- ],
72
- "moduleNameMapper": {},
73
- "coveragePathIgnorePatterns": [
74
- "/node_modules/",
75
- "/test/"
76
- ],
77
- "collectCoverageFrom": [
78
- "src/**/*.{js,ts}"
79
- ]
80
- },
81
60
  "dependencies": {
82
- "@airgap/sapling-wasm": "0.0.9",
61
+ "@taquito/sapling-wasm": "0.1.1",
62
+ "@scure/bip39": "^2.0.1",
63
+ "@noble/hashes": "^2.0.1",
83
64
  "@stablelib/nacl": "^1.0.4",
84
- "@stablelib/random": "^1.0.2",
85
- "@taquito/core": "^24.3.0-beta.1",
86
- "@taquito/rpc": "^24.3.0-beta.1",
87
- "@taquito/taquito": "^24.3.0-beta.1",
88
- "@taquito/utils": "^24.3.0-beta.1",
89
- "bignumber.js": "^9.1.2",
90
- "bip39": "3.1.0",
65
+ "@taquito/core": "^24.3.0-beta.3",
66
+ "@taquito/rpc": "^24.3.0-beta.3",
67
+ "@taquito/sapling-spend-params": "^24.3.0-beta.3",
68
+ "@taquito/taquito": "^24.3.0-beta.3",
69
+ "@taquito/utils": "^24.3.0-beta.3",
70
+ "bignumber.js": "^10.0.2",
91
71
  "blakejs": "^1.2.1",
92
- "pbkdf2": "^3.1.2",
93
72
  "typedarray-to-buffer": "^4.0.0"
94
73
  },
95
74
  "devDependencies": {
75
+ "@rollup/plugin-commonjs": "^29.0.2",
96
76
  "@rollup/plugin-json": "^6.1.0",
97
- "@types/jest": "^29.5.12",
98
- "@types/node": "^20",
99
- "@types/pbkdf2": "^3.1.2",
77
+ "@rollup/plugin-node-resolve": "^16.0.3",
78
+ "@types/node": "^22.0.0",
100
79
  "@types/typedarray-to-buffer": "^4.0.4",
101
80
  "@typescript-eslint/eslint-plugin": "^6.21.0",
102
81
  "@typescript-eslint/parser": "^6.21.0",
103
82
  "colors": "^1.4.0",
104
- "coveralls": "^3.1.1",
105
83
  "cross-env": "^7.0.3",
106
84
  "eslint": "^8.57.0",
107
- "jest": "^29.7.0",
108
- "jest-config": "^29.7.0",
109
85
  "lint-staged": "^15.2.7",
110
86
  "lodash.camelcase": "^4.3.0",
111
87
  "prettier": "^3.3.3",
112
88
  "prompt": "^1.3.0",
113
89
  "replace-in-file": "^8.1.0",
114
90
  "rimraf": "^6.0.1",
115
- "rollup": "^4.59.0",
116
- "rollup-plugin-typescript2": "^0.36.0",
91
+ "rollup": "^4.60.1",
92
+ "rollup-plugin-typescript2": "^0.37.0",
117
93
  "shelljs": "^0.8.5",
118
- "ts-jest": "^29.2.3",
119
94
  "ts-node": "^10.9.2",
120
95
  "typescript": "^5.9.3"
121
96
  }