├── .babelrc ├── .editorconfig ├── .eslintrc.js ├── .gitattributes ├── .github └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── package.json ├── src ├── errors │ └── tracking.js ├── services │ └── correios.js ├── track.js └── utils │ ├── consts.js │ ├── helpers.js │ └── tracking-helpers.js ├── tests ├── .eslintrc.js ├── e2e │ └── track.spec.js ├── responses │ ├── valid-one.json │ └── valid-two.json └── unit │ ├── fixtures │ ├── response-error-one.xml │ ├── response-valid-one.xml │ └── response-valid-two.xml │ └── track.spec.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/package.json -------------------------------------------------------------------------------- /src/errors/tracking.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/errors/tracking.js -------------------------------------------------------------------------------- /src/services/correios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/services/correios.js -------------------------------------------------------------------------------- /src/track.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/track.js -------------------------------------------------------------------------------- /src/utils/consts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/utils/consts.js -------------------------------------------------------------------------------- /src/utils/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/utils/helpers.js -------------------------------------------------------------------------------- /src/utils/tracking-helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/src/utils/tracking-helpers.js -------------------------------------------------------------------------------- /tests/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/.eslintrc.js -------------------------------------------------------------------------------- /tests/e2e/track.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/e2e/track.spec.js -------------------------------------------------------------------------------- /tests/responses/valid-one.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/responses/valid-one.json -------------------------------------------------------------------------------- /tests/responses/valid-two.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/responses/valid-two.json -------------------------------------------------------------------------------- /tests/unit/fixtures/response-error-one.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/unit/fixtures/response-error-one.xml -------------------------------------------------------------------------------- /tests/unit/fixtures/response-valid-one.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/unit/fixtures/response-valid-one.xml -------------------------------------------------------------------------------- /tests/unit/fixtures/response-valid-two.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/unit/fixtures/response-valid-two.xml -------------------------------------------------------------------------------- /tests/unit/track.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/tests/unit/track.spec.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielboliveira/tracking-correios/HEAD/yarn.lock --------------------------------------------------------------------------------