@swype-org/react-sdk 0.1.17 → 0.1.19
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/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -107,7 +107,8 @@ function SwypeProvider({
|
|
|
107
107
|
appId: SWYPE_PRIVY_APP_ID,
|
|
108
108
|
config: {
|
|
109
109
|
appearance: {
|
|
110
|
-
theme
|
|
110
|
+
theme,
|
|
111
|
+
accentColor: getTheme(theme).accent
|
|
111
112
|
}
|
|
112
113
|
},
|
|
113
114
|
children: /* @__PURE__ */ jsxRuntime.jsx(SwypeContext.Provider, { value, children })
|
|
@@ -1086,6 +1087,8 @@ function useAuthorizationExecutor(options) {
|
|
|
1086
1087
|
return executeSwitchChain(action, wagmiConfig2, switchChainAsync);
|
|
1087
1088
|
case "APPROVE_PERMIT2":
|
|
1088
1089
|
return executeApprovePermit2(action, wagmiConfig2);
|
|
1090
|
+
case "DEPLOY_SMART_ACCOUNT":
|
|
1091
|
+
return actionSuccess(action, "Smart account deployment acknowledged.");
|
|
1089
1092
|
case "SIGN_PERMIT2":
|
|
1090
1093
|
return executeSignPermit2(action, wagmiConfig2, apiBaseUrl ?? "", sessionIdRef.current);
|
|
1091
1094
|
default:
|