{"_id":"@andeslabs/mint-sdk","_rev":"12-fdd9a538b45e7f30970bb07ea93aa577","name":"@andeslabs/mint-sdk","dist-tags":{"latest":"5.0.0"},"versions":{"2.0.0":{"name":"@andeslabs/mint-sdk","version":"2.0.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.0.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"a3cded76502149884da282e2f6a7c2240313156a","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.0.0.tgz","fileCount":179,"integrity":"sha512-V3NGBpEuTbGG23ywmdmwavvYDqVcyRzGYxCb1ewCXjyGhpPtW/Tp4UEvpAB95D0hmjRLiR1jCwJi0cjy6X6GDw==","signatures":[{"sig":"MEYCIQC2LLkQkeMh+kCTH8HFfHZJEiLAeYXaGHwuWOuNb5FOLAIhAMCGTmVZBn3NWQ3ryQus69g4PKYdTtOGyMRIRB2pSsCy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183939},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"0f594b7bb1c3f989b13d6658fcd2a95a7a339cc8","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.0.0_1777591444127_0.9754458433693596","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@andeslabs/mint-sdk","version":"2.1.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.1.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"a381e244c70479f4f71080d9622b438ff2d06502","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.1.0.tgz","fileCount":179,"integrity":"sha512-DhhuVg/hASnzTCp8rK9JGFUFTWWtciLGn8CPiE0G3JNqgh0uPYanDpZFBtrM47cxYBEPvfu8XwtvZHiB1QATnw==","signatures":[{"sig":"MEYCIQDxzfH1rr4eFfSlVyRCud7I/mGJTtnuL8hTxwDW4HbjzwIhAKgpCLcNix7l/62kEEfGwy+qevBT3zAwVXxlHr3X1w75","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190131},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"40d9b3f34b2b4fc8020a66a215b7c94a80fd086b","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.1.0_1778195774916_0.053919106639361614","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@andeslabs/mint-sdk","version":"2.1.1","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.1.1","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"c65a0412cd1739559be6bd70e9afadd6d855e6cb","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.1.1.tgz","fileCount":179,"integrity":"sha512-sZ9xXOADvQAwBSVnPArmrxLm+QCFze3OsloqnDXYLdw0Om7cOnifdcMFag+cWgWKR1CCm+NN2xJWJN28cK4RUQ==","signatures":[{"sig":"MEQCIEZ/Tw7CGCFHKLclP8cbzSproma6ZGWyvcHQzwb12c42AiBjwQ7L6iExDGJ5TvV0erZZVLO9bydR07F4aecrs/rtew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190143},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"e2fa7edbd524d9bed15b84fc8460959ebaf7d0c4","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.1.1_1778429193177_0.40366158553524367","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@andeslabs/mint-sdk","version":"2.2.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.2.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"41174ea1b595d833b7261160719f971de103781a","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.2.0.tgz","fileCount":179,"integrity":"sha512-aabJ7tPlRGa4v6a3VUOG2gFcgXVtqH4reOtmXa1KfSKYAQwhXec6PAz47es2vNSXx9P+g4HhsY3HGO2H+ALGvg==","signatures":[{"sig":"MEUCIQD4efgXHUDsRLd7fSojI4qVeDmIzcrBbRU7F5uESnZFTQIgEvwQU0VMvRnl+t5M0UlBb163zmLOYqlIBTwwcSYb07M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190407},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"5138bb925f27b235b7b09b60b952a5fac5e3f08a","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.2.0_1778535450042_0.25651577434819317","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@andeslabs/mint-sdk","version":"2.3.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.3.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"dd79dbaf508774710385d500ba3ba18a6edd94c4","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.3.0.tgz","fileCount":179,"integrity":"sha512-A6R6eRm47EQo0U4KfcShNFHXb+j3wjYaCmNAyvpRUwUU4xRrsDlm/R0FkE4h0i+YUX5qmnfNO1RHg5llWQrwMA==","signatures":[{"sig":"MEUCICfnUvbALgla9ERj4q0Z8O+6LPvjFQMksOv+BVsLvCOlAiEAnS3+GbWADhLIB9OfA9wZN5lmaT4vxOs2NCJLid/tyA0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191045},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"8a716fe354b146d16388da3a9d19f2a84536512a","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.3.0_1778596601301_0.12743761647941287","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@andeslabs/mint-sdk","version":"2.4.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.4.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"d82b14338f79e01ac72dd098b31caa32251b60de","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.4.0.tgz","fileCount":179,"integrity":"sha512-vLC5LvuDSvCpci3REJAWEdxT2ZPMaDgqZhrfZyIdBxupGzOyIby2yFGBanjLYy3px3ZI/vFZ+ei4hsPSRlk3jA==","signatures":[{"sig":"MEYCIQDcrOC+Bcgva2KxnJVgqOhMa3DKPSe80pE9YuMUz7/qfAIhANG7w/1LeU5Lg2YmirIQqKZ+xhkTrdww7uNQFuec/9ji","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":192955},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"507ce98fa4de47477b13f160ea03c40cd51f03e5","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.4.0_1778602904724_0.2871458909436313","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@andeslabs/mint-sdk","version":"2.5.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.5.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"0aaa0416078f4885452f6d49bebb7c48eb40c2b2","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.5.0.tgz","fileCount":179,"integrity":"sha512-cVZ/xeEHvQxja+cu9kjF0/TOveZtAKaSfzbiA3tPWifRq/qHt9fCp+EH+TnvazFvWay81nRAyKJ5fvXqh92wKw==","signatures":[{"sig":"MEUCIQC0dpFT7LnQrzVrRQhLwDQauBOuLf14M8fJ4VrcqoXcUAIgcPF8yOsRrOZ7dNJRrDxKgid5p1yFZUmdAWQF9xp0Wfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193063},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"75e2a5bd077d100ccc6a9c926286ce684925367f","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.5.0_1779164732963_0.8425317395391041","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@andeslabs/mint-sdk","version":"2.6.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@2.6.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"81196c9585c5996bf912719adf12933bdc710c6e","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-2.6.0.tgz","fileCount":179,"integrity":"sha512-x+gE0suoMvjgfbVunJyQjaB16t8M3OM6sT3vMX9z7RGaJX6e7IaLB+6mVqBbwPw2k/EI3Oy4+eA/SlaBI8MKCQ==","signatures":[{"sig":"MEUCIQCfCDsW+Wjhowdsp3J2wRYE5HqdbJFlaRFi6rKxnBe4rQIgSTD2Ja5tH+KlH7CETwYTj8eDfOIJAc4BRIJWWSyqrUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193027},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"0ccaf836fb2324803bd60e6b11c62938cc7f95c1","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_2.6.0_1780026467649_0.3169367898389517","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@andeslabs/mint-sdk","version":"3.0.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@3.0.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"d806eafd6f9349161e62e3ac616e0bade6c7a90d","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-3.0.0.tgz","fileCount":179,"integrity":"sha512-ckJMZvnK+QGBm2XjpDsfwSIZ7baii9ixpxY6lT3qxVK27n1OMVDHSuVlZkcUTVy9TWAaV7BdTpI2uLO5zzzw9A==","signatures":[{"sig":"MEUCIQC0GgecYQnceDozAIGimgUqxVYHFr1t+HpxNDyDr8nE8AIgDRfBsGGs1gtpn5zOZeuq8YIQ2SwyKhqCTm9IMvx//B4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194139},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"ec1b24b3af4016ab29ee36555b077155a7bdb918","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_3.0.0_1780197351500_0.8278672631747221","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@andeslabs/mint-sdk","version":"3.1.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@3.1.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"539915ab1ec19afdcadae5a737fe789d01971aef","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-3.1.0.tgz","fileCount":179,"integrity":"sha512-3UPI2e341bL13L7uK8MiSKFNL1KZ/BwIYesa6oNAcrnao7o2SGb5t+47gNzLYZweim6THyrwSTXNcxHYpO6z8A==","signatures":[{"sig":"MEUCID9wLDHcSM4onQaepVhLwEIRbuhTC/uSaFW8cBwCToiHAiEA1XJB/9dmxqLEdI7V1NJBe5EfS/Z2JPE7dus3CLpTKeQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":196548},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"3ee55487d764ba1f87de093b47045a78415c2d8e","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_3.1.0_1780459782578_0.7300297661332809","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@andeslabs/mint-sdk","version":"4.0.0","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"license":"MIT","_id":"@andeslabs/mint-sdk@4.0.0","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"dist":{"shasum":"898a516ab80ad7f47825bf62d3c2b2a8cbfbce16","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-4.0.0.tgz","fileCount":179,"integrity":"sha512-DTqQgVGTVT+zN1Dmphh+mnpkWmzZq2uqjb3tdLfNpVti0PEZGeCuGFEUrPFaDFPNSpFVBK2jeY8hjLL/xg+nGw==","signatures":[{"sig":"MEUCIBykh1DFF+OhUq+0pR9hUR43JZtlRawJulStXazmXAhmAiEAoKtAzbDmU1iqGXyaM7V1ZEDLldYGJo/KFkE+Pg2KElo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":204218},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"26b040f6c1ee674f57344171bc32a178655f743d","scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rm -rf dist","release":"npm publish","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","release:dry":"npm publish --dry-run","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit"},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"repository":{"url":"git+https://github.com/copter-exchange/andes-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mint-sdk_4.0.0_1780587107919_0.05531560877067854","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"@andeslabs/mint-sdk","version":"5.0.0","description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","license":"MIT","homepage":"https://github.com/copter-exchange/andes-sdk#readme","bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/copter-exchange/andes-sdk.git"},"engines":{"node":">=18"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json --noEmit","typecheck:examples":"tsc -p tsconfig.examples.json --noEmit","clean":"rm -rf dist","prepublishOnly":"npm run typecheck && npm run typecheck:examples && npm run build","release":"npm publish","release:dry":"npm publish --dry-run"},"publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.4.0"},"keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"_id":"@andeslabs/mint-sdk@5.0.0","gitHead":"3c8d3e411ada78f19ad08519a22d19c51b2901d6","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-//3ssu21FqlHER3UIzV/Tv4xbMK+auS/peWNArD9p8dggI4jHe8kaw2usSJknAmIgfbum2C1VGAMipMpPQPFuw==","shasum":"a87cb7fecdac4a926e9b288173ed91ff18d2862a","tarball":"https://registry.npmjs.org/@andeslabs/mint-sdk/-/mint-sdk-5.0.0.tgz","fileCount":179,"unpackedSize":199689,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCGZqmMg83Zm2ZfZJuqlvwYKqokQjoJiV+hZQ7VujOoxwIgetKfgRy0lDnx2PtrnOT6P9+LYdStfdomgyj5qcWkjzQ="}]},"_npmUser":{"name":"payex-srl","email":"marcos@payexsrl.com"},"directories":{},"maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mint-sdk_5.0.0_1781985536621_0.4203453622483875"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-30T23:24:04.045Z","modified":"2026-06-20T19:58:56.873Z","2.0.0":"2026-04-30T23:24:04.320Z","2.1.0":"2026-05-07T23:16:15.078Z","2.1.1":"2026-05-10T16:06:33.325Z","2.2.0":"2026-05-11T21:37:30.293Z","2.3.0":"2026-05-12T14:36:41.507Z","2.4.0":"2026-05-12T16:21:44.881Z","2.5.0":"2026-05-19T04:25:33.124Z","2.6.0":"2026-05-29T03:47:48.114Z","3.0.0":"2026-05-31T03:15:51.648Z","3.1.0":"2026-06-03T04:09:42.729Z","4.0.0":"2026-06-04T15:31:48.071Z","5.0.0":"2026-06-20T19:58:56.748Z"},"bugs":{"url":"https://github.com/copter-exchange/andes-sdk/issues"},"license":"MIT","homepage":"https://github.com/copter-exchange/andes-sdk#readme","keywords":["andes","andeslabs","stablecoin","fintech","sdk"],"repository":{"type":"git","url":"git+https://github.com/copter-exchange/andes-sdk.git"},"description":"TypeScript SDK for the Andes Mint API (https://andeslabs.io/mint/v1).","maintainers":[{"name":"payex-srl","email":"marcos@payexsrl.com"}],"readme":"# @andeslabs/mint-sdk\n\nTypeScript SDK for the [Andes Mint API](https://api.andeslabs.io/mint/v1). Wraps all public outbound endpoints, signs ES256 JWTs per request, unwraps response envelopes, and ships a webhook signature verifier.\n\n- Node 18+ (uses built-in `fetch`, `FormData`, `node:crypto`).\n- **Zero runtime dependencies.**\n- Server-side only — the SDK holds a signing key.\n\n## Install\n\n```bash\nnpm install @andeslabs/mint-sdk\n```\n\n## Authentication\n\nAndes uses ES256 (ECDSA P-256) signed JWTs plus a project API key. Generate a key pair once and share the public key during onboarding:\n\n```bash\nopenssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem\nopenssl ec -in ec_private.pem -pubout -out ec_public.pem\n```\n\nThen create a client:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { createClient } from \"@andeslabs/mint-sdk\";\n\nconst andes = createClient({\n  apiKey: process.env.ANDES_API_KEY!,\n  privateKey: readFileSync(\"ec_private.pem\", \"utf8\"),\n});\n```\n\nEvery request signs a fresh 2-minute JWT. Pass `issuer` if you want an `iss` claim embedded (the backend does not verify it, so it's optional).\n\n### Using a custom signer (KMS / HSM)\n\nPass a `signer` function instead of a PEM to keep the private key outside SDK memory:\n\n```ts\nconst andes = createClient({\n  apiKey: process.env.ANDES_API_KEY!,\n  signer: async () => kms.signAndesJwt(),\n});\n```\n\n## Usage\n\n```ts\nconst { userId } = await andes.accounts.create({ name: \"Juan Pérez\" });\nconst { address } = await andes.wallets.create(\"base\", { user_id: userId, asset: \"arsa\" });\nconst wallets = await andes.wallets.forUser(userId);\nconst stats = await andes.project.stats();\n```\n\nThe response envelope (`{ status, message, data }`) is unwrapped — methods resolve with `data` directly.\n\n### Errors\n\nNon-2xx responses throw `AndesApiError`:\n\n```ts\nimport { AndesApiError } from \"@andeslabs/mint-sdk\";\n\ntry {\n  await andes.wallets.create(\"base\", { user_id, asset: \"arsa\" });\n} catch (err) {\n  if (err instanceof AndesApiError) {\n    console.error(err.httpStatus, err.status, err.message, err.body);\n  }\n}\n```\n\n`err.retryAfter` carries the `Retry-After` header (seconds) when the API sends one. The first outbound transfer or fiat withdrawal from a freshly provisioned **Stellar** wallet returns `425 Too Early` while the account is being activated — nothing is created on that response; retry after the delay and it succeeds.\n\n## Resource reference\n\n| Namespace | Methods |\n|---|---|\n| `accounts`   | `create`, `list` |\n| `wallets`    | `create(chain, body)`, `list`, `forUser` |\n| `wallets.transfers` | `create`, `list`, `forUser`, `forUserSingle` |\n| `fiat`       | `create(body, files?)`, `createBusiness(body)`, `updateAlias(body)`, `list`, `forUser`, `arca`, `cvuLookup`, `withdraw`, `movements`, `movementsForUser`, `movementForUser` |\n| `international.accounts.fiat` | `list`, `createBob`, `createPen`, `createPyg`, `delete(id, { userId })` |\n| `international.offramp` | `quote`, `create`, `list` |\n| `international.banks` | `bob`, `pen`, `pyg` |\n| `international.cotization` | `()` |\n| `project`    | `stats`, `statsTimeseries` |\n| `webhooks`   | `create`, `list`, `get`, `update`, `delete`, `deliveries`, `signingKey` |\n\n### Multipart: creating a fiat account\n\n```ts\nimport { readFileSync } from \"node:fs\";\n\nawait andes.fiat.create(\n  {\n    user_id,\n    chain: \"base\",\n    email: \"juan@example.com\",\n    cuit: \"20345678901\",\n    name: \"Juan\",\n    last_name: \"Pérez\",\n    phone: \"+5491145678901\",\n    birthdate: \"1990-05-15\",\n  },\n  {\n    face:     { buffer: readFileSync(\"face.jpg\"),     filename: \"face.jpg\",     contentType: \"image/jpeg\" },\n    id_front: { buffer: readFileSync(\"id-front.jpg\"), filename: \"id-front.jpg\", contentType: \"image/jpeg\" },\n    id_back:  { buffer: readFileSync(\"id-back.jpg\"),  filename: \"id-back.jpg\",  contentType: \"image/jpeg\" },\n  }\n);\n```\n\nThe personal fields and KYC images are required only for **first-time onboarding** of a CUIT. Once a person has a `completed` fiat account, attach a CVU on another chain with a minimal request — no personal fields, no files:\n\n```ts\nawait andes.fiat.create({ user_id, chain: \"stellar\", cuit: \"20345678901\" });\n```\n\n## Webhooks\n\nAndes signs outbound webhooks with ECDSA-SHA256. The signed string is `` `${timestamp}.${rawBody}` ``; the signature is hex-encoded. Fetch the public key once from `GET /webhooks/signing-key` and cache it.\n\nYour handler **must** verify against the raw request body — do not re-serialize JSON.\n\n```ts\nimport { createServer } from \"node:http\";\nimport { verifyWebhookSignature, type WebhookEventPayload } from \"@andeslabs/mint-sdk\";\n\nconst PUBLIC_KEY = process.env.ANDES_WEBHOOK_PUBLIC_KEY!; // PEM string\n\ncreateServer(async (req, res) => {\n  const chunks: Buffer[] = [];\n  for await (const c of req) chunks.push(c as Buffer);\n  const rawBody = Buffer.concat(chunks);\n\n  const ok = verifyWebhookSignature({\n    rawBody,\n    timestamp: String(req.headers[\"x-webhook-timestamp\"] ?? \"\"),\n    signature: String(req.headers[\"x-webhook-signature\"] ?? \"\"),\n    publicKey: PUBLIC_KEY,\n    maxAgeMs: 5 * 60 * 1000,\n  });\n\n  if (!ok) return res.writeHead(401).end();\n\n  const event = JSON.parse(rawBody.toString(\"utf8\")) as WebhookEventPayload;\n  // handle event …\n  res.writeHead(200).end();\n}).listen(3000);\n```\n\n### Event types\n\n`fiat.account.created`, `fiat.deposit.success`, `fiat.deposit.failed`, `fiat.withdrawal.success`, `fiat.withdrawal.failed`, `crypto.transfer.success`, `crypto.transfer.failed`, `wallet.active`, `international.offramp.success`, `international.offramp.failed`.\n\n`WebhookEventPayload` is a discriminated union on `event` — narrow it in a `switch`, or use the `dispatchWebhookEvent` helper below.\n\n### Typed event dispatcher\n\nSkip the `switch` with a typed handler map. Each callback receives only the matching variant, unknown event names fail to compile, and any events you don't list are silently ignored.\n\n```ts\nimport {\n  dispatchWebhookEvent,\n  type WebhookEventHandlers,\n  type WebhookEventPayload,\n} from \"@andeslabs/mint-sdk\";\n\nconst handlers: WebhookEventHandlers = {\n  \"fiat.deposit.success\":    async (e) => credit(e.user_id, e.amount, e.mint_receipt_hash),\n  \"fiat.withdrawal.success\": async (e) => settle(e.id, e.destination_cbu),\n  \"crypto.transfer.failed\":  async (e) => flag(e.id, e.to_address),\n};\n\n// inside your request handler, after verifying the signature:\nconst event = JSON.parse(rawBody.toString(\"utf8\")) as WebhookEventPayload;\nawait dispatchWebhookEvent(event, handlers);\n```\n\n#### Returning a value from handlers\n\n`WebhookEventHandlers<R>` is generic — every handler returns `R`, and `dispatchWebhookEvent` resolves to `R | undefined` (`undefined` when no handler matched the event). Useful when the HTTP layer needs to react to what a handler decided:\n\n```ts\nconst handlers: WebhookEventHandlers<{ retry: boolean }> = {\n  \"fiat.deposit.success\": async (e) => ({ retry: !(await credit(e.user_id, e.amount)) }),\n};\n\nconst result = await dispatchWebhookEvent(event, handlers);\nif (result?.retry) return res.sendStatus(503); // Andes will retry\nres.sendStatus(200);\n```\n\nIf a handler throws, return a non-2xx to trigger the Andes retry schedule. See `examples/webhook-dispatcher.ts`.\n\n### Headers sent with each delivery\n\n| Header | Description |\n|---|---|\n| `X-Webhook-Signature` | hex ECDSA-SHA256 signature of `${timestamp}.${rawBody}` |\n| `X-Webhook-Event` | Event type |\n| `X-Webhook-Delivery-Id` | UUID |\n| `X-Webhook-Timestamp` | Unix ms |\n\nRetries: up to 5 attempts with backoff `10s → 60s → 5m → 30m → 2h`.\n\n## Releasing\n\nSee [RELEASE.md](./RELEASE.md) for the publish workflow, version bumps, and deprecation steps.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}