@notifi-network/notifi-react-hooks
Advanced tools
Comparing version 0.0.4-alpha.15 to 0.0.4-alpha.18
@@ -8,10 +8,2 @@ import { NotifiClient, ClientData } from '@notifi-network/notifi-core'; | ||
fetchData: () => Promise<Readonly<{ | ||
filter: Readonly<{ | ||
id: string | null; | ||
name: string | null; | ||
}> | null; | ||
sourceGroup: Readonly<{ | ||
id: string | null; | ||
name: string | null; | ||
}> | null; | ||
targetGroup: Readonly<{ | ||
@@ -18,0 +10,0 @@ emailTargets: readonly Readonly<{ |
@@ -16,63 +16,55 @@ "use strict"; | ||
} | ||
const firstOrNull = (arr) => { | ||
return arr.length > 0 ? arr[0] : null; | ||
}; | ||
const fetchDataImpl = async (service) => { | ||
const [filters, sourceGroups, targetGroups] = await Promise.all([ | ||
const [alerts, filters, sourceGroups, targetGroups, emailTargets, smsTargets, telegramTargets] = await Promise.all([ | ||
service.getAlerts(), | ||
service.getFilters(), | ||
service.getSourceGroups(), | ||
service.getTargetGroups() | ||
service.getTargetGroups(), | ||
service.getEmailTargets(), | ||
service.getSmsTargets(), | ||
service.getTelegramTargets() | ||
]); | ||
return { | ||
filter: filters.length > 0 ? filters[0] : null, | ||
sourceGroup: sourceGroups.length > 0 ? sourceGroups[0] : null, | ||
targetGroup: targetGroups.length > 0 ? targetGroups[0] : null | ||
alert: firstOrNull(alerts), | ||
filter: firstOrNull(filters), | ||
sourceGroup: firstOrNull(sourceGroups), | ||
targetGroup: firstOrNull(targetGroups), | ||
emailTargets: [...emailTargets], | ||
smsTargets: [...smsTargets], | ||
telegramTargets: [...telegramTargets] | ||
}; | ||
}; | ||
const ensureEmail = async (service, existingTargetGroup, emailAddress) => { | ||
var _a; | ||
if (emailAddress === null) { | ||
return null; | ||
} | ||
const existing = (_a = existingTargetGroup === null || existingTargetGroup === void 0 ? void 0 : existingTargetGroup.emailTargets) === null || _a === void 0 ? void 0 : _a.find((it) => it.emailAddress === emailAddress); | ||
if (existing !== undefined) { | ||
return existing.id; | ||
} | ||
const newTarget = await service.createEmailTarget({ | ||
name: emailAddress, | ||
value: emailAddress | ||
}); | ||
return newTarget.id; | ||
const ensureTargetHoc = (create, identify) => { | ||
return async (service, existing, value) => { | ||
if (value === null) { | ||
return null; | ||
} | ||
const found = existing === null || existing === void 0 ? void 0 : existing.find((it) => identify(it) === value); | ||
if (found !== undefined) { | ||
return found.id; | ||
} | ||
const created = await create(service, value); | ||
existing === null || existing === void 0 ? void 0 : existing.push(created); | ||
return created.id; | ||
}; | ||
}; | ||
const ensureSms = async (service, existingTargetGroup, phoneNumber) => { | ||
var _a; | ||
if (phoneNumber === null) { | ||
return null; | ||
} | ||
const existing = (_a = existingTargetGroup === null || existingTargetGroup === void 0 ? void 0 : existingTargetGroup.smsTargets) === null || _a === void 0 ? void 0 : _a.find((it) => it.phoneNumber === phoneNumber); | ||
if (existing !== undefined) { | ||
return existing.id; | ||
} | ||
const newTarget = await service.createSmsTarget({ | ||
name: phoneNumber, | ||
value: phoneNumber | ||
}); | ||
return newTarget.id; | ||
}; | ||
const ensureTelegram = async (service, existingTargetGroup, telegramId) => { | ||
var _a; | ||
if (telegramId === null) { | ||
return null; | ||
} | ||
const existing = (_a = existingTargetGroup === null || existingTargetGroup === void 0 ? void 0 : existingTargetGroup.telegramTargets) === null || _a === void 0 ? void 0 : _a.find((it) => it.telegramId === telegramId); | ||
if (existing !== undefined) { | ||
return existing.id; | ||
} | ||
const newTarget = await service.createTelegramTarget({ | ||
name: telegramId, | ||
value: telegramId | ||
}); | ||
return newTarget.id; | ||
}; | ||
const ensureEmail = ensureTargetHoc(async (service, value) => await service.createEmailTarget({ | ||
name: value, | ||
value | ||
}), (arg) => arg.emailAddress); | ||
const ensureSms = ensureTargetHoc(async (service, value) => await service.createSmsTarget({ | ||
name: value, | ||
value | ||
}), (arg) => arg.phoneNumber); | ||
const ensureTelegram = ensureTargetHoc(async (service, value) => await service.createTelegramTarget({ | ||
name: value, | ||
value | ||
}), (arg) => arg.telegramId); | ||
const useNotifiClient = (env = useNotifiConfig_1.BlockchainEnvironment.MainNetBeta, signer) => { | ||
const { jwtRef, setJwt } = (0, useNotifiJwt_1.default)(); | ||
const service = (0, useNotifiService_1.default)(env); | ||
const [data, setData] = (0, react_1.useState)(null); | ||
const [internalData, setInternalData] = (0, react_1.useState)(null); | ||
const [error, setError] = (0, react_1.useState)(null); | ||
@@ -83,4 +75,4 @@ const [loading, setLoading] = (0, react_1.useState)(false); | ||
setLoading(true); | ||
const data = await fetchDataImpl(service); | ||
setData(data); | ||
const newData = await fetchDataImpl(service); | ||
setInternalData(newData); | ||
return data; | ||
@@ -101,4 +93,4 @@ } | ||
fetchDataImpl(service) | ||
.then((data) => { | ||
setData(data); | ||
.then((newData) => { | ||
setInternalData(newData); | ||
setLoading(false); | ||
@@ -134,3 +126,3 @@ }) | ||
const newData = await fetchDataImpl(service); | ||
setData(newData); | ||
setInternalData(newData); | ||
return result; | ||
@@ -147,11 +139,11 @@ } | ||
const updateAlert = (0, react_1.useCallback)(async (input) => { | ||
var _a, _b, _c, _d, _f, _g; | ||
var _a, _b, _c, _d, _f; | ||
const { name, emailAddress, phoneNumber, telegramId } = input; | ||
setLoading(true); | ||
const existing = (_a = data === null || data === void 0 ? void 0 : data.targetGroup) !== null && _a !== void 0 ? _a : null; | ||
try { | ||
const newData = await fetchDataImpl(service); | ||
const [emailTargetId, smsTargetId, telegramTargetId] = await Promise.all([ | ||
ensureEmail(service, existing, emailAddress), | ||
ensureSms(service, existing, phoneNumber), | ||
ensureTelegram(service, existing, telegramId) | ||
ensureEmail(service, newData === null || newData === void 0 ? void 0 : newData.emailTargets, emailAddress), | ||
ensureSms(service, newData === null || newData === void 0 ? void 0 : newData.smsTargets, phoneNumber), | ||
ensureTelegram(service, newData === null || newData === void 0 ? void 0 : newData.telegramTargets, telegramId) | ||
]); | ||
@@ -170,5 +162,6 @@ const emailTargetIds = []; | ||
} | ||
if (existing !== null && existing.id !== null) { | ||
const existingAlert = newData.alert; | ||
if (existingAlert !== null && existingAlert.targetGroup.id !== null) { | ||
const result = await service.updateTargetGroup({ | ||
id: existing.id, | ||
id: existingAlert.targetGroup.id, | ||
name, | ||
@@ -179,7 +172,9 @@ emailTargetIds, | ||
}); | ||
newData.targetGroup = result; | ||
setInternalData(newData); | ||
return result; | ||
} | ||
else { | ||
const filterId = (_c = (_b = data === null || data === void 0 ? void 0 : data.filter) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : null; | ||
const sourceGroupId = (_f = (_d = data === null || data === void 0 ? void 0 : data.sourceGroup) === null || _d === void 0 ? void 0 : _d.id) !== null && _f !== void 0 ? _f : null; | ||
const filterId = (_b = (_a = newData === null || newData === void 0 ? void 0 : newData.filter) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null; | ||
const sourceGroupId = (_d = (_c = newData === null || newData === void 0 ? void 0 : newData.sourceGroup) === null || _c === void 0 ? void 0 : _c.id) !== null && _d !== void 0 ? _d : null; | ||
if (filterId === null || sourceGroupId === null) { | ||
@@ -194,7 +189,8 @@ throw new Error('Data is missing. Have you logged in?'); | ||
}); | ||
const targetGroupId = (_g = result.id) !== null && _g !== void 0 ? _g : null; | ||
newData.targetGroup = result; | ||
const targetGroupId = (_f = result.id) !== null && _f !== void 0 ? _f : null; | ||
if (targetGroupId === null) { | ||
throw new Error('TargetGroup creation failed'); | ||
} | ||
await service.createAlert({ | ||
const alert = await service.createAlert({ | ||
sourceGroupId, | ||
@@ -204,2 +200,4 @@ filterId, | ||
}); | ||
newData.alert = alert; | ||
setInternalData(newData); | ||
return result; | ||
@@ -215,6 +213,12 @@ } | ||
} | ||
}, [data, service]); | ||
}, [service]); | ||
const isAuthenticated = (0, react_1.useCallback)(() => { | ||
return jwtRef.current !== null; | ||
}, [jwtRef]); | ||
const data = (0, react_1.useMemo)(() => { | ||
var _a; | ||
return { | ||
targetGroup: (_a = internalData === null || internalData === void 0 ? void 0 : internalData.targetGroup) !== null && _a !== void 0 ? _a : null | ||
}; | ||
}, [internalData === null || internalData === void 0 ? void 0 : internalData.targetGroup]); | ||
return { | ||
@@ -231,2 +235,2 @@ data, | ||
exports.default = useNotifiClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTm90aWZpQ2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbGliL2hvb2tzL3VzZU5vdGlmaUNsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQVFBLDBFQUFrRDtBQUNsRCx1REFBMEQ7QUFDMUQsaUNBQXlEO0FBQ3pELGtFQUEwQztBQUUxQyxNQUFNLGlCQUFrQixTQUFRLEtBQUs7SUFDbkMsWUFBbUIsVUFBbUI7UUFDcEMsS0FBSyxDQUFDLG1DQUFtQyxDQUFDLENBQUM7UUFEMUIsZUFBVSxHQUFWLFVBQVUsQ0FBUztJQUV0QyxDQUFDO0NBQ0Y7QUFNRCxNQUFNLGFBQWEsR0FBRyxLQUFLLEVBQUUsT0FBc0IsRUFBdUIsRUFBRTtJQUMxRSxNQUFNLENBQUMsT0FBTyxFQUFFLFlBQVksRUFBRSxZQUFZLENBQUMsR0FBRyxNQUFNLE9BQU8sQ0FBQyxHQUFHLENBQUM7UUFDOUQsT0FBTyxDQUFDLFVBQVUsRUFBRTtRQUNwQixPQUFPLENBQUMsZUFBZSxFQUFFO1FBQ3pCLE9BQU8sQ0FBQyxlQUFlLEVBQUU7S0FDMUIsQ0FBQyxDQUFDO0lBRUgsT0FBTztRQUNMLE1BQU0sRUFBRSxPQUFPLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJO1FBQzlDLFdBQVcsRUFBRSxZQUFZLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQyxDQUFDLENB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QUFDLENBQUM7QUFFRixrQkFBZSxlQUFlLENBQUMifQ== |
{ | ||
"name": "@notifi-network/notifi-react-hooks", | ||
"version": "0.0.4-alpha.15+837b2f7", | ||
"version": "0.0.4-alpha.18+d3ed98f", | ||
"description": "React hooks provided as a convenience wrapper around notifi.network platform functionality", | ||
@@ -31,3 +31,3 @@ "author": "Juni Kim <73hKrn@gmail.com>", | ||
"devDependencies": { | ||
"@notifi-network/notifi-core": "^0.0.3", | ||
"@notifi-network/notifi-core": "^0.0.4-alpha.18+d3ed98f", | ||
"@types/react": "^17.0.39", | ||
@@ -43,3 +43,3 @@ "@typescript-eslint/eslint-plugin": "^5.12.0", | ||
"dependencies": { | ||
"@notifi-network/notifi-axios-adapter": "^0.0.3", | ||
"@notifi-network/notifi-axios-adapter": "^0.0.4-alpha.18+d3ed98f", | ||
"axios": "^0.26.0", | ||
@@ -53,3 +53,3 @@ "typescript": "^4.5.5", | ||
}, | ||
"gitHead": "837b2f75954ca635538c1f0027c5546b9a430609" | ||
"gitHead": "d3ed98f068cfa15987b2842646ce1be2178e1d6f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
46207
451