Skip to content

Releases: paypay/paypayopa-sdk-node

2.1.0

15 Jun 06:15
374eed4
Compare
Choose a tag to compare

What's Changed

This version includes a new way to configure the PayPay SDK's target environment. The previous method of specifying prodMode and perfMode is still supported.

Full Changelog: 2.0.1...2.1.0

Features

  • Support custom config and simplify environment selection in #504

Dependency Upgrades

Continuous Integration & Testing

  • CI: Remove coveralls dev-dependency in #457

2.0.1

24 Mar 01:43
a4bfd86
Compare
Choose a tag to compare

What's Changed

Dependency Upgrades

Full Changelog: 2.0.0...2.0.1

2.0.0

02 Mar 00:47
9434705
Compare
Choose a tag to compare

This version includes breaking changes, so it has been released as a major upgrade.

Full Changelog: 1.1.0...2.0.0

Features

Support for Promise and await

Starting in version version 1.1.0, SDK methods like PAYPAY.QRCodeCreate return a Promise.

Methods continue to accept an optional callback parameter.

The JavaScript Promise type enables simpler asynchronous code, particularly when using ECMAScript 2017's await keyword.

Breaking Changes

  • Parse JSON responses into object in SDK in #375

SDK methods like PAYPAY.QRCodeCreate now return an object, rather than a raw JSON string, making the API easier to use.

This is a breaking change and is reflected in the new TypeScript type signature.

This means that it is no longer necessary to invoke JSON.parse on the results of API calls.

In order to reduce friction, these API response objects have a custom toString().
This ensures that code that calls JSON.parse on an API response will still continue to function. However, other uses of the respones as a string will not.

Dependency Upgrades

  • Bump jest from 27.4.3 to 27.4.4 in #370
  • Bump typescript from 4.5.3 to 4.5.4 in #373
  • Bump jest from 27.4.4 to 27.4.7 in #398
  • Bump ts-jest from 27.1.1 to 27.1.2 in #378
  • Bump @typescript-eslint/parser from 5.6.0 to 5.9.1 in #401
  • Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.9.1 in #400
  • Bump @types/uuid from 8.3.3 to 8.3.4 in #399
  • Bump @types/node from 16.11.12 to 17.0.8 in #396
  • Bump @types/crypto-js from 4.0.2 to 4.1.0 in #389
  • Bump eslint from 8.4.1 to 8.6.0 in #391
  • Bump @types/jest from 27.0.3 to 27.4.0 in #390
  • Bump @types/jsonwebtoken from 8.5.6 to 8.5.7 in #403
  • Bump eslint from 8.6.0 to 8.7.0 in #405
  • Bump ts-jest from 27.1.2 to 27.1.3 in #404
  • Bump @types/node from 17.0.8 to 17.0.10 in #410
  • Bump typescript from 4.5.4 to 4.5.5 in #411
  • Bump @types/node from 17.0.10 to 17.0.14 in #420
  • Bump @typescript-eslint/parser from 5.9.1 to 5.10.2 in #419
  • Bump @types/jsonwebtoken from 8.5.7 to 8.5.8 in #408
  • Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.2 in #418
  • Bump jest from 27.4.7 to 27.5.1 in #426
  • Bump @types/crypto-js from 4.1.0 to 4.1.1 in #431
  • Bump eslint from 8.7.0 to 8.9.0 in #428
  • Bump eslint-config-prettier from 8.3.0 to 8.4.0 in #433
  • Bump @typescript-eslint/parser from 5.10.2 to 5.12.1 in #435
  • Bump @typescript-eslint/eslint-plugin from 5.10.2 to 5.12.1 in #434
  • Bump @types/jest from 27.4.0 to 27.4.1 in #437
  • Bump eslint from 8.9.0 to 8.10.0 in #439
  • Bump @types/node from 17.0.14 to 17.0.21 in #438
  • Bump @typescript-eslint/eslint-plugin from 5.12.1 to 5.13.0 in #440
  • Bump typescript from 4.5.5 to 4.6.2 in #441
  • Bump @typescript-eslint/parser from 5.12.1 to 5.13.0 in #442

Continuous Integration & Testing

  • Use single build-ci.yml in #402

1.1.0

10 Dec 00:48
11071e4
Compare
Choose a tag to compare

Features / 新商品のご紹介 :
-- API calls now return promises, making callbacks optional.
-- TypeScript typings of some members have been corrected
-- The agreeSimilarTransaction parameter has been added to the CreatePayment and PaymentPreauthorize APIs

Security Updates / セキュリティアップデート:
-- Dependency updates

1.0.4

21 May 10:14
114bcdd
Compare
Choose a tag to compare
Merge pull request #237 from paypay/dependabot/npm_and_yarn/hosted-gi…

1.0.3

27 Apr 06:35
e0cb7ad
Compare
Choose a tag to compare

Features / 新商品のご紹介 :
-- Refactor host name configurations and remove duplicates

Security Updates / セキュリティアップデート:
-- Dev Dependency updates

1.0.2

19 Apr 06:35
5daea31
Compare
Choose a tag to compare

Features / 新商品のご紹介 :
-- Added Cashback APIs
-- Added PerfMode Implementation

Security Updates / セキュリティアップデート:
-- Dev Dependency updates

1.0.1

24 Mar 05:39
3b914ce
Compare
Choose a tag to compare

Features / 新商品のご紹介 :
-- Enable instance creation of PayPayRestSDK

Security Updates / セキュリティアップデート:
-- Dev Dependency updates

1.0.0

24 Jan 00:57
ec36912
Compare
Choose a tag to compare

Features / 新商品のご紹介 :
-- Update endpoint for refunds for pending payment

Security Updates / セキュリティアップデート:
-- Dev Dependency updates

0.9.1

28 Dec 13:01
01b6486
Compare
Choose a tag to compare

Features / 新商品のご紹介:
-- Added "create payment" method
-- Guthub CI implemented