@safe-global/protocol-kit 5.1.0 → 5.2.0

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": "@safe-global/protocol-kit",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "SDK that facilitates the interaction with Safe Smart Accounts",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -35,6 +35,7 @@
35
35
  "format:check": "prettier --check \"*/**/*.{js,json,md,ts}\"",
36
36
  "format": "prettier --write \"*/**/*.{js,json,md,ts}\"",
37
37
  "unbuild": "rimraf dist artifacts deployments cache .nyc_output *.tsbuildinfo",
38
+ "prebuild": "node -p \"'export const getProtocolKitVersion = () => \\'' + require('./package.json').version.split('-')[0] + '\\''\" > src/utils/getProtocolKitVersion.ts",
38
39
  "build": "yarn unbuild && yarn check-safe-deployments && NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json"
39
40
  },
40
41
  "repository": {
@@ -66,7 +67,7 @@
66
67
  "web3": "^4.12.1"
67
68
  },
68
69
  "dependencies": {
69
- "@safe-global/safe-deployments": "^1.37.20",
70
+ "@safe-global/safe-deployments": "^1.37.22",
70
71
  "@safe-global/safe-modules-deployments": "^2.2.4",
71
72
  "@safe-global/types-kit": "^1.0.1",
72
73
  "abitype": "^1.0.2",