Socket
Socket
Sign inDemoInstall

@safe-global/safe-apps-sdk

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@safe-global/safe-apps-sdk - npm Package Compare versions

Comparing version 7.10.0 to 7.10.1

src/utils.test.ts

2

dist/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc