@b3dotfun/sdk 0.0.53 → 0.0.54

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.
@@ -8,7 +8,7 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
8
8
  payload: any;
9
9
  collection: {
10
10
  description?: string | undefined;
11
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
11
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
12
12
  metadata?: {} | undefined;
13
13
  createdAt?: string | undefined;
14
14
  updatedAt?: string | undefined;
@@ -69,10 +69,10 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
69
69
  */
70
70
  export declare const useSigMintCollection: ({ address, chainId }: FindByAddressParams) => {
71
71
  data: {
72
- description?: string | undefined;
72
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
73
73
  createdAt?: string | undefined;
74
74
  updatedAt?: string | undefined;
75
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
75
+ description?: string | undefined;
76
76
  metadata?: {} | undefined;
77
77
  logoURI?: string | undefined;
78
78
  creator?: string | undefined;
@@ -87,8 +87,8 @@ export declare const useSigMintCollection: ({ address, chainId }: FindByAddressP
87
87
  validityEndTimestamp?: number | undefined;
88
88
  metadata: {
89
89
  properties?: any;
90
- description?: string | undefined;
91
90
  name?: string | undefined;
91
+ description?: string | undefined;
92
92
  image?: string | undefined;
93
93
  attributes?: any;
94
94
  externalLink?: string | undefined;
@@ -138,7 +138,7 @@ exports.EVM_MAINNET = {
138
138
  canDepositNative: true,
139
139
  defaultToken: (0, token_1.getBnbToken)(),
140
140
  nativeToken: (0, token_1.getBnbToken)(),
141
- viem: getCustomEvmChain(chains_1.bsc, "https://bsc-rpc.publicnode.com"),
141
+ viem: getCustomEvmChain(chains_1.bsc, "https://methodical-divine-flower.bsc.quiknode.pro/9fc7efd3c34cc016cceacc27ee95850629b7cd21/"),
142
142
  pollingInterval: 1000, // 1 second for BSC
143
143
  zapperEnum: "BSC_MAINNET",
144
144
  coingeckoName: "bsc",
@@ -16,7 +16,7 @@ function LoginStepContainer({ children, partnerId }) {
16
16
  },
17
17
  }, !!partnerId);
18
18
  const partnerLogo = partner?.data?.[0]?.loginCustomization?.logoUrl;
19
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center justify-center pt-6", children: [partnerLogo && ((0, jsx_runtime_1.jsx)("img", { src: partnerLogo, alt: "Partner Logo", className: "partner-logo mb-6 h-12 w-auto object-contain" })), children, (0, jsx_runtime_1.jsxs)("h2", { className: "mt-6 flex items-center gap-2 text-lg font-bold", children: ["Powered by", (0, jsx_runtime_1.jsx)("img", { alt: "B3 Logo", className: "h-5", src: "https://cdn.b3.fun/b3_logo.svg" }), "Connect"] })] }));
19
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center justify-center pt-6", children: [partnerLogo && ((0, jsx_runtime_1.jsx)("img", { src: partnerLogo, alt: "Partner Logo", className: "partner-logo mb-6 h-12 w-auto object-contain" })), children] }));
20
20
  }
21
21
  function LoginStep({ onSuccess, chain }) {
22
22
  const { partnerId, theme } = (0, react_1.useB3)();
@@ -8,7 +8,7 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
8
8
  payload: any;
9
9
  collection: {
10
10
  description?: string | undefined;
11
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
11
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
12
12
  metadata?: {} | undefined;
13
13
  createdAt?: string | undefined;
14
14
  updatedAt?: string | undefined;
@@ -69,10 +69,10 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
69
69
  */
70
70
  export declare const useSigMintCollection: ({ address, chainId }: FindByAddressParams) => {
71
71
  data: {
72
- description?: string | undefined;
72
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
73
73
  createdAt?: string | undefined;
74
74
  updatedAt?: string | undefined;
75
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
75
+ description?: string | undefined;
76
76
  metadata?: {} | undefined;
77
77
  logoURI?: string | undefined;
78
78
  creator?: string | undefined;
@@ -87,8 +87,8 @@ export declare const useSigMintCollection: ({ address, chainId }: FindByAddressP
87
87
  validityEndTimestamp?: number | undefined;
88
88
  metadata: {
89
89
  properties?: any;
90
- description?: string | undefined;
91
90
  name?: string | undefined;
91
+ description?: string | undefined;
92
92
  image?: string | undefined;
93
93
  attributes?: any;
94
94
  externalLink?: string | undefined;
@@ -114,7 +114,7 @@ export const EVM_MAINNET = {
114
114
  canDepositNative: true,
115
115
  defaultToken: getBnbToken(),
116
116
  nativeToken: getBnbToken(),
117
- viem: getCustomEvmChain(bsc, "https://bsc-rpc.publicnode.com"),
117
+ viem: getCustomEvmChain(bsc, "https://methodical-divine-flower.bsc.quiknode.pro/9fc7efd3c34cc016cceacc27ee95850629b7cd21/"),
118
118
  pollingInterval: 1000, // 1 second for BSC
119
119
  zapperEnum: "BSC_MAINNET",
120
120
  coingeckoName: "bsc",
@@ -12,7 +12,7 @@ export function LoginStepContainer({ children, partnerId }) {
12
12
  },
13
13
  }, !!partnerId);
14
14
  const partnerLogo = partner?.data?.[0]?.loginCustomization?.logoUrl;
15
- return (_jsxs("div", { className: "flex flex-col items-center justify-center pt-6", children: [partnerLogo && (_jsx("img", { src: partnerLogo, alt: "Partner Logo", className: "partner-logo mb-6 h-12 w-auto object-contain" })), children, _jsxs("h2", { className: "mt-6 flex items-center gap-2 text-lg font-bold", children: ["Powered by", _jsx("img", { alt: "B3 Logo", className: "h-5", src: "https://cdn.b3.fun/b3_logo.svg" }), "Connect"] })] }));
15
+ return (_jsxs("div", { className: "flex flex-col items-center justify-center pt-6", children: [partnerLogo && (_jsx("img", { src: partnerLogo, alt: "Partner Logo", className: "partner-logo mb-6 h-12 w-auto object-contain" })), children] }));
16
16
  }
17
17
  export function LoginStep({ onSuccess, chain }) {
18
18
  const { partnerId, theme } = useB3();
@@ -8,7 +8,7 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
8
8
  payload: any;
9
9
  collection: {
10
10
  description?: string | undefined;
11
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
11
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
12
12
  metadata?: {} | undefined;
13
13
  createdAt?: string | undefined;
14
14
  updatedAt?: string | undefined;
@@ -69,10 +69,10 @@ export declare const useGenerateSigMintData: ({ recipientAddress, contractAddres
69
69
  */
70
70
  export declare const useSigMintCollection: ({ address, chainId }: FindByAddressParams) => {
71
71
  data: {
72
- description?: string | undefined;
72
+ status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
73
73
  createdAt?: string | undefined;
74
74
  updatedAt?: string | undefined;
75
- status?: "DRAFT" | "ACTIVE" | "INACTIVE" | undefined;
75
+ description?: string | undefined;
76
76
  metadata?: {} | undefined;
77
77
  logoURI?: string | undefined;
78
78
  creator?: string | undefined;
@@ -87,8 +87,8 @@ export declare const useSigMintCollection: ({ address, chainId }: FindByAddressP
87
87
  validityEndTimestamp?: number | undefined;
88
88
  metadata: {
89
89
  properties?: any;
90
- description?: string | undefined;
91
90
  name?: string | undefined;
91
+ description?: string | undefined;
92
92
  image?: string | undefined;
93
93
  attributes?: any;
94
94
  externalLink?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -277,7 +277,7 @@
277
277
  "constants"
278
278
  ],
279
279
  "dependencies": {
280
- "@b3dotfun/b3-api": "0.0.50",
280
+ "@b3dotfun/b3-api": "0.0.66",
281
281
  "@b3dotfun/basement-api": "0.0.11",
282
282
  "@feathersjs/authentication-client": "5.0.33",
283
283
  "@feathersjs/feathers": "5.0.33",
@@ -144,7 +144,7 @@ export const EVM_MAINNET: Record<number, IEVMChain> = {
144
144
  canDepositNative: true,
145
145
  defaultToken: getBnbToken(),
146
146
  nativeToken: getBnbToken(),
147
- viem: getCustomEvmChain(bsc, "https://bsc-rpc.publicnode.com"),
147
+ viem: getCustomEvmChain(bsc, "https://methodical-divine-flower.bsc.quiknode.pro/9fc7efd3c34cc016cceacc27ee95850629b7cd21/"),
148
148
  pollingInterval: 1000, // 1 second for BSC
149
149
  zapperEnum: "BSC_MAINNET",
150
150
  coingeckoName: "bsc",
@@ -45,11 +45,6 @@ export function LoginStepContainer({ children, partnerId }: LoginStepContainerPr
45
45
  <img src={partnerLogo} alt="Partner Logo" className="partner-logo mb-6 h-12 w-auto object-contain" />
46
46
  )}
47
47
  {children}
48
- <h2 className="mt-6 flex items-center gap-2 text-lg font-bold">
49
- Powered by
50
- <img alt="B3 Logo" className="h-5" src="https://cdn.b3.fun/b3_logo.svg" />
51
- Connect
52
- </h2>
53
48
  </div>
54
49
  );
55
50
  }