@gala-chain/launchpad-sdk 5.0.4-beta.62 → 5.0.4-beta.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LaunchpadSDK.d.ts +137 -8
- package/dist/LaunchpadSDK.d.ts.map +1 -1
- package/dist/ai-docs.json +474 -320
- package/dist/config/environments.d.ts +2 -0
- package/dist/config/environments.d.ts.map +1 -1
- package/dist/constants/endpoints.d.ts +44 -0
- package/dist/constants/endpoints.d.ts.map +1 -1
- package/dist/constants/version.generated.d.ts +1 -1
- package/dist/index.browser.d.ts +3 -1
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.browser.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/native.cjs +1 -0
- package/dist/native.d.ts +22 -0
- package/dist/native.d.ts.map +1 -0
- package/dist/native.esm.js +1 -0
- package/dist/react.cjs +1 -1
- package/dist/react.esm.js +1 -1
- package/dist/services/ClientConfigService.d.ts +61 -0
- package/dist/services/ClientConfigService.d.ts.map +1 -0
- package/dist/services/DexBackendTradeClient.d.ts +34 -0
- package/dist/services/DexBackendTradeClient.d.ts.map +1 -0
- package/dist/services/DexQuoteService.d.ts +19 -19
- package/dist/services/DexQuoteService.d.ts.map +1 -1
- package/dist/services/GSwapLiquidityMutationService.d.ts +2 -2
- package/dist/services/GSwapLiquidityMutationService.d.ts.map +1 -1
- package/dist/services/GSwapLiquidityQueryService.d.ts +2 -2
- package/dist/services/GSwapLiquidityQueryService.d.ts.map +1 -1
- package/dist/services/GSwapPoolQueryService.d.ts +5 -6
- package/dist/services/GSwapPoolQueryService.d.ts.map +1 -1
- package/dist/services/GSwapService.d.ts +6 -6
- package/dist/services/GSwapService.d.ts.map +1 -1
- package/dist/services/GSwapSwapService.d.ts +0 -2
- package/dist/services/GSwapSwapService.d.ts.map +1 -1
- package/dist/services/GdexStreamService.d.ts +133 -0
- package/dist/services/GdexStreamService.d.ts.map +1 -0
- package/dist/services/IntervalRegistry.d.ts +79 -0
- package/dist/services/IntervalRegistry.d.ts.map +1 -0
- package/dist/services/MultiPoolStateManager.d.ts.map +1 -1
- package/dist/services/NotificationService.d.ts +113 -0
- package/dist/services/NotificationService.d.ts.map +1 -0
- package/dist/src/LaunchpadSDK.d.ts +137 -8
- package/dist/src/LaunchpadSDK.d.ts.map +1 -1
- package/dist/src/config/environments.d.ts +2 -0
- package/dist/src/config/environments.d.ts.map +1 -1
- package/dist/src/constants/endpoints.d.ts +44 -0
- package/dist/src/constants/endpoints.d.ts.map +1 -1
- package/dist/src/constants/version.generated.d.ts +1 -1
- package/dist/src/index.browser.d.ts +3 -1
- package/dist/src/index.browser.d.ts.map +1 -1
- package/dist/src/native.d.ts +22 -0
- package/dist/src/native.d.ts.map +1 -0
- package/dist/src/services/ClientConfigService.d.ts +61 -0
- package/dist/src/services/ClientConfigService.d.ts.map +1 -0
- package/dist/src/services/DexBackendTradeClient.d.ts +34 -0
- package/dist/src/services/DexBackendTradeClient.d.ts.map +1 -0
- package/dist/src/services/DexQuoteService.d.ts +19 -19
- package/dist/src/services/DexQuoteService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityMutationService.d.ts +2 -2
- package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityQueryService.d.ts +2 -2
- package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapPoolQueryService.d.ts +5 -6
- package/dist/src/services/GSwapPoolQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapService.d.ts +6 -6
- package/dist/src/services/GSwapService.d.ts.map +1 -1
- package/dist/src/services/GSwapSwapService.d.ts +0 -2
- package/dist/src/services/GSwapSwapService.d.ts.map +1 -1
- package/dist/src/services/GdexStreamService.d.ts +133 -0
- package/dist/src/services/GdexStreamService.d.ts.map +1 -0
- package/dist/src/services/IntervalRegistry.d.ts +79 -0
- package/dist/src/services/IntervalRegistry.d.ts.map +1 -0
- package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -1
- package/dist/src/services/NotificationService.d.ts +113 -0
- package/dist/src/services/NotificationService.d.ts.map +1 -0
- package/dist/src/types/client-config.dto.d.ts +43 -0
- package/dist/src/types/client-config.dto.d.ts.map +1 -0
- package/dist/src/types/common.d.ts +2 -0
- package/dist/src/types/common.d.ts.map +1 -1
- package/dist/src/types/composite-pool.dto.d.ts +0 -2
- package/dist/src/types/composite-pool.dto.d.ts.map +1 -1
- package/dist/src/types/notification.dto.d.ts +92 -0
- package/dist/src/types/notification.dto.d.ts.map +1 -0
- package/dist/src/utils/error-utils.d.ts +5 -0
- package/dist/src/utils/error-utils.d.ts.map +1 -1
- package/dist/src/utils/errors.d.ts +4 -0
- package/dist/src/utils/errors.d.ts.map +1 -1
- package/dist/src/utils/http.d.ts.map +1 -1
- package/dist/types/client-config.dto.d.ts +43 -0
- package/dist/types/client-config.dto.d.ts.map +1 -0
- package/dist/types/common.d.ts +2 -0
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/composite-pool.dto.d.ts +0 -2
- package/dist/types/composite-pool.dto.d.ts.map +1 -1
- package/dist/types/notification.dto.d.ts +92 -0
- package/dist/types/notification.dto.d.ts.map +1 -0
- package/dist/utils/error-utils.d.ts +5 -0
- package/dist/utils/error-utils.d.ts.map +1 -1
- package/dist/utils/errors.d.ts +4 -0
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +50 -11
- package/dist/services/GalaChainGatewayClient.d.ts +0 -227
- package/dist/services/GalaChainGatewayClient.d.ts.map +0 -1
- package/dist/src/services/GalaChainGatewayClient.d.ts +0 -227
- package/dist/src/services/GalaChainGatewayClient.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-utils.d.ts","sourceRoot":"","sources":["../../src/utils/error-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqHG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EAAE,EAChB,EAAE,EAAE,MAAM,IAAI,EACd,WAAW,CAAC,EAAE,MAAM,GACnB,IAAI,CAYN"}
|
package/dist/utils/errors.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export declare class ValidationError extends Error {
|
|
|
117
117
|
*/
|
|
118
118
|
constructor(message: string, field?: string | undefined, code?: string | undefined);
|
|
119
119
|
}
|
|
120
|
+
/** Error thrown when a trade read includes a blacklisted or ungraduated token. */
|
|
121
|
+
export declare class TokenRestrictedError extends ValidationError {
|
|
122
|
+
constructor(message: string);
|
|
123
|
+
}
|
|
120
124
|
/**
|
|
121
125
|
* Error thrown when network operations fail
|
|
122
126
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW;IACtB,2CAA2C;;IAE3C,+DAA+D;;IAE/D,qDAAqD;;IAErD,mDAAmD;;IAEnD,oCAAoC;;IAEpC,mCAAmC;;IAEnC,oCAAoC;;IAEpC,qCAAqC;;IAErC,0CAA0C;;IAE1C,mCAAmC;;IAEnC,2CAA2C;;IAE3C,uDAAuD;;IAEvD,+CAA+C;;IAE/C,0CAA0C;;IAE1C,0CAA0C;;IAE1C,gDAAgD;;IAEhD,+CAA+C;;CAEvC,CAAC;AAEX;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,eA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dist/utils/http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/utils/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AASjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAiB,aAAa,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAmEpE;;;;;;;;GAQG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA4B;IACjD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAU;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,oBAAoB,CAAqB;IACjD,OAAO,CAAC,qBAAqB,CAAqB;gBAEtC,IAAI,EAAE,aAAa,GAAG,SAAS,EAAE,MAAM,GAAE,SAAc;IAqBnE;;;;;OAKG;IAEG,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/utils/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AASjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAiB,aAAa,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAmEpE;;;;;;;;GAQG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,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AAC,CAAC,GAAG,GAAG,EACjB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,CAAC,CAAC;IASb;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;OAEG;IACG,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKnD;;OAEG;IACG,aAAa,CACjB,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,MAAM,CAAC;IAIlB;;;;;;OAMG;IACG,iBAAiB,CACrB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,CAAC;IAsB3E;;;OAGG;IACG,iBAAiB,CAAC,CAAC,SAAS,MAAM,EACtC,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,CAAC,EACN,WAAW,GAAE,WAAyC,GACrD,OAAO,CACR,CAAC,GAAG;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,YAAY,CAAA;KAAE,CACrF;IAqBD;;OAEG;IACH,OAAO,CAAC,iBAAiB;IA+FzB;;;OAGG;IACH,OAAO,IAAI,IAAI;CAahB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@gala-chain/launchpad-sdk",
|
|
4
|
-
"version": "5.0.4-beta.
|
|
4
|
+
"version": "5.0.4-beta.64",
|
|
5
5
|
"description": "TypeScript SDK for Gala Launchpad Backend API - 273 public methods supporting optional wallet (read-only and full-access modes). Production-ready DeFi token launchpad integration with AgentConfig setup, GalaChain trading, GSwap DEX integration, price history, token creation, DEX pool discovery, WebSocket event watchers, streaming, chat, bans, moderator invites, and comprehensive user operations. Multi-format output (ESM, CJS, UMD).",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -33,6 +33,14 @@
|
|
|
33
33
|
"require": "./dist/index.cjs",
|
|
34
34
|
"default": "./dist/index.esm.js"
|
|
35
35
|
},
|
|
36
|
+
"./native": {
|
|
37
|
+
"types": "./dist/src/native.d.ts",
|
|
38
|
+
"node": "./dist/native.esm.js",
|
|
39
|
+
"react-native": "./dist/native.esm.js",
|
|
40
|
+
"import": "./dist/native.esm.js",
|
|
41
|
+
"require": "./dist/native.cjs",
|
|
42
|
+
"default": "./dist/native.esm.js"
|
|
43
|
+
},
|
|
36
44
|
"./wallet": {
|
|
37
45
|
"types": "./dist/src/wallet/index.d.ts",
|
|
38
46
|
"import": "./dist/wallet.esm.js",
|
|
@@ -313,11 +321,8 @@
|
|
|
313
321
|
"docs:extract:markdown": "api-documenter markdown -i temp -o docs/api-markdown",
|
|
314
322
|
"docs:typedoc": "typedoc --options typedoc-html.json",
|
|
315
323
|
"docs:typedoc:markdown": "typedoc --plugin typedoc-plugin-markdown --out docs/markdown",
|
|
316
|
-
"docs:ai": "tsx scripts/generate-ai-docs.ts",
|
|
317
|
-
"docs:agent": "tsx scripts/generate-agent-spec.ts",
|
|
318
324
|
"docs:validate": "tsx scripts/validate-examples.ts",
|
|
319
325
|
"docs:generate": "npm run docs:prebuild && npm run docs:extract && npm run docs:typedoc",
|
|
320
|
-
"docs:all": "npm run docs:clean && npm run docs:generate && npm run docs:extract:markdown && npm run docs:ai && npm run docs:agent",
|
|
321
326
|
"docs:serve": "http-server docs/api -p 8080",
|
|
322
327
|
"size": "size-limit",
|
|
323
328
|
"analyze": "rollup -c rollup.config.mjs --bundleAnalyzerReport"
|
|
@@ -421,16 +426,50 @@
|
|
|
421
426
|
},
|
|
422
427
|
"size-limit": [
|
|
423
428
|
{
|
|
424
|
-
"path": "./dist/index.js",
|
|
425
|
-
"limit": "
|
|
429
|
+
"path": "./dist/index.browser.esm.js",
|
|
430
|
+
"limit": "500 kB",
|
|
431
|
+
"ignore": [
|
|
432
|
+
"ethers",
|
|
433
|
+
"socket.io-client",
|
|
434
|
+
"bignumber.js",
|
|
435
|
+
"axios",
|
|
436
|
+
"uuid",
|
|
437
|
+
"zod",
|
|
438
|
+
"dotenv",
|
|
439
|
+
"events",
|
|
440
|
+
"@gala-chain/api",
|
|
441
|
+
"@gala-chain/connect",
|
|
442
|
+
"@gala-chain/dex"
|
|
443
|
+
]
|
|
426
444
|
},
|
|
427
445
|
{
|
|
428
446
|
"path": "./dist/index.esm.js",
|
|
429
|
-
"limit": "
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
447
|
+
"limit": "250 kB",
|
|
448
|
+
"ignore": [
|
|
449
|
+
"ethers",
|
|
450
|
+
"socket.io-client",
|
|
451
|
+
"bignumber.js",
|
|
452
|
+
"axios",
|
|
453
|
+
"uuid",
|
|
454
|
+
"zod",
|
|
455
|
+
"dotenv",
|
|
456
|
+
"events",
|
|
457
|
+
"@gala-chain/api",
|
|
458
|
+
"@gala-chain/connect",
|
|
459
|
+
"@gala-chain/dex",
|
|
460
|
+
"fs",
|
|
461
|
+
"path",
|
|
462
|
+
"crypto",
|
|
463
|
+
"os",
|
|
464
|
+
"util",
|
|
465
|
+
"stream",
|
|
466
|
+
"http",
|
|
467
|
+
"https",
|
|
468
|
+
"url",
|
|
469
|
+
"zlib",
|
|
470
|
+
"net",
|
|
471
|
+
"tls"
|
|
472
|
+
]
|
|
434
473
|
}
|
|
435
474
|
],
|
|
436
475
|
"devDependencies": {
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GalaChain Gateway Client
|
|
3
|
-
*
|
|
4
|
-
* Direct HTTP client for GalaChain Gateway DEX contract endpoints with full type safety.
|
|
5
|
-
* Provides low-level blockchain interactions for DEX v3 liquidity pools and positions.
|
|
6
|
-
*
|
|
7
|
-
* ## Key Features:
|
|
8
|
-
* - Zero `any` types - fully typed responses
|
|
9
|
-
* - Automatic response validation
|
|
10
|
-
* - Compound key and position ID lookup support
|
|
11
|
-
* - Comprehensive error handling
|
|
12
|
-
*
|
|
13
|
-
* ## Supported Operations:
|
|
14
|
-
* - Pool state queries (GetPoolData)
|
|
15
|
-
* - Position management (GetPositions)
|
|
16
|
-
* - Liquidity removal estimation (GetRemoveLiquidityEstimation)
|
|
17
|
-
*
|
|
18
|
-
* @category GalaChain
|
|
19
|
-
* @since 3.0.0
|
|
20
|
-
*/
|
|
21
|
-
import type { GalaChainGatewayResponse, GalaChainGetPoolDataRequest, GalaChainGetPositionsRequest, GalaChainGetPositionsResponse, GalaChainGetRemoveLiquidityEstimationRequest, GalaChainGetSlot0Request, GalaChainPoolData, GalaChainRemoveLiquidityEstimation, GalaChainSlot0Data } from '../types/galachain-api.types';
|
|
22
|
-
/**
|
|
23
|
-
* GalaChain Gateway Client configuration
|
|
24
|
-
*/
|
|
25
|
-
export interface GalaChainGatewayClientConfig {
|
|
26
|
-
baseUrl: string;
|
|
27
|
-
timeout?: number;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Direct HTTP client for GalaChain Gateway DEX contract endpoints
|
|
31
|
-
*/
|
|
32
|
-
export declare class GalaChainGatewayClient {
|
|
33
|
-
private client;
|
|
34
|
-
constructor(config: GalaChainGatewayClientConfig);
|
|
35
|
-
/**
|
|
36
|
-
* Fetch pool state data from GalaChain DEX v3 contract
|
|
37
|
-
*
|
|
38
|
-
* Retrieves complete pool state including liquidity, price, tick data, and fee tier.
|
|
39
|
-
* Uses TokenClassKey objects for precise token identification - pipe-delimited strings
|
|
40
|
-
* are NOT supported (use parseToken() utility to convert if needed).
|
|
41
|
-
*
|
|
42
|
-
* **Critical**: tokens must be TokenClassKey objects, not strings. Backend requires
|
|
43
|
-
* structured token objects with collection/category/type/additionalKey fields.
|
|
44
|
-
*
|
|
45
|
-
* @param request Pool data request with token0, token1 (TokenClassKey objects), and fee tier
|
|
46
|
-
* @returns Promise<GalaChainPoolData> Complete pool state from blockchain
|
|
47
|
-
* @throws ApiError if tokens are strings instead of objects, or request fails
|
|
48
|
-
* @category GalaChain
|
|
49
|
-
* @since 3.0.0
|
|
50
|
-
*
|
|
51
|
-
* @example Fetch pool state for GALA/GUSDC
|
|
52
|
-
* ```typescript
|
|
53
|
-
* const poolData = await client.getPoolData({
|
|
54
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
55
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
56
|
-
* fee: 3000 // 0.3% fee tier
|
|
57
|
-
* });
|
|
58
|
-
* console.log('Current price:', poolData.sqrtPriceX96);
|
|
59
|
-
* console.log('Liquidity:', poolData.liquidity);
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
getPoolData(request: GalaChainGetPoolDataRequest): Promise<GalaChainPoolData>;
|
|
63
|
-
/**
|
|
64
|
-
* Fetch minimal pool state (Slot0) from GalaChain DEX v3 contract
|
|
65
|
-
*
|
|
66
|
-
* Retrieves the essential pool state data needed for pricing and liquidity calculations:
|
|
67
|
-
* - sqrtPrice: Current sqrt price (decimal string)
|
|
68
|
-
* - tick: Current tick number
|
|
69
|
-
* - liquidity: Current pool liquidity
|
|
70
|
-
* - grossPoolLiquidity: Optional gross pool liquidity value
|
|
71
|
-
*
|
|
72
|
-
* Lightweight alternative to getPoolData() when only slot0 data is needed.
|
|
73
|
-
*
|
|
74
|
-
* **Critical**: tokens must be TokenClassKey objects, not strings.
|
|
75
|
-
*
|
|
76
|
-
* @param request Slot0 request with token0, token1 (TokenClassKey objects), and fee tier
|
|
77
|
-
* @returns Promise<GalaChainSlot0Data> Minimal pool state data
|
|
78
|
-
* @throws ApiError if tokens are strings instead of objects, or request fails
|
|
79
|
-
* @category GalaChain
|
|
80
|
-
* @since 5.16.0
|
|
81
|
-
*
|
|
82
|
-
* @example Fetch Slot0 for GALA/GUSDC
|
|
83
|
-
* ```typescript
|
|
84
|
-
* const slot0 = await client.getSlot0({
|
|
85
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
86
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
87
|
-
* fee: 3000 // 0.3% fee tier
|
|
88
|
-
* });
|
|
89
|
-
* console.log('Current price:', slot0.sqrtPrice);
|
|
90
|
-
* console.log('Current tick:', slot0.tick);
|
|
91
|
-
* ```
|
|
92
|
-
*/
|
|
93
|
-
getSlot0(request: GalaChainGetSlot0Request): Promise<GalaChainSlot0Data>;
|
|
94
|
-
/**
|
|
95
|
-
* Query liquidity positions from GalaChain DEX v3 contract
|
|
96
|
-
*
|
|
97
|
-
* Flexible position query supporting multiple filter combinations:
|
|
98
|
-
* - All positions for an owner (owner only)
|
|
99
|
-
* - Positions for specific pool (owner + token0 + token1)
|
|
100
|
-
* - Specific position by compound key (owner + tokens + ticks)
|
|
101
|
-
* - Pagination support via bookmark field
|
|
102
|
-
*
|
|
103
|
-
* **Response Format**: Returns either single position object or `{ positions: [...], count: N }`
|
|
104
|
-
* wrapper depending on query type. SDK normalizes to consistent array format.
|
|
105
|
-
*
|
|
106
|
-
* @param request Position query with owner and optional filters (token0, token1, fee, ticks, bookmark)
|
|
107
|
-
* @returns Promise<GalaChainGetPositionsResponse> Array of matching positions with count
|
|
108
|
-
* @throws ApiError if request fails or response format invalid
|
|
109
|
-
* @category GalaChain
|
|
110
|
-
* @since 3.0.0
|
|
111
|
-
*
|
|
112
|
-
* @example Get all positions for a user
|
|
113
|
-
* ```typescript
|
|
114
|
-
* const positions = await client.getPositions({
|
|
115
|
-
* owner: 'client|user123'
|
|
116
|
-
* });
|
|
117
|
-
* console.log(`User has ${positions.count} positions`);
|
|
118
|
-
* ```
|
|
119
|
-
*
|
|
120
|
-
* @example Get positions for specific pool
|
|
121
|
-
* ```typescript
|
|
122
|
-
* const poolPositions = await client.getPositions({
|
|
123
|
-
* owner: 'client|user123',
|
|
124
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
125
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' }
|
|
126
|
-
* });
|
|
127
|
-
* ```
|
|
128
|
-
*/
|
|
129
|
-
getPositions(request: GalaChainGetPositionsRequest): Promise<GalaChainGetPositionsResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* Fetch specific liquidity position by compound key or position ID
|
|
132
|
-
*
|
|
133
|
-
* Supports two lookup strategies:
|
|
134
|
-
* 1. **Compound Key** (preferred): owner + token0 + token1 + fee + tickLower + tickUpper
|
|
135
|
-
* 2. **Position ID** (legacy fallback): just position ID string
|
|
136
|
-
*
|
|
137
|
-
* Compound key lookup is more reliable and matches the blockchain's native position
|
|
138
|
-
* identification scheme. Position ID lookup is provided for backward compatibility.
|
|
139
|
-
*
|
|
140
|
-
* **Response Format**: Returns position object directly (not wrapped in array).
|
|
141
|
-
*
|
|
142
|
-
* @param ownerOrPositionId Position owner address (compound key) or position ID (legacy)
|
|
143
|
-
* @param token0Optional Token0 symbol or TokenClassKey (required for compound key)
|
|
144
|
-
* @param token1Optional Token1 symbol or TokenClassKey (required for compound key)
|
|
145
|
-
* @param feeOptional Fee tier in basis points (required for compound key)
|
|
146
|
-
* @param tickLowerOptional Lower tick boundary (required for compound key)
|
|
147
|
-
* @param tickUpperOptional Upper tick boundary (required for compound key)
|
|
148
|
-
* @param positionIdOptional Optional position ID to include in request
|
|
149
|
-
* @returns Promise<GalaChainResponse<unknown>> Wrapped position data
|
|
150
|
-
* @throws ApiError if position not found (404) or request fails
|
|
151
|
-
* @category GalaChain
|
|
152
|
-
* @since 3.0.0
|
|
153
|
-
*
|
|
154
|
-
* @example Fetch position by compound key (preferred)
|
|
155
|
-
* ```typescript
|
|
156
|
-
* const position = await client.getPositionById(
|
|
157
|
-
* 'client|user123',
|
|
158
|
-
* { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
159
|
-
* { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
160
|
-
* 3000, // 0.3% fee
|
|
161
|
-
* -887220, // tickLower
|
|
162
|
-
* 887220, // tickUpper
|
|
163
|
-
* 'position123' // optional
|
|
164
|
-
* );
|
|
165
|
-
* console.log('Liquidity:', position.Data.liquidity);
|
|
166
|
-
* ```
|
|
167
|
-
*
|
|
168
|
-
* @example Fetch position by ID (legacy)
|
|
169
|
-
* ```typescript
|
|
170
|
-
* const position = await client.getPositionById('position123');
|
|
171
|
-
* ```
|
|
172
|
-
*/
|
|
173
|
-
getPositionById(ownerOrPositionId: string, token0Optional?: string | Record<string, unknown>, token1Optional?: string | Record<string, unknown>, feeOptional?: number, tickLowerOptional?: number, tickUpperOptional?: number, positionIdOptional?: string): Promise<GalaChainResponse<unknown>>;
|
|
174
|
-
/**
|
|
175
|
-
* Calculate estimated token amounts from liquidity removal
|
|
176
|
-
*
|
|
177
|
-
* Simulates removing liquidity from a position to preview the exact amounts of token0
|
|
178
|
-
* and token1 that will be received. Includes both principal liquidity and accumulated
|
|
179
|
-
* trading fees. Does not execute the removal - use for UI preview before transaction.
|
|
180
|
-
*
|
|
181
|
-
* **Use Cases**: Preview removal amounts, calculate impermanent loss, position exit planning
|
|
182
|
-
*
|
|
183
|
-
* @param request Removal estimation request with owner, tokens, fee, ticks, and liquidity amount
|
|
184
|
-
* @returns Promise<GalaChainRemoveLiquidityEstimation> Estimated token0 and token1 amounts
|
|
185
|
-
* @throws ApiError if request fails or position parameters invalid
|
|
186
|
-
* @category GalaChain
|
|
187
|
-
* @since 3.0.0
|
|
188
|
-
*
|
|
189
|
-
* @example Estimate removal amounts
|
|
190
|
-
* ```typescript
|
|
191
|
-
* const estimation = await client.getRemoveLiquidityEstimation({
|
|
192
|
-
* owner: 'client|user123',
|
|
193
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
194
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
195
|
-
* fee: 3000,
|
|
196
|
-
* tickLower: -887220,
|
|
197
|
-
* tickUpper: 887220,
|
|
198
|
-
* liquidity: '1000000000000'
|
|
199
|
-
* });
|
|
200
|
-
* console.log(`Will receive: ${estimation.amount0} GALA, ${estimation.amount1} GUSDC`);
|
|
201
|
-
* ```
|
|
202
|
-
*/
|
|
203
|
-
getRemoveLiquidityEstimation(request: GalaChainGetRemoveLiquidityEstimationRequest): Promise<GalaChainRemoveLiquidityEstimation>;
|
|
204
|
-
/**
|
|
205
|
-
* Validate GalaChain Gateway response wrapper
|
|
206
|
-
* Checks for errors and required fields
|
|
207
|
-
*
|
|
208
|
-
* @param response - Response object to validate
|
|
209
|
-
* @throws ApiError if response indicates error or is malformed
|
|
210
|
-
*/
|
|
211
|
-
private validateResponse;
|
|
212
|
-
/**
|
|
213
|
-
* Handle errors from axios or gateway
|
|
214
|
-
* Converts various error types to ApiError
|
|
215
|
-
*
|
|
216
|
-
* @param error - Error from axios or validation
|
|
217
|
-
* @param context - Method name for better error messages
|
|
218
|
-
* @returns ApiError with context
|
|
219
|
-
*/
|
|
220
|
-
private handleError;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Type re-export for convenience
|
|
224
|
-
* Used when function returns wrapped response
|
|
225
|
-
*/
|
|
226
|
-
export type GalaChainResponse<T> = GalaChainGatewayResponse<T>;
|
|
227
|
-
//# sourceMappingURL=GalaChainGatewayClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GalaChainGatewayClient.d.ts","sourceRoot":"","sources":["../../src/services/GalaChainGatewayClient.ts"],"names":[],"mappings":"AAAA;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;;;;;;;;;;OA4BG;IACG,4BAA4B,CAChC,OAAO,EAAE,4CAA4C,GACpD,OAAO,CAAC,kCAAkC,CAAC;IAkC9C;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAgBxB;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CAmBpB;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,wBAAwB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GalaChain Gateway Client
|
|
3
|
-
*
|
|
4
|
-
* Direct HTTP client for GalaChain Gateway DEX contract endpoints with full type safety.
|
|
5
|
-
* Provides low-level blockchain interactions for DEX v3 liquidity pools and positions.
|
|
6
|
-
*
|
|
7
|
-
* ## Key Features:
|
|
8
|
-
* - Zero `any` types - fully typed responses
|
|
9
|
-
* - Automatic response validation
|
|
10
|
-
* - Compound key and position ID lookup support
|
|
11
|
-
* - Comprehensive error handling
|
|
12
|
-
*
|
|
13
|
-
* ## Supported Operations:
|
|
14
|
-
* - Pool state queries (GetPoolData)
|
|
15
|
-
* - Position management (GetPositions)
|
|
16
|
-
* - Liquidity removal estimation (GetRemoveLiquidityEstimation)
|
|
17
|
-
*
|
|
18
|
-
* @category GalaChain
|
|
19
|
-
* @since 3.0.0
|
|
20
|
-
*/
|
|
21
|
-
import type { GalaChainGatewayResponse, GalaChainGetPoolDataRequest, GalaChainGetPositionsRequest, GalaChainGetPositionsResponse, GalaChainGetRemoveLiquidityEstimationRequest, GalaChainGetSlot0Request, GalaChainPoolData, GalaChainRemoveLiquidityEstimation, GalaChainSlot0Data } from '../types/galachain-api.types';
|
|
22
|
-
/**
|
|
23
|
-
* GalaChain Gateway Client configuration
|
|
24
|
-
*/
|
|
25
|
-
export interface GalaChainGatewayClientConfig {
|
|
26
|
-
baseUrl: string;
|
|
27
|
-
timeout?: number;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Direct HTTP client for GalaChain Gateway DEX contract endpoints
|
|
31
|
-
*/
|
|
32
|
-
export declare class GalaChainGatewayClient {
|
|
33
|
-
private client;
|
|
34
|
-
constructor(config: GalaChainGatewayClientConfig);
|
|
35
|
-
/**
|
|
36
|
-
* Fetch pool state data from GalaChain DEX v3 contract
|
|
37
|
-
*
|
|
38
|
-
* Retrieves complete pool state including liquidity, price, tick data, and fee tier.
|
|
39
|
-
* Uses TokenClassKey objects for precise token identification - pipe-delimited strings
|
|
40
|
-
* are NOT supported (use parseToken() utility to convert if needed).
|
|
41
|
-
*
|
|
42
|
-
* **Critical**: tokens must be TokenClassKey objects, not strings. Backend requires
|
|
43
|
-
* structured token objects with collection/category/type/additionalKey fields.
|
|
44
|
-
*
|
|
45
|
-
* @param request Pool data request with token0, token1 (TokenClassKey objects), and fee tier
|
|
46
|
-
* @returns Promise<GalaChainPoolData> Complete pool state from blockchain
|
|
47
|
-
* @throws ApiError if tokens are strings instead of objects, or request fails
|
|
48
|
-
* @category GalaChain
|
|
49
|
-
* @since 3.0.0
|
|
50
|
-
*
|
|
51
|
-
* @example Fetch pool state for GALA/GUSDC
|
|
52
|
-
* ```typescript
|
|
53
|
-
* const poolData = await client.getPoolData({
|
|
54
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
55
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
56
|
-
* fee: 3000 // 0.3% fee tier
|
|
57
|
-
* });
|
|
58
|
-
* console.log('Current price:', poolData.sqrtPriceX96);
|
|
59
|
-
* console.log('Liquidity:', poolData.liquidity);
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
getPoolData(request: GalaChainGetPoolDataRequest): Promise<GalaChainPoolData>;
|
|
63
|
-
/**
|
|
64
|
-
* Fetch minimal pool state (Slot0) from GalaChain DEX v3 contract
|
|
65
|
-
*
|
|
66
|
-
* Retrieves the essential pool state data needed for pricing and liquidity calculations:
|
|
67
|
-
* - sqrtPrice: Current sqrt price (decimal string)
|
|
68
|
-
* - tick: Current tick number
|
|
69
|
-
* - liquidity: Current pool liquidity
|
|
70
|
-
* - grossPoolLiquidity: Optional gross pool liquidity value
|
|
71
|
-
*
|
|
72
|
-
* Lightweight alternative to getPoolData() when only slot0 data is needed.
|
|
73
|
-
*
|
|
74
|
-
* **Critical**: tokens must be TokenClassKey objects, not strings.
|
|
75
|
-
*
|
|
76
|
-
* @param request Slot0 request with token0, token1 (TokenClassKey objects), and fee tier
|
|
77
|
-
* @returns Promise<GalaChainSlot0Data> Minimal pool state data
|
|
78
|
-
* @throws ApiError if tokens are strings instead of objects, or request fails
|
|
79
|
-
* @category GalaChain
|
|
80
|
-
* @since 5.16.0
|
|
81
|
-
*
|
|
82
|
-
* @example Fetch Slot0 for GALA/GUSDC
|
|
83
|
-
* ```typescript
|
|
84
|
-
* const slot0 = await client.getSlot0({
|
|
85
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
86
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
87
|
-
* fee: 3000 // 0.3% fee tier
|
|
88
|
-
* });
|
|
89
|
-
* console.log('Current price:', slot0.sqrtPrice);
|
|
90
|
-
* console.log('Current tick:', slot0.tick);
|
|
91
|
-
* ```
|
|
92
|
-
*/
|
|
93
|
-
getSlot0(request: GalaChainGetSlot0Request): Promise<GalaChainSlot0Data>;
|
|
94
|
-
/**
|
|
95
|
-
* Query liquidity positions from GalaChain DEX v3 contract
|
|
96
|
-
*
|
|
97
|
-
* Flexible position query supporting multiple filter combinations:
|
|
98
|
-
* - All positions for an owner (owner only)
|
|
99
|
-
* - Positions for specific pool (owner + token0 + token1)
|
|
100
|
-
* - Specific position by compound key (owner + tokens + ticks)
|
|
101
|
-
* - Pagination support via bookmark field
|
|
102
|
-
*
|
|
103
|
-
* **Response Format**: Returns either single position object or `{ positions: [...], count: N }`
|
|
104
|
-
* wrapper depending on query type. SDK normalizes to consistent array format.
|
|
105
|
-
*
|
|
106
|
-
* @param request Position query with owner and optional filters (token0, token1, fee, ticks, bookmark)
|
|
107
|
-
* @returns Promise<GalaChainGetPositionsResponse> Array of matching positions with count
|
|
108
|
-
* @throws ApiError if request fails or response format invalid
|
|
109
|
-
* @category GalaChain
|
|
110
|
-
* @since 3.0.0
|
|
111
|
-
*
|
|
112
|
-
* @example Get all positions for a user
|
|
113
|
-
* ```typescript
|
|
114
|
-
* const positions = await client.getPositions({
|
|
115
|
-
* owner: 'client|user123'
|
|
116
|
-
* });
|
|
117
|
-
* console.log(`User has ${positions.count} positions`);
|
|
118
|
-
* ```
|
|
119
|
-
*
|
|
120
|
-
* @example Get positions for specific pool
|
|
121
|
-
* ```typescript
|
|
122
|
-
* const poolPositions = await client.getPositions({
|
|
123
|
-
* owner: 'client|user123',
|
|
124
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
125
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' }
|
|
126
|
-
* });
|
|
127
|
-
* ```
|
|
128
|
-
*/
|
|
129
|
-
getPositions(request: GalaChainGetPositionsRequest): Promise<GalaChainGetPositionsResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* Fetch specific liquidity position by compound key or position ID
|
|
132
|
-
*
|
|
133
|
-
* Supports two lookup strategies:
|
|
134
|
-
* 1. **Compound Key** (preferred): owner + token0 + token1 + fee + tickLower + tickUpper
|
|
135
|
-
* 2. **Position ID** (legacy fallback): just position ID string
|
|
136
|
-
*
|
|
137
|
-
* Compound key lookup is more reliable and matches the blockchain's native position
|
|
138
|
-
* identification scheme. Position ID lookup is provided for backward compatibility.
|
|
139
|
-
*
|
|
140
|
-
* **Response Format**: Returns position object directly (not wrapped in array).
|
|
141
|
-
*
|
|
142
|
-
* @param ownerOrPositionId Position owner address (compound key) or position ID (legacy)
|
|
143
|
-
* @param token0Optional Token0 symbol or TokenClassKey (required for compound key)
|
|
144
|
-
* @param token1Optional Token1 symbol or TokenClassKey (required for compound key)
|
|
145
|
-
* @param feeOptional Fee tier in basis points (required for compound key)
|
|
146
|
-
* @param tickLowerOptional Lower tick boundary (required for compound key)
|
|
147
|
-
* @param tickUpperOptional Upper tick boundary (required for compound key)
|
|
148
|
-
* @param positionIdOptional Optional position ID to include in request
|
|
149
|
-
* @returns Promise<GalaChainResponse<unknown>> Wrapped position data
|
|
150
|
-
* @throws ApiError if position not found (404) or request fails
|
|
151
|
-
* @category GalaChain
|
|
152
|
-
* @since 3.0.0
|
|
153
|
-
*
|
|
154
|
-
* @example Fetch position by compound key (preferred)
|
|
155
|
-
* ```typescript
|
|
156
|
-
* const position = await client.getPositionById(
|
|
157
|
-
* 'client|user123',
|
|
158
|
-
* { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
159
|
-
* { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
160
|
-
* 3000, // 0.3% fee
|
|
161
|
-
* -887220, // tickLower
|
|
162
|
-
* 887220, // tickUpper
|
|
163
|
-
* 'position123' // optional
|
|
164
|
-
* );
|
|
165
|
-
* console.log('Liquidity:', position.Data.liquidity);
|
|
166
|
-
* ```
|
|
167
|
-
*
|
|
168
|
-
* @example Fetch position by ID (legacy)
|
|
169
|
-
* ```typescript
|
|
170
|
-
* const position = await client.getPositionById('position123');
|
|
171
|
-
* ```
|
|
172
|
-
*/
|
|
173
|
-
getPositionById(ownerOrPositionId: string, token0Optional?: string | Record<string, unknown>, token1Optional?: string | Record<string, unknown>, feeOptional?: number, tickLowerOptional?: number, tickUpperOptional?: number, positionIdOptional?: string): Promise<GalaChainResponse<unknown>>;
|
|
174
|
-
/**
|
|
175
|
-
* Calculate estimated token amounts from liquidity removal
|
|
176
|
-
*
|
|
177
|
-
* Simulates removing liquidity from a position to preview the exact amounts of token0
|
|
178
|
-
* and token1 that will be received. Includes both principal liquidity and accumulated
|
|
179
|
-
* trading fees. Does not execute the removal - use for UI preview before transaction.
|
|
180
|
-
*
|
|
181
|
-
* **Use Cases**: Preview removal amounts, calculate impermanent loss, position exit planning
|
|
182
|
-
*
|
|
183
|
-
* @param request Removal estimation request with owner, tokens, fee, ticks, and liquidity amount
|
|
184
|
-
* @returns Promise<GalaChainRemoveLiquidityEstimation> Estimated token0 and token1 amounts
|
|
185
|
-
* @throws ApiError if request fails or position parameters invalid
|
|
186
|
-
* @category GalaChain
|
|
187
|
-
* @since 3.0.0
|
|
188
|
-
*
|
|
189
|
-
* @example Estimate removal amounts
|
|
190
|
-
* ```typescript
|
|
191
|
-
* const estimation = await client.getRemoveLiquidityEstimation({
|
|
192
|
-
* owner: 'client|user123',
|
|
193
|
-
* token0: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
194
|
-
* token1: { collection: 'GUSDC', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
195
|
-
* fee: 3000,
|
|
196
|
-
* tickLower: -887220,
|
|
197
|
-
* tickUpper: 887220,
|
|
198
|
-
* liquidity: '1000000000000'
|
|
199
|
-
* });
|
|
200
|
-
* console.log(`Will receive: ${estimation.amount0} GALA, ${estimation.amount1} GUSDC`);
|
|
201
|
-
* ```
|
|
202
|
-
*/
|
|
203
|
-
getRemoveLiquidityEstimation(request: GalaChainGetRemoveLiquidityEstimationRequest): Promise<GalaChainRemoveLiquidityEstimation>;
|
|
204
|
-
/**
|
|
205
|
-
* Validate GalaChain Gateway response wrapper
|
|
206
|
-
* Checks for errors and required fields
|
|
207
|
-
*
|
|
208
|
-
* @param response - Response object to validate
|
|
209
|
-
* @throws ApiError if response indicates error or is malformed
|
|
210
|
-
*/
|
|
211
|
-
private validateResponse;
|
|
212
|
-
/**
|
|
213
|
-
* Handle errors from axios or gateway
|
|
214
|
-
* Converts various error types to ApiError
|
|
215
|
-
*
|
|
216
|
-
* @param error - Error from axios or validation
|
|
217
|
-
* @param context - Method name for better error messages
|
|
218
|
-
* @returns ApiError with context
|
|
219
|
-
*/
|
|
220
|
-
private handleError;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Type re-export for convenience
|
|
224
|
-
* Used when function returns wrapped response
|
|
225
|
-
*/
|
|
226
|
-
export type GalaChainResponse<T> = GalaChainGatewayResponse<T>;
|
|
227
|
-
//# sourceMappingURL=GalaChainGatewayClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GalaChainGatewayClient.d.ts","sourceRoot":"","sources":["../../../src/services/GalaChainGatewayClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,4CAA4C,EAC5C,wBAAwB,EAAG,iBAAiB,EAE5C,kCAAkC,EAClC,kBAAkB,EAAC,MAAM,8BAA8B,CAAC;AAY1D;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAgB;gBAElB,MAAM,EAAE,4BAA4B;IAIhD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACG,WAAW,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA4CnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,QAAQ,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA2C9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACG,YAAY,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,6BAA6B,CAAC;IA4DjG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACG,eAAe,CACnB,iBAAiB,EAAE,MAAM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