Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@newageerp/v3.app.app-data

Package Overview
Dependencies
11
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

6

dist/app-data.js

@@ -28,2 +28,3 @@ "use strict";

const axios_1 = __importDefault(require("axios"));
const v3_hooks_use_query_1 = require("@newageerp/v3.hooks.use-query");
exports.AppDataContext = react_1.default.createContext({

@@ -38,3 +39,8 @@ initData: {

const [appInitData, setAppInitData] = (0, react_1.useState)();
const query = (0, v3_hooks_use_query_1.useQuery)();
(0, react_1.useEffect)(() => {
const token = query.get('token');
if (!!token) {
window.localStorage.setItem("token", token);
}
axios_1.default

@@ -41,0 +47,0 @@ .get(`/app/nae-core/init`)

9

package.json
{
"name": "@newageerp/v3.app.app-data",
"version": "0.0.1",
"version": "0.0.2",
"main": "dist/index.js",

@@ -8,9 +8,11 @@ "componentId": {

"name": "v3/app/app-data",
"version": "0.0.1"
"version": "0.0.2"
},
"dependencies": {
"axios": "1.1.2",
"core-js": "^3.0.0"
"core-js": "^3.0.0",
"@newageerp/v3.hooks.use-query": "0.2.2"
},
"devDependencies": {
"@types/react": "^17.0.8",
"@types/testing-library__jest-dom": "5.9.5",

@@ -20,3 +22,2 @@ "@babel/runtime": "7.12.18",

"@types/react-dom": "^17.0.5",
"@types/react": "^17.0.8",
"@types/node": "12.20.4"

@@ -23,0 +24,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc