Merge branch 'master' into DID-10

This commit is contained in:
DuCay
2022-07-18 11:31:43 +03:00
committed by GitHub
2 changed files with 7 additions and 11 deletions

View File

@@ -53,9 +53,7 @@ class Store {
} }
fetchKeysArray() { fetchKeysArray() {
fetchWrapper.getAuth( fetchWrapper.getAuth('data/shared/', {
'data/shared',
{
networkIdentifier: this.nodeInfo.networkIdentifier, networkIdentifier: this.nodeInfo.networkIdentifier,
lastBlockID: this.nodeInfo.lastBlockID lastBlockID: this.nodeInfo.lastBlockID
}).then((res) => this.keysArrayFetchChange(res)) }).then((res) => this.keysArrayFetchChange(res))
@@ -65,8 +63,7 @@ class Store {
fetchWrapper.getAuth(`account/transactions/${this.accountMadeTransaction}?moduleID=1001&assetID=11`, { fetchWrapper.getAuth(`account/transactions/${this.accountMadeTransaction}?moduleID=1001&assetID=11`, {
networkIdentifier: this.nodeInfo.networkIdentifier, networkIdentifier: this.nodeInfo.networkIdentifier,
lastBlockID: this.nodeInfo.lastBlockID lastBlockID: this.nodeInfo.lastBlockID
}) }).then((res)=>this.saveInfoTransactions(res))
.then((res)=>this.saveInfoTransactions(res))
} }
fetchSharedData() { fetchSharedData() {
@@ -131,7 +128,7 @@ class Store {
get accountData() { get accountData() {
return this._accountData return this._accountData
} };
get sharedData() { get sharedData() {
return this._sharedData.map(elem => ({ return this._sharedData.map(elem => ({
@@ -207,7 +204,6 @@ class Store {
const sign = cryptography.signDataWithPassphrase(Buffer.from(stringToSign, 'hex'), this.passPhrase).toString('hex') const sign = cryptography.signDataWithPassphrase(Buffer.from(stringToSign, 'hex'), this.passPhrase).toString('hex')
return this.pubKey + ':' +sign return this.pubKey + ':' +sign
} }
}; };
export const registrationStore = new Store(); export const registrationStore = new Store();

View File

@@ -17,7 +17,7 @@ module.exports = {
blue: '2px solid rgba(0, 112, 244, 0.5)', blue: '2px solid rgba(0, 112, 244, 0.5)',
}, },
fontFamily: { fontFamily: {
inter: ['Inter', 'sans-serif'], sans: ['Inter', 'sans-serif'],
}, },
fontSize: { fontSize: {
descriptionSize: ['0.75rem', { lineHeight: '1.25' }], descriptionSize: ['0.75rem', { lineHeight: '1.25' }],