namirasoft-account-react
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -11,18 +11,5 @@ "use strict"; | ||
const axios_1 = __importDefault(require("axios")); | ||
// todo | ||
// import { RouteComponentProps } from 'react-router-dom'; | ||
// todo | ||
// interface IProps extends RouteComponentProps | ||
// { | ||
// } | ||
class RouterMaker { | ||
// todo | ||
// private props: IProps; | ||
constructor(component | ||
// todo | ||
// , props: IProps | ||
) { | ||
constructor(component) { | ||
this.component = component; | ||
// todo | ||
// this.props = props; | ||
this.init = this.init.bind(this); | ||
@@ -72,4 +59,2 @@ this.getQuery = this.getQuery.bind(this); | ||
getQuery: this.getQuery, | ||
// todo | ||
// ...this.props | ||
}, | ||
@@ -84,3 +69,2 @@ messenger, | ||
getQuery(name) { | ||
// todo fix location. | ||
let query = query_string_1.default.parse(location.search); | ||
@@ -93,3 +77,2 @@ let item = query[name]; | ||
customQuery = {}; | ||
// todo fix location. | ||
let query = query_string_1.default.parse(location.search); | ||
@@ -100,7 +83,3 @@ let final = Object.assign(Object.assign({}, query), customQuery); | ||
redirect(sub, customQuery) { | ||
// todo fix location. | ||
console.log({ sub, customQuery }); | ||
// let ans = this.getLink(sub, customQuery); | ||
// const { history } = this.props; | ||
// history.push(ans); | ||
} | ||
@@ -107,0 +86,0 @@ onComponentDidMount() { |
{ | ||
"name": "namirasoft-account-react", | ||
"title": "Namirasoft Account React", | ||
"description": "Namira Software Corporation Account React NPM Package", | ||
"version": "1.2.0", | ||
"icon": "logo.png", | ||
"logo": "https://static.namirasoft.com/logo/account/name.png", | ||
"language": "ts", | ||
"framework": "npm", | ||
"application": "package", | ||
"private": false, | ||
"version": "1.3.0", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": {}, | ||
"author": "Amir Abolhasani", | ||
"license": "MIT", | ||
"scripts": {}, | ||
"dependencies": { | ||
"@types/react": "^18.2.47", | ||
"namirasoft-account": "^1.2.3", | ||
"namirasoft-core": "^1.2.5", | ||
"query-string": "^8.1.0", | ||
"@types/react": "^18.2.66", | ||
"namirasoft-account": "^1.3.0", | ||
"namirasoft-core": "^1.3.0", | ||
"query-string": "^9.0.0", | ||
"react": "^18.2.0", | ||
"react-router-dom": "^6.21.2", | ||
"react-router-dom": "^6.22.3", | ||
"run": "^1.5.0" | ||
} | ||
} |
@@ -24,3 +24,3 @@ { | ||
"noImplicitThis": true, | ||
"skipLibCheck": false, | ||
"skipLibCheck": true, | ||
"allowSyntheticDefaultImports": true, | ||
@@ -30,3 +30,15 @@ "forceConsistentCasingInFileNames": true, | ||
"isolatedModules": false, | ||
} | ||
"removeComments": true, | ||
}, | ||
"include": [ | ||
"src", | ||
"build/types/**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"build", | ||
"dist", | ||
"static", | ||
"public" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
138440
608
+ Addedquery-string@9.1.1(transitive)
- Removedquery-string@8.2.0(transitive)
Updated@types/react@^18.2.66
Updatednamirasoft-account@^1.3.0
Updatednamirasoft-core@^1.3.0
Updatedquery-string@^9.0.0
Updatedreact-router-dom@^6.22.3