@otim/sdk-server 0.0.4-alpha.0 → 0.0.5
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/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -251,10 +251,10 @@ Object.defineProperty(exports, 'chains', {
|
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
exports.createOtimServerClient = createOtimServerClient;
|
|
254
|
-
Object.defineProperty(exports, '
|
|
254
|
+
Object.defineProperty(exports, 'prepareSettlement', {
|
|
255
255
|
enumerable: true,
|
|
256
256
|
get: function () {
|
|
257
|
-
return __otim_sdk_core_clients.
|
|
257
|
+
return __otim_sdk_core_clients.prepareSettlement;
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiAccountConfig, Chain, Chain as Chain$1, OtimAccount, PrivateKeyAccountConfig, ServerAccountConfig, ServerAccountConfig as ServerAccountConfig$1, ServerAccountType } from "@otim/sdk-core/account";
|
|
2
2
|
import { Environment, Environment as Environment$1, EnvironmentType } from "@otim/sdk-core/config";
|
|
3
3
|
import { OtimServerClientContext } from "@otim/sdk-core/context";
|
|
4
|
-
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1,
|
|
4
|
+
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1, CreateSettlementResponse, DelegationClient, DelegationClient as DelegationClient$1, OrchestrationClient, OrchestrationClient as OrchestrationClient$1, PrepareSettlementParams, PreparedSettlement, prepareSettlement } from "@otim/sdk-core/clients";
|
|
5
5
|
import { allSupportedChains as chains } from "@otim/utils/chains";
|
|
6
6
|
|
|
7
7
|
//#region src/client/server-client.d.ts
|
|
@@ -53,5 +53,5 @@ interface ApiClientConfig extends BaseClientConfig {
|
|
|
53
53
|
declare function createOtimServerClient(config: PrivateKeyClientConfig): OtimServerClient;
|
|
54
54
|
declare function createOtimServerClient(config: ApiClientConfig): OtimServerClient;
|
|
55
55
|
//#endregion
|
|
56
|
-
export { ActivityClient, type ApiAccountConfig, AuthClient, type Chain, ConfigClient, type
|
|
56
|
+
export { ActivityClient, type ApiAccountConfig, AuthClient, type Chain, ConfigClient, type CreateSettlementResponse, DelegationClient, Environment, type EnvironmentType, OrchestrationClient, type OtimAccount, OtimServerClient, type OtimServerClientContext, type PrepareSettlementParams, type PreparedSettlement, type PrivateKeyAccountConfig, type ServerAccountConfig, type ServerAccountType, chains, createOtimServerClient, prepareSettlement };
|
|
57
57
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Environment, Environment as Environment$1, EnvironmentType } from "@otim/sdk-core/config";
|
|
2
|
-
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1,
|
|
2
|
+
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1, CreateSettlementResponse, DelegationClient, DelegationClient as DelegationClient$1, OrchestrationClient, OrchestrationClient as OrchestrationClient$1, PrepareSettlementParams, PreparedSettlement, prepareSettlement } from "@otim/sdk-core/clients";
|
|
3
3
|
import { ApiAccountConfig, Chain, Chain as Chain$1, OtimAccount, PrivateKeyAccountConfig, ServerAccountConfig, ServerAccountConfig as ServerAccountConfig$1, ServerAccountType } from "@otim/sdk-core/account";
|
|
4
4
|
import { allSupportedChains as chains } from "@otim/utils/chains";
|
|
5
5
|
import { OtimServerClientContext } from "@otim/sdk-core/context";
|
|
@@ -53,5 +53,5 @@ interface ApiClientConfig extends BaseClientConfig {
|
|
|
53
53
|
declare function createOtimServerClient(config: PrivateKeyClientConfig): OtimServerClient;
|
|
54
54
|
declare function createOtimServerClient(config: ApiClientConfig): OtimServerClient;
|
|
55
55
|
//#endregion
|
|
56
|
-
export { ActivityClient, type ApiAccountConfig, AuthClient, type Chain, ConfigClient, type
|
|
56
|
+
export { ActivityClient, type ApiAccountConfig, AuthClient, type Chain, ConfigClient, type CreateSettlementResponse, DelegationClient, Environment, type EnvironmentType, OrchestrationClient, type OtimAccount, OtimServerClient, type OtimServerClientContext, type PrepareSettlementParams, type PreparedSettlement, type PrivateKeyAccountConfig, type ServerAccountConfig, type ServerAccountType, chains, createOtimServerClient, prepareSettlement };
|
|
57
57
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Environment, Environment as Environment$1, getApiUrl } from "@otim/sdk-core/config";
|
|
2
|
-
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1, DelegationClient, DelegationClient as DelegationClient$1, OrchestrationClient, OrchestrationClient as OrchestrationClient$1,
|
|
2
|
+
import { ActivityClient, ActivityClient as ActivityClient$1, AuthClient, AuthClient as AuthClient$1, ConfigClient, ConfigClient as ConfigClient$1, DelegationClient, DelegationClient as DelegationClient$1, OrchestrationClient, OrchestrationClient as OrchestrationClient$1, prepareSettlement } from "@otim/sdk-core/clients";
|
|
3
3
|
import { ServerAccountType, createClientContext, isApiAccountConfig } from "@otim/sdk-core/account";
|
|
4
4
|
import { APIClient, createInstance } from "@otim/utils/api";
|
|
5
5
|
import { ApiKeyStamper } from "@turnkey/api-key-stamper";
|
|
@@ -207,5 +207,5 @@ function createOtimServerClient(config) {
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
//#endregion
|
|
210
|
-
export { ActivityClient, AuthClient, ConfigClient, DelegationClient, Environment, OrchestrationClient, OtimServerClient, chains, createOtimServerClient,
|
|
210
|
+
export { ActivityClient, AuthClient, ConfigClient, DelegationClient, Environment, OrchestrationClient, OtimServerClient, chains, createOtimServerClient, prepareSettlement };
|
|
211
211
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@otim/sdk-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Otim's TypeScript SDK for blockchain automation and smart contract interactions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"tsdown": "^0.16.5",
|
|
62
62
|
"typescript-eslint": "^8.47.0",
|
|
63
63
|
"vitest": "^4.0.10",
|
|
64
|
-
"@otim/
|
|
65
|
-
"@otim/
|
|
64
|
+
"@otim/typescript-config": "0.0.0",
|
|
65
|
+
"@otim/eslint-config": "0.0.1"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@otim/turnkey": "0.0.3",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"viem": "^2.39.3",
|
|
82
82
|
"ws": "^8.18.3",
|
|
83
83
|
"zod": "^4.1.12",
|
|
84
|
-
"@otim/sdk-core": "0.0.
|
|
84
|
+
"@otim/sdk-core": "0.0.5"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@wagmi/core": "2.x",
|