![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.
Mobizon é um poderoso gateway de SMS e ferramentas de marketing online.
Baixe o node em nodejs.org e instale-o, caso ainda não tenha,
Pacote: npm i mobizon-br
ou yarn add mobizon-br
const mobizon = require('mobizon-br');
mobizon.setConfig({
apiServer: 'https://api.mobizon.com.br',
apiKey: process.env.API_KEY,
format: 'json',
});
Confira em docs todos os response status code.
(async () => {
/** Saldo */
const getBalance = await mobizon.getBalance();
console.log(getBalance);
/** Encurtar URL */
const short = await mobizon.short({
fullLink: 'https://mobizon.com.br',
status: 1,
expirationDate: '',
comment: 'MobizonBR',
});
console.log(short);
/** Enviar SMS */
const sendSms = await mobizon.sendSms({
recipient: process.env.NUMBER,
from: '',
text: 'MobizonBR',
});
console.log(sendSms);
})();
Dê uma olhada em example.js para mais casos de uso.
jest --setupFiles dotenv/config --detectOpenHandles --forceExit
PASS tests/mobizon.test.js
Mobizon feature tests
✓ should receive the account balance (323 ms)
✓ should create short link (447 ms)
✓ should get short link (349 ms)
✓ should update short link (325 ms)
✓ should delete short link (390 ms)
✓ should send a test sms (610 ms)
✓ should list the sms sent by id (312 ms)
✓ should list the all sms sent (762 ms)
Test Suites: 1 passed, 1 total
Tests: 8 passed, 8 total
Snapshots: 0 total
Time: 4.208 s
Ran all test suites.
Done in 4.65s.
Copyright © 2021 caioagiani.
Este projeto é licenciado MIT.
FAQs
Mobizon é um poderoso gateway de SMS e ferramentas de marketing online.
The npm package mobizon-br receives a total of 1 weekly downloads. As such, mobizon-br popularity was classified as not popular.
We found that mobizon-br demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.