Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit e949535

Browse files
BarisSozenclaude
andcommitted
fix: use /api/graphql endpoint to bypass CSRF, publish v0.1.2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5aecf38 commit e949535

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashlock-tech/sdk",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "TypeScript SDK for HashLock OTC — HTLC atomic settlement, RFQ trading, and Bitcoin cross-chain swaps",
55
"license": "MIT",
66
"type": "module",

src/hashlock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import type {
2525
} from './types.js';
2626

2727
/** Mainnet endpoint */
28-
export const MAINNET_ENDPOINT = 'http://142.93.106.129/graphql';
28+
export const MAINNET_ENDPOINT = 'http://142.93.106.129/api/graphql';
2929

3030
/**
3131
* HashLock SDK — TypeScript client for HashLock OTC trading platform.

0 commit comments

Comments
 (0)