Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -u 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
Expand Down
4 changes: 4 additions & 0 deletions src/vault/model/options/insert/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class InsertOptions {
this.tokens = tokens;
}

setEnableTokens(tokens: Array<Record<string, unknown>>) {
this.tokens = tokens;
}

setHomogeneous(homogeneous: boolean) {
this.homogeneous = homogeneous;
}
Expand Down
Loading