@dashevo/dashpay-contract 0.25.13 → 0.25.15

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/.mocharc.yml CHANGED
@@ -1,3 +1,2 @@
1
- file:
2
- - lib/test/bootstrap.js
1
+ require: lib/test/bootstrap.js
3
2
  recursive: true
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "dashpay-contract"
3
3
  description = "DashPay data contract schema and tools"
4
- version = "0.25.0"
4
+ version = "0.25.13"
5
5
  edition = "2021"
6
6
  rust-version = "1.73"
7
7
  license = "MIT"
@@ -11,17 +11,19 @@ const {
11
11
  use(dirtyChai);
12
12
  use(sinonChai);
13
13
 
14
- before(loadWasmDpp);
15
- beforeEach(function beforeEach() {
16
- if (!this.sinon) {
17
- this.sinon = sinon.createSandbox();
18
- } else {
19
- this.sinon.restore();
20
- }
21
- });
14
+ exports.mochaHooks = {
15
+ beforeAll: loadWasmDpp,
16
+ beforeEach() {
17
+ if (!this.sinon) {
18
+ this.sinon = sinon.createSandbox();
19
+ } else {
20
+ this.sinon.restore();
21
+ }
22
+ },
22
23
 
23
- afterEach(function afterEach() {
24
- this.sinon.restore();
25
- });
24
+ afterEach() {
25
+ this.sinon.restore();
26
+ },
27
+ };
26
28
 
27
29
  global.expect = expect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dashpay-contract",
3
- "version": "0.25.13",
3
+ "version": "0.25.15",
4
4
  "description": "Reference contract of the DashPay DPA on Dash Evolution",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "homepage": "https://github.com/dashevo/dashpay-contract#readme",
27
27
  "devDependencies": {
28
- "@dashevo/wasm-dpp": "0.25.13",
28
+ "@dashevo/wasm-dpp": "0.25.15",
29
29
  "chai": "^4.3.9",
30
30
  "dirty-chai": "^2.0.1",
31
31
  "eslint": "^7.32.0",
32
32
  "eslint-config-airbnb-base": "^14.2.1",
33
33
  "eslint-plugin-import": "^2.24.2",
34
- "mocha": "^9.1.2",
34
+ "mocha": "^10.2.0",
35
35
  "sinon": "^11.1.2",
36
36
  "sinon-chai": "^3.7.0"
37
37
  }