@trustware/sdk-staging 1.1.3-staging.20 → 1.1.3-staging.31

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/wallet.mjs CHANGED
@@ -206,7 +206,7 @@ import { Transaction, VersionedTransaction } from "@solana/web3.js";
206
206
 
207
207
  // src/constants.ts
208
208
  var SDK_NAME = "@trustware/sdk";
209
- var SDK_VERSION = "1.1.3-staging.20";
209
+ var SDK_VERSION = "1.1.3-staging.31";
210
210
  var API_ROOT = "https://bv-staging-api.trustware.io";
211
211
  var API_PREFIX = "/api";
212
212
  var ASSETS_BASE_URL = "https://app.trustware.io";
@@ -237,7 +237,8 @@ var DEFAULT_RETRY_CONFIG = {
237
237
  };
238
238
  var DEFAULT_FEATURE_FLAGS = {
239
239
  tokensPagination: false,
240
- balanceStreaming: false
240
+ balanceStreaming: false,
241
+ shouldAllowGA4: true
241
242
  };
242
243
 
243
244
  // src/config/merge.ts
@@ -325,7 +326,8 @@ function resolveConfig(input) {
325
326
  const walletConnect = resolveWalletConnectConfig(input.walletConnect);
326
327
  const features = {
327
328
  tokensPagination: input.features?.tokensPagination ?? DEFAULT_FEATURE_FLAGS.tokensPagination,
328
- balanceStreaming: input.features?.balanceStreaming ?? DEFAULT_FEATURE_FLAGS.balanceStreaming
329
+ balanceStreaming: input.features?.balanceStreaming ?? DEFAULT_FEATURE_FLAGS.balanceStreaming,
330
+ shouldAllowGA4: input.features?.shouldAllowGA4 ?? DEFAULT_FEATURE_FLAGS.shouldAllowGA4
329
331
  };
330
332
  return {
331
333
  apiKey: input.apiKey,