{ "name": "@suaveplan/payment-provider-paypal", "version": "0.1.0", "type": "module", "sideEffects": false, "description": "PayPal payment provider for @suaveplan/payment-providers. Implements the PaymentProvider interface against the PayPal Orders v2 + Payments Captures Refund APIs, with an OAuth2 client-credentials token cache, injectable now/base64Encode/FetchLike seams, sandbox-endpoint shortcut, MoneyLike bigint marshalling, and structured PaymentProviderError surfaces. Universal — runs unchanged on Node, Bun, browsers, and Web Workers.", "license": "MIT", "author": "Suaveplan Team", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./paypal/paypal": { "import": { "types": "./dist/paypal/paypal.d.ts", "default": "./dist/paypal/paypal.js" }, "require": { "types": "./dist/paypal/paypal.d.ts", "default": "./dist/paypal/paypal.js" } }, "./paypal/mapping": { "import": { "types": "./dist/paypal/mapping.d.ts", "default": "./dist/paypal/mapping.js" }, "require": { "types": "./dist/paypal/mapping.d.ts", "default": "./dist/paypal/mapping.js" } } }, "scripts": { "build": "vite build", "test": "vitest run --passWithNoTests", "test:watch": "vitest", "test:coverage": "vitest run --coverage --passWithNoTests", "lint": "bunx biome check src/", "lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/", "format": "bunx biome format --write --max-diagnostics 500 src/", "check": "bunx biome check --write --unsafe --max-diagnostics 500 src/", "typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json", "docs:check": "bun run ../../../../scripts/docs-check.ts ." }, "dependencies": { "@suaveplan/error": "workspace:^", "@suaveplan/payment": "workspace:^", "@suaveplan/payment-providers": "workspace:^", "tslib": "catalog:build" }, "devDependencies": { "@suaveplan/testing": "workspace:^", "@types/node": "catalog:", "@vitest/coverage-istanbul": "catalog:testing", "typescript": "catalog:", "vite": "catalog:build", "vite-plugin-dts": "catalog:build", "vitest": "catalog:testing" }, "publishConfig": { "access": "public" }, "files": [ "dist", "src", "README.md" ] }