Skip to content

Commit a22a7c2

Browse files
skyflow-shravanamith-skyflowsaileshwar-skyflow“amith-skyflow”skyflow-vivek
authored
SK-2341 update main branch with SDK v2 (#254)
* SK-1621: node sdk v2 (#181) * SK-1863: Added section for migration from v1 to v2 in readme (#183) * SK-1895 update readme for node sdk v2 (#186) * SK-1895 update readme for sdk v2 * SK-1895 update readme for sdk v2 * SK-1895 update readme with sdk v2 changes * SK-1895 update README with logging steps * SK-1895 add response type for each response * SK-1895 add response type for each response * SK-1904 add errorFromClient in error details (#190) * SK-2003: update readme (#196) Co-authored-by: “amith-skyflow” <“amit@skyflow.com”> * SK-1927 Update dependencies to latest stable versions * SK-1757: Detect Support in Node SDK. (#212) * SK-2048: Implement public interfaces for detect * SK-2069 insert continue on error sample (#213) * SK-2115 rebase beta release branch with main (#226) * SK-2028: Beta Release for Node SDK v2 with Fern generated code. (#205) * SK-1912: added fern generated code (#194) * [AUTOMATED] Release - 2.0.0-beta.4 * SK-2048: Beta Release for Node SDK v2 with Detect public interfaces (#209) * SK-2048: Implement public interface for detect * [AUTOMATED] Release - 2.0.0-beta.5 * SK-2048: readme and samples for detect interfaces (#210) * SK-2048: Fix detect test cases. (#211) * SK-2048: fix detect tests * SK-2115 fix type gaps node sdk v2 (#224) * SK-2056: add unions for credentials (#214) * [AUTOMATED] Private Release 2.0.0-beta.5-dev.81324cb * SK-2116: update masking method enum to support blackbox masking method (#216) * SK-2116: update masking method enum to support blackbox masking method * SK-2116: fix the unit test * [AUTOMATED] Private Release 2.0.0-beta.5-dev.df7424a * [DUMMY] commit to trigger the ci * [AUTOMATED] Private Release 2.0.0-beta.5-dev.ec4c6c2 * SK-2056: Update common-release.yml * [AUTOMATED] Private Release 2.0.0-beta.5-dev.7a24394 * SK-2119: remove console logs * [AUTOMATED] Private Release 2.0.0-beta.5-dev.b239cb3 * SK-2119: fix type gaps for error handling (#219) * [AUTOMATED] Private Release 2.0.0-beta.5-dev.28bbc38 * SK-2119: fix type gaps for error handling in service account * [AUTOMATED] Private Release 2.0.0-beta.5-dev.5be9b35 * SK-2119: fix http status * [AUTOMATED] Private Release 2.0.0-beta.5-dev.bc09a47 * SK-2119: remove any in service account * [AUTOMATED] Private Release 2.0.0-beta.5-dev.5c28afe * SK-2115 fix type gaps (#222) * [AUTOMATED] Private Release 2.0.0-beta.5-dev.eae86a8 * SK-2119: fix handle error text * [AUTOMATED] Private Release 2.0.0-beta.5-dev.f902f67 * SK-2115 add null checks for deidentify text response * SK-2115 make index range optional * [AUTOMATED] Private Release 2.0.0-beta.5-dev.4a8abd5 * SK-2115 add registry url to common release yml * [AUTOMATED] Private Release 2.0.0-beta.5-dev.ac34566 --------- Co-authored-by: saileshwar-skyflow <156889717+saileshwar-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar-skyflow@users.noreply.github.com> Co-authored-by: raushan-skyflow <raushan.gupta@skyflow.com> Co-authored-by: raushan-skyflow <raushan-skyflow@users.noreply.github.com> Co-authored-by: amith-skyflow <168510106+amith-skyflow@users.noreply.github.com> Co-authored-by: amith-skyflow <amith-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar.bogam@skyflow.com> Co-authored-by: skyflow-shravan <skyflow-shravan@users.noreply.github.com> * [AUTOMATED] Release - 2.1.0-beta.1 * SK-2115 update version in package lock --------- Co-authored-by: saileshwar-skyflow <156889717+saileshwar-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar-skyflow@users.noreply.github.com> Co-authored-by: raushan-skyflow <raushan.gupta@skyflow.com> Co-authored-by: raushan-skyflow <raushan-skyflow@users.noreply.github.com> Co-authored-by: amith-skyflow <168510106+amith-skyflow@users.noreply.github.com> Co-authored-by: amith-skyflow <amith-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar.bogam@skyflow.com> Co-authored-by: skyflow-shravan <skyflow-shravan@users.noreply.github.com> * SK-2101 readme changes after fixing type gaps (#227) * SK-2101 readme changes after fixing type gaps * SK-2101 update samples with proper types * SK-2101 update samples with proper types * SK-2101 fix content type key in invoke connection (#228) * SK-2101 update credentials key in samples (#229) * SK-2134 include file path and file object in request response (#230) * Revert "SK-2134 include file path and file object in request response (#230)" (#231) This reverts commit d9d8409. * SK-2134 include file path and file object in request response * SK-2134 include file path and file object in request response (#232) * [AUTOMATED] Private Release 2.1.0-beta.1-dev.981921e * SK-2134 include file path and file object in request response * [AUTOMATED] Private Release 2.1.0-beta.1-dev.84fb37c * SK-2134 throw error when both file and filepath are provided (#234) * [AUTOMATED] Private Release 2.1.0-beta.1-dev.58e3761 * SK-2134 change error message and file input type * SK-2134 change error message and file input type * [AUTOMATED] Private Release 2.1.0-beta.1-dev.956e5c7 --------- Co-authored-by: skyflow-shravan <skyflow-shravan@users.noreply.github.com> * SK-2137 samples and README for deidentify file changes (#236) * SK-1729: Public Release V2 (#247) * SK-1729: v2 public release * [AUTOMATED] Release - 2.0.0 * SK-1729: v2 public release (#248) * [AUTOMATED] Release - 2.0.0 * SK-2341 update release workflow * SK-2341 remove code smells * SK-2341 rename api key constants * SK-2341 update README and samples --------- Co-authored-by: amith-skyflow <168510106+amith-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <156889717+saileshwar-skyflow@users.noreply.github.com> Co-authored-by: “amith-skyflow” <“amit@skyflow.com”> Co-authored-by: skyflow-vivek <vivek.jain@skyflow.com> Co-authored-by: skyflow-vivek <121149418+skyflow-vivek@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar-skyflow@users.noreply.github.com> Co-authored-by: raushan-skyflow <raushan.gupta@skyflow.com> Co-authored-by: raushan-skyflow <raushan-skyflow@users.noreply.github.com> Co-authored-by: amith-skyflow <amith-skyflow@users.noreply.github.com> Co-authored-by: saileshwar-skyflow <saileshwar.bogam@skyflow.com> Co-authored-by: skyflow-shravan <skyflow-shravan@users.noreply.github.com>
1 parent c446f8f commit a22a7c2

372 files changed

Lines changed: 34798 additions & 15796 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/beta-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ jobs:
1212
build-and-deploy:
1313
uses: ./.github/workflows/common-release.yml
1414
with:
15-
registry-url: 'https://registry.npmjs.org'
1615
tag: beta
1716
secrets: inherit

.github/workflows/common-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14.17.6
17+
node-version: '20.x'
1818

1919
- name: Install Packages
2020
run: npm install

.github/workflows/common-release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Common Release Workflow
33
on:
44
workflow_call:
55
inputs:
6-
registry-url:
7-
required: true
8-
type: string
96
tag:
107
required: false
118
type: string
@@ -21,8 +18,8 @@ jobs:
2118
fetch-depth: 0
2219
- uses: actions/setup-node@v1
2320
with:
24-
node-version: 14.17.6
25-
registry-url: ${{ inputs.registry-url }}
21+
node-version: '20.x'
22+
registry-url: "https://registry.npmjs.org"
2623

2724
- name: Install Packages
2825
run: npm install
@@ -86,7 +83,7 @@ jobs:
8683
elif [[ "${{ inputs.tag }}" == "internal" ]]; then
8784
curl -u ${{ secrets.JFROG_USERNAME }}:${{ secrets.JFROG_PASSWORD }} https://prekarilabs.jfrog.io/prekarilabs/api/npm/auth/ > ~/.npmrc
8885
npm config set registry https://prekarilabs.jfrog.io/prekarilabs/api/npm/npm/
89-
npm config set unsafe-perm true
86+
npm config fix
9087
npm publish
9188
fi
9289
env:

.github/workflows/internal-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ jobs:
1515
call-common-workflow:
1616
uses: ./.github/workflows/common-release.yml
1717
with:
18-
registry-url: 'https://prekarilabs.jfrog.io/prekarilabs/api/npm/npm/'
1918
tag: internal
2019
secrets: inherit

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Public Release
22

33
on:
44
push:
5-
tags: '*.*.\d+'
5+
tags: '[0-9]+.[0-9]+.[0-9]+'
66
paths-ignore:
77
- "package.json"
88
- "package-lock.json"
@@ -12,6 +12,5 @@ jobs:
1212
call-common-workflow:
1313
uses: ./.github/workflows/common-release.yml
1414
with:
15-
registry-url: 'https://registry.npmjs.org'
1615
tag: public
1716
secrets: inherit

.npmignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
node_modules
22
src
3-
test
3+
test
4+
coverage
5+
samples
6+
scripts
7+
.github
8+
babel.config.js
9+
.babelrc
10+
CHANGELOG.md
11+
codecov.yml
12+
jest.config.js
13+
LICENSE
14+
README.md
15+
SECURITY.md
16+
typedoc.json

0 commit comments

Comments
 (0)