@turnkey/http 6.2.0 → 6.3.0
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/CHANGELOG.md +42 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @turnkey/http
|
|
2
2
|
|
|
3
|
+
## 6.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1458](https://github.com/tkhq/sdk/pull/1458) [`22a6682`](https://github.com/tkhq/sdk/commit/22a6682a3a7c5ad7b192cb46ffc599e073802ccf) Author [@besler613](https://github.com/besler613) - Sync transaction history API types with the latest public API swagger.
|
|
8
|
+
|
|
9
|
+
### Transaction history query endpoints
|
|
10
|
+
- `listEthTransactionHistory` (`POST /public/v1/query/list_eth_transaction_history`) — paginated EVM transaction history for a wallet or private-key address on a supported CAIP-2 chain.
|
|
11
|
+
- `listSolTransactionHistory` (`POST /public/v1/query/list_sol_transaction_history`) — paginated Solana transaction history for a wallet or private-key address on a supported CAIP-2 chain.
|
|
12
|
+
|
|
13
|
+
### Pagination type update
|
|
14
|
+
|
|
15
|
+
Transaction history pagination now uses the shared `v1Pagination` / `v1PageInfo` types instead of transaction-history-specific `v1TransactionHistoryPaginationOptions` / `v1TransactionHistoryPaginationCursors`.
|
|
16
|
+
|
|
17
|
+
**Before:**
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
const response = await client.listEthTransactionHistory({ ... });
|
|
21
|
+
const after = response.paginationCursors.after;
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**After:**
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
const response = await client.listEthTransactionHistory({ ... });
|
|
28
|
+
const after = response.pageInfo?.endCursor;
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
These surfaces are generated into `@turnkey/http`, `@turnkey/sdk-types`, `@turnkey/sdk-browser`, `@turnkey/sdk-server`, and `@turnkey/core`.
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies []:
|
|
36
|
+
- @turnkey/api-key-stamper@0.6.13
|
|
37
|
+
|
|
38
|
+
## 6.2.1
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies []:
|
|
43
|
+
- @turnkey/api-key-stamper@0.6.12
|
|
44
|
+
|
|
3
45
|
## 6.2.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "@turnkey/http@6.
|
|
1
|
+
export declare const VERSION = "@turnkey/http@6.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/dist/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnkey/http",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"cross-fetch": "^3.1.5",
|
|
43
|
-
"@turnkey/api-key-stamper": "0.6.
|
|
44
|
-
"@turnkey/
|
|
45
|
-
"@turnkey/
|
|
43
|
+
"@turnkey/api-key-stamper": "0.6.13",
|
|
44
|
+
"@turnkey/webauthn-stamper": "0.6.0",
|
|
45
|
+
"@turnkey/encoding": "0.6.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=18.0.0"
|