@dynamic-labs/global-wallet 4.0.0-alpha.2 → 4.0.0-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/global-wallet",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -30,7 +30,7 @@
30
30
  "@walletconnect/utils": "2.13.1",
31
31
  "@walletconnect/web3wallet": "1.12.1",
32
32
  "jsqr": "1.4.0",
33
- "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.2"
33
+ "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.4"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "viem": "^2.7.6",
@@ -38,7 +38,7 @@ const buildCombinedNamespaces = (params) => {
38
38
  };
39
39
  };
40
40
  const GlobalWalletExtension = {
41
- extend: (connector) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
41
+ extend: (connector, settings) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
42
42
  let web3wallet$1;
43
43
  let WCListenersOn = false;
44
44
  let pendingSessionProposal;
@@ -85,7 +85,7 @@ const GlobalWalletExtension = {
85
85
  initWeb3Wallet: () => _tslib.__awaiter(void 0, void 0, void 0, function* () {
86
86
  if (!web3wallet$1) {
87
87
  const core$1 = new core.Core({
88
- projectId: '7569c63c696a4e8aeb3217c1b1332bd7',
88
+ projectId: settings.walletConnectDappProjectId,
89
89
  });
90
90
  web3wallet$1 = yield web3wallet.Web3Wallet.init({
91
91
  core: core$1,
@@ -30,7 +30,7 @@ const buildCombinedNamespaces = (params) => {
30
30
  };
31
31
  };
32
32
  const GlobalWalletExtension = {
33
- extend: (connector) => __awaiter(void 0, void 0, void 0, function* () {
33
+ extend: (connector, settings) => __awaiter(void 0, void 0, void 0, function* () {
34
34
  let web3wallet;
35
35
  let WCListenersOn = false;
36
36
  let pendingSessionProposal;
@@ -77,7 +77,7 @@ const GlobalWalletExtension = {
77
77
  initWeb3Wallet: () => __awaiter(void 0, void 0, void 0, function* () {
78
78
  if (!web3wallet) {
79
79
  const core = new Core({
80
- projectId: '7569c63c696a4e8aeb3217c1b1332bd7',
80
+ projectId: settings.walletConnectDappProjectId,
81
81
  });
82
82
  web3wallet = yield Web3Wallet.init({
83
83
  core,