payjp 3.1.0 → 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
@@ -269,6 +269,7 @@ declare namespace Payjp {
269
269
  three_d_secure_status: ThreeDSecureStatus;
270
270
  email: string | null;
271
271
  phone: string | null;
272
+ is_jp: boolean;
272
273
  }
273
274
  export interface Plan {
274
275
  object: "plan";
@@ -357,7 +358,7 @@ declare namespace Payjp {
357
358
  email: string;
358
359
  id: string;
359
360
  merchant: Merchant;
360
- team_id: string;
361
+ team_id: string | null;
361
362
  }
362
363
  export interface Merchant {
363
364
  object: "merchant";
@@ -386,12 +387,12 @@ declare namespace Payjp {
386
387
  object: "tenant";
387
388
  platform_fee_rate: string;
388
389
  minimum_transfer_amount: number;
389
- bank_account_number: string;
390
- bank_branch_code: string;
391
- bank_code: string;
392
- bank_account_holder_name: string;
393
- bank_account_type: string;
394
- 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;
395
396
  currencies_supported: string[];
396
397
  default_currency: "jpy";
397
398
  payjp_fee_included: boolean;
@@ -401,7 +402,7 @@ declare namespace Payjp {
401
402
  object: "statement";
402
403
  livemode: boolean;
403
404
  id: string;
404
- title: string;
405
+ title: string | null;
405
406
  type: "sales" | "service_fee" | "transfer_fee" | "forfeit" | "misc";
406
407
  created: number;
407
408
  updated: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payjp",
3
- "version": "3.1.0",
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": {