From 17ef61013cf244888ea7d3c0a354f4acb7718145 Mon Sep 17 00:00:00 2001 From: saileshwar-skyflow Date: Wed, 6 May 2026 11:17:20 +0530 Subject: [PATCH 1/3] SK-2778: test node contract testing --- src/vault/model/options/insert/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vault/model/options/insert/index.ts b/src/vault/model/options/insert/index.ts index 9d0dfdcd..c2155f9a 100644 --- a/src/vault/model/options/insert/index.ts +++ b/src/vault/model/options/insert/index.ts @@ -26,6 +26,10 @@ class InsertOptions { this.tokens = tokens; } + setEnableTokens(tokens: Array>) { + this.tokens = tokens; + } + setHomogeneous(homogeneous: boolean) { this.homogeneous = homogeneous; } From d9957cdf556ace4924b9e8c0f33efc2e8e287e7e Mon Sep 17 00:00:00 2001 From: saileshwar-skyflow Date: Wed, 6 May 2026 11:21:46 +0530 Subject: [PATCH 2/3] SK-2778: test node contract testing --- .github/workflows/contract-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 195d4008..7b027527 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -27,6 +27,15 @@ jobs: - name: Verify API surface snapshot run: npm run contract-snapshot-verify + - name: Show API surface diff + if: failure() + run: | + echo "### API surface changes detected ###" + echo "Lines prefixed with '-' were REMOVED from the public API." + echo "Lines prefixed with '+' were ADDED to the public API." + echo "" + diff api-report/skyflow-node.api.md temp/skyflow-node.api.md || true + - name: Upload API surface diff on failure if: failure() uses: actions/upload-artifact@v4 From 2ff3f283250ca5338f37ca1b835932516d5c3f1e Mon Sep 17 00:00:00 2001 From: saileshwar-skyflow Date: Wed, 6 May 2026 11:25:56 +0530 Subject: [PATCH 3/3] SK-2778: test node contract testing --- .github/workflows/contract-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 7b027527..69e30f86 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -34,7 +34,7 @@ jobs: echo "Lines prefixed with '-' were REMOVED from the public API." echo "Lines prefixed with '+' were ADDED to the public API." echo "" - diff api-report/skyflow-node.api.md temp/skyflow-node.api.md || true + diff -u api-report/skyflow-node.api.md temp/skyflow-node.api.md || true - name: Upload API surface diff on failure if: failure()