@trustware/sdk-staging 1.1.12-staging.2 → 1.1.12-staging.4

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.
@@ -12241,7 +12241,7 @@ var init_constants = __esm({
12241
12241
  "src/constants.ts"() {
12242
12242
  "use strict";
12243
12243
  SDK_NAME = "@trustware/sdk";
12244
- SDK_VERSION = "1.1.12-staging.2";
12244
+ SDK_VERSION = "1.1.12-staging.4";
12245
12245
  API_ROOT = "https://bv-staging-api.trustware.io";
12246
12246
  API_PREFIX = "/api";
12247
12247
  }
@@ -13181,6 +13181,7 @@ function inferChainTypeFromValue(normalized) {
13181
13181
  if (normalized === "evm" || normalized === "solana" || normalized === "cosmos" || normalized === "bitcoin") {
13182
13182
  return normalized;
13183
13183
  }
13184
+ if (normalized === SOLANA_CHAIN_ID) return "solana";
13184
13185
  if (/^eip155:\d+$/.test(normalized) || /^\d+$/.test(normalized)) {
13185
13186
  return "evm";
13186
13187
  }
@@ -13199,10 +13200,11 @@ function normalizeChainType(chain) {
13199
13200
  const normalized = String(raw).trim().toLowerCase();
13200
13201
  return inferChainTypeFromValue(normalized) ?? normalized;
13201
13202
  }
13202
- var CHAIN_TYPE_ALIASES;
13203
+ var SOLANA_CHAIN_ID, CHAIN_TYPE_ALIASES;
13203
13204
  var init_chains2 = __esm({
13204
13205
  "src/utils/chains.ts"() {
13205
13206
  "use strict";
13207
+ SOLANA_CHAIN_ID = "1151111081099710";
13206
13208
  CHAIN_TYPE_ALIASES = {
13207
13209
  btc: "bitcoin",
13208
13210
  bitcoin: "bitcoin",