This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +34
-3
lines changed
Expand file tree Collapse file tree 6 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ tags : ['[0-9]+.[0-9]+*']
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v3
13+ with :
14+ persist-credentials : false
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v3
17+ with :
18+ node-version : ' 8.x'
19+ # sets up .npmrc file to publish to npm
20+ registry-url : ' https://registry.npmjs.org'
21+ cache : ' npm'
22+ - name : Build
23+ run : npm ci && npm run build
24+ - name : Publish
25+ run : npm publish
26+ env :
27+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " connect-sdk-nodejs" ,
3- "version" : " 4.18 .0" ,
3+ "version" : " 4.19 .0" ,
44 "description" : " SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API" ,
55 "homepage" : " https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme" ,
66 "bugs" : {
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export interface FindProductgroupsParams extends PaymentContext {
3535 locale ?: string ;
3636 amount ?: number ;
3737 isRecurring ?: boolean ;
38+ isInstallments ?: boolean ;
3839 hide ?: string [ ] ;
3940}
4041
@@ -44,5 +45,6 @@ export interface GetProductgroupParams extends PaymentContext {
4445 locale ?: string ;
4546 amount ?: number ;
4647 isRecurring ?: boolean ;
48+ isInstallments ?: boolean ;
4749 hide ?: string [ ] ;
4850}
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ export interface FindProductsParams extends PaymentContext {
6363 locale ?: string ;
6464 amount ?: number ;
6565 isRecurring ?: boolean ;
66+ isInstallments ?: boolean ;
6667 hide ?: string [ ] ;
6768}
6869
@@ -72,6 +73,7 @@ export interface GetProductParams extends PaymentContext {
7273 locale ?: string ;
7374 amount ?: number ;
7475 isRecurring ?: boolean ;
76+ isInstallments ?: boolean ;
7577 hide ?: string [ ] ;
7678 forceBasicFlow ?: boolean ;
7779}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ interface ServerMetaInfo {
1818export function serverMetaInfo ( sdkContext : SdkContext ) : Header {
1919 const info : ServerMetaInfo = {
2020 sdkCreator : "Ingenico" ,
21- sdkIdentifier : "NodejsServerSDK/v4.18 .0" ,
21+ sdkIdentifier : "NodejsServerSDK/v4.19 .0" ,
2222 platformIdentifier : process . env [ "OS" ] + " Node.js/" + process . versions . node
2323 } ;
2424 if ( sdkContext . getIntegrator ( ) !== null ) {
You can’t perform that action at this time.
0 commit comments