![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@sygna/bridge-ivms-util
Advanced tools
The IVMS util is an open source library to help you generate the data for interVASP messaging within Sygna Bridge Ecosystem.
npm install @sygna/bridge-ivms-util
const ivms = require("@sygna/bridge-ivms-util");
// Originator
// originator name id
const orgNameId = new ivms.NaturalPersonNameId();
orgNameId.setPrimaryIdentifier("Wu");
orgNameId.setSecondaryIdentifier("Xinli");
orgNameId.setNameIdentifierType(
ivms.NaturalPersonNameIdNameIdentifierTypeEnum.LEGL
);
// another name id for originator
const orgNameIdLocal = new ivms.LocalNaturalPersonNameId();
orgNameIdLocal.setPrimaryIdentifier("吳");
orgNameIdLocal.setSecondaryIdentifier("信利");
orgNameIdLocal.setNameIdentifierType(
ivms.LocalNaturalPersonNameIdNameIdentifierTypeEnum.LEGL
);
// assign two name id to originator name
const orgPersonName = new ivms.NaturalPersonName();
orgPersonName.addNameIdentifiers(orgNameId);
orgPersonName.addLocalNameIdentifiers(orgNameIdLocal);
// originator national id and data
const orgPersonNationalId = new ivms.NationalIdentification();
orgPersonNationalId.setNationalIdentifier("446005");
orgPersonNationalId.setNationalIdentifierType(
ivms.NationalIdentificationNationalIdentifierTypeEnum.RAID
);
orgPersonNationalId.setRegistrationAuthority("RA000553");
// assign name, national id, country to originator natural person
const originatingNaturalPerson = new ivms.NaturalPerson();
originatingNaturalPerson.setName(orgPersonName);
originatingNaturalPerson.setNationalIdentification(orgPersonNationalId);
originatingNaturalPerson.setCountryOfResidence("TZ");
// assign originator to person object
const originatingPerson = new ivms.Person();
originatingPerson.setNaturalPerson(originatingNaturalPerson);
// assign originator person and account id to originator
const originator = new ivms.Originator();
originator.addOriginatorPersons(originatingPerson);
originator.addAccountNumbers("1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2");
// Beneficiary
// beneficiary 1 name id
const bene1NameId = new ivms.LegalPersonNameId();
bene1NameId.setLegalPersonName("ABC Limited");
bene1NameId.setLegalPersonNameIdentifierType(
ivms.LegalPersonNameIdLegalPersonNameIdentifierTypeEnum.LEGL
);
// assign beneficiary 1 name with id
const bene1PersonName = new ivms.LegalPersonName();
bene1PersonName.addNameIdentifiers(bene1NameId);
// beneficiary 1 is a legal person
const beneficiary1LegalPerson = new ivms.LegalPerson();
beneficiary1LegalPerson.setName(bene1PersonName);
// assign beneficiary 1 to person object
const beneficiary1Person = new ivms.Person();
beneficiary1Person.setLegalPerson(beneficiary1LegalPerson);
// beneficiary 2 name id
const bene2NameId = new ivms.LegalPersonNameId();
bene2NameId.setLegalPersonName("CBA Trading");
bene2NameId.setLegalPersonNameIdentifierType(
ivms.LegalPersonNameIdLegalPersonNameIdentifierTypeEnum.TRAD
);
// assign beneficiary 2 name with id
const bene2PersonName = new ivms.LegalPersonName();
bene2PersonName.addNameIdentifiers(bene2NameId);
// beneficiary 2 is a legal person
const beneficiary2LegalPerson = new ivms.LegalPerson();
beneficiary2LegalPerson.setName(bene2PersonName);
// assign beneficiary 2 to person object
const beneficiary2Person = new ivms.Person();
beneficiary2Person.setLegalPerson(beneficiary2LegalPerson);
// assign both persons to beneficiary object
const beneficiary = new ivms.Beneficiary();
beneficiary.addBeneficiaryPersons(beneficiary1Person);
beneficiary.addBeneficiaryPersons(beneficiary2Person);
// assign originator and beneficiary data to identity payload
const privateInfo = new ivms.IdentityPayload();
privateInfo.setOriginator(originator);
privateInfo.setBeneficiary(beneficiary);
const jsonData = privateInfo.serializeToJson();
console.log(JSON.stringify(jsonData, null, 2));
// decode from json data
const decoded = ivms.IdentityPayload.deserilizeFromJson(jsonData)
console.log(JSON.stringify(decoded.serializeToJson(), null, 2))
FAQs
The IVMS util is an open source library to help you generate the data for interVASP messaging within Sygna Bridge Ecosystem.
We found that @sygna/bridge-ivms-util demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.