@solana/assertions 2.0.0-experimental.fc4e943 → 2.0.0-experimental.fd11bd1

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 (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -18,6 +18,10 @@ This package contains utilities for asserting that a JavaScript environment supp
18
18
 
19
19
  ## Functions
20
20
 
21
+ `assertDigestCapabilityIsAvailable()`
22
+
23
+ Throws an exception unless `crypto.subtle.digest()` is available in the current JavaScript environment.
24
+
21
25
  `assertKeyExporterIsAvailable()`
22
26
 
23
27
  Throws an exception unless `crypto.subtle.exportKey()` is available in the current JavaScript environment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/assertions",
3
- "version": "2.0.0-experimental.fc4e943",
3
+ "version": "2.0.0-experimental.fd11bd1",
4
4
  "description": "Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK",
5
5
  "exports": {
6
6
  "browser": {
@@ -50,17 +50,17 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@solana/eslint-config-solana": "^1.0.2",
53
- "@swc/jest": "^0.2.28",
54
- "@types/jest": "^29.5.5",
53
+ "@swc/jest": "^0.2.29",
54
+ "@types/jest": "^29.5.6",
55
55
  "@typescript-eslint/eslint-plugin": "^6.7.0",
56
56
  "@typescript-eslint/parser": "^6.3.0",
57
57
  "agadoo": "^3.0.0",
58
58
  "eslint": "^8.45.0",
59
- "eslint-plugin-jest": "^27.2.3",
59
+ "eslint-plugin-jest": "^27.4.2",
60
60
  "eslint-plugin-sort-keys-fix": "^1.1.2",
61
61
  "jest": "^29.7.0",
62
- "jest-environment-jsdom": "^29.6.4",
63
- "jest-runner-eslint": "^2.1.0",
62
+ "jest-environment-jsdom": "^29.7.0",
63
+ "jest-runner-eslint": "^2.1.2",
64
64
  "jest-runner-prettier": "^1.0.0",
65
65
  "prettier": "^2.8",
66
66
  "tsup": "7.2.0",