├── .changeset ├── README.md └── config.json ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── examples ├── .env.example ├── README.md ├── app.js ├── bkashController.js ├── modules │ └── bkash.js └── package.json ├── package.json ├── src ├── exceptions │ └── bkashException.ts ├── index.ts ├── interfaces │ ├── bkashResponse.interface.ts │ ├── createPayment.interface.ts │ ├── headers.interface.ts │ └── main.interface.ts ├── tests │ └── bkash.spec.ts └── utils │ ├── diffSeconds.ts │ └── request.ts ├── tsconfig.build.json ├── tsconfig.json ├── tsup.config.ts └── yarn.lock /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | examples/**/*.js 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/README.md -------------------------------------------------------------------------------- /examples/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/.env.example -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/app.js -------------------------------------------------------------------------------- /examples/bkashController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/bkashController.js -------------------------------------------------------------------------------- /examples/modules/bkash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/modules/bkash.js -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/examples/package.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/package.json -------------------------------------------------------------------------------- /src/exceptions/bkashException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/exceptions/bkashException.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/bkashResponse.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/interfaces/bkashResponse.interface.ts -------------------------------------------------------------------------------- /src/interfaces/createPayment.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/interfaces/createPayment.interface.ts -------------------------------------------------------------------------------- /src/interfaces/headers.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/interfaces/headers.interface.ts -------------------------------------------------------------------------------- /src/interfaces/main.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/interfaces/main.interface.ts -------------------------------------------------------------------------------- /src/tests/bkash.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/tests/bkash.spec.ts -------------------------------------------------------------------------------- /src/utils/diffSeconds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/utils/diffSeconds.ts -------------------------------------------------------------------------------- /src/utils/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/src/utils/request.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shahriar-shojib/bkash-payment-gateway/HEAD/yarn.lock --------------------------------------------------------------------------------