@pear-protocol/symmio-client 0.3.24 → 0.3.25
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/react/index.d.mts +3 -4
- package/dist/react/index.d.ts +3 -4
- package/package.json +2 -2
package/dist/react/index.d.mts
CHANGED
|
@@ -9,7 +9,6 @@ import { UseMutationOptions, useQueryClient, UseMutationResult, UseQueryResult }
|
|
|
9
9
|
import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
10
10
|
import * as abitype from 'abitype';
|
|
11
11
|
import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/utils/ccip';
|
|
12
|
-
import * as _pear_protocol_symm_shared from '@pear-protocol/symm-shared';
|
|
13
12
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
14
13
|
import * as node_modules__pear_protocol_symm_core_dist_types from 'node_modules/@pear-protocol/symm-core/dist/types';
|
|
15
14
|
import * as zustand from 'zustand';
|
|
@@ -8391,7 +8390,7 @@ declare function useSymmCancelClose(options?: {
|
|
|
8391
8390
|
accountAddress?: Address;
|
|
8392
8391
|
overrideChainId?: number;
|
|
8393
8392
|
}>;
|
|
8394
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
8393
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, {
|
|
8395
8394
|
quoteId: string;
|
|
8396
8395
|
authToken?: string;
|
|
8397
8396
|
accountAddress?: Address;
|
|
@@ -8946,7 +8945,7 @@ declare function useSymmCloseAllPositionsMutation(options?: {
|
|
|
8946
8945
|
*/
|
|
8947
8946
|
declare function useSymmCancelOpenMutation(options?: {
|
|
8948
8947
|
mutation?: SymmMutationConfig<unknown, Error, CancelOpenRequest>;
|
|
8949
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
8948
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, CancelOpenRequest, unknown>;
|
|
8950
8949
|
/**
|
|
8951
8950
|
* Use case: Update position settings with automatic auth-token resolution.
|
|
8952
8951
|
*/
|
|
@@ -9002,7 +9001,7 @@ declare function useSymmSetTpslMutation(options?: {
|
|
|
9002
9001
|
*/
|
|
9003
9002
|
declare function useSymmCancelTpslMutation(options?: {
|
|
9004
9003
|
mutation?: SymmMutationConfig<unknown, Error, CancelTpslRequest>;
|
|
9005
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
9004
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, CancelTpslRequest, unknown>;
|
|
9006
9005
|
|
|
9007
9006
|
type UseSymmTpslOrdersParams = {
|
|
9008
9007
|
accountAddress?: Address;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { UseMutationOptions, useQueryClient, UseMutationResult, UseQueryResult }
|
|
|
9
9
|
import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
10
10
|
import * as abitype from 'abitype';
|
|
11
11
|
import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/utils/ccip';
|
|
12
|
-
import * as _pear_protocol_symm_shared from '@pear-protocol/symm-shared';
|
|
13
12
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
14
13
|
import * as node_modules__pear_protocol_symm_core_dist_types from 'node_modules/@pear-protocol/symm-core/dist/types';
|
|
15
14
|
import * as zustand from 'zustand';
|
|
@@ -8391,7 +8390,7 @@ declare function useSymmCancelClose(options?: {
|
|
|
8391
8390
|
accountAddress?: Address;
|
|
8392
8391
|
overrideChainId?: number;
|
|
8393
8392
|
}>;
|
|
8394
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
8393
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, {
|
|
8395
8394
|
quoteId: string;
|
|
8396
8395
|
authToken?: string;
|
|
8397
8396
|
accountAddress?: Address;
|
|
@@ -8946,7 +8945,7 @@ declare function useSymmCloseAllPositionsMutation(options?: {
|
|
|
8946
8945
|
*/
|
|
8947
8946
|
declare function useSymmCancelOpenMutation(options?: {
|
|
8948
8947
|
mutation?: SymmMutationConfig<unknown, Error, CancelOpenRequest>;
|
|
8949
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
8948
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, CancelOpenRequest, unknown>;
|
|
8950
8949
|
/**
|
|
8951
8950
|
* Use case: Update position settings with automatic auth-token resolution.
|
|
8952
8951
|
*/
|
|
@@ -9002,7 +9001,7 @@ declare function useSymmSetTpslMutation(options?: {
|
|
|
9002
9001
|
*/
|
|
9003
9002
|
declare function useSymmCancelTpslMutation(options?: {
|
|
9004
9003
|
mutation?: SymmMutationConfig<unknown, Error, CancelTpslRequest>;
|
|
9005
|
-
}): _tanstack_react_query.UseMutationResult<
|
|
9004
|
+
}): _tanstack_react_query.UseMutationResult<_pear_protocol_symm_core.ApiResponse<unknown>, Error, CancelTpslRequest, unknown>;
|
|
9006
9005
|
|
|
9007
9006
|
type UseSymmTpslOrdersParams = {
|
|
9008
9007
|
accountAddress?: Address;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pear-protocol/symmio-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.25",
|
|
4
4
|
"description": "Standalone SDK for Symmio — account management, trading, deposits, withdrawals, and protocol interactions via MultiAccount",
|
|
5
5
|
"packageManager": "bun@1.3.2",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@pear-protocol/symm-core": "^0.1.29",
|
|
96
|
-
"@pear-protocol/symm-shared": "^0.1.
|
|
96
|
+
"@pear-protocol/symm-shared": "^0.1.5",
|
|
97
97
|
"siwe": "^3.0.0",
|
|
98
98
|
"zustand": "^5.0.12"
|
|
99
99
|
}
|