@aptos-labs/wallet-adapter-core 4.22.0 → 4.22.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.
@@ -1 +1 @@
1
- {"version":3,"file":"sdkWallets.d.ts","sourceRoot":"","sources":["../../src/AIP62StandardWallets/sdkWallets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,aAAa,CAAC,UAAU,CAAC,EAAE,UAAU,yBAyCpD"}
1
+ {"version":3,"file":"sdkWallets.d.ts","sourceRoot":"","sources":["../../src/AIP62StandardWallets/sdkWallets.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,aAAa,CAAC,UAAU,CAAC,EAAE,UAAU,yBA8CpD"}
package/dist/index.js CHANGED
@@ -65,7 +65,7 @@ __export(src_exports, {
65
65
  module.exports = __toCommonJS(src_exports);
66
66
 
67
67
  // src/version.ts
68
- var WALLET_ADAPTER_CORE_VERSION = "4.18.0";
68
+ var WALLET_ADAPTER_CORE_VERSION = "4.22.2";
69
69
 
70
70
  // src/WalletCore.ts
71
71
  var import_aptos4 = require("aptos");
@@ -82,7 +82,12 @@ function getSDKWallets(dappConfig) {
82
82
  const sdkWallets = [];
83
83
  if (typeof window !== "undefined") {
84
84
  sdkWallets.push(
85
- new import_wallet_adapter_plugin.AptosConnectWallet({
85
+ new import_wallet_adapter_plugin.AptosConnectGoogleWallet({
86
+ network: dappConfig == null ? void 0 : dappConfig.network,
87
+ dappId: dappConfig == null ? void 0 : dappConfig.aptosConnectDappId,
88
+ ...dappConfig == null ? void 0 : dappConfig.aptosConnect
89
+ }),
90
+ new import_wallet_adapter_plugin.AptosConnectAppleWallet({
86
91
  network: dappConfig == null ? void 0 : dappConfig.network,
87
92
  dappId: dappConfig == null ? void 0 : dappConfig.aptosConnectDappId,
88
93
  ...dappConfig == null ? void 0 : dappConfig.aptosConnect
@@ -741,7 +746,7 @@ var WalletStandardCore = class {
741
746
  // src/ga/index.ts
742
747
  var GA4 = class {
743
748
  constructor() {
744
- this.aptosGAID = true;
749
+ this.aptosGAID = "G-GNVVWBL3J9";
745
750
  this.injectGA(this.aptosGAID);
746
751
  }
747
752
  gtag(a, b, c) {
@@ -963,7 +968,7 @@ var WalletCore = class extends import_eventemitter32.default {
963
968
  network: (_b = this._network) == null ? void 0 : _b.name,
964
969
  network_url: (_c = this._network) == null ? void 0 : _c.url,
965
970
  adapter_core_version: WALLET_ADAPTER_CORE_VERSION,
966
- send_to: true,
971
+ send_to: "G-GNVVWBL3J9",
967
972
  ...additionalInfo
968
973
  });
969
974
  }