@safe-global/safe-apps-sdk
Advanced tools
Comparing version 7.10.0 to 7.10.1
{ | ||
"name": "@safe-global/safe-apps-sdk", | ||
"version": "7.10.0", | ||
"version": "7.10.1", | ||
"description": "SDK developed to integrate third-party apps with Safe app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -8,5 +8,7 @@ "use strict"; | ||
const package_json_1 = __importDefault(require("../package.json")); | ||
// Slice is needed for versions like '1.0.0-beta.0' | ||
const getSDKVersion = () => package_json_1.default.version.slice(0, 5); | ||
const getSDKVersion = () => { | ||
// Strip out version tags like `beta.0` in `1.0.0-beta.0` | ||
return package_json_1.default.version.split('-')[0]; | ||
}; | ||
exports.getSDKVersion = getSDKVersion; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@safe-global/safe-apps-sdk", | ||
"version": "7.10.0", | ||
"version": "7.10.1", | ||
"description": "SDK developed to integrate third-party apps with Safe app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -596,3 +596,3 @@ # Safe Apps SDK | ||
- https://github.com/Uxio0/safe-react-collectibles | ||
- https://docs.gnosis-safe.io/build/sdks/safe-apps#existing-safe-apps | ||
- https://docs.safe.global/learn/safe-apps#existing-safe-apps | ||
@@ -599,0 +599,0 @@ ## License |
import pkg from '../package.json'; | ||
// Slice is needed for versions like '1.0.0-beta.0' | ||
export const getSDKVersion = (): string => pkg.version.slice(0, 5); | ||
export const getSDKVersion = (): string => { | ||
// Strip out version tags like `beta.0` in `1.0.0-beta.0` | ||
return pkg.version.split('-')[0]; | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152196
91
2889
1