@b3dotfun/sdk 0.0.39-alpha.0 → 0.0.40-test.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.
@@ -6,6 +6,7 @@ exports.InnerProvider = InnerProvider;
6
6
  const jsx_runtime_1 = require("react/jsx-runtime");
7
7
  const react_1 = require("../../../../global-account/react");
8
8
  const analytics_1 = require("../../../../global-account/utils/analytics");
9
+ const constants_1 = require("../../../../shared/constants");
9
10
  const supported_1 = require("../../../../shared/constants/chains/supported");
10
11
  const thirdweb_1 = require("../../../../shared/utils/thirdweb");
11
12
  require("@reservoir0x/relay-kit-ui/styles.css");
@@ -32,6 +33,7 @@ exports.wagmiConfig = (0, wagmi_1.createConfig)({
32
33
  transports: Object.fromEntries(supported_1.supportedChains.map(chain => [chain.id, (0, wagmi_1.http)()])),
33
34
  connectors: [
34
35
  (0, wagmi_adapter_1.inAppWalletConnector)({
36
+ ecosystemId: constants_1.ecosystemWalletId,
35
37
  client: thirdweb_1.client,
36
38
  }),
37
39
  // injected(),
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { RelayKitProviderWrapper, TooltipProvider, useAuthStore } from "../../../../global-account/react/index.js";
3
3
  import { loadGA4Script } from "../../../../global-account/utils/analytics.js";
4
+ import { ecosystemWalletId } from "../../../../shared/constants/index.js";
4
5
  import { supportedChains } from "../../../../shared/constants/chains/supported.js";
5
6
  import { client } from "../../../../shared/utils/thirdweb.js";
6
7
  import "@reservoir0x/relay-kit-ui/styles.css";
@@ -27,6 +28,7 @@ export const wagmiConfig = createConfig({
27
28
  transports: Object.fromEntries(supportedChains.map(chain => [chain.id, http()])),
28
29
  connectors: [
29
30
  inAppWalletConnector({
31
+ ecosystemId: ecosystemWalletId,
30
32
  client,
31
33
  }),
32
34
  // injected(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.39-alpha.0",
3
+ "version": "0.0.40-test.2",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -2,6 +2,7 @@ import { Users } from "@b3dotfun/b3-api";
2
2
  import { RelayKitProviderWrapper, TooltipProvider, useAuthStore } from "@b3dotfun/sdk/global-account/react";
3
3
  import { PermissionsConfig } from "@b3dotfun/sdk/global-account/types/permissions";
4
4
  import { loadGA4Script } from "@b3dotfun/sdk/global-account/utils/analytics";
5
+ import { ecosystemWalletId } from "@b3dotfun/sdk/shared/constants";
5
6
  import { supportedChains } from "@b3dotfun/sdk/shared/constants/chains/supported";
6
7
  import { client } from "@b3dotfun/sdk/shared/utils/thirdweb";
7
8
  import "@reservoir0x/relay-kit-ui/styles.css";
@@ -37,6 +38,7 @@ export const wagmiConfig = createConfig({
37
38
  transports: Object.fromEntries(supportedChains.map(chain => [chain.id, http()])) as any,
38
39
  connectors: [
39
40
  inAppWalletConnector({
41
+ ecosystemId: ecosystemWalletId,
40
42
  client,
41
43
  }),
42
44
  // injected(),