Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 4.19.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Feb 14, 2024
1 parent b75c3ce commit e00e5f5
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
push:
tags: ['[0-9]+.[0-9]+*']

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '8.x'
# sets up .npmrc file to publish to npm
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Build
run: npm ci && npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-sdk-nodejs",
"version": "4.18.0",
"version": "4.19.0",
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
"homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
"bugs": {
Expand Down
2 changes: 2 additions & 0 deletions src/model/productgroups/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface FindProductgroupsParams extends PaymentContext {
locale?: string;
amount?: number;
isRecurring?: boolean;
isInstallments?: boolean;
hide?: string[];
}

Expand All @@ -44,5 +45,6 @@ export interface GetProductgroupParams extends PaymentContext {
locale?: string;
amount?: number;
isRecurring?: boolean;
isInstallments?: boolean;
hide?: string[];
}
2 changes: 2 additions & 0 deletions src/model/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export interface FindProductsParams extends PaymentContext {
locale?: string;
amount?: number;
isRecurring?: boolean;
isInstallments?: boolean;
hide?: string[];
}

Expand All @@ -72,6 +73,7 @@ export interface GetProductParams extends PaymentContext {
locale?: string;
amount?: number;
isRecurring?: boolean;
isInstallments?: boolean;
hide?: string[];
forceBasicFlow?: boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface ServerMetaInfo {
export function serverMetaInfo(sdkContext: SdkContext): Header {
const info: ServerMetaInfo = {
sdkCreator: "Ingenico",
sdkIdentifier: "NodejsServerSDK/v4.18.0",
sdkIdentifier: "NodejsServerSDK/v4.19.0",
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
};
if (sdkContext.getIntegrator() !== null) {
Expand Down

0 comments on commit e00e5f5

Please sign in to comment.