@pooflabs/core 0.0.43 → 0.0.45

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.
@@ -23,10 +23,15 @@ export interface ClientConfig {
23
23
  providers?: Array<'injected' | 'google' | 'apple' | 'phantom' | 'deeplink'>;
24
24
  redirectUrl?: string;
25
25
  autoConnect?: boolean;
26
+ /** Theme for the login modal: 'light' or 'dark'. Defaults to 'dark'. */
26
27
  theme?: 'light' | 'dark';
27
28
  appName?: string;
28
29
  appIcon?: string;
29
30
  enablePrivyFallback?: boolean;
31
+ /** Custom title shown at the top of the login modal. */
32
+ modalTitle?: string;
33
+ /** Custom subtitle shown below the title in the login modal. */
34
+ modalSubtitle?: string;
30
35
  };
31
36
  mobileWalletConfig?: {
32
37
  appIdentity?: {
package/dist/index.js CHANGED
@@ -3753,40 +3753,17 @@ async function getConfig() {
3753
3753
  return clientConfig;
3754
3754
  }
3755
3755
 
3756
- /******************************************************************************
3757
- Copyright (c) Microsoft Corporation.
3758
-
3759
- Permission to use, copy, modify, and/or distribute this software for any
3760
- purpose with or without fee is hereby granted.
3761
-
3762
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3763
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3764
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3765
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3766
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3767
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3768
- PERFORMANCE OF THIS SOFTWARE.
3769
- ***************************************************************************** */
3770
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3771
-
3772
-
3773
- function __rest(s, e) {
3774
- var t = {};
3775
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3776
- t[p] = s[p];
3777
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
3778
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3779
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3780
- t[p[i]] = s[p[i]];
3781
- }
3782
- return t;
3783
- }
3784
-
3785
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3786
- var e = new Error(message);
3787
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3756
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
3757
+ var t = {};
3758
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3759
+ t[p] = s[p];
3760
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
3761
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3762
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3763
+ t[p[i]] = s[p[i]];
3764
+ }
3765
+ return t;
3788
3766
  };
3789
-
3790
3767
  /**
3791
3768
  * Thrown when a user's wallet doesn't have enough SOL to cover the transaction.
3792
3769
  * Apps can catch this to trigger an onramp/funding flow.