payjp 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,6 @@ on:
5
5
  types: [published]
6
6
 
7
7
  jobs:
8
-
9
8
  publish-npm:
10
9
  runs-on: ubuntu-latest
11
10
  permissions:
@@ -21,9 +20,9 @@ jobs:
21
20
  with:
22
21
  node-version: 24
23
22
  registry-url: https://registry.npmjs.org/
24
- cache: 'pnpm'
23
+ cache: "pnpm"
25
24
  - run: pnpm install --frozen-lockfile
26
25
  - run: pnpm test
27
26
  - run: pnpm publish --no-git-checks --provenance
28
27
  env:
29
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
28
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- node: ['22', '24']
14
+ node: ["22", "24"]
15
15
  steps:
16
16
  - uses: actions/checkout@v4
17
17
  - name: Setup pnpm
@@ -22,6 +22,6 @@ jobs:
22
22
  uses: actions/setup-node@v4
23
23
  with:
24
24
  node-version: ${{ matrix.node }}
25
- cache: 'pnpm'
25
+ cache: "pnpm"
26
26
  - run: pnpm install --frozen-lockfile
27
27
  - run: pnpm test
package/.oxfmtrc.json CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "$schema": "./node_modules/oxfmt/configuration_schema.json"
3
- }
2
+ "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
+ "ignorePatterns": ["README.md"]
4
+ }
package/built/index.d.ts CHANGED
@@ -358,7 +358,7 @@ declare namespace Payjp {
358
358
  email: string;
359
359
  id: string;
360
360
  merchant: Merchant;
361
- team_id: string;
361
+ team_id: string | null;
362
362
  }
363
363
  export interface Merchant {
364
364
  object: "merchant";
@@ -387,12 +387,12 @@ declare namespace Payjp {
387
387
  object: "tenant";
388
388
  platform_fee_rate: string;
389
389
  minimum_transfer_amount: number;
390
- bank_account_number: string;
391
- bank_branch_code: string;
392
- bank_code: string;
393
- bank_account_holder_name: string;
394
- bank_account_type: string;
395
- bank_account_status: string;
390
+ bank_account_number: string | null;
391
+ bank_branch_code: string | null;
392
+ bank_code: string | null;
393
+ bank_account_holder_name: string | null;
394
+ bank_account_type: string | null;
395
+ bank_account_status: string | null;
396
396
  currencies_supported: string[];
397
397
  default_currency: "jpy";
398
398
  payjp_fee_included: boolean;
@@ -402,7 +402,7 @@ declare namespace Payjp {
402
402
  object: "statement";
403
403
  livemode: boolean;
404
404
  id: string;
405
- title: string;
405
+ title: string | null;
406
406
  type: "sales" | "service_fee" | "transfer_fee" | "forfeit" | "misc";
407
407
  created: number;
408
408
  updated: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payjp",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "PAY.JP node.js bindings",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^22.19.1",
24
- "mocha": "^6.0.2",
25
- "oxfmt": "^0.16.0",
26
- "oxlint": "^1.31.0",
24
+ "mocha": "^11.7.5",
25
+ "oxfmt": "^0.42.0",
26
+ "oxlint": "^1.57.0",
27
27
  "typescript": "^5.7.2"
28
28
  },
29
29
  "scripts": {