This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const blindpay = new Blindpay("sk_test_1234567890"); | |
| // Usage examples for all available SDK methods: | |
| // Payins | |
| blindpay.payins.createEvm({} as any); | |
| blindpay.payins.export({} as any); | |
| blindpay.payins.get({} as any); | |
| blindpay.payins.getTrack({} as any); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Eslint And Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - development # the branches you want | |
| push: | |
| branches: | |
| - development # you probably you dont need this if you are using branch protection/gitflow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { type ZodErrorMap, z } from 'zod'; | |
| // Error map | |
| type Error = Parameters<ZodErrorMap>['0']; | |
| type Ctx = Parameters<ZodErrorMap>['1']; | |
| type Field = string | number | undefined; | |
| export class ZodCustomErrorMap { | |
| public errorMap(error: Error, ctx: Ctx) { |