@capxul/sdk 1.2.0 → 1.2.2
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/create-capxul-client-C7H5b68l.d.mts.map +1 -1
- package/dist/{create-capxul-client-DiqVIxsV.mjs → create-capxul-client-DVzm78RU.mjs} +26 -3
- package/dist/create-capxul-client-DVzm78RU.mjs.map +1 -0
- package/dist/index.mjs +2 -2
- package/dist/testing/index.mjs +1 -1
- package/package.json +9 -4
- package/dist/create-capxul-client-DiqVIxsV.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as OBSERVATION_CONTEXT_HEADER, B as normalizeBindingEmail, C as convexCallErrorFromCapxul, D as bootstrapErrorFromCapxul, E as BootstrapPortTag, F as isSettingUpLifecycle, I as formatTraceparent, L as EXCEPTION_MESSAGE, M as sanitizeObservationContext, N as CAPXUL_FUNCTIONS, O as authClientPortFromPromiseAdapter, P as BootstrapEnvelope, R as captureException, S as ConvexCallPortTag, T as ClockPortTag, U as destination, V as BASE_SEPOLIA_CHAIN_ID, _ as identityErrorFromCapxul, a as redactTelemetryProps, b as markFailureInvocationSnapshot, c as smartAccountErrorFromCapxul, d as fromWei, f as AccountReadPortTag, g as IdentityPortTag, h as wireChainId, j as encodeObservationContextHeader, k as AuthClientPortTag, l as SubAccountPortTag, m as toWei, n as detectAuthCacheAdapter, o as stampTelemetryEnvelope, p as accountReadErrorFromCapxul, r as TelemetryPortTag, s as SmartAccountPortTag, t as assembleCapxulClient, u as subAccountErrorFromCapxul, v as copyInvocationObservation, w as ClockError, x as readInvocationObservation, y as hasFailureInvocationSnapshot, z as captureExceptionSync } from "./create-capxul-client-
|
|
1
|
+
import { A as OBSERVATION_CONTEXT_HEADER, B as normalizeBindingEmail, C as convexCallErrorFromCapxul, D as bootstrapErrorFromCapxul, E as BootstrapPortTag, F as isSettingUpLifecycle, I as formatTraceparent, L as EXCEPTION_MESSAGE, M as sanitizeObservationContext, N as CAPXUL_FUNCTIONS, O as authClientPortFromPromiseAdapter, P as BootstrapEnvelope, R as captureException, S as ConvexCallPortTag, T as ClockPortTag, U as destination, V as BASE_SEPOLIA_CHAIN_ID, _ as identityErrorFromCapxul, a as redactTelemetryProps, b as markFailureInvocationSnapshot, c as smartAccountErrorFromCapxul, d as fromWei, f as AccountReadPortTag, g as IdentityPortTag, h as wireChainId, j as encodeObservationContextHeader, k as AuthClientPortTag, l as SubAccountPortTag, m as toWei, n as detectAuthCacheAdapter, o as stampTelemetryEnvelope, p as accountReadErrorFromCapxul, r as TelemetryPortTag, s as SmartAccountPortTag, t as assembleCapxulClient, u as subAccountErrorFromCapxul, v as copyInvocationObservation, w as ClockError, x as readInvocationObservation, y as hasFailureInvocationSnapshot, z as captureExceptionSync } from "./create-capxul-client-DVzm78RU.mjs";
|
|
2
2
|
import { A as decodeConvexError, C as toJwtToken, D as toRoleKey, E as toPublishableKey, M as EXPECTED_OPERATION_OUTCOMES, N as Errors, O as toSessionToken, P as isCapxulError, S as toEpochSeconds, T as toOrgId, _ as toCountryCode, b as toEmail, d as toAccountId, f as toAddress, g as toChainId, h as toAuthUserId, j as CapxulError, k as toSubAccountId, o as AuthCachePortTag, p as toAllowedOrigin, v as toCurrencyCode, w as toKycTier, x as toEpochMs, y as toDurationMs } from "./InMemoryAuthCacheAdapter-Dr1sEd9y.mjs";
|
|
3
3
|
import { keccak256, recoverAddress, stringToHex } from "viem";
|
|
4
4
|
import { Cause, Context, Data, Effect, Exit, Layer, Result, SchemaIssue, SchemaParser, Scope, Tracer } from "effect";
|
|
@@ -305,7 +305,7 @@ async function recoverRawDigestSigner(input) {
|
|
|
305
305
|
}
|
|
306
306
|
//#endregion
|
|
307
307
|
//#region package.json
|
|
308
|
-
var version = "1.2.
|
|
308
|
+
var version = "1.2.2";
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region ../observability/src/engineering.ts
|
|
311
311
|
const SAFE_TRACED_HEADER_NAMES = [
|
package/dist/testing/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as convexCallErrorFromCapxul, D as bootstrapErrorFromCapxul, H as deriveCapxulSafeAddress, O as authClientPortFromPromiseAdapter, _ as identityErrorFromCapxul, c as smartAccountErrorFromCapxul, d as fromWei, h as wireChainId, i as redactTelemetryEvent, m as toWei, p as accountReadErrorFromCapxul, t as assembleCapxulClient, u as subAccountErrorFromCapxul } from "../create-capxul-client-
|
|
1
|
+
import { C as convexCallErrorFromCapxul, D as bootstrapErrorFromCapxul, H as deriveCapxulSafeAddress, O as authClientPortFromPromiseAdapter, _ as identityErrorFromCapxul, c as smartAccountErrorFromCapxul, d as fromWei, h as wireChainId, i as redactTelemetryEvent, m as toWei, p as accountReadErrorFromCapxul, t as assembleCapxulClient, u as subAccountErrorFromCapxul } from "../create-capxul-client-DVzm78RU.mjs";
|
|
2
2
|
import { C as toJwtToken, E as toPublishableKey, N as Errors, O as toSessionToken, S as toEpochSeconds, _ as toCountryCode, b as toEmail, d as toAccountId, f as toAddress, g as toChainId, h as toAuthUserId, j as CapxulError, k as toSubAccountId, m as toAppId, p as toAllowedOrigin, t as InMemoryAuthCacheAdapter, v as toCurrencyCode, w as toKycTier, x as toEpochMs, y as toDurationMs } from "../InMemoryAuthCacheAdapter-Dr1sEd9y.mjs";
|
|
3
3
|
import { keccak256 } from "viem";
|
|
4
4
|
import { Effect, Result, Semaphore } from "effect";
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/Xelmar-tech/infrastructure.git",
|
|
7
|
+
"directory": "packages/sdk"
|
|
8
|
+
},
|
|
4
9
|
"files": [
|
|
5
10
|
"dist",
|
|
6
11
|
"package.json",
|
|
@@ -39,11 +44,11 @@
|
|
|
39
44
|
"posthog-js": "^1.399.2",
|
|
40
45
|
"typescript": "5.9.2",
|
|
41
46
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.23",
|
|
47
|
+
"@capxul/errors": "0.0.1",
|
|
42
48
|
"@capxul/wire": "0.1.0",
|
|
43
|
-
"@capxul/observability": "1.2.
|
|
49
|
+
"@capxul/observability": "1.2.2",
|
|
44
50
|
"@capxul/config": "0.1.0",
|
|
45
|
-
"@capxul/types": "0.1.0"
|
|
46
|
-
"@capxul/errors": "0.0.1"
|
|
51
|
+
"@capxul/types": "0.1.0"
|
|
47
52
|
},
|
|
48
53
|
"_permissionlessPinReason": "permissionless.toSafeSmartAccount is pinned to 0.3.4 for live Safe deployment E2E. Counterfactual address fixtures captured 2026-05-17 in packages/backend/convex/_shared/__tests__/counterfactual.test.ts and packages/config/tests/safe.test.ts must be re-verified before upgrading.",
|
|
49
54
|
"scripts": {
|