@spicenet-io/spiceflow-ui 3.3.19 → 3.3.21

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.
@@ -7,6 +7,11 @@ export declare const hasStoredSpiceFlowMode: () => boolean;
7
7
  import type { Network } from "@spicenet-io/spiceflow-core";
8
8
  export type SpiceFlowNetwork = Network;
9
9
  export declare const SpiceBrandContext: React.Context<SpiceTheme | null>;
10
+ export interface SpiceFlowWhitelistOptions extends Omit<UseIsUserWhitelistedOptions, "campaignId" | "campaignGroup" | "partnerId"> {
11
+ campaignId: string;
12
+ campaignGroup: string;
13
+ partnerId: string;
14
+ }
10
15
  export interface SpiceFlowProviderContextValue {
11
16
  provider: WalletProvider;
12
17
  supportedChainIds: number[];
@@ -43,6 +48,6 @@ export interface SpiceFlowProviderProps {
43
48
  apiUrl?: string;
44
49
  theme?: SpiceTheme;
45
50
  rpcOverrides?: Record<number, string>;
46
- whitelist?: UseIsUserWhitelistedOptions | false;
51
+ whitelist?: SpiceFlowWhitelistOptions | false;
47
52
  }
48
53
  export declare const SpiceFlowProvider: React.FC<SpiceFlowProviderProps>;
@@ -1,2 +1,2 @@
1
1
  export { SpiceFlowProvider, SpiceFlowProviderContext, SpiceBrandContext, } from "./SpiceFlowProvider";
2
- export type { SpiceFlowProviderProps, SpiceFlowProviderContextValue, WalletProvider, SpiceFlowNetwork, } from "./SpiceFlowProvider";
2
+ export type { SpiceFlowProviderProps, SpiceFlowProviderContextValue, SpiceFlowWhitelistOptions, WalletProvider, SpiceFlowNetwork, } from "./SpiceFlowProvider";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "3.3.19",
3
+ "version": "3.3.21",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.13",