From 6e829e7b447e98d3e8028d906b8afc497129e457 Mon Sep 17 00:00:00 2001 From: Brian Cleary Date: Tue, 9 Sep 2025 16:47:56 -0400 Subject: [PATCH 1/3] update package versions --- .../email-auth-local-storage/package.json | 6 +- examples/email-auth/package.json | 6 +- examples/oauth/package.json | 4 +- examples/otp-auth/package.json | 4 +- examples/react-components/package.json | 10 +- examples/react-wallet-kit/package.json | 68 +- .../src/providers/config/ConfigProvider.tsx | 8 +- examples/wallet-import-export/package.json | 12 +- examples/with-eip-1193-provider/package.json | 14 +- .../with-eth-passkeys-galore/package.json | 6 +- examples/with-federated-passkeys/package.json | 6 +- examples/with-indexed-db/package.json | 8 +- examples/with-sdk-js/package.json | 36 +- examples/with-solana-passkeys/package.json | 10 +- examples/with-solana/package.json | 2 +- examples/with-viem/package.json | 8 +- examples/with-wallet-stamper/package.json | 19 +- .../with-wallet-stamper/src/lib/server.ts | 6 +- examples/with-x/package.json | 8 +- examples/with-zerodev-aa/package.json | 8 +- internal/jest-config/global.d.ts | 1 + internal/jest-config/tsconfig.json | 2 +- package.json | 24 +- packages/core/package.json | 22 +- packages/core/scripts/codegen.js | 38 +- packages/core/src/__clients__/core.ts | 520 +- .../core/src/__generated__/sdk-client-base.ts | 4638 ++++----- .../src/__inputs__/auth_proxy.swagger.json | 25 +- .../src/__inputs__/public_api.swagger.json | 20 +- .../core/src/__inputs__/public_api.types.ts | 12 +- .../core/src/__stampers__/passkey/base.ts | 14 +- packages/core/src/__wallet__/connector.ts | 20 +- .../core/src/__wallet__/mobile/manager.ts | 16 +- .../src/__wallet__/wallet-connect/base.ts | 44 +- packages/core/src/__wallet__/web/manager.ts | 16 +- .../src/__wallet__/web/native/ethereum.ts | 32 +- .../core/src/__wallet__/web/native/solana.ts | 14 +- packages/core/src/utils.ts | 106 +- packages/eip-1193-provider/src/errors.ts | 14 +- packages/eip-1193-provider/src/index.ts | 20 +- packages/eip-1193-provider/src/utils.ts | 20 +- packages/ethers/src/index.ts | 34 +- .../public/v1/public_api.client.ts | 352 +- .../public/v1/public_api.fetcher.ts | 214 +- .../public/v1/public_api.swagger.json | 20 +- .../coordinator/public/v1/public_api.types.ts | 12 +- packages/http/src/async.ts | 8 +- packages/http/src/base.ts | 10 +- packages/http/src/webauthn.ts | 17 +- .../react-native-passkey-stamper/package.json | 4 +- .../react-native-passkey-stamper/src/index.ts | 14 +- packages/react-wallet-kit/package.json | 14 +- .../src/providers/client/Hook.tsx | 2 +- .../src/providers/client/Provider.tsx | 694 +- .../src/providers/modal/Hook.tsx | 2 +- .../src/providers/modal/Provider.tsx | 4 +- packages/sdk-browser/package.json | 2 +- packages/sdk-browser/scripts/codegen.js | 38 +- .../src/__clients__/browser-clients.ts | 82 +- .../src/__generated__/sdk-client-base.ts | 3121 +++--- .../src/__generated__/sdk_api_types.ts | 897 +- .../src/__inputs__/public_api.swagger.json | 20 +- .../src/__inputs__/public_api.types.ts | 12 +- packages/sdk-browser/src/sdk-client.ts | 20 +- packages/sdk-react-native/package.json | 4 +- packages/sdk-react/package.json | 22 +- .../sdk-react/src/components/auth/Google.tsx | 12 +- .../src/components/auth/PhoneInput.tsx | 6 +- .../sdk-react/src/contexts/TurnkeyContext.tsx | 14 +- packages/sdk-server/package.json | 2 +- packages/sdk-server/scripts/codegen.js | 38 +- .../src/__generated__/sdk-client-base.ts | 2832 +++--- .../src/__generated__/sdk_api_types.ts | 897 +- .../src/__inputs__/public_api.swagger.json | 20 +- .../src/__inputs__/public_api.types.ts | 12 +- packages/sdk-server/src/index.ts | 2 +- packages/sdk-types/src/__generated__/types.ts | 1070 +-- .../src/__inputs__/auth_proxy.swagger.json | 25 +- .../src/__inputs__/public_api.swagger.json | 20 +- .../src/__inputs__/public_api.types.ts | 12 +- packages/viem/src/index.ts | 74 +- packages/viem/tsconfig.json | 2 +- packages/wallet-stamper/src/ethereum.ts | 10 +- pnpm-lock.yaml | 8417 ++++++++++------- tsconfig.base.json | 9 +- 85 files changed, 11323 insertions(+), 13637 deletions(-) create mode 100644 internal/jest-config/global.d.ts diff --git a/examples/email-auth-local-storage/package.json b/examples/email-auth-local-storage/package.json index e790a7701..44c3b4484 100644 --- a/examples/email-auth-local-storage/package.json +++ b/examples/email-auth-local-storage/package.json @@ -19,11 +19,11 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/email-auth/package.json b/examples/email-auth/package.json index cc8d9003b..e8bc5423f 100644 --- a/examples/email-auth/package.json +++ b/examples/email-auth/package.json @@ -17,11 +17,11 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/oauth/package.json b/examples/oauth/package.json index 4eb8eda1b..7a2065072 100644 --- a/examples/oauth/package.json +++ b/examples/oauth/package.json @@ -19,8 +19,8 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", "next": "15.5.2", diff --git a/examples/otp-auth/package.json b/examples/otp-auth/package.json index caa0aa582..67e4c7fe5 100644 --- a/examples/otp-auth/package.json +++ b/examples/otp-auth/package.json @@ -17,8 +17,8 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", "next": "15.5.2", diff --git a/examples/react-components/package.json b/examples/react-components/package.json index e6e64378e..f10dbaa3e 100644 --- a/examples/react-components/package.json +++ b/examples/react-components/package.json @@ -19,7 +19,7 @@ "@mui/icons-material": "6.1.5", "@mui/material": "6.1.5", "@noble/hashes": "1.4.0", - "@solana/web3.js": "1.95.8", + "@solana/web3.js": "1.98.4", "@turnkey/indexed-db-stamper": "workspace:*", "@turnkey/sdk-browser": "workspace:*", "@turnkey/sdk-react": "workspace:*", @@ -27,18 +27,18 @@ "@turnkey/sdk-types": "workspace:*", "@turnkey/wallet-stamper": "workspace:*", "@types/node": "20.3.1", - "@types/react": "18.2.14", + "@types/react": "18.2.25", "@types/react-dom": "18.2.6", "axios": "1.8.2", "buffer": "6.0.3", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "ethers": "6.10.0", "install": "0.13.0", "jwt-decode": "4.0.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/react-wallet-kit/package.json b/examples/react-wallet-kit/package.json index 25f209874..2a071df97 100644 --- a/examples/react-wallet-kit/package.json +++ b/examples/react-wallet-kit/package.json @@ -13,45 +13,45 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@fortawesome/fontawesome-svg-core": "^6.7.2", - "@fortawesome/free-brands-svg-icons": "^6.7.2", - "@fortawesome/free-solid-svg-icons": "^6.7.2", - "@fortawesome/react-fontawesome": "^0.2.2", - "@headlessui/react": "^2.2.4", - "@hello-pangea/dnd": "^17.0.0", + "@fortawesome/fontawesome-svg-core": "7.0.1", + "@fortawesome/free-brands-svg-icons": "7.0.1", + "@fortawesome/free-solid-svg-icons": "7.0.1", + "@fortawesome/react-fontawesome": "3.0.2", + "@headlessui/react": "2.2.4", + "@hello-pangea/dnd": "18.0.1", "@noble/hashes": "1.4.0", - "@react-three/drei": "^10.6.1", - "@react-three/fiber": "^8.18.0", - "@solana/web3.js": "^1.95.8", - "@tailwindcss/postcss": "^4.1.10", + "@react-three/drei": "10.7.5", + "@react-three/fiber": "9.3.0", + "@solana/web3.js": "1.98.4", + "@tailwindcss/postcss": "4.1.10", "@turnkey/react-wallet-kit": "workspace:*", "@turnkey/sdk-types": "workspace:*", "@types/node": "20.3.1", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", - "axios": "^1.8.2", - "clsx": "^2.1.1", - "encoding": "^0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", - "esm": "^3.2.25", - "ethers": "^6.10.0", - "install": "^0.13.0", - "maath": "^0.10.8", - "next": "^14.2.25", - "npm": "^9.7.2", - "postcss": "^8.5.6", - "react": "18.2.0", - "react-dom": "18.2.0", - "react-hook-form": "^7.45.1", - "react-toastify": "^11.0.5", - "tailwindcss": "^4.1.11", - "three": "^0.160.0", - "tweetnacl": "^1.0.3", - "typescript": "5.1.3", - "viem": "^2.33.2" + "axios": "1.8.2", + "clsx": "2.1.1", + "encoding": "0.1.13", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", + "esm": "3.2.25", + "ethers": "6.10.0", + "install": "0.13.0", + "maath": "0.10.8", + "next": "15.5.2", + "npm": "9.7.2", + "postcss": "8.5.6", + "react-hook-form": "7.62.0", + "react-toastify": "11.0.5", + "tailwindcss": "4.1.11", + "three": "0.160.0", + "tweetnacl": "1.0.3", + "typescript": "5.4.3", + "viem": "2.33.2" }, "devDependencies": { - "@types/three": "^0.178.1" + "@types/react": "19.1.12", + "@types/react-dom": "19.1.9", + "@types/three": "0.178.1", + "react": "19.0.0", + "react-dom": "19.0.0" } } diff --git a/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx b/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx index c1a804161..e318ffeea 100644 --- a/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx +++ b/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx @@ -34,7 +34,7 @@ type ConfigContextValue = { hardwareAccelerationEnabled: boolean; setConfig: ( newConfig: Partial, - demoConfig?: Partial, + demoConfig?: Partial ) => void; }; @@ -70,7 +70,7 @@ export function TurnkeyConfigProvider({ const panelWidth = 384; const setConfig = ( newConfig: Partial, - demoConfig?: Partial, + demoConfig?: Partial ) => { setConfigState((prev) => ({ ...prev, ...newConfig })); setDemoConfig((prev) => ({ ...prev, ...demoConfig })); @@ -125,7 +125,7 @@ export function TurnkeyConfigProvider({
{/* Sliding Config Panel */} @@ -174,7 +174,7 @@ export function TurnkeyConfigProvider({ onClick={() => setPanelOpen(!panelOpen)} className={clsx( "fixed z-10 cursor-pointer top-1/2 -translate-y-1/2 w-[80px] h-[250px] rounded-r-xl bg-panel-background-light dark:bg-panel-background-dark hidden sm:flex flex-col items-center justify-center transition-all ease-out", - panelOpen ? " -translate-x-full" : "", + panelOpen ? " -translate-x-full" : "" )} >
diff --git a/examples/wallet-import-export/package.json b/examples/wallet-import-export/package.json index b8eba8c18..b2f28e2a4 100644 --- a/examples/wallet-import-export/package.json +++ b/examples/wallet-import-export/package.json @@ -11,16 +11,16 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@turnkey/sdk-server": "workspace:*", "@turnkey/iframe-stamper": "workspace:*", + "@turnkey/sdk-server": "workspace:*", "axios": "1.8.2", "classnames": "2.3.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", @@ -29,7 +29,7 @@ }, "devDependencies": { "@types/node": "20.3.1", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6" + "@types/react": "18.3.24", + "@types/react-dom": "18.3.7" } } diff --git a/examples/with-eip-1193-provider/package.json b/examples/with-eip-1193-provider/package.json index 481b4b7c0..035c8ed7b 100644 --- a/examples/with-eip-1193-provider/package.json +++ b/examples/with-eip-1193-provider/package.json @@ -16,16 +16,16 @@ "@radix-ui/react-select": "2.0.0", "@radix-ui/react-slot": "1.0.2", "@radix-ui/react-toast": "1.1.5", - "@turnkey/sdk-server": "workspace:*", - "@turnkey/sdk-react": "workspace:*", "@turnkey/api-key-stamper": "workspace:*", "@turnkey/eip-1193-provider": "workspace:*", "@turnkey/http": "workspace:^", + "@turnkey/sdk-react": "workspace:*", + "@turnkey/sdk-server": "workspace:*", "@turnkey/webauthn-stamper": "workspace:*", "class-variance-authority": "0.7.0", "clsx": "2.1.0", "lucide-react": "0.363.0", - "next": "14.2.25", + "next": "15.5.2", "next-themes": "0.3.0", "react": "18", "react-dom": "18", @@ -36,11 +36,11 @@ }, "devDependencies": { "@types/node": "20", - "@types/react": "18", - "@types/react-dom": "18", + "@types/react": "^18.3.24", + "@types/react-dom": "^18.3.7", "autoprefixer": "10.0.1", - "eslint": "8", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "postcss": "8", "tailwindcss": "3.3.0", "typescript": "5.4.3" diff --git a/examples/with-eth-passkeys-galore/package.json b/examples/with-eth-passkeys-galore/package.json index b35ac9b4d..9c3d03420 100644 --- a/examples/with-eth-passkeys-galore/package.json +++ b/examples/with-eth-passkeys-galore/package.json @@ -28,11 +28,11 @@ "axios": "1.8.2", "encoding": "0.1.13", "ethers": "6.10.0", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/with-federated-passkeys/package.json b/examples/with-federated-passkeys/package.json index 6d240e4a2..9b74e6777 100644 --- a/examples/with-federated-passkeys/package.json +++ b/examples/with-federated-passkeys/package.json @@ -21,11 +21,11 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/with-indexed-db/package.json b/examples/with-indexed-db/package.json index c06b4129a..c12a900ea 100644 --- a/examples/with-indexed-db/package.json +++ b/examples/with-indexed-db/package.json @@ -18,15 +18,15 @@ "@types/react-dom": "18.2.6", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.45.1", - "typescript": "5.1.3" + "typescript": "5.4.3" } } diff --git a/examples/with-sdk-js/package.json b/examples/with-sdk-js/package.json index 595808d00..86b28598d 100644 --- a/examples/with-sdk-js/package.json +++ b/examples/with-sdk-js/package.json @@ -23,9 +23,9 @@ }, "dependencies": { "@noble/hashes": "1.4.0", - "@react-oauth/google": "^0.12.1", - "@solana/web3.js": "^1.95.8", - "@tailwindcss/postcss": "^4.1.12", + "@react-oauth/google": "0.12.1", + "@solana/web3.js": "1.98.4", + "@tailwindcss/postcss": "4.1.12", "@turnkey/core": "workspace:*", "@turnkey/react-wallet-kit": "workspace:*", "@turnkey/sdk-react": "workspace:*", @@ -35,25 +35,25 @@ "@types/node": "20.3.1", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", - "axios": "^1.8.2", - "encoding": "^0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", - "esm": "^3.2.25", - "ethers": "^6.10.0", - "install": "^0.13.0", - "next": "^14.2.25", - "npm": "^9.7.2", - "playwright-core": "^1.55.0", - "postcss": "^8.5.6", + "axios": "1.8.2", + "encoding": "0.1.13", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", + "esm": "3.2.25", + "ethers": "6.10.0", + "install": "0.13.0", + "next": "15.5.2", + "npm": "9.7.2", + "playwright-core": "1.55.0", + "postcss": "8.5.6", "react": "18.2.0", "react-dom": "18.2.0", - "react-hook-form": "^7.45.1", - "tailwindcss": "^4.1.12", - "typescript": "5.1.3", + "react-hook-form": "7.45.1", + "tailwindcss": "4.1.12", + "typescript": "5.4.3", "viem": "2.34.0" }, "devDependencies": { - "@playwright/test": "^1.55.0" + "@playwright/test": "1.55.0" } } diff --git a/examples/with-solana-passkeys/package.json b/examples/with-solana-passkeys/package.json index 34b6f715c..30a6e97f7 100644 --- a/examples/with-solana-passkeys/package.json +++ b/examples/with-solana-passkeys/package.json @@ -23,11 +23,11 @@ "@turnkey/webauthn-stamper": "workspace:*", "axios": "1.8.2", "encoding": "0.1.13", - "eslint": "8.56.0", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "esm": "3.2.25", "install": "0.13.0", - "next": "14.2.25", + "next": "15.5.2", "npm": "9.7.2", "react": "18.2.0", "react-dom": "18.2.0", @@ -35,9 +35,9 @@ "typescript": "5.4.3" }, "devDependencies": { - "@solana/web3.js": "1.95.8", + "@solana/web3.js": "1.98.4", "@types/node": "20.3.1", "@types/react": "18.2.25", - "@types/react-dom": "18.2.6" + "@types/react-dom": "18.3.7" } } diff --git a/examples/with-solana/package.json b/examples/with-solana/package.json index 420d4b71e..b562db01b 100644 --- a/examples/with-solana/package.json +++ b/examples/with-solana/package.json @@ -17,7 +17,7 @@ "dependencies": { "@project-serum/anchor": "0.26.0", "@solana/spl-token": "0.4.8", - "@solana/web3.js": "1.95.8", + "@solana/web3.js": "1.98.4", "@turnkey/api-key-stamper": "workspace:*", "@turnkey/encoding": "workspace:*", "@turnkey/http": "workspace:*", diff --git a/examples/with-viem/package.json b/examples/with-viem/package.json index bc3fcb1c7..a53070fe3 100644 --- a/examples/with-viem/package.json +++ b/examples/with-viem/package.json @@ -26,15 +26,15 @@ "@turnkey/http": "workspace:*", "@turnkey/sdk-server": "workspace:*", "@turnkey/viem": "workspace:*", - "@zerodev/sdk": "5.4.32", + "@zerodev/sdk": "5.4.41", "dotenv": "16.0.3", "fetch": "1.1.0", + "kzg-wasm": "0.5.0", "prompts": "2.4.2", - "viem": "2.24.2", - "kzg-wasm": "0.5.0" + "viem": "2.37.5" }, "devDependencies": { "@types/prompts": "2.4.2", - "typescript": "5.4.3" + "typescript": "5.9.2" } } diff --git a/examples/with-wallet-stamper/package.json b/examples/with-wallet-stamper/package.json index 539b81696..89a5b74a2 100644 --- a/examples/with-wallet-stamper/package.json +++ b/examples/with-wallet-stamper/package.json @@ -20,12 +20,12 @@ "@radix-ui/react-tabs": "1.1.0", "@radix-ui/react-toggle": "1.1.0", "@radix-ui/react-toggle-group": "1.1.0", - "@solana/wallet-adapter-base": "0.9.23", - "@solana/wallet-adapter-base-ui": "0.1.2", - "@solana/wallet-adapter-react": "0.15.35", - "@solana/wallet-adapter-react-ui": "0.9.35", - "@solana/wallet-adapter-wallets": "0.19.32", - "@solana/web3.js": "1.95.8", + "@solana/wallet-adapter-base": "0.9.27", + "@solana/wallet-adapter-base-ui": "0.1.6", + "@solana/wallet-adapter-react": "0.15.39", + "@solana/wallet-adapter-react-ui": "0.9.39", + "@solana/wallet-adapter-wallets": "0.19.37", + "@solana/web3.js": "1.98.4", "@t3-oss/env-nextjs": "0.11.0", "@turnkey/api-key-stamper": "workspace:*", "@turnkey/encoding": "workspace:*", @@ -34,10 +34,11 @@ "@turnkey/viem": "workspace:*", "@turnkey/wallet-stamper": "workspace:*", "@turnkey/webauthn-stamper": "workspace:*", + "bs58": "^6", "class-variance-authority": "0.7.0", "clsx": "2.1.0", "lucide-react": "0.426.0", - "next": "14.2.25", + "next": "15.5.2", "react": "18.3.1", "react-dom": "18.3.1", "tailwind-merge": "2.2.2", @@ -51,8 +52,8 @@ "@types/node": "20", "@types/react": "18.3.3", "@types/react-dom": "18.3.0", - "eslint": "8", - "eslint-config-next": "14.2.25", + "eslint": "9.35.0", + "eslint-config-next": "15.5.2", "pino-pretty": "11.2.2", "postcss": "8", "tailwindcss": "3.4.1", diff --git a/examples/with-wallet-stamper/src/lib/server.ts b/examples/with-wallet-stamper/src/lib/server.ts index 8636ccc2f..9aaac8f9a 100644 --- a/examples/with-wallet-stamper/src/lib/server.ts +++ b/examples/with-wallet-stamper/src/lib/server.ts @@ -57,7 +57,7 @@ export const createUserSubOrg = async ({ { baseUrl: NEXT_PUBLIC_BASE_URL, }, - stamper, + stamper ); const activityPoller = createActivityPoller({ @@ -96,7 +96,7 @@ export const createUserSubOrg = async ({ : []; const completedActivity = await activityPoller({ - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6", + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", timestampMs, organizationId, parameters: { @@ -136,7 +136,7 @@ export const getSubOrgByPublicKey = async (publicKey: string) => { { baseUrl: NEXT_PUBLIC_BASE_URL, }, - stamper, + stamper ); const subOrg = await client.getSubOrgIds({ diff --git a/examples/with-x/package.json b/examples/with-x/package.json index a6264cb03..9f6c2c86c 100644 --- a/examples/with-x/package.json +++ b/examples/with-x/package.json @@ -13,8 +13,8 @@ "@radix-ui/react-slot": "1.2.3", "@turnkey/crypto": "workspace:*", "@turnkey/encoding": "workspace:*", - "@turnkey/sdk-server": "workspace:*", "@turnkey/sdk-react": "workspace:*", + "@turnkey/sdk-server": "workspace:*", "axios": "1.8.2", "class-variance-authority": "0.7.1", "clsx": "2.1.1", @@ -29,9 +29,9 @@ "@eslint/eslintrc": "3", "@tailwindcss/postcss": "4", "@types/node": "20.3.1", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", - "eslint": "9", + "@types/react": "18.3.24", + "@types/react-dom": "18.3.7", + "eslint": "9.35.0", "eslint-config-next": "15.5.2", "tailwindcss": "4", "tw-animate-css": "1.3.7", diff --git a/examples/with-zerodev-aa/package.json b/examples/with-zerodev-aa/package.json index 0feee5ff4..e608767fb 100644 --- a/examples/with-zerodev-aa/package.json +++ b/examples/with-zerodev-aa/package.json @@ -12,14 +12,14 @@ "@turnkey/ethers": "workspace:*", "@turnkey/sdk-server": "workspace:*", "@turnkey/viem": "workspace:*", - "@zerodev/ecdsa-validator": "5.4.8", - "@zerodev/sdk": "5.4.32", + "@zerodev/ecdsa-validator": "5.4.9", + "@zerodev/sdk": "5.4.41", "dotenv": "16.0.3", "ethers": "6.10.0", - "permissionless": "0.1.45", + "permissionless": "0.2.57", "prompts": "2.4.2", "typescript": "5.4.3", - "viem": "2.24.2" + "viem": "2.37.5" }, "devDependencies": { "@types/node": "22.7.7", diff --git a/internal/jest-config/global.d.ts b/internal/jest-config/global.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/internal/jest-config/global.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/internal/jest-config/tsconfig.json b/internal/jest-config/tsconfig.json index d3b7a6fca..c865efc19 100644 --- a/internal/jest-config/tsconfig.json +++ b/internal/jest-config/tsconfig.json @@ -4,5 +4,5 @@ "noEmit": true, "tsBuildInfoFile": "./.cache/.tsbuildinfo" }, - "include": ["**/*.js"] + "include": ["**/*.js", "global.d.ts"] } diff --git a/package.json b/package.json index 59a0645e6..7564a4753 100644 --- a/package.json +++ b/package.json @@ -32,11 +32,10 @@ "@microsoft/tsdoc": "0.15.1", "@microsoft/tsdoc-config": "0.17.1", "@rollup/plugin-alias": "5.1.1", - "@rollup/plugin-babel": "5.3.0", + "@rollup/plugin-babel": "6.0.4", "@rollup/plugin-node-resolve": "16.0.0", "@rollup/plugin-typescript": "11.1.5", "@rollup/plugin-url": "8.0.2", - "@tsconfig/node16-strictest": "1.0.4", "@turnkey/jest-config": "workspace:*", "@types/node": "18.18.2", "jest": "29.4.3", @@ -61,6 +60,9 @@ ] }, "overrides": { + "@solana-mobile/wallet-standard-mobile>bs58": "^6.0.0", + "@solana-mobile/mobile-wallet-adapter-protocol>bs58": "^6.0.0", + "@solana-mobile/mobile-wallet-adapter-protocol-web3js>bs58": "^6.0.0", "@confio/ics23@0.6.8>protobufjs": ">=7.2.5", "protobufjs@>=6.10.0 <7.2.5": ">=7.2.5", "@babel/traverse": ">=7.23.2", @@ -82,6 +84,24 @@ "tiny-secp256k1": ">=1.1.7", "form-data": ">=4.0.4", "sha.js": ">=2.4.12" + }, + "packageExtensions": { + "@particle-network/solana-wallet@*": { + "dependencies": { + "bs58": "^4.0.1" + } + }, + "react-qr-reader@*": { + "peerDependencies": { + "react": ">=16 <19", + "react-dom": ">=16 <19" + } + }, + "qrcode.react@*": { + "peerDependencies": { + "react": ">=15.5.3 <19" + } + } } } } diff --git a/packages/core/package.json b/packages/core/package.json index a89741afa..ec6eef2d8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,22 +28,24 @@ "@turnkey/http": "workspace:*", "@turnkey/sdk-types": "workspace:*", "@turnkey/webauthn-stamper": "workspace:*", - "@wallet-standard/app": "^1.1.0", - "@wallet-standard/base": "^1.1.0", - "@walletconnect/sign-client": "^2.21.8", - "@walletconnect/types": "^2.21.8", - "cross-fetch": "^3.1.5", - "ethers": "^6.10.0", + "@wallet-standard/app": "1.1.0", + "@wallet-standard/base": "1.1.0", + "@walletconnect/sign-client": "2.21.8", + "@walletconnect/types": "2.21.8", + "cross-fetch": "3.1.5", + "ethers": "6.10.0", "jwt-decode": "4.0.0", - "uuid": "^11.1.0", - "viem": "^2.33.1" + "uuid": "11.1.0", + "viem": "2.33.1" }, "devDependencies": { - "glob": "^8.0.3", + "glob": "11.0.3", + "react": "18.2.0", + "react-dom": "18.2.0", "typescript": "5.4.3" }, "peerDependencies": { - "@react-native-async-storage/async-storage": "^2.2.0", + "@react-native-async-storage/async-storage": "1.24.0", "@turnkey/react-native-passkey-stamper": "workspace:*", "react-native-keychain": "^8.1.0 || ^9.2.2 || ^10.0.0" }, diff --git a/packages/core/scripts/codegen.js b/packages/core/scripts/codegen.js index dea5d52fe..b14f4f008 100644 --- a/packages/core/scripts/codegen.js +++ b/packages/core/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json", + "public_api.swagger.json" ); const AUTH_PROXY_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "auth_proxy.swagger.json", + "auth_proxy.swagger.json" ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts", + "sdk-client-base.ts" ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -110,11 +110,11 @@ function extractLatestVersions(definitions) { const generateSDKClientFromSwagger = async ( swaggerSpec, authProxySwaggerSpec, - targetPath, + targetPath ) => { const namespace = swaggerSpec.tags?.find((item) => item.name != null)?.name; const authProxyNamespace = authProxySwaggerSpec.tags?.find( - (item) => item.name != null, + (item) => item.name != null )?.name; /** @type {Array} */ @@ -124,18 +124,18 @@ const generateSDKClientFromSwagger = async ( const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, TActivityResponse, TActivityStatus, TSignedRequest } from "@turnkey/http";', + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' ); imports.push( - 'import { GrpcStatus, TStamper, TurnkeyRequestError, TurnkeyHttpClientConfig, StorageBase } from "../__types__/base";', + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeyHttpClientConfig, type StorageBase } from "../__types__/base";' ); imports.push('import { VERSION } from "../__generated__/version";'); imports.push('import type * as SdkTypes from "@turnkey/sdk-types";'); imports.push( - 'import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types";', + 'import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types";' ); imports.push('import { StamperType } from "../__types__/base";'); @@ -338,7 +338,7 @@ const generateSDKClientFromSwagger = async ( const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "", + "" ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -367,7 +367,7 @@ const generateSDKClientFromSwagger = async ( ...input, organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }, stampWith); - }`, + }` ); } else if (methodType === "activity") { // For activity methods @@ -391,7 +391,7 @@ const generateSDKClientFromSwagger = async ( timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}", stampWith); - }`, + }` ); } else if (methodType === "activityDecision") { // For activityDecision methods @@ -408,7 +408,7 @@ const generateSDKClientFromSwagger = async ( .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }, stampWith); - }`, + }` ); } @@ -447,7 +447,7 @@ const generateSDKClientFromSwagger = async ( stamp: stamp, url: fullUrl, }; - }`, + }` ); } @@ -458,7 +458,7 @@ const generateSDKClientFromSwagger = async ( const operationNameWithoutNamespace = operationId.replace( new RegExp(`${authProxyNamespace}_`), - "", + "" ); const methodName = `proxy${ @@ -476,7 +476,7 @@ const generateSDKClientFromSwagger = async ( : "" }): Promise => { return this.authProxyRequest("${endpointPath}", input); - }`, + }` ); } @@ -485,7 +485,7 @@ const generateSDKClientFromSwagger = async ( await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") ); }; @@ -498,11 +498,11 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8", + "utf-8" ); const authProxySwaggerSpecFile = await fs.promises.readFile( AUTH_PROXY_SWAGGER_PATH, - "utf-8", + "utf-8" ); const swaggerSpec = JSON.parse(swaggerSpecFile); @@ -511,6 +511,6 @@ async function main() { await generateSDKClientFromSwagger( swaggerSpec, authProxySwaggerSpec, - TARGET_SDK_CLIENT_PATH, + TARGET_SDK_CLIENT_PATH ); } diff --git a/packages/core/src/__clients__/core.ts b/packages/core/src/__clients__/core.ts index 0d4f669b1..e0c54bade 100644 --- a/packages/core/src/__clients__/core.ts +++ b/packages/core/src/__clients__/core.ts @@ -1,54 +1,54 @@ import { TurnkeySDKClientBase } from "../__generated__/sdk-client-base"; import { - TDeleteSubOrganizationResponse, - Session, - TStampLoginResponse, - v1AddressFormat, - v1Attestation, - v1Pagination, - v1SignRawPayloadResult, - v1TransactionType, - v1User, + type TDeleteSubOrganizationResponse, + type Session, + type TStampLoginResponse, + type v1AddressFormat, + type v1Attestation, + type v1Pagination, + type v1SignRawPayloadResult, + type v1TransactionType, + type v1User, TurnkeyError, TurnkeyErrorCodes, TurnkeyNetworkError, - ProxyTGetWalletKitConfigResponse, - v1WalletAccountParams, - v1PayloadEncoding, - v1HashFunction, - v1Curve, - v1PrivateKey, - WalletAuthResult, - BaseAuthResult, + type ProxyTGetWalletKitConfigResponse, + type v1WalletAccountParams, + type v1PayloadEncoding, + type v1HashFunction, + type v1Curve, + type v1PrivateKey, + type WalletAuthResult, + type BaseAuthResult, AuthAction, - PasskeyAuthResult, - v1CreatePolicyIntentV3, + type PasskeyAuthResult, + type v1CreatePolicyIntentV3, } from "@turnkey/sdk-types"; import { DEFAULT_SESSION_EXPIRATION_IN_SECONDS, - ExportBundle, + type ExportBundle, StamperType, - TurnkeySDKClientConfig, - WalletAccount, - Wallet, + type TurnkeySDKClientConfig, + type WalletAccount, + type Wallet, OtpType, OtpTypeToFilterTypeMap, - CreateSubOrgParams, + type CreateSubOrgParams, Chain, FilterType, - EmbeddedWallet, + type EmbeddedWallet, WalletSource, - ConnectedWallet, + type ConnectedWallet, Curve, - StorageBase, + type StorageBase, SessionKey, - EmbeddedWalletAccount, - ConnectedWalletAccount, - WalletManagerBase, - WalletProvider, - SwitchableChain, - ConnectedEthereumWalletAccount, - ConnectedSolanaWalletAccount, + type EmbeddedWalletAccount, + type ConnectedWalletAccount, + type WalletManagerBase, + type WalletProvider, + type SwitchableChain, + type ConnectedEthereumWalletAccount, + type ConnectedSolanaWalletAccount, SignIntent, } from "../__types__/base"; // TODO (Amir): How many of these should we keep in sdk-types import { @@ -123,7 +123,7 @@ export class TurnkeyClient { // Users can pass in their own stampers, or we will create them. Should we remove this? apiKeyStamper?: CrossPlatformApiKeyStamper, passkeyStamper?: CrossPlatformPasskeyStamper, - walletManager?: WalletManagerBase, + walletManager?: WalletManagerBase ) { this.config = config; @@ -146,7 +146,7 @@ export class TurnkeyClient { if (this.config.passkeyConfig) { this.passkeyStamper = new CrossPlatformPasskeyStamper( - this.config.passkeyConfig, + this.config.passkeyConfig ); await this.passkeyStamper.init(); } @@ -198,7 +198,7 @@ export class TurnkeyClient { return withTurnkeyErrorHandling( async () => { const name = isValidPasskeyName( - params?.name || `passkey-${Date.now()}`, + params?.name || `passkey-${Date.now()}` ); let passkey: { encodedChallenge: string; attestation: v1Attestation }; if (isWeb()) { @@ -214,7 +214,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( "Failed to create React Native passkey", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } passkey = { @@ -229,7 +229,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( "Failed to create React Native passkey", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } passkey = { @@ -239,7 +239,7 @@ export class TurnkeyClient { } else { throw new TurnkeyError( "Unsupported platform for passkey creation", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -254,7 +254,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.SELECT_PASSKEY_CANCELLED, }, }, - }, + } ); }; @@ -274,7 +274,7 @@ export class TurnkeyClient { async () => { if (params?.sessionKey) { const session = await this.storageManager.getSession( - params.sessionKey, + params.sessionKey ); this.storageManager.clearSession(params.sessionKey); this.apiKeyStamper?.deleteKeyPair(session?.publicKey!); @@ -287,7 +287,7 @@ export class TurnkeyClient { } else { throw new TurnkeyError( "No active session found to log out from.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } } @@ -295,7 +295,7 @@ export class TurnkeyClient { { errorMessage: "Failed to log out", errorCode: TurnkeyErrorCodes.LOGOUT_ERROR, - }, + } ); }; @@ -334,7 +334,7 @@ export class TurnkeyClient { if (!generatedPublicKey) { throw new TurnkeyError( "A publickey could not be found or generated.", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } const sessionResponse = await this.httpClient.stampLogin( @@ -343,7 +343,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Passkey, + StamperType.Passkey ); await this.storeSession({ @@ -381,12 +381,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -438,7 +438,7 @@ export class TurnkeyClient { if (!passkey) { throw new TurnkeyError( "Failed to create passkey: encoded challenge or attestation is missing", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } @@ -470,7 +470,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.PASSKEY_SIGNUP_AUTH_ERROR, + TurnkeyErrorCodes.PASSKEY_SIGNUP_AUTH_ERROR ); } @@ -511,12 +511,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -536,7 +536,7 @@ export class TurnkeyClient { if (!this.walletManager) { throw new TurnkeyError( "Wallet manager is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } @@ -545,7 +545,7 @@ export class TurnkeyClient { { errorMessage: "Unable to get wallet providers", errorCode: TurnkeyErrorCodes.FETCH_WALLETS_ERROR, - }, + } ); }; @@ -564,7 +564,7 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } await this.walletManager.connector.connectWalletAccount(walletProvider); @@ -572,7 +572,7 @@ export class TurnkeyClient { { errorMessage: "Unable to connect wallet account", errorCode: TurnkeyErrorCodes.CONNECT_WALLET_ACCOUNT_ERROR, - }, + } ); }; @@ -591,18 +591,18 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } await this.walletManager.connector.disconnectWalletAccount( - walletProvider, + walletProvider ); }, { errorMessage: "Unable to disconnect wallet account", errorCode: TurnkeyErrorCodes.DISCONNECT_WALLET_ACCOUNT_ERROR, - }, + } ); }; @@ -634,14 +634,14 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } if (walletAccount.source === WalletSource.Embedded) { throw new TurnkeyError( "You can only switch chains for connected wallet accounts", - TurnkeyErrorCodes.NOT_FOUND, + TurnkeyErrorCodes.NOT_FOUND ); } @@ -649,13 +649,13 @@ export class TurnkeyClient { walletProviders ?? (await this.fetchWalletProviders()); const walletProvider = findWalletProviderFromAddress( walletAccount.address, - providers, + providers ); if (!walletProvider) { throw new TurnkeyError( "Wallet provider not found", - TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR, + TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR ); } @@ -666,13 +666,13 @@ export class TurnkeyClient { await this.walletManager.connector.switchChain( walletProvider, - chainOrId, + chainOrId ); }, { errorMessage: "Unable to switch wallet account chain", errorCode: TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR, - }, + } ); }; @@ -707,7 +707,7 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } const sessionKey = params.sessionKey || SessionKey.DefaultSessionkey; @@ -719,13 +719,13 @@ export class TurnkeyClient { if (!publicKey) { throw new TurnkeyError( "A publickey could not be found or generated.", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider, + walletProvider ); const sessionResponse = await this.httpClient.stampLogin( @@ -734,7 +734,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Wallet, + StamperType.Wallet ); await this.storeSession({ @@ -748,7 +748,7 @@ export class TurnkeyClient { sessionToken: sessionResponse.session, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey, + publicKey ), }; }, @@ -767,12 +767,12 @@ export class TurnkeyClient { throw new TurnkeyError( "Failed to clean up generated key pair", TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -813,7 +813,7 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } @@ -821,18 +821,18 @@ export class TurnkeyClient { this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider, + walletProvider ); const publicKey = await this.walletManager.stamper.getPublicKey( walletProvider.interfaceType, - walletProvider, + walletProvider ); if (!publicKey) { throw new TurnkeyError( "Failed to get public key from wallet", - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR ); } @@ -860,7 +860,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR ); } @@ -888,7 +888,7 @@ export class TurnkeyClient { sessionToken: sessionResponse.session, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey, + publicKey ), }; }, @@ -907,12 +907,12 @@ export class TurnkeyClient { throw new TurnkeyError( "Failed to clean up generated key pair", TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -954,14 +954,14 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED ); } generatedPublicKey = await this.apiKeyStamper?.createKeyPair(); this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider, + walletProvider ); // here we sign the request with the wallet, but we don't send it to Turnkey yet @@ -975,7 +975,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Wallet, + StamperType.Wallet ); }, { @@ -987,13 +987,13 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.CONNECT_WALLET_CANCELLED, }, }, - }, + } ); if (!signedRequest) { throw new TurnkeyError( "Failed to create stamped request for wallet login", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -1003,7 +1003,7 @@ export class TurnkeyClient { // for Ethereum, there is no way to get the public key from the wallet address // so we derive it from the signed request publicKey = getPublicKeyFromStampHeader( - signedRequest.stamp.stampHeaderValue, + signedRequest.stamp.stampHeaderValue ); break; @@ -1016,7 +1016,7 @@ export class TurnkeyClient { // which it has to be since they just called stampStampLogin() publicKey = await this.walletManager.stamper.getPublicKey( walletProvider.interfaceType, - walletProvider, + walletProvider ); break; } @@ -1024,7 +1024,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( `Unsupported interface type: ${walletProvider.interfaceType}`, - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -1039,7 +1039,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR ); } @@ -1065,7 +1065,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR ); } } @@ -1089,7 +1089,7 @@ export class TurnkeyClient { `Stamped request failed`, res.status, TurnkeyErrorCodes.WALLET_LOGIN_AUTH_ERROR, - errorText, + errorText ); } @@ -1099,7 +1099,7 @@ export class TurnkeyClient { if (!sessionToken) { throw new TurnkeyError( "Session token not found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -1112,7 +1112,7 @@ export class TurnkeyClient { sessionToken: sessionToken, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey, + publicKey ), // if the subOrganizationId exists, it means the user is logging in @@ -1130,12 +1130,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -1162,7 +1162,7 @@ export class TurnkeyClient { if (!initOtpRes || !initOtpRes.otpId) { throw new TurnkeyError( "Failed to initialize OTP: otpId is missing", - TurnkeyErrorCodes.INIT_OTP_ERROR, + TurnkeyErrorCodes.INIT_OTP_ERROR ); } @@ -1178,7 +1178,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.MAX_OTP_INITIATED_ERROR, }, }, - }, + } ); }; @@ -1217,7 +1217,7 @@ export class TurnkeyClient { if (!verifyOtpRes) { throw new TurnkeyError( `OTP verification failed`, - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } const accountRes = await this.httpClient.proxyGetAccount({ @@ -1228,7 +1228,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR ); } @@ -1247,7 +1247,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.INVALID_OTP_CODE, }, }, - }, + } ); }; @@ -1292,7 +1292,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OTP login failed`, - TurnkeyErrorCodes.OTP_LOGIN_ERROR, + TurnkeyErrorCodes.OTP_LOGIN_ERROR ); } @@ -1300,7 +1300,7 @@ export class TurnkeyClient { if (!loginRes.session) { throw new TurnkeyError( "No session returned from OTP login", - TurnkeyErrorCodes.OTP_LOGIN_ERROR, + TurnkeyErrorCodes.OTP_LOGIN_ERROR ); } @@ -1325,12 +1325,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -1388,7 +1388,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OTP sign up failed`, - TurnkeyErrorCodes.OTP_SIGNUP_ERROR, + TurnkeyErrorCodes.OTP_SIGNUP_ERROR ); } @@ -1402,7 +1402,7 @@ export class TurnkeyClient { { errorCode: TurnkeyErrorCodes.OTP_SIGNUP_ERROR, errorMessage: "Failed to sign up with OTP", - }, + } ); }; @@ -1464,7 +1464,7 @@ export class TurnkeyClient { if (!verificationToken) { throw new TurnkeyError( "No verification token returned from OTP verification", - TurnkeyErrorCodes.VERIFY_OTP_ERROR, + TurnkeyErrorCodes.VERIFY_OTP_ERROR ); } @@ -1501,7 +1501,7 @@ export class TurnkeyClient { { errorMessage: "Failed to complete OTP process", errorCode: TurnkeyErrorCodes.OTP_COMPLETION_ERROR, - }, + } ); }; @@ -1552,7 +1552,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR ); } const subOrganizationId = accountRes.organizationId; @@ -1589,7 +1589,7 @@ export class TurnkeyClient { { errorMessage: "Failed to complete OAuth process", errorCode: TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, - }, + } ); }; @@ -1627,7 +1627,7 @@ export class TurnkeyClient { if (!publicKey) { throw new TurnkeyError( "Public key must be provided to log in with OAuth. Please create a key pair first.", - TurnkeyErrorCodes.MISSING_PARAMS, + TurnkeyErrorCodes.MISSING_PARAMS ); } @@ -1640,14 +1640,14 @@ export class TurnkeyClient { if (!loginRes) { throw new TurnkeyError( `Auth proxy OAuth login failed`, - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR ); } if (!loginRes.session) { throw new TurnkeyError( "No session returned from oauth login", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR ); } @@ -1677,12 +1677,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError, + cleanupError ); } } }, - }, + } ); }; @@ -1737,7 +1737,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OAuth signup failed`, - TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, + TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR ); } @@ -1750,7 +1750,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign up with OAuth", errorCode: TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - }, + } ); }; @@ -1778,7 +1778,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -1786,13 +1786,13 @@ export class TurnkeyClient { async () => { const res = await this.httpClient.getWallets( { organizationId: session.organizationId }, - stampWith, + stampWith ); if (!res || !res.wallets) { throw new TurnkeyError( "No wallets found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -1811,7 +1811,7 @@ export class TurnkeyClient { embeddedWallet.accounts = accounts; return embeddedWallet; - }), + }) ); // if wallet connecting is disabled we return only embedded wallets @@ -1857,8 +1857,8 @@ export class TurnkeyClient { wallet.accounts = accounts; return wallet; - }, - ), + } + ) ) ).filter((wallet) => wallet.accounts.length > 0); @@ -1867,7 +1867,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch wallets", errorCode: TurnkeyErrorCodes.FETCH_WALLETS_ERROR, - }, + } ); }; @@ -1899,7 +1899,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -1915,13 +1915,13 @@ export class TurnkeyClient { organizationId: session.organizationId, paginationOptions: paginationOptions || { limit: "100" }, }, - stampWith, + stampWith ); if (!res || !res.accounts) { throw new TurnkeyError( "No wallet accounts found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -1956,11 +1956,11 @@ export class TurnkeyClient { const matching = providers.filter( (p) => p.info?.name?.toLowerCase().replace(/\s+/g, "-") === - wallet.walletId && p.connectedAddresses.length > 0, + wallet.walletId && p.connectedAddresses.length > 0 ); const sign = this.walletManager!.connector!.sign.bind( - this.walletManager!.connector, + this.walletManager!.connector ); const user = await this.fetchUser({ @@ -1991,7 +1991,7 @@ export class TurnkeyClient { addressFormat: "ADDRESS_FORMAT_ETHEREUM", chainInfo: provider.chainInfo, isAuthenticator: ethereumAddresses.includes( - address.toLowerCase(), + address.toLowerCase() ), signMessage: (msg: string) => sign(msg, provider, SignIntent.SignMessage), @@ -2032,7 +2032,7 @@ export class TurnkeyClient { } throw new Error( - `Unsupported wallet chain: ${provider.chainInfo}. Supported chains are Ethereum and Solana.`, + `Unsupported wallet chain: ${provider.chainInfo}. Supported chains are Ethereum and Solana.` ); } } @@ -2042,7 +2042,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch wallet accounts", errorCode: TurnkeyErrorCodes.FETCH_WALLET_ACCOUNTS_ERROR, - }, + } ); }; @@ -2065,7 +2065,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2073,13 +2073,13 @@ export class TurnkeyClient { async () => { const res = await this.httpClient.getPrivateKeys( { organizationId: session.organizationId }, - stampWith, + stampWith ); if (!res) { throw new TurnkeyError( "Failed to fetch private keys", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -2088,7 +2088,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch private keys", errorCode: TurnkeyErrorCodes.FETCH_PRIVATE_KEYS_ERROR, - }, + } ); }; @@ -2146,7 +2146,7 @@ export class TurnkeyClient { if (!addEthereumPrefix && isEthereum) { throw new TurnkeyError( "Connected Ethereum wallets automatically prefix messages. Use `addEthereumPrefix: true`.", - TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, + TurnkeyErrorCodes.SIGN_MESSAGE_ERROR ); } @@ -2154,7 +2154,7 @@ export class TurnkeyClient { if (isEthereum) { encodedMessage = getEncodedMessage( walletAccount.addressFormat, - message, + message ); } @@ -2172,7 +2172,7 @@ export class TurnkeyClient { const encodedMessage = getEncodedMessage( walletAccount.addressFormat, - messageToEncode, + messageToEncode ); const response = await this.httpClient.signRawPayload( @@ -2182,13 +2182,13 @@ export class TurnkeyClient { encoding: payloadEncoding, hashFunction, }, - stampWith, + stampWith ); if (response.activity.failure) { throw new TurnkeyError( "Failed to sign message, no signed payload returned", - TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, + TurnkeyErrorCodes.SIGN_MESSAGE_ERROR ); } @@ -2198,7 +2198,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign message", errorCode: TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, - }, + } ); }; @@ -2234,7 +2234,7 @@ export class TurnkeyClient { case Chain.Ethereum: throw new TurnkeyError( "Ethereum connected wallets do not support raw transaction signing. Use signAndSendTransaction instead.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); case Chain.Solana: @@ -2247,7 +2247,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( "Unsupported connected wallet type.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } } @@ -2259,7 +2259,7 @@ export class TurnkeyClient { unsignedTransaction, type: transactionType, }, - stampWith, + stampWith ); return signTransaction.signedTransaction; @@ -2267,7 +2267,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign transaction", errorCode: TurnkeyErrorCodes.SIGN_TRANSACTION_ERROR, - }, + } ); }; @@ -2322,7 +2322,7 @@ export class TurnkeyClient { if (!rpcUrl) { throw new TurnkeyError( "Missing rpcUrl: connected Solana wallets require an RPC URL to broadcast transactions.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } // not sure why typescript isn't inferring the type here @@ -2339,7 +2339,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( "Connected wallets do not support signAndSendTransaction for this transaction type.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } } @@ -2351,7 +2351,7 @@ export class TurnkeyClient { if (!rpcUrl) { throw new TurnkeyError( "Missing rpcUrl: embedded wallets require an RPC URL to broadcast transactions.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } @@ -2361,7 +2361,7 @@ export class TurnkeyClient { unsignedTransaction, type: transactionType, }, - stampWith, + stampWith ); const signedTx = signTransactionResponse.signedTransaction; @@ -2377,7 +2377,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign and send transaction", errorCode: TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, - }, + } ); }; @@ -2406,7 +2406,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2414,7 +2414,7 @@ export class TurnkeyClient { if (!userId) { throw new TurnkeyError( "User ID must be provided to fetch user", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -2424,13 +2424,13 @@ export class TurnkeyClient { async () => { const userResponse = await this.httpClient.getUser( { organizationId, userId }, - stampWith, + stampWith ); if (!userResponse || !userResponse.user) { throw new TurnkeyError( "No user found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -2439,7 +2439,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch user", errorCode: TurnkeyErrorCodes.FETCH_USER_ERROR, - }, + } ); }; @@ -2472,7 +2472,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2482,7 +2482,7 @@ export class TurnkeyClient { if (!publicKey?.trim()) { throw new TurnkeyError( "'publicKey' is required and cannot be empty.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -2492,7 +2492,7 @@ export class TurnkeyClient { if (!usersResponse || !usersResponse.users) { throw new TurnkeyError( "No users found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -2500,8 +2500,8 @@ export class TurnkeyClient { user.apiKeys.some( (apiKey) => apiKey.credential.publicKey === publicKey && - apiKey.credential.type === "CREDENTIAL_TYPE_API_KEY_P256", - ), + apiKey.credential.type === "CREDENTIAL_TYPE_API_KEY_P256" + ) ); // the user already exists, so we return it @@ -2540,7 +2540,7 @@ export class TurnkeyClient { ) { throw new TurnkeyError( "Failed to create P-256 API key user", - TurnkeyErrorCodes.CREATE_USERS_ERROR, + TurnkeyErrorCodes.CREATE_USERS_ERROR ); } @@ -2554,7 +2554,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get or create P-256 API key user", errorCode: TurnkeyErrorCodes.CREATE_USERS_ERROR, - }, + } ); }; @@ -2588,14 +2588,14 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } if (!Array.isArray(policies) || policies.length === 0) { throw new TurnkeyError( "'policies' must be a non-empty array of policy definitions.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -2651,7 +2651,7 @@ export class TurnkeyClient { if (!createPoliciesResponse || !createPoliciesResponse.policyIds) { throw new TurnkeyError( "Failed to create missing delegated access policies", - TurnkeyErrorCodes.CREATE_POLICY_ERROR, + TurnkeyErrorCodes.CREATE_POLICY_ERROR ); } @@ -2670,7 +2670,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get or create delegated access policies", errorCode: TurnkeyErrorCodes.CREATE_USERS_ERROR, - }, + } ); }; @@ -2701,7 +2701,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2717,7 +2717,7 @@ export class TurnkeyClient { if (existingUser.organizationId) { throw new TurnkeyError( `Email ${email} is already associated with another user.`, - TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS, + TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS ); } @@ -2727,13 +2727,13 @@ export class TurnkeyClient { userEmail: email, ...(verificationToken && { verificationToken }), }, - stampWith, + stampWith ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the update user email response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -2742,7 +2742,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user email", errorCode: TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - }, + } ); }; @@ -2768,7 +2768,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -2779,12 +2779,12 @@ export class TurnkeyClient { userId: userId, userEmail: "", }, - stampWith, + stampWith ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the remove user email response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.userId; @@ -2792,7 +2792,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove user email", errorCode: TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - }, + } ); }; @@ -2823,7 +2823,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2836,13 +2836,13 @@ export class TurnkeyClient { userPhoneNumber: phoneNumber, ...(verificationToken && { verificationToken }), }, - stampWith, + stampWith ); if (!res || !res.userId) { throw new TurnkeyError( "Failed to update user phone number", - TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, + TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR ); } @@ -2851,7 +2851,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user phone number", errorCode: TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - }, + } ); }; @@ -2877,7 +2877,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const userId = params?.userId || session.userId; @@ -2889,12 +2889,12 @@ export class TurnkeyClient { userId, userPhoneNumber: "", }, - stampWith, + stampWith ); if (!res || !res.userId) { throw new TurnkeyError( "Failed to remove user phone number", - TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, + TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR ); } return res.userId; @@ -2902,7 +2902,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove user phone number", errorCode: TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - }, + } ); }; @@ -2931,7 +2931,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const userId = params?.userId || session.userId; @@ -2943,13 +2943,13 @@ export class TurnkeyClient { userId, userName, }, - stampWith, + stampWith ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the update user name response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -2958,7 +2958,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user name", errorCode: TurnkeyErrorCodes.UPDATE_USER_NAME_ERROR, - }, + } ); }; @@ -2990,7 +2990,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3004,14 +3004,14 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed}`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR ); } if (accountRes.organizationId) { throw new TurnkeyError( "Account already exists with this OIDC token", - TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS, + TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS ); } @@ -3050,13 +3050,13 @@ export class TurnkeyClient { }, ], }, - stampWith, + stampWith ); if (!createProviderRes) { throw new TurnkeyError( "Failed to create OAuth provider", - TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR, + TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR ); } @@ -3065,7 +3065,7 @@ export class TurnkeyClient { { errorMessage: "Failed to add OAuth provider", errorCode: TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR, - }, + } ); }; @@ -3094,7 +3094,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const userId = params?.userId || session.userId; @@ -3105,12 +3105,12 @@ export class TurnkeyClient { userId, providerIds, }, - stampWith, + stampWith ); if (!res) { throw new TurnkeyError( "Failed to remove OAuth provider", - TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, + TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR ); } return res.providerIds; @@ -3118,7 +3118,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove OAuth provider", errorCode: TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, - }, + } ); }; @@ -3153,7 +3153,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3167,7 +3167,7 @@ export class TurnkeyClient { if (!attestation || !encodedChallenge) { throw new TurnkeyError( "Failed to create passkey challenge and attestation", - TurnkeyErrorCodes.CREATE_PASSKEY_ERROR, + TurnkeyErrorCodes.CREATE_PASSKEY_ERROR ); } @@ -3182,7 +3182,7 @@ export class TurnkeyClient { }, ], }, - stampWith, + stampWith ); return res?.authenticatorIds || []; @@ -3190,7 +3190,7 @@ export class TurnkeyClient { { errorMessage: "Failed to add passkey", errorCode: TurnkeyErrorCodes.ADD_PASSKEY_ERROR, - }, + } ); }; @@ -3219,7 +3219,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const userId = params?.userId || session.userId; @@ -3231,12 +3231,12 @@ export class TurnkeyClient { userId, authenticatorIds, }, - stampWith, + stampWith ); if (!res) { throw new TurnkeyError( "No response found in the remove passkey response", - TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR, + TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR ); } return res.authenticatorIds; @@ -3244,7 +3244,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove passkey", errorCode: TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR, - }, + } ); }; @@ -3280,7 +3280,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3305,13 +3305,13 @@ export class TurnkeyClient { accounts: walletAccounts, mnemonicLength: mnemonicLength || 12, }, - stampWith, + stampWith ); if (!res || !res.walletId) { throw new TurnkeyError( "No wallet found in the create wallet response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.walletId; @@ -3319,7 +3319,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create wallet", errorCode: TurnkeyErrorCodes.CREATE_WALLET_ERROR, - }, + } ); }; @@ -3351,7 +3351,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -3366,7 +3366,7 @@ export class TurnkeyClient { organizationId: organizationId || session.organizationId, paginationOptions: { limit: "100" }, }, - stampWith, + stampWith ); walletAccounts = generateWalletAccountsFromAddressFormat({ addresses: accounts, @@ -3382,13 +3382,13 @@ export class TurnkeyClient { walletId, accounts: walletAccounts, }, - stampWith, + stampWith ); if (!res || !res.addresses) { throw new TurnkeyError( "No account found in the create wallet account response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.addresses; @@ -3396,7 +3396,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create wallet account", errorCode: TurnkeyErrorCodes.CREATE_WALLET_ACCOUNT_ERROR, - }, + } ); }; @@ -3428,7 +3428,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -3439,13 +3439,13 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith, + stampWith ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.exportBundle as ExportBundle; @@ -3453,7 +3453,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export wallet", errorCode: TurnkeyErrorCodes.EXPORT_WALLET_ERROR, - }, + } ); }; @@ -3484,7 +3484,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -3495,12 +3495,12 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith, + stampWith ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.exportBundle as ExportBundle; @@ -3508,7 +3508,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export private key", errorCode: TurnkeyErrorCodes.EXPORT_PRIVATE_KEY_ERROR, - }, + } ); }; @@ -3540,7 +3540,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -3551,12 +3551,12 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith, + stampWith ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.exportBundle as ExportBundle; @@ -3564,7 +3564,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export wallet account", errorCode: TurnkeyErrorCodes.EXPORT_WALLET_ACCOUNT_ERROR, - }, + } ); }; @@ -3599,7 +3599,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3616,13 +3616,13 @@ export class TurnkeyClient { ...DEFAULT_SOLANA_ACCOUNTS, ], }, - stampWith, + stampWith ); if (!res || !res.walletId) { throw new TurnkeyError( "No wallet ID found in the import response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.walletId; @@ -3636,7 +3636,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.BAD_REQUEST, }, }, - }, + } ); }; @@ -3681,7 +3681,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3696,13 +3696,13 @@ export class TurnkeyClient { curve, addressFormats, }, - stampWith, + stampWith ); if (!res || !res.privateKeyId) { throw new TurnkeyError( "No wallet ID found in the import response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } return res.privateKeyId; @@ -3716,7 +3716,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.BAD_REQUEST, }, }, - }, + } ); }; @@ -3743,7 +3743,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3751,13 +3751,13 @@ export class TurnkeyClient { async () => { return await this.httpClient.deleteSubOrganization( { deleteWithoutExport }, - stampWith, + stampWith ); }, { errorMessage: "Failed to delete sub-organization", errorCode: TurnkeyErrorCodes.DELETE_SUB_ORGANIZATION_ERROR, - }, + } ); }; @@ -3792,7 +3792,7 @@ export class TurnkeyClient { }, { finallyFn: async () => await this.clearUnusedKeyPairs(), - }, + } ); }; @@ -3819,14 +3819,14 @@ export class TurnkeyClient { } else { throw new TurnkeyError( `No session found with key: ${sessionKey}`, - TurnkeyErrorCodes.NOT_FOUND, + TurnkeyErrorCodes.NOT_FOUND ); } }, { errorMessage: "Failed to delete session", errorCode: TurnkeyErrorCodes.CLEAR_SESSION_ERROR, - }, + } ); }; @@ -3853,7 +3853,7 @@ export class TurnkeyClient { { errorMessage: "Failed to clear all sessions", errorCode: TurnkeyErrorCodes.CLEAR_ALL_SESSIONS_ERROR, - }, + } ); }; @@ -3891,7 +3891,7 @@ export class TurnkeyClient { if (!sessionKey) { throw new TurnkeyError( "No session key provided or active session to refresh session", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const session = await this.getSession({ @@ -3900,14 +3900,14 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( `No active session found: ${sessionKey}`, - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } if (!this.httpClient) { throw new TurnkeyError( "HTTP client is not initialized. Please initialize the client before refreshing the session.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } @@ -3918,7 +3918,7 @@ export class TurnkeyClient { if (!keyPair) { throw new TurnkeyError( "Failed to create new key pair.", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } const res = await this.httpClient.stampLogin( @@ -3927,13 +3927,13 @@ export class TurnkeyClient { expirationSeconds, invalidateExisting: invalidateExisitng, }, - params?.stampWith, + params?.stampWith ); if (!res || !res.session) { throw new TurnkeyError( "No session found in the refresh response", - TurnkeyErrorCodes.BAD_RESPONSE, + TurnkeyErrorCodes.BAD_RESPONSE ); } @@ -3946,7 +3946,7 @@ export class TurnkeyClient { { errorMessage: "Failed to refresh session", errorCode: TurnkeyErrorCodes.REFRESH_SESSION_ERROR, - }, + } ); }; @@ -3973,7 +3973,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get session with key " + params?.sessionKey, errorCode: TurnkeyErrorCodes.GET_SESSION_ERROR, - }, + } ); }; @@ -4007,7 +4007,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get all sessions", errorCode: TurnkeyErrorCodes.GET_ALL_SESSIONS_ERROR, - }, + } ); }; @@ -4032,7 +4032,7 @@ export class TurnkeyClient { { errorMessage: "Failed to set active session", errorCode: TurnkeyErrorCodes.SET_ACTIVE_SESSION_ERROR, - }, + } ); }; @@ -4055,7 +4055,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get active session key", errorCode: TurnkeyErrorCodes.GET_ACTIVE_SESSION_KEY_ERROR, - }, + } ); }; @@ -4095,7 +4095,7 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to delete unused key pair ${publicKey}`, TurnkeyErrorCodes.INTERNAL_ERROR, - error, + error ); } } @@ -4104,7 +4104,7 @@ export class TurnkeyClient { { errorMessage: "Failed to clear unused key pairs", errorCode: TurnkeyErrorCodes.CLEAR_UNUSED_KEY_PAIRS_ERROR, - }, + } ); }; @@ -4134,11 +4134,11 @@ export class TurnkeyClient { if (!this.apiKeyStamper) { throw new TurnkeyError( "API Key Stamper is not initialized.", - TurnkeyErrorCodes.INTERNAL_ERROR, + TurnkeyErrorCodes.INTERNAL_ERROR ); } const publicKey = await this.apiKeyStamper.createKeyPair( - externalKeyPair ? externalKeyPair : undefined, + externalKeyPair ? externalKeyPair : undefined ); if (storeOverride && publicKey) { @@ -4150,7 +4150,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create API key pair", errorCode: TurnkeyErrorCodes.CREATE_API_KEY_PAIR_ERROR, - }, + } ); }; @@ -4173,7 +4173,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Failed to fetch auth proxy config`, - TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR, + TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR ); } @@ -4182,7 +4182,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get auth proxy config", errorCode: TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR, - }, + } ); }; } diff --git a/packages/core/src/__generated__/sdk-client-base.ts b/packages/core/src/__generated__/sdk-client-base.ts index 7c4021146..76c291cbb 100644 --- a/packages/core/src/__generated__/sdk-client-base.ts +++ b/packages/core/src/__generated__/sdk-client-base.ts @@ -1,19 +1,8 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { - TERMINAL_ACTIVITY_STATUSES, - TActivityResponse, - TActivityStatus, - TSignedRequest, -} from "@turnkey/http"; - -import { - GrpcStatus, - TStamper, - TurnkeyRequestError, - TurnkeyHttpClientConfig, - StorageBase, -} from "../__types__/base"; +import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; + +import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeyHttpClientConfig, type StorageBase } from "../__types__/base"; import { VERSION } from "../__generated__/version"; @@ -23,240 +12,207 @@ import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types"; import { StamperType } from "../__types__/base"; -export class TurnkeySDKClientBase { - config: TurnkeyHttpClientConfig; - - // Store stampers - private apiKeyStamper?: TStamper | undefined; - private passkeyStamper?: TStamper | undefined; - private walletStamper?: TStamper | undefined; - - // Storage manager - private storageManager?: StorageBase | undefined; - constructor(config: TurnkeyHttpClientConfig) { - this.config = config; - - if (config.apiKeyStamper) { - this.apiKeyStamper = config.apiKeyStamper; - } - if (config.passkeyStamper) { - this.passkeyStamper = config.passkeyStamper; - } - if (config.walletStamper) { - this.walletStamper = config.walletStamper; + export class TurnkeySDKClientBase { + config: TurnkeyHttpClientConfig; + + // Store stampers + private apiKeyStamper?: TStamper | undefined; + private passkeyStamper?: TStamper | undefined; + private walletStamper?: TStamper | undefined; + + + // Storage manager + private storageManager?: StorageBase | undefined; + + constructor(config: TurnkeyHttpClientConfig) { + this.config = config; + + if (config.apiKeyStamper) { + this.apiKeyStamper = config.apiKeyStamper; + } + if (config.passkeyStamper) { + this.passkeyStamper = config.passkeyStamper; + } + if (config.walletStamper) { + this.walletStamper = config.walletStamper; + } + if (config.storageManager) { + this.storageManager = config.storageManager; + } } - if (config.storageManager) { - this.storageManager = config.storageManager; - } - } - - private getStamper(stampWith?: StamperType): TStamper | undefined { - if (!stampWith) - return this.apiKeyStamper || this.passkeyStamper || this.walletStamper; - switch (stampWith) { - case StamperType.ApiKey: - return this.apiKeyStamper; - case StamperType.Passkey: - return this.passkeyStamper; - case StamperType.Wallet: - return this.walletStamper; - default: - return this.apiKeyStamper; + private getStamper(stampWith?: StamperType): TStamper | undefined { + if (!stampWith) return this.apiKeyStamper || this.passkeyStamper || this.walletStamper; + + switch (stampWith) { + case StamperType.ApiKey: + return this.apiKeyStamper; + case StamperType.Passkey: + return this.passkeyStamper; + case StamperType.Wallet: + return this.walletStamper; + default: + return this.apiKeyStamper; + } } - } - - async request( - url: string, - body: TBodyType, - stampWith?: StamperType, - ): Promise { - const fullUrl = this.config.apiBaseUrl + url; - const stringifiedBody = JSON.stringify(body); - var headers: Record = { - "X-Client-Version": VERSION, - }; - - // Use the specified stamper for this request - const activeStamper = this.getStamper(stampWith); - if (activeStamper) { - const stamp = await activeStamper.stamp(stringifiedBody); - headers[stamp.stampHeaderName] = stamp.stampHeaderValue; + async request( + url: string, + body: TBodyType, + stampWith?: StamperType + ): Promise { + const fullUrl = this.config.apiBaseUrl + url; + const stringifiedBody = JSON.stringify(body); + var headers: Record = { + "X-Client-Version": VERSION + } + + // Use the specified stamper for this request + const activeStamper = this.getStamper(stampWith); + + if (activeStamper) { + const stamp = await activeStamper.stamp(stringifiedBody); + headers[stamp.stampHeaderName] = stamp.stampHeaderValue + } + + const response = await fetch(fullUrl, { + method: "POST", + headers: headers, + body: stringifiedBody, + redirect: "follow" + }); + + if (!response.ok) { + let res: GrpcStatus; + try { + res = await response.json(); + } catch (_) { + throw new Error(`${response.status} ${response.statusText}`); + } + + throw new TurnkeyRequestError(res); + } + + const data = await response.json(); + return data as TResponseType; } - const response = await fetch(fullUrl, { - method: "POST", - headers: headers, - body: stringifiedBody, - redirect: "follow", - }); + async activity( + url: string, + body: TBodyType, + resultKey: string, + stampWith?: StamperType + ): Promise { + const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; + const maxRetries = this.config.activityPoller?.numRetries ?? 3; - if (!response.ok) { - let res: GrpcStatus; - try { - res = await response.json(); - } catch (_) { - throw new Error(`${response.status} ${response.statusText}`); - } + const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); - throw new TurnkeyRequestError(res); - } + const handleResponse = (activityData: TActivityResponse): TResponseType => { + const { result, status } = activityData.activity; - const data = await response.json(); - return data as TResponseType; - } + if (status === "ACTIVITY_STATUS_COMPLETED") { + return { + ...result[`${resultKey}` as keyof SdkTypes.v1Result], + ...activityData + } as TResponseType; + } - async activity( - url: string, - body: TBodyType, - resultKey: string, - stampWith?: StamperType, - ): Promise { - const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; - const maxRetries = this.config.activityPoller?.numRetries ?? 3; + return activityData as TResponseType; + }; - const sleep = (ms: number) => - new Promise((resolve) => setTimeout(resolve, ms)); + let attempts = 0; - const handleResponse = (activityData: TActivityResponse): TResponseType => { - const { result, status } = activityData.activity; - - if (status === "ACTIVITY_STATUS_COMPLETED") { - return { - ...result[`${resultKey}` as keyof SdkTypes.v1Result], - ...activityData, - } as TResponseType; - } - - return activityData as TResponseType; - }; + const pollStatus = async (activityId: string): Promise => { + const pollBody = { activityId }; + // Pass the stampWith parameter to getActivity + const pollData = await this.getActivity(pollBody, stampWith) as TActivityResponse; - let attempts = 0; + if (attempts > maxRetries) { + return handleResponse(pollData); + } - const pollStatus = async (activityId: string): Promise => { - const pollBody = { activityId }; - // Pass the stampWith parameter to getActivity - const pollData = (await this.getActivity( - pollBody, - stampWith, - )) as TActivityResponse; + attempts += 1; + + if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { + await sleep(pollingDuration); + return pollStatus(activityId); + } - if (attempts > maxRetries) { return handleResponse(pollData); - } + }; - attempts += 1; + // Use the specified stamper for the initial request + const responseData = await this.request(url, body, stampWith) as TActivityResponse; + + if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { + return pollStatus(responseData.activity.id); + } - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - pollData.activity.status as TActivityStatus, - ) - ) { - await sleep(pollingDuration); - return pollStatus(activityId); - } - - return handleResponse(pollData); - }; - - // Use the specified stamper for the initial request - const responseData = (await this.request( - url, - body, - stampWith, - )) as TActivityResponse; - - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - responseData.activity.status as TActivityStatus, - ) - ) { - return pollStatus(responseData.activity.id); + return handleResponse(responseData); } - return handleResponse(responseData); - } - - async activityDecision( - url: string, - body: TBodyType, - stampWith?: StamperType, - ): Promise { - // Use the specified stamper for this request - const activityData = (await this.request( - url, - body, - stampWith, - )) as TActivityResponse; + async activityDecision( + url: string, + body: TBodyType, + stampWith?: StamperType + ): Promise { + // Use the specified stamper for this request + const activityData = await this.request(url, body, stampWith) as TActivityResponse; - return { - ...activityData["activity"]["result"], - ...activityData, - } as TResponseType; - } - - async authProxyRequest( - url: string, - body: TBodyType, - ): Promise { - if (!this.config.authProxyUrl || !this.config.authProxyConfigId) { - throw new TurnkeyError( - "Auth Proxy URL or ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, - ); - } - const fullUrl = this.config.authProxyUrl + url; - const stringifiedBody = JSON.stringify(body); - var headers: Record = { - "Content-Type": "application/json", - "X-Auth-Proxy-Config-ID": this.config.authProxyConfigId, - }; - - const response = await fetch(fullUrl, { - method: "POST", - headers: headers, - body: stringifiedBody, - }); + return { + ...activityData["activity"]["result"], + ...activityData + } as TResponseType; + } + + async authProxyRequest( + url: string, + body: TBodyType, + ): Promise { + if (!this.config.authProxyUrl || !this.config.authProxyConfigId) { + throw new TurnkeyError("Auth Proxy URL or ID is not configured.", TurnkeyErrorCodes.INVALID_CONFIGURATION); + } + const fullUrl = this.config.authProxyUrl + url; + const stringifiedBody = JSON.stringify(body); + var headers: Record = { + "Content-Type": "application/json", + "X-Auth-Proxy-Config-ID": this.config.authProxyConfigId, + } + + const response = await fetch(fullUrl, { + method: "POST", + headers: headers, + body: stringifiedBody, + }); + + if (!response.ok) { + let res: GrpcStatus; + try { + res = await response.json(); + } catch (_) { + throw new Error(`${response.status} ${response.statusText}`); + } + + throw new TurnkeyRequestError(res); + } + + const data = await response.json(); + return data as TResponseType; + } - if (!response.ok) { - let res: GrpcStatus; - try { - res = await response.json(); - } catch (_) { - throw new Error(`${response.status} ${response.statusText}`); - } - throw new TurnkeyRequestError(res); + getActivity = async (input: SdkTypes.TGetActivityBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_activity", { + ...input, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); } - const data = await response.json(); - return data as TResponseType; - } - getActivity = async ( - input: SdkTypes.TGetActivityBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_activity", - { - ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetActivity = async ( - input: SdkTypes.TGetActivityBody, - stampWith?: StamperType, - ): Promise => { + stampGetActivity = async (input: SdkTypes.TGetActivityBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -268,9 +224,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ACTIVITY", + type: "ACTIVITY_TYPE_GET_ACTIVITY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -278,30 +235,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getApiKey = async ( - input: SdkTypes.TGetApiKeyBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_api_key", - { + getApiKey = async (input: SdkTypes.TGetApiKeyBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_api_key", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetApiKey = async ( - input: SdkTypes.TGetApiKeyBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetApiKey = async (input: SdkTypes.TGetApiKeyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -313,9 +259,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_API_KEY", + type: "ACTIVITY_TYPE_GET_API_KEY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -323,30 +270,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getApiKeys = async ( - input: SdkTypes.TGetApiKeysBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_api_keys", - { + + getApiKeys = async (input: SdkTypes.TGetApiKeysBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_api_keys", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetApiKeys = async ( - input: SdkTypes.TGetApiKeysBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetApiKeys = async (input: SdkTypes.TGetApiKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -358,9 +294,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_API_KEYS", + type: "ACTIVITY_TYPE_GET_API_KEYS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -368,30 +305,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getAttestationDocument = async ( - input: SdkTypes.TGetAttestationDocumentBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_attestation", - { + + getAttestationDocument = async (input: SdkTypes.TGetAttestationDocumentBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_attestation", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetAttestationDocument = async ( - input: SdkTypes.TGetAttestationDocumentBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetAttestationDocument = async (input: SdkTypes.TGetAttestationDocumentBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -403,9 +329,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ATTESTATION_DOCUMENT", + type: "ACTIVITY_TYPE_GET_ATTESTATION_DOCUMENT" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -413,30 +340,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticator = async ( - input: SdkTypes.TGetAuthenticatorBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_authenticator", - { + getAuthenticator = async (input: SdkTypes.TGetAuthenticatorBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_authenticator", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetAuthenticator = async ( - input: SdkTypes.TGetAuthenticatorBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetAuthenticator = async (input: SdkTypes.TGetAuthenticatorBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -444,14 +360,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_AUTHENTICATOR", + type: "ACTIVITY_TYPE_GET_AUTHENTICATOR" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -459,30 +375,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticators = async ( - input: SdkTypes.TGetAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_authenticators", - { + getAuthenticators = async (input: SdkTypes.TGetAuthenticatorsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_authenticators", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetAuthenticators = async ( - input: SdkTypes.TGetAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetAuthenticators = async (input: SdkTypes.TGetAuthenticatorsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -490,14 +395,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_AUTHENTICATORS", + type: "ACTIVITY_TYPE_GET_AUTHENTICATORS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -505,30 +410,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getBootProof = async ( - input: SdkTypes.TGetBootProofBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_boot_proof", - { + getBootProof = async (input: SdkTypes.TGetBootProofBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_boot_proof", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetBootProof = async ( - input: SdkTypes.TGetBootProofBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetBootProof = async (input: SdkTypes.TGetBootProofBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -540,9 +434,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_BOOT_PROOF", + type: "ACTIVITY_TYPE_GET_BOOT_PROOF" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -550,30 +445,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getLatestBootProof = async ( - input: SdkTypes.TGetLatestBootProofBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_latest_boot_proof", - { + + getLatestBootProof = async (input: SdkTypes.TGetLatestBootProofBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_latest_boot_proof", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetLatestBootProof = async ( - input: SdkTypes.TGetLatestBootProofBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetLatestBootProof = async (input: SdkTypes.TGetLatestBootProofBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -581,14 +465,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_LATEST_BOOT_PROOF", + type: "ACTIVITY_TYPE_GET_LATEST_BOOT_PROOF" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -596,30 +480,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getOauth2Credential = async ( - input: SdkTypes.TGetOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_oauth2_credential", - { + + getOauth2Credential = async (input: SdkTypes.TGetOauth2CredentialBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_oauth2_credential", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetOauth2Credential = async ( - input: SdkTypes.TGetOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetOauth2Credential = async (input: SdkTypes.TGetOauth2CredentialBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -627,14 +500,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_OAUTH2CREDENTIAL", + type: "ACTIVITY_TYPE_GET_OAUTH2CREDENTIAL" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -642,30 +515,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOauthProviders = async ( - input: SdkTypes.TGetOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_oauth_providers", - { + getOauthProviders = async (input: SdkTypes.TGetOauthProvidersBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_oauth_providers", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetOauthProviders = async ( - input: SdkTypes.TGetOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetOauthProviders = async (input: SdkTypes.TGetOauthProvidersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -673,14 +535,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_OAUTH_PROVIDERS", + type: "ACTIVITY_TYPE_GET_OAUTH_PROVIDERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -688,30 +550,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganization = async ( - input: SdkTypes.TGetOrganizationBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_organization", - { + getOrganization = async (input: SdkTypes.TGetOrganizationBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_organization", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetOrganization = async ( - input: SdkTypes.TGetOrganizationBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetOrganization = async (input: SdkTypes.TGetOrganizationBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -719,14 +570,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ORGANIZATION", + type: "ACTIVITY_TYPE_GET_ORGANIZATION" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -734,30 +585,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganizationConfigs = async ( - input: SdkTypes.TGetOrganizationConfigsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_organization_configs", - { + getOrganizationConfigs = async (input: SdkTypes.TGetOrganizationConfigsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_organization_configs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetOrganizationConfigs = async ( - input: SdkTypes.TGetOrganizationConfigsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetOrganizationConfigs = async (input: SdkTypes.TGetOrganizationConfigsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -765,14 +605,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ORGANIZATION_CONFIGS", + type: "ACTIVITY_TYPE_GET_ORGANIZATION_CONFIGS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -780,30 +620,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicy = async ( - input: SdkTypes.TGetPolicyBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_policy", - { + getPolicy = async (input: SdkTypes.TGetPolicyBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_policy", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetPolicy = async ( - input: SdkTypes.TGetPolicyBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetPolicy = async (input: SdkTypes.TGetPolicyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -815,9 +644,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICY", + type: "ACTIVITY_TYPE_GET_POLICY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -825,30 +655,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getPolicyEvaluations = async ( - input: SdkTypes.TGetPolicyEvaluationsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_policy_evaluations", - { + + getPolicyEvaluations = async (input: SdkTypes.TGetPolicyEvaluationsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_policy_evaluations", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetPolicyEvaluations = async ( - input: SdkTypes.TGetPolicyEvaluationsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetPolicyEvaluations = async (input: SdkTypes.TGetPolicyEvaluationsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -856,14 +675,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICY_EVALUATIONS", + type: "ACTIVITY_TYPE_GET_POLICY_EVALUATIONS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -871,30 +690,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getPrivateKey = async ( - input: SdkTypes.TGetPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_private_key", - { + + getPrivateKey = async (input: SdkTypes.TGetPrivateKeyBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_private_key", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetPrivateKey = async ( - input: SdkTypes.TGetPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetPrivateKey = async (input: SdkTypes.TGetPrivateKeyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -906,9 +714,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_PRIVATE_KEY", + type: "ACTIVITY_TYPE_GET_PRIVATE_KEY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -916,30 +725,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterface = async ( - input: SdkTypes.TGetSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_smart_contract_interface", - { + getSmartContractInterface = async (input: SdkTypes.TGetSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_smart_contract_interface", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetSmartContractInterface = async ( - input: SdkTypes.TGetSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetSmartContractInterface = async (input: SdkTypes.TGetSmartContractInterfaceBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -947,14 +745,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACE", + type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -962,30 +760,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getUser = async ( - input: SdkTypes.TGetUserBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_user", - { + getUser = async (input: SdkTypes.TGetUserBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_user", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetUser = async ( - input: SdkTypes.TGetUserBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetUser = async (input: SdkTypes.TGetUserBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -997,9 +784,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_USER", + type: "ACTIVITY_TYPE_GET_USER" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1007,30 +795,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallet = async ( - input: SdkTypes.TGetWalletBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_wallet", - { + getWallet = async (input: SdkTypes.TGetWalletBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_wallet", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetWallet = async ( - input: SdkTypes.TGetWalletBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetWallet = async (input: SdkTypes.TGetWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1042,9 +819,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET", + type: "ACTIVITY_TYPE_GET_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1052,30 +830,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getWalletAccount = async ( - input: SdkTypes.TGetWalletAccountBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/get_wallet_account", - { + + getWalletAccount = async (input: SdkTypes.TGetWalletAccountBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/get_wallet_account", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetWalletAccount = async ( - input: SdkTypes.TGetWalletAccountBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetWalletAccount = async (input: SdkTypes.TGetWalletAccountBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1083,14 +850,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNT", + type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNT" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1098,30 +865,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getActivities = async ( - input: SdkTypes.TGetActivitiesBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_activities", - { + + getActivities = async (input: SdkTypes.TGetActivitiesBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_activities", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetActivities = async ( - input: SdkTypes.TGetActivitiesBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetActivities = async (input: SdkTypes.TGetActivitiesBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1133,9 +889,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ACTIVITIES", + type: "ACTIVITY_TYPE_GET_ACTIVITIES" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1143,30 +900,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listOauth2Credentials = async ( - input: SdkTypes.TListOauth2CredentialsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_oauth2_credentials", - { + listOauth2Credentials = async (input: SdkTypes.TListOauth2CredentialsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_oauth2_credentials", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampListOauth2Credentials = async ( - input: SdkTypes.TListOauth2CredentialsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampListOauth2Credentials = async (input: SdkTypes.TListOauth2CredentialsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1174,14 +920,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_OAUTH2CREDENTIALS", + type: "ACTIVITY_TYPE_LIST_OAUTH2CREDENTIALS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1189,30 +935,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicies = async ( - input: SdkTypes.TGetPoliciesBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_policies", - { + getPolicies = async (input: SdkTypes.TGetPoliciesBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_policies", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetPolicies = async ( - input: SdkTypes.TGetPoliciesBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetPolicies = async (input: SdkTypes.TGetPoliciesBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1224,9 +959,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICIES", + type: "ACTIVITY_TYPE_GET_POLICIES" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1234,30 +970,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listPrivateKeyTags = async ( - input: SdkTypes.TListPrivateKeyTagsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_private_key_tags", - { + listPrivateKeyTags = async (input: SdkTypes.TListPrivateKeyTagsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_private_key_tags", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampListPrivateKeyTags = async ( - input: SdkTypes.TListPrivateKeyTagsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampListPrivateKeyTags = async (input: SdkTypes.TListPrivateKeyTagsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1265,14 +990,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_PRIVATE_KEY_TAGS", + type: "ACTIVITY_TYPE_LIST_PRIVATE_KEY_TAGS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1280,30 +1005,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getPrivateKeys = async ( - input: SdkTypes.TGetPrivateKeysBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_private_keys", - { + + getPrivateKeys = async (input: SdkTypes.TGetPrivateKeysBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_private_keys", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetPrivateKeys = async ( - input: SdkTypes.TGetPrivateKeysBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetPrivateKeys = async (input: SdkTypes.TGetPrivateKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1311,14 +1025,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_PRIVATE_KEYS", + type: "ACTIVITY_TYPE_GET_PRIVATE_KEYS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1326,30 +1040,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterfaces = async ( - input: SdkTypes.TGetSmartContractInterfacesBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_smart_contract_interfaces", - { + getSmartContractInterfaces = async (input: SdkTypes.TGetSmartContractInterfacesBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_smart_contract_interfaces", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetSmartContractInterfaces = async ( - input: SdkTypes.TGetSmartContractInterfacesBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetSmartContractInterfaces = async (input: SdkTypes.TGetSmartContractInterfacesBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1357,15 +1060,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACES", + type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACES" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1373,30 +1075,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSubOrgIds = async ( - input: SdkTypes.TGetSubOrgIdsBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_suborgs", - { + getSubOrgIds = async (input: SdkTypes.TGetSubOrgIdsBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_suborgs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetSubOrgIds = async ( - input: SdkTypes.TGetSubOrgIdsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetSubOrgIds = async (input: SdkTypes.TGetSubOrgIdsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1408,9 +1099,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SUB_ORG_IDS", + type: "ACTIVITY_TYPE_GET_SUB_ORG_IDS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1418,30 +1110,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listUserTags = async ( - input: SdkTypes.TListUserTagsBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_user_tags", - { + listUserTags = async (input: SdkTypes.TListUserTagsBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_user_tags", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampListUserTags = async ( - input: SdkTypes.TListUserTagsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampListUserTags = async (input: SdkTypes.TListUserTagsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1453,9 +1134,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_USER_TAGS", + type: "ACTIVITY_TYPE_LIST_USER_TAGS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1463,30 +1145,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getUsers = async ( - input: SdkTypes.TGetUsersBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_users", - { + + getUsers = async (input: SdkTypes.TGetUsersBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_users", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetUsers = async ( - input: SdkTypes.TGetUsersBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetUsers = async (input: SdkTypes.TGetUsersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1498,9 +1169,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_USERS", + type: "ACTIVITY_TYPE_GET_USERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1508,30 +1180,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - getVerifiedSubOrgIds = async ( - input: SdkTypes.TGetVerifiedSubOrgIdsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_verified_suborgs", - { + + getVerifiedSubOrgIds = async (input: SdkTypes.TGetVerifiedSubOrgIdsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_verified_suborgs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetVerifiedSubOrgIds = async ( - input: SdkTypes.TGetVerifiedSubOrgIdsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetVerifiedSubOrgIds = async (input: SdkTypes.TGetVerifiedSubOrgIdsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1539,14 +1200,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_VERIFIED_SUB_ORG_IDS", + type: "ACTIVITY_TYPE_GET_VERIFIED_SUB_ORG_IDS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1554,30 +1215,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWalletAccounts = async ( - input: SdkTypes.TGetWalletAccountsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_wallet_accounts", - { + getWalletAccounts = async (input: SdkTypes.TGetWalletAccountsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_wallet_accounts", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetWalletAccounts = async ( - input: SdkTypes.TGetWalletAccountsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetWalletAccounts = async (input: SdkTypes.TGetWalletAccountsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1585,14 +1235,14 @@ export class TurnkeySDKClientBase { const { organizationId, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNTS", + type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNTS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1600,30 +1250,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallets = async ( - input: SdkTypes.TGetWalletsBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/list_wallets", - { + getWallets = async (input: SdkTypes.TGetWalletsBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/list_wallets", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetWallets = async ( - input: SdkTypes.TGetWalletsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetWallets = async (input: SdkTypes.TGetWalletsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1635,9 +1274,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLETS", + type: "ACTIVITY_TYPE_GET_WALLETS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1645,30 +1285,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWhoami = async ( - input: SdkTypes.TGetWhoamiBody = {}, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/public/v1/query/whoami", - { + getWhoami = async (input: SdkTypes.TGetWhoamiBody = {}, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/public/v1/query/whoami", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampGetWhoami = async ( - input: SdkTypes.TGetWhoamiBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampGetWhoami = async (input: SdkTypes.TGetWhoamiBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1680,9 +1309,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WHOAMI", + type: "ACTIVITY_TYPE_GET_WHOAMI" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1690,33 +1320,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; - - approveActivity = async ( - input: SdkTypes.TApproveActivityBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activityDecision( - "/public/v1/submit/approve_activity", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", - }, - stampWith, - ); - }; - - stampApproveActivity = async ( - input: SdkTypes.TApproveActivityBody, - stampWith?: StamperType, - ): Promise => { + } + + + approveActivity = async (input: SdkTypes.TApproveActivityBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + return this.activityDecision("/public/v1/submit/approve_activity", + { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" + }, stampWith); + } + + + stampApproveActivity = async (input: SdkTypes.TApproveActivityBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1724,15 +1344,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1740,35 +1360,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createApiKeys = async ( - input: SdkTypes.TCreateApiKeysBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_api_keys", - { + createApiKeys = async (input: SdkTypes.TCreateApiKeysBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_api_keys", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", - }, - "createApiKeysResult", - stampWith, - ); - }; - - stampCreateApiKeys = async ( - input: SdkTypes.TCreateApiKeysBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" + }, "createApiKeysResult", stampWith); + } + + + stampCreateApiKeys = async (input: SdkTypes.TCreateApiKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1776,15 +1384,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1792,35 +1400,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createApiOnlyUsers = async ( - input: SdkTypes.TCreateApiOnlyUsersBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_api_only_users", - { + createApiOnlyUsers = async (input: SdkTypes.TCreateApiOnlyUsersBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_api_only_users", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", - }, - "createApiOnlyUsersResult", - stampWith, - ); - }; - - stampCreateApiOnlyUsers = async ( - input: SdkTypes.TCreateApiOnlyUsersBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" + }, "createApiOnlyUsersResult", stampWith); + } + + + stampCreateApiOnlyUsers = async (input: SdkTypes.TCreateApiOnlyUsersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1828,15 +1424,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1844,35 +1440,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createAuthenticators = async ( - input: SdkTypes.TCreateAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_authenticators", - { + createAuthenticators = async (input: SdkTypes.TCreateAuthenticatorsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_authenticators", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", - }, - "createAuthenticatorsResult", - stampWith, - ); - }; - - stampCreateAuthenticators = async ( - input: SdkTypes.TCreateAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" + }, "createAuthenticatorsResult", stampWith); + } + + + stampCreateAuthenticators = async (input: SdkTypes.TCreateAuthenticatorsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1880,15 +1464,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1896,35 +1480,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createInvitations = async ( - input: SdkTypes.TCreateInvitationsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_invitations", - { + createInvitations = async (input: SdkTypes.TCreateInvitationsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_invitations", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS", - }, - "createInvitationsResult", - stampWith, - ); - }; - - stampCreateInvitations = async ( - input: SdkTypes.TCreateInvitationsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_INVITATIONS" + }, "createInvitationsResult", stampWith); + } + + + stampCreateInvitations = async (input: SdkTypes.TCreateInvitationsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1932,15 +1504,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS", + type: "ACTIVITY_TYPE_CREATE_INVITATIONS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1948,35 +1520,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createOauth2Credential = async ( - input: SdkTypes.TCreateOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_oauth2_credential", - { + createOauth2Credential = async (input: SdkTypes.TCreateOauth2CredentialBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_oauth2_credential", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL", - }, - "createOauth2CredentialResult", - stampWith, - ); - }; - - stampCreateOauth2Credential = async ( - input: SdkTypes.TCreateOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL" + }, "createOauth2CredentialResult", stampWith); + } + + + stampCreateOauth2Credential = async (input: SdkTypes.TCreateOauth2CredentialBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1984,15 +1544,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL", + type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2000,35 +1560,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createOauthProviders = async ( - input: SdkTypes.TCreateOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_oauth_providers", - { + createOauthProviders = async (input: SdkTypes.TCreateOauthProvidersBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_oauth_providers", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", - }, - "createOauthProvidersResult", - stampWith, - ); - }; - - stampCreateOauthProviders = async ( - input: SdkTypes.TCreateOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" + }, "createOauthProvidersResult", stampWith); + } + + + stampCreateOauthProviders = async (input: SdkTypes.TCreateOauthProvidersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2036,15 +1584,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2052,35 +1600,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPolicies = async ( - input: SdkTypes.TCreatePoliciesBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_policies", - { + createPolicies = async (input: SdkTypes.TCreatePoliciesBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_policies", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES", - }, - "createPoliciesResult", - stampWith, - ); - }; - - stampCreatePolicies = async ( - input: SdkTypes.TCreatePoliciesBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_POLICIES" + }, "createPoliciesResult", stampWith); + } + + + stampCreatePolicies = async (input: SdkTypes.TCreatePoliciesBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2088,15 +1624,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES", + type: "ACTIVITY_TYPE_CREATE_POLICIES" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2104,35 +1640,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPolicy = async ( - input: SdkTypes.TCreatePolicyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_policy", - { + createPolicy = async (input: SdkTypes.TCreatePolicyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_policy", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3", - }, - "createPolicyResult", - stampWith, - ); - }; - - stampCreatePolicy = async ( - input: SdkTypes.TCreatePolicyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_POLICY_V3" + }, "createPolicyResult", stampWith); + } + + + stampCreatePolicy = async (input: SdkTypes.TCreatePolicyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2145,9 +1669,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3", + type: "ACTIVITY_TYPE_CREATE_POLICY_V3" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2155,35 +1680,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPrivateKeyTag = async ( - input: SdkTypes.TCreatePrivateKeyTagBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_private_key_tag", - { + createPrivateKeyTag = async (input: SdkTypes.TCreatePrivateKeyTagBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_private_key_tag", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", - }, - "createPrivateKeyTagResult", - stampWith, - ); - }; - - stampCreatePrivateKeyTag = async ( - input: SdkTypes.TCreatePrivateKeyTagBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" + }, "createPrivateKeyTagResult", stampWith); + } + + + stampCreatePrivateKeyTag = async (input: SdkTypes.TCreatePrivateKeyTagBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2191,15 +1704,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2207,35 +1720,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPrivateKeys = async ( - input: SdkTypes.TCreatePrivateKeysBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_private_keys", - { + createPrivateKeys = async (input: SdkTypes.TCreatePrivateKeysBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_private_keys", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", - }, - "createPrivateKeysResult", - stampWith, - ); - }; - - stampCreatePrivateKeys = async ( - input: SdkTypes.TCreatePrivateKeysBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" + }, "createPrivateKeysResult", stampWith); + } + + + stampCreatePrivateKeys = async (input: SdkTypes.TCreatePrivateKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2243,15 +1744,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2259,35 +1760,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createReadOnlySession = async ( - input: SdkTypes.TCreateReadOnlySessionBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_read_only_session", - { + createReadOnlySession = async (input: SdkTypes.TCreateReadOnlySessionBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_read_only_session", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", - }, - "createReadOnlySessionResult", - stampWith, - ); - }; - - stampCreateReadOnlySession = async ( - input: SdkTypes.TCreateReadOnlySessionBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" + }, "createReadOnlySessionResult", stampWith); + } + + + stampCreateReadOnlySession = async (input: SdkTypes.TCreateReadOnlySessionBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2295,15 +1784,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2311,35 +1800,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createReadWriteSession = async ( - input: SdkTypes.TCreateReadWriteSessionBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_read_write_session", - { + createReadWriteSession = async (input: SdkTypes.TCreateReadWriteSessionBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_read_write_session", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", - }, - "createReadWriteSessionResult", - stampWith, - ); - }; - - stampCreateReadWriteSession = async ( - input: SdkTypes.TCreateReadWriteSessionBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" + }, "createReadWriteSessionResult", stampWith); + } + + + stampCreateReadWriteSession = async (input: SdkTypes.TCreateReadWriteSessionBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2347,15 +1824,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2363,35 +1840,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createSmartContractInterface = async ( - input: SdkTypes.TCreateSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_smart_contract_interface", - { + createSmartContractInterface = async (input: SdkTypes.TCreateSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_smart_contract_interface", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", - }, - "createSmartContractInterfaceResult", - stampWith, - ); - }; - - stampCreateSmartContractInterface = async ( - input: SdkTypes.TCreateSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" + }, "createSmartContractInterfaceResult", stampWith); + } + + + stampCreateSmartContractInterface = async (input: SdkTypes.TCreateSmartContractInterfaceBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2399,16 +1864,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2416,35 +1880,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createSubOrganization = async ( - input: SdkTypes.TCreateSubOrganizationBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_sub_organization", - { + createSubOrganization = async (input: SdkTypes.TCreateSubOrganizationBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_sub_organization", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", - }, - "createSubOrganizationResult", - stampWith, - ); - }; - - stampCreateSubOrganization = async ( - input: SdkTypes.TCreateSubOrganizationBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" + }, "createSubOrganizationResult", stampWith); + } + + + stampCreateSubOrganization = async (input: SdkTypes.TCreateSubOrganizationBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2452,15 +1904,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2468,35 +1920,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createUserTag = async ( - input: SdkTypes.TCreateUserTagBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_user_tag", - { + createUserTag = async (input: SdkTypes.TCreateUserTagBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_user_tag", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG", - }, - "createUserTagResult", - stampWith, - ); - }; - - stampCreateUserTag = async ( - input: SdkTypes.TCreateUserTagBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_USER_TAG" + }, "createUserTagResult", stampWith); + } + + + stampCreateUserTag = async (input: SdkTypes.TCreateUserTagBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2504,15 +1944,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG", + type: "ACTIVITY_TYPE_CREATE_USER_TAG" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2520,35 +1960,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createUsers = async ( - input: SdkTypes.TCreateUsersBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_users", - { + createUsers = async (input: SdkTypes.TCreateUsersBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_users", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3", - }, - "createUsersResult", - stampWith, - ); - }; - - stampCreateUsers = async ( - input: SdkTypes.TCreateUsersBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_USERS_V3" + }, "createUsersResult", stampWith); + } + + + stampCreateUsers = async (input: SdkTypes.TCreateUsersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2561,9 +1989,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3", + type: "ACTIVITY_TYPE_CREATE_USERS_V3" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2571,35 +2000,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createWallet = async ( - input: SdkTypes.TCreateWalletBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_wallet", - { + createWallet = async (input: SdkTypes.TCreateWalletBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_wallet", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET", - }, - "createWalletResult", - stampWith, - ); - }; - - stampCreateWallet = async ( - input: SdkTypes.TCreateWalletBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_WALLET" + }, "createWalletResult", stampWith); + } + + + stampCreateWallet = async (input: SdkTypes.TCreateWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2612,9 +2029,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET", + type: "ACTIVITY_TYPE_CREATE_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2622,35 +2040,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createWalletAccounts = async ( - input: SdkTypes.TCreateWalletAccountsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/create_wallet_accounts", - { + createWalletAccounts = async (input: SdkTypes.TCreateWalletAccountsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/create_wallet_accounts", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", - }, - "createWalletAccountsResult", - stampWith, - ); - }; - - stampCreateWalletAccounts = async ( - input: SdkTypes.TCreateWalletAccountsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" + }, "createWalletAccountsResult", stampWith); + } + + + stampCreateWalletAccounts = async (input: SdkTypes.TCreateWalletAccountsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2658,15 +2064,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2674,35 +2080,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteApiKeys = async ( - input: SdkTypes.TDeleteApiKeysBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_api_keys", - { + deleteApiKeys = async (input: SdkTypes.TDeleteApiKeysBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_api_keys", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS", - }, - "deleteApiKeysResult", - stampWith, - ); - }; - - stampDeleteApiKeys = async ( - input: SdkTypes.TDeleteApiKeysBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_API_KEYS" + }, "deleteApiKeysResult", stampWith); + } + + + stampDeleteApiKeys = async (input: SdkTypes.TDeleteApiKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2710,15 +2104,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS", + type: "ACTIVITY_TYPE_DELETE_API_KEYS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2726,35 +2120,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteAuthenticators = async ( - input: SdkTypes.TDeleteAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_authenticators", - { + deleteAuthenticators = async (input: SdkTypes.TDeleteAuthenticatorsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_authenticators", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", - }, - "deleteAuthenticatorsResult", - stampWith, - ); - }; - - stampDeleteAuthenticators = async ( - input: SdkTypes.TDeleteAuthenticatorsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" + }, "deleteAuthenticatorsResult", stampWith); + } + + + stampDeleteAuthenticators = async (input: SdkTypes.TDeleteAuthenticatorsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2762,15 +2144,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2778,35 +2160,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteInvitation = async ( - input: SdkTypes.TDeleteInvitationBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_invitation", - { + deleteInvitation = async (input: SdkTypes.TDeleteInvitationBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_invitation", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION", - }, - "deleteInvitationResult", - stampWith, - ); - }; - - stampDeleteInvitation = async ( - input: SdkTypes.TDeleteInvitationBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_INVITATION" + }, "deleteInvitationResult", stampWith); + } + + + stampDeleteInvitation = async (input: SdkTypes.TDeleteInvitationBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2814,15 +2184,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION", + type: "ACTIVITY_TYPE_DELETE_INVITATION" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2830,35 +2200,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteOauth2Credential = async ( - input: SdkTypes.TDeleteOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_oauth2_credential", - { + deleteOauth2Credential = async (input: SdkTypes.TDeleteOauth2CredentialBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_oauth2_credential", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL", - }, - "deleteOauth2CredentialResult", - stampWith, - ); - }; - - stampDeleteOauth2Credential = async ( - input: SdkTypes.TDeleteOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL" + }, "deleteOauth2CredentialResult", stampWith); + } + + + stampDeleteOauth2Credential = async (input: SdkTypes.TDeleteOauth2CredentialBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2866,15 +2224,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL", + type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2882,35 +2240,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteOauthProviders = async ( - input: SdkTypes.TDeleteOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_oauth_providers", - { + deleteOauthProviders = async (input: SdkTypes.TDeleteOauthProvidersBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_oauth_providers", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", - }, - "deleteOauthProvidersResult", - stampWith, - ); - }; - - stampDeleteOauthProviders = async ( - input: SdkTypes.TDeleteOauthProvidersBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" + }, "deleteOauthProvidersResult", stampWith); + } + + + stampDeleteOauthProviders = async (input: SdkTypes.TDeleteOauthProvidersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2918,15 +2264,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2934,35 +2280,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePolicy = async ( - input: SdkTypes.TDeletePolicyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_policy", - { + deletePolicy = async (input: SdkTypes.TDeletePolicyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_policy", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY", - }, - "deletePolicyResult", - stampWith, - ); - }; - - stampDeletePolicy = async ( - input: SdkTypes.TDeletePolicyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_POLICY" + }, "deletePolicyResult", stampWith); + } + + + stampDeletePolicy = async (input: SdkTypes.TDeletePolicyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2975,9 +2309,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY", + type: "ACTIVITY_TYPE_DELETE_POLICY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2985,35 +2320,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePrivateKeyTags = async ( - input: SdkTypes.TDeletePrivateKeyTagsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_private_key_tags", - { + deletePrivateKeyTags = async (input: SdkTypes.TDeletePrivateKeyTagsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_private_key_tags", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", - }, - "deletePrivateKeyTagsResult", - stampWith, - ); - }; - - stampDeletePrivateKeyTags = async ( - input: SdkTypes.TDeletePrivateKeyTagsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" + }, "deletePrivateKeyTagsResult", stampWith); + } + + + stampDeletePrivateKeyTags = async (input: SdkTypes.TDeletePrivateKeyTagsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3021,15 +2344,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3037,35 +2360,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePrivateKeys = async ( - input: SdkTypes.TDeletePrivateKeysBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_private_keys", - { + deletePrivateKeys = async (input: SdkTypes.TDeletePrivateKeysBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_private_keys", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", - }, - "deletePrivateKeysResult", - stampWith, - ); - }; - - stampDeletePrivateKeys = async ( - input: SdkTypes.TDeletePrivateKeysBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" + }, "deletePrivateKeysResult", stampWith); + } + + + stampDeletePrivateKeys = async (input: SdkTypes.TDeletePrivateKeysBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3073,15 +2384,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3089,35 +2400,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteSmartContractInterface = async ( - input: SdkTypes.TDeleteSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_smart_contract_interface", - { + deleteSmartContractInterface = async (input: SdkTypes.TDeleteSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_smart_contract_interface", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", - }, - "deleteSmartContractInterfaceResult", - stampWith, - ); - }; - - stampDeleteSmartContractInterface = async ( - input: SdkTypes.TDeleteSmartContractInterfaceBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" + }, "deleteSmartContractInterfaceResult", stampWith); + } + + + stampDeleteSmartContractInterface = async (input: SdkTypes.TDeleteSmartContractInterfaceBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3125,16 +2424,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3142,35 +2440,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteSubOrganization = async ( - input: SdkTypes.TDeleteSubOrganizationBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_sub_organization", - { + deleteSubOrganization = async (input: SdkTypes.TDeleteSubOrganizationBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_sub_organization", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", - }, - "deleteSubOrganizationResult", - stampWith, - ); - }; - - stampDeleteSubOrganization = async ( - input: SdkTypes.TDeleteSubOrganizationBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" + }, "deleteSubOrganizationResult", stampWith); + } + + + stampDeleteSubOrganization = async (input: SdkTypes.TDeleteSubOrganizationBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3178,15 +2464,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3194,35 +2480,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteUserTags = async ( - input: SdkTypes.TDeleteUserTagsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_user_tags", - { + deleteUserTags = async (input: SdkTypes.TDeleteUserTagsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_user_tags", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS", - }, - "deleteUserTagsResult", - stampWith, - ); - }; - - stampDeleteUserTags = async ( - input: SdkTypes.TDeleteUserTagsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_USER_TAGS" + }, "deleteUserTagsResult", stampWith); + } + + + stampDeleteUserTags = async (input: SdkTypes.TDeleteUserTagsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3230,15 +2504,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS", + type: "ACTIVITY_TYPE_DELETE_USER_TAGS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3246,35 +2520,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteUsers = async ( - input: SdkTypes.TDeleteUsersBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_users", - { + deleteUsers = async (input: SdkTypes.TDeleteUsersBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_users", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS", - }, - "deleteUsersResult", - stampWith, - ); - }; - - stampDeleteUsers = async ( - input: SdkTypes.TDeleteUsersBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_USERS" + }, "deleteUsersResult", stampWith); + } + + + stampDeleteUsers = async (input: SdkTypes.TDeleteUsersBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3287,9 +2549,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS", + type: "ACTIVITY_TYPE_DELETE_USERS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3297,35 +2560,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteWallets = async ( - input: SdkTypes.TDeleteWalletsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/delete_wallets", - { + deleteWallets = async (input: SdkTypes.TDeleteWalletsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/delete_wallets", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS", - }, - "deleteWalletsResult", - stampWith, - ); - }; - - stampDeleteWallets = async ( - input: SdkTypes.TDeleteWalletsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_DELETE_WALLETS" + }, "deleteWalletsResult", stampWith); + } + + + stampDeleteWallets = async (input: SdkTypes.TDeleteWalletsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3338,9 +2589,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS", + type: "ACTIVITY_TYPE_DELETE_WALLETS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3348,35 +2600,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - emailAuth = async ( - input: SdkTypes.TEmailAuthBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/email_auth", - { + emailAuth = async (input: SdkTypes.TEmailAuthBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/email_auth", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", - }, - "emailAuthResult", - stampWith, - ); - }; - - stampEmailAuth = async ( - input: SdkTypes.TEmailAuthBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" + }, "emailAuthResult", stampWith); + } + + + stampEmailAuth = async (input: SdkTypes.TEmailAuthBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3389,9 +2629,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3399,35 +2640,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - exportPrivateKey = async ( - input: SdkTypes.TExportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/export_private_key", - { + exportPrivateKey = async (input: SdkTypes.TExportPrivateKeyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/export_private_key", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", - }, - "exportPrivateKeyResult", - stampWith, - ); - }; - - stampExportPrivateKey = async ( - input: SdkTypes.TExportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" + }, "exportPrivateKeyResult", stampWith); + } + + + stampExportPrivateKey = async (input: SdkTypes.TExportPrivateKeyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3435,15 +2664,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3451,35 +2680,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - exportWallet = async ( - input: SdkTypes.TExportWalletBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/export_wallet", - { + exportWallet = async (input: SdkTypes.TExportWalletBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/export_wallet", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET", - }, - "exportWalletResult", - stampWith, - ); - }; - - stampExportWallet = async ( - input: SdkTypes.TExportWalletBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_EXPORT_WALLET" + }, "exportWalletResult", stampWith); + } + + + stampExportWallet = async (input: SdkTypes.TExportWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3492,9 +2709,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET", + type: "ACTIVITY_TYPE_EXPORT_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3502,35 +2720,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - exportWalletAccount = async ( - input: SdkTypes.TExportWalletAccountBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/export_wallet_account", - { + exportWalletAccount = async (input: SdkTypes.TExportWalletAccountBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/export_wallet_account", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", - }, - "exportWalletAccountResult", - stampWith, - ); - }; - - stampExportWalletAccount = async ( - input: SdkTypes.TExportWalletAccountBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" + }, "exportWalletAccountResult", stampWith); + } + + + stampExportWalletAccount = async (input: SdkTypes.TExportWalletAccountBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3538,15 +2744,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3554,35 +2760,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - importPrivateKey = async ( - input: SdkTypes.TImportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/import_private_key", - { + importPrivateKey = async (input: SdkTypes.TImportPrivateKeyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/import_private_key", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", - }, - "importPrivateKeyResult", - stampWith, - ); - }; - - stampImportPrivateKey = async ( - input: SdkTypes.TImportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" + }, "importPrivateKeyResult", stampWith); + } + + + stampImportPrivateKey = async (input: SdkTypes.TImportPrivateKeyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3590,15 +2784,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3606,35 +2800,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - importWallet = async ( - input: SdkTypes.TImportWalletBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/import_wallet", - { + importWallet = async (input: SdkTypes.TImportWalletBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/import_wallet", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET", - }, - "importWalletResult", - stampWith, - ); - }; - - stampImportWallet = async ( - input: SdkTypes.TImportWalletBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_IMPORT_WALLET" + }, "importWalletResult", stampWith); + } + + + stampImportWallet = async (input: SdkTypes.TImportWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3647,9 +2829,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET", + type: "ACTIVITY_TYPE_IMPORT_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3657,35 +2840,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initFiatOnRamp = async ( - input: SdkTypes.TInitFiatOnRampBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_fiat_on_ramp", - { + initFiatOnRamp = async (input: SdkTypes.TInitFiatOnRampBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_fiat_on_ramp", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", - }, - "initFiatOnRampResult", - stampWith, - ); - }; - - stampInitFiatOnRamp = async ( - input: SdkTypes.TInitFiatOnRampBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" + }, "initFiatOnRampResult", stampWith); + } + + + stampInitFiatOnRamp = async (input: SdkTypes.TInitFiatOnRampBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3693,15 +2864,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3709,35 +2880,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initImportPrivateKey = async ( - input: SdkTypes.TInitImportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_import_private_key", - { + initImportPrivateKey = async (input: SdkTypes.TInitImportPrivateKeyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_import_private_key", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", - }, - "initImportPrivateKeyResult", - stampWith, - ); - }; - - stampInitImportPrivateKey = async ( - input: SdkTypes.TInitImportPrivateKeyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" + }, "initImportPrivateKeyResult", stampWith); + } + + + stampInitImportPrivateKey = async (input: SdkTypes.TInitImportPrivateKeyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3745,15 +2904,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3761,35 +2920,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initImportWallet = async ( - input: SdkTypes.TInitImportWalletBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_import_wallet", - { + initImportWallet = async (input: SdkTypes.TInitImportWalletBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_import_wallet", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", - }, - "initImportWalletResult", - stampWith, - ); - }; - - stampInitImportWallet = async ( - input: SdkTypes.TInitImportWalletBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" + }, "initImportWalletResult", stampWith); + } + + + stampInitImportWallet = async (input: SdkTypes.TInitImportWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3797,15 +2944,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3813,35 +2960,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initOtp = async ( - input: SdkTypes.TInitOtpBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_otp", - { + initOtp = async (input: SdkTypes.TInitOtpBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_otp", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP", - }, - "initOtpResult", - stampWith, - ); - }; - - stampInitOtp = async ( - input: SdkTypes.TInitOtpBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_OTP" + }, "initOtpResult", stampWith); + } + + + stampInitOtp = async (input: SdkTypes.TInitOtpBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3854,9 +2989,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP", + type: "ACTIVITY_TYPE_INIT_OTP" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3864,35 +3000,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initOtpAuth = async ( - input: SdkTypes.TInitOtpAuthBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_otp_auth", - { + initOtpAuth = async (input: SdkTypes.TInitOtpAuthBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_otp_auth", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", - }, - "initOtpAuthResult", - stampWith, - ); - }; - - stampInitOtpAuth = async ( - input: SdkTypes.TInitOtpAuthBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" + }, "initOtpAuthResult", stampWith); + } + + + stampInitOtpAuth = async (input: SdkTypes.TInitOtpAuthBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3905,9 +3029,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3915,35 +3040,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initUserEmailRecovery = async ( - input: SdkTypes.TInitUserEmailRecoveryBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/init_user_email_recovery", - { + initUserEmailRecovery = async (input: SdkTypes.TInitUserEmailRecoveryBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/init_user_email_recovery", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", - }, - "initUserEmailRecoveryResult", - stampWith, - ); - }; - - stampInitUserEmailRecovery = async ( - input: SdkTypes.TInitUserEmailRecoveryBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" + }, "initUserEmailRecoveryResult", stampWith); + } + + + stampInitUserEmailRecovery = async (input: SdkTypes.TInitUserEmailRecoveryBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3951,15 +3064,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3967,35 +3080,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauth = async ( - input: SdkTypes.TOauthBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/oauth", - { + oauth = async (input: SdkTypes.TOauthBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/oauth", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH", - }, - "oauthResult", - stampWith, - ); - }; - - stampOauth = async ( - input: SdkTypes.TOauthBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_OAUTH" + }, "oauthResult", stampWith); + } + + + stampOauth = async (input: SdkTypes.TOauthBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4008,9 +3109,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH", + type: "ACTIVITY_TYPE_OAUTH" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4018,35 +3120,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauth2Authenticate = async ( - input: SdkTypes.TOauth2AuthenticateBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/oauth2_authenticate", - { + oauth2Authenticate = async (input: SdkTypes.TOauth2AuthenticateBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/oauth2_authenticate", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE", - }, - "oauth2AuthenticateResult", - stampWith, - ); - }; - - stampOauth2Authenticate = async ( - input: SdkTypes.TOauth2AuthenticateBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE" + }, "oauth2AuthenticateResult", stampWith); + } + + + stampOauth2Authenticate = async (input: SdkTypes.TOauth2AuthenticateBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4054,15 +3144,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE", + type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4070,35 +3160,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauthLogin = async ( - input: SdkTypes.TOauthLoginBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/oauth_login", - { + oauthLogin = async (input: SdkTypes.TOauthLoginBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/oauth_login", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN", - }, - "oauthLoginResult", - stampWith, - ); - }; - - stampOauthLogin = async ( - input: SdkTypes.TOauthLoginBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_OAUTH_LOGIN" + }, "oauthLoginResult", stampWith); + } + + + stampOauthLogin = async (input: SdkTypes.TOauthLoginBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4111,9 +3189,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN", + type: "ACTIVITY_TYPE_OAUTH_LOGIN" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4121,35 +3200,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpAuth = async ( - input: SdkTypes.TOtpAuthBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/otp_auth", - { + otpAuth = async (input: SdkTypes.TOtpAuthBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/otp_auth", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH", - }, - "otpAuthResult", - stampWith, - ); - }; - - stampOtpAuth = async ( - input: SdkTypes.TOtpAuthBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_OTP_AUTH" + }, "otpAuthResult", stampWith); + } + + + stampOtpAuth = async (input: SdkTypes.TOtpAuthBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4162,9 +3229,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH", + type: "ACTIVITY_TYPE_OTP_AUTH" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4172,35 +3240,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpLogin = async ( - input: SdkTypes.TOtpLoginBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/otp_login", - { + otpLogin = async (input: SdkTypes.TOtpLoginBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/otp_login", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN", - }, - "otpLoginResult", - stampWith, - ); - }; - - stampOtpLogin = async ( - input: SdkTypes.TOtpLoginBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_OTP_LOGIN" + }, "otpLoginResult", stampWith); + } + + + stampOtpLogin = async (input: SdkTypes.TOtpLoginBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4213,9 +3269,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN", + type: "ACTIVITY_TYPE_OTP_LOGIN" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4223,35 +3280,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - recoverUser = async ( - input: SdkTypes.TRecoverUserBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/recover_user", - { + recoverUser = async (input: SdkTypes.TRecoverUserBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/recover_user", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER", - }, - "recoverUserResult", - stampWith, - ); - }; - - stampRecoverUser = async ( - input: SdkTypes.TRecoverUserBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_RECOVER_USER" + }, "recoverUserResult", stampWith); + } + + + stampRecoverUser = async (input: SdkTypes.TRecoverUserBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4264,9 +3309,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER", + type: "ACTIVITY_TYPE_RECOVER_USER" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4274,33 +3320,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; - - rejectActivity = async ( - input: SdkTypes.TRejectActivityBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activityDecision( - "/public/v1/submit/reject_activity", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY", - }, - stampWith, - ); - }; - - stampRejectActivity = async ( - input: SdkTypes.TRejectActivityBody, - stampWith?: StamperType, - ): Promise => { + } + + + rejectActivity = async (input: SdkTypes.TRejectActivityBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + return this.activityDecision("/public/v1/submit/reject_activity", + { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REJECT_ACTIVITY" + }, stampWith); + } + + + stampRejectActivity = async (input: SdkTypes.TRejectActivityBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4308,15 +3344,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY", + type: "ACTIVITY_TYPE_REJECT_ACTIVITY" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4324,35 +3360,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - removeOrganizationFeature = async ( - input: SdkTypes.TRemoveOrganizationFeatureBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/remove_organization_feature", - { + removeOrganizationFeature = async (input: SdkTypes.TRemoveOrganizationFeatureBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/remove_organization_feature", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", - }, - "removeOrganizationFeatureResult", - stampWith, - ); - }; - - stampRemoveOrganizationFeature = async ( - input: SdkTypes.TRemoveOrganizationFeatureBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" + }, "removeOrganizationFeatureResult", stampWith); + } + + + stampRemoveOrganizationFeature = async (input: SdkTypes.TRemoveOrganizationFeatureBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4360,15 +3384,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4376,35 +3400,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - setOrganizationFeature = async ( - input: SdkTypes.TSetOrganizationFeatureBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/set_organization_feature", - { + setOrganizationFeature = async (input: SdkTypes.TSetOrganizationFeatureBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/set_organization_feature", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", - }, - "setOrganizationFeatureResult", - stampWith, - ); - }; - - stampSetOrganizationFeature = async ( - input: SdkTypes.TSetOrganizationFeatureBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" + }, "setOrganizationFeatureResult", stampWith); + } + + + stampSetOrganizationFeature = async (input: SdkTypes.TSetOrganizationFeatureBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4412,15 +3424,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4428,35 +3440,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - signRawPayload = async ( - input: SdkTypes.TSignRawPayloadBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/sign_raw_payload", - { + signRawPayload = async (input: SdkTypes.TSignRawPayloadBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/sign_raw_payload", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", - }, - "signRawPayloadResult", - stampWith, - ); - }; - - stampSignRawPayload = async ( - input: SdkTypes.TSignRawPayloadBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" + }, "signRawPayloadResult", stampWith); + } + + + stampSignRawPayload = async (input: SdkTypes.TSignRawPayloadBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4464,15 +3464,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4480,35 +3480,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - signRawPayloads = async ( - input: SdkTypes.TSignRawPayloadsBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/sign_raw_payloads", - { + signRawPayloads = async (input: SdkTypes.TSignRawPayloadsBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/sign_raw_payloads", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", - }, - "signRawPayloadsResult", - stampWith, - ); - }; - - stampSignRawPayloads = async ( - input: SdkTypes.TSignRawPayloadsBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" + }, "signRawPayloadsResult", stampWith); + } + + + stampSignRawPayloads = async (input: SdkTypes.TSignRawPayloadsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4516,15 +3504,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4532,35 +3520,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - signTransaction = async ( - input: SdkTypes.TSignTransactionBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/sign_transaction", - { + signTransaction = async (input: SdkTypes.TSignTransactionBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/sign_transaction", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", - }, - "signTransactionResult", - stampWith, - ); - }; - - stampSignTransaction = async ( - input: SdkTypes.TSignTransactionBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" + }, "signTransactionResult", stampWith); + } + + + stampSignTransaction = async (input: SdkTypes.TSignTransactionBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4568,15 +3544,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4584,35 +3560,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - stampLogin = async ( - input: SdkTypes.TStampLoginBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/stamp_login", - { + stampLogin = async (input: SdkTypes.TStampLoginBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/stamp_login", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN", - }, - "stampLoginResult", - stampWith, - ); - }; - - stampStampLogin = async ( - input: SdkTypes.TStampLoginBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_STAMP_LOGIN" + }, "stampLoginResult", stampWith); + } + + + stampStampLogin = async (input: SdkTypes.TStampLoginBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4625,9 +3589,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN", + type: "ACTIVITY_TYPE_STAMP_LOGIN" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4635,35 +3600,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateOauth2Credential = async ( - input: SdkTypes.TUpdateOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_oauth2_credential", - { + updateOauth2Credential = async (input: SdkTypes.TUpdateOauth2CredentialBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_oauth2_credential", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL", - }, - "updateOauth2CredentialResult", - stampWith, - ); - }; - - stampUpdateOauth2Credential = async ( - input: SdkTypes.TUpdateOauth2CredentialBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL" + }, "updateOauth2CredentialResult", stampWith); + } + + + stampUpdateOauth2Credential = async (input: SdkTypes.TUpdateOauth2CredentialBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4671,15 +3624,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL", + type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4687,35 +3640,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updatePolicy = async ( - input: SdkTypes.TUpdatePolicyBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_policy", - { + updatePolicy = async (input: SdkTypes.TUpdatePolicyBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_policy", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", - }, - "updatePolicyResult", - stampWith, - ); - }; - - stampUpdatePolicy = async ( - input: SdkTypes.TUpdatePolicyBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" + }, "updatePolicyResult", stampWith); + } + + + stampUpdatePolicy = async (input: SdkTypes.TUpdatePolicyBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4728,9 +3669,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4738,35 +3680,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updatePrivateKeyTag = async ( - input: SdkTypes.TUpdatePrivateKeyTagBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_private_key_tag", - { + updatePrivateKeyTag = async (input: SdkTypes.TUpdatePrivateKeyTagBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_private_key_tag", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", - }, - "updatePrivateKeyTagResult", - stampWith, - ); - }; - - stampUpdatePrivateKeyTag = async ( - input: SdkTypes.TUpdatePrivateKeyTagBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" + }, "updatePrivateKeyTagResult", stampWith); + } + + + stampUpdatePrivateKeyTag = async (input: SdkTypes.TUpdatePrivateKeyTagBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4774,15 +3704,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4790,35 +3720,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateRootQuorum = async ( - input: SdkTypes.TUpdateRootQuorumBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_root_quorum", - { + updateRootQuorum = async (input: SdkTypes.TUpdateRootQuorumBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_root_quorum", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", - }, - "updateRootQuorumResult", - stampWith, - ); - }; - - stampUpdateRootQuorum = async ( - input: SdkTypes.TUpdateRootQuorumBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" + }, "updateRootQuorumResult", stampWith); + } + + + stampUpdateRootQuorum = async (input: SdkTypes.TUpdateRootQuorumBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4826,15 +3744,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4842,35 +3760,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUser = async ( - input: SdkTypes.TUpdateUserBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_user", - { + updateUser = async (input: SdkTypes.TUpdateUserBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_user", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER", - }, - "updateUserResult", - stampWith, - ); - }; - - stampUpdateUser = async ( - input: SdkTypes.TUpdateUserBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER" + }, "updateUserResult", stampWith); + } + + + stampUpdateUser = async (input: SdkTypes.TUpdateUserBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4883,9 +3789,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER", + type: "ACTIVITY_TYPE_UPDATE_USER" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4893,35 +3800,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUserEmail = async ( - input: SdkTypes.TUpdateUserEmailBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_user_email", - { + updateUserEmail = async (input: SdkTypes.TUpdateUserEmailBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_user_email", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", - }, - "updateUserEmailResult", - stampWith, - ); - }; - - stampUpdateUserEmail = async ( - input: SdkTypes.TUpdateUserEmailBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" + }, "updateUserEmailResult", stampWith); + } + + + stampUpdateUserEmail = async (input: SdkTypes.TUpdateUserEmailBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4929,15 +3824,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4945,35 +3840,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUserName = async ( - input: SdkTypes.TUpdateUserNameBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_user_name", - { + updateUserName = async (input: SdkTypes.TUpdateUserNameBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_user_name", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME", - }, - "updateUserNameResult", - stampWith, - ); - }; - - stampUpdateUserName = async ( - input: SdkTypes.TUpdateUserNameBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_NAME" + }, "updateUserNameResult", stampWith); + } + + + stampUpdateUserName = async (input: SdkTypes.TUpdateUserNameBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4981,15 +3864,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME", + type: "ACTIVITY_TYPE_UPDATE_USER_NAME" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4997,35 +3880,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUserPhoneNumber = async ( - input: SdkTypes.TUpdateUserPhoneNumberBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_user_phone_number", - { + updateUserPhoneNumber = async (input: SdkTypes.TUpdateUserPhoneNumberBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_user_phone_number", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", - }, - "updateUserPhoneNumberResult", - stampWith, - ); - }; - - stampUpdateUserPhoneNumber = async ( - input: SdkTypes.TUpdateUserPhoneNumberBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" + }, "updateUserPhoneNumberResult", stampWith); + } + + + stampUpdateUserPhoneNumber = async (input: SdkTypes.TUpdateUserPhoneNumberBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -5033,15 +3904,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -5049,35 +3920,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUserTag = async ( - input: SdkTypes.TUpdateUserTagBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_user_tag", - { + updateUserTag = async (input: SdkTypes.TUpdateUserTagBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_user_tag", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG", - }, - "updateUserTagResult", - stampWith, - ); - }; - - stampUpdateUserTag = async ( - input: SdkTypes.TUpdateUserTagBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_TAG" + }, "updateUserTagResult", stampWith); + } + + + stampUpdateUserTag = async (input: SdkTypes.TUpdateUserTagBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -5085,15 +3944,15 @@ export class TurnkeySDKClientBase { const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG", + type: "ACTIVITY_TYPE_UPDATE_USER_TAG" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -5101,35 +3960,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateWallet = async ( - input: SdkTypes.TUpdateWalletBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/update_wallet", - { + updateWallet = async (input: SdkTypes.TUpdateWalletBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/update_wallet", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET", - }, - "updateWalletResult", - stampWith, - ); - }; - - stampUpdateWallet = async ( - input: SdkTypes.TUpdateWalletBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_UPDATE_WALLET" + }, "updateWalletResult", stampWith); + } + + + stampUpdateWallet = async (input: SdkTypes.TUpdateWalletBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -5142,9 +3989,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET", + type: "ACTIVITY_TYPE_UPDATE_WALLET" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -5152,35 +4000,23 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - verifyOtp = async ( - input: SdkTypes.TVerifyOtpBody, - stampWith?: StamperType, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activity( - "/public/v1/submit/verify_otp", - { + verifyOtp = async (input: SdkTypes.TVerifyOtpBody, stampWith?: StamperType): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + + return this.activity("/public/v1/submit/verify_otp", { parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP", - }, - "verifyOtpResult", - stampWith, - ); - }; - - stampVerifyOtp = async ( - input: SdkTypes.TVerifyOtpBody, - stampWith?: StamperType, - ): Promise => { + type: "ACTIVITY_TYPE_VERIFY_OTP" + }, "verifyOtpResult", stampWith); + } + + + stampVerifyOtp = async (input: SdkTypes.TVerifyOtpBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -5193,9 +4029,10 @@ export class TurnkeySDKClientBase { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP", + type: "ACTIVITY_TYPE_VERIFY_OTP" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -5203,30 +4040,19 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - testRateLimits = async ( - input: SdkTypes.TTestRateLimitsBody, - stampWith?: StamperType, - ): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request( - "/tkhq/api/v1/test_rate_limits", - { + testRateLimits = async (input: SdkTypes.TTestRateLimitsBody, stampWith?: StamperType): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request("/tkhq/api/v1/test_rate_limits", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, - }, - stampWith, - ); - }; - - stampTestRateLimits = async ( - input: SdkTypes.TTestRateLimitsBody, - stampWith?: StamperType, - ): Promise => { + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + }, stampWith); + } + + + stampTestRateLimits = async (input: SdkTypes.TTestRateLimitsBody, stampWith?: StamperType): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -5238,9 +4064,10 @@ export class TurnkeySDKClientBase { const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_TEST_RATE_LIMITS", + type: "ACTIVITY_TYPE_TEST_RATE_LIMITS" }; + const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -5248,53 +4075,46 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; - - proxyGetAccount = async ( - input: SdkTypes.ProxyTGetAccountBody, - ): Promise => { - return this.authProxyRequest("/v1/account", input); - }; - - proxyOAuth2Authenticate = async ( - input: SdkTypes.ProxyTOAuth2AuthenticateBody, - ): Promise => { - return this.authProxyRequest("/v1/oauth2_authenticate", input); - }; - - proxyOAuthLogin = async ( - input: SdkTypes.ProxyTOAuthLoginBody, - ): Promise => { - return this.authProxyRequest("/v1/oauth_login", input); - }; - - proxyInitOtp = async ( - input: SdkTypes.ProxyTInitOtpBody, - ): Promise => { - return this.authProxyRequest("/v1/otp_init", input); - }; - - proxyOtpLogin = async ( - input: SdkTypes.ProxyTOtpLoginBody, - ): Promise => { - return this.authProxyRequest("/v1/otp_login", input); - }; - - proxyVerifyOtp = async ( - input: SdkTypes.ProxyTVerifyOtpBody, - ): Promise => { - return this.authProxyRequest("/v1/otp_verify", input); - }; - - proxySignup = async ( - input: SdkTypes.ProxyTSignupBody, - ): Promise => { - return this.authProxyRequest("/v1/signup", input); - }; - - proxyGetWalletKitConfig = async ( - input: SdkTypes.ProxyTGetWalletKitConfigBody, - ): Promise => { - return this.authProxyRequest("/v1/wallet_kit_config", input); - }; -} + } + + + proxyGetAccount = async (input: SdkTypes.ProxyTGetAccountBody): Promise => { + return this.authProxyRequest("/v1/account", input); + } + + + proxyOAuth2Authenticate = async (input: SdkTypes.ProxyTOAuth2AuthenticateBody): Promise => { + return this.authProxyRequest("/v1/oauth2_authenticate", input); + } + + + proxyOAuthLogin = async (input: SdkTypes.ProxyTOAuthLoginBody): Promise => { + return this.authProxyRequest("/v1/oauth_login", input); + } + + + proxyInitOtp = async (input: SdkTypes.ProxyTInitOtpBody): Promise => { + return this.authProxyRequest("/v1/otp_init", input); + } + + + proxyOtpLogin = async (input: SdkTypes.ProxyTOtpLoginBody): Promise => { + return this.authProxyRequest("/v1/otp_login", input); + } + + + proxyVerifyOtp = async (input: SdkTypes.ProxyTVerifyOtpBody): Promise => { + return this.authProxyRequest("/v1/otp_verify", input); + } + + + proxySignup = async (input: SdkTypes.ProxyTSignupBody): Promise => { + return this.authProxyRequest("/v1/signup", input); + } + + + proxyGetWalletKitConfig = async (input: SdkTypes.ProxyTGetWalletKitConfigBody): Promise => { + return this.authProxyRequest("/v1/wallet_kit_config", input); + } + +} \ No newline at end of file diff --git a/packages/core/src/__inputs__/auth_proxy.swagger.json b/packages/core/src/__inputs__/auth_proxy.swagger.json index c8c471d51..5bdadb819 100644 --- a/packages/core/src/__inputs__/auth_proxy.swagger.json +++ b/packages/core/src/__inputs__/auth_proxy.swagger.json @@ -477,19 +477,6 @@ "type": "string", "description": "The organization ID this configuration applies to", "title": "Organization ID" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their OAuth client IDs.", - "title": "OAuth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "OAuth redirect URL to be used for social login flows.", - "title": "OAuth Redirect URL" } }, "required": [ @@ -544,19 +531,9 @@ "nonce": { "type": "string", "description": "An optional nonce used by the client to prevent replay/substitution of an ID token" - }, - "clientId": { - "type": "string", - "description": "The client ID registered with the OAuth 2.0 provider" } }, - "required": [ - "provider", - "authCode", - "redirectUri", - "codeVerifier", - "clientId" - ] + "required": ["provider", "authCode", "redirectUri", "codeVerifier"] }, "v1OAuth2AuthenticateResponse": { "type": "object", diff --git a/packages/core/src/__inputs__/public_api.swagger.json b/packages/core/src/__inputs__/public_api.swagger.json index 54b8cc154..82ebe4110 100644 --- a/packages/core/src/__inputs__/public_api.swagger.json +++ b/packages/core/src/__inputs__/public_api.swagger.json @@ -10528,6 +10528,13 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." + }, + "oauth2ProviderCredentialIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11549,19 +11556,6 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their Oauth client IDs.", - "title": "Oauth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "Oauth redirect URL to be used for social login flows.", - "title": "Oauth Redirect URL" } } }, diff --git a/packages/core/src/__inputs__/public_api.types.ts b/packages/core/src/__inputs__/public_api.types.ts index d9e50642a..c76e40578 100644 --- a/packages/core/src/__inputs__/public_api.types.ts +++ b/packages/core/src/__inputs__/public_api.types.ts @@ -3372,6 +3372,8 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; + /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3771,16 +3773,6 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** - * Oauth Client IDs - * @description Mapping of social login providers to their Oauth client IDs. - */ - oauthClientIds?: { [key: string]: string }; - /** - * Oauth Redirect URL - * @description Oauth redirect URL to be used for social login flows. - */ - oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/core/src/__stampers__/passkey/base.ts b/packages/core/src/__stampers__/passkey/base.ts index 201a0dd29..d227ca842 100644 --- a/packages/core/src/__stampers__/passkey/base.ts +++ b/packages/core/src/__stampers__/passkey/base.ts @@ -5,7 +5,7 @@ import { base64StringToBase64UrlEncodedString, uint8ArrayToHexString, } from "@turnkey/encoding"; -import { getWebAuthnAttestation, TurnkeyApiTypes } from "@turnkey/http"; +import { getWebAuthnAttestation, type TurnkeyApiTypes } from "@turnkey/http"; import { v4 as uuidv4 } from "uuid"; let PasskeyStamperModule: typeof import("@turnkey/react-native-passkey-stamper"); @@ -39,7 +39,7 @@ export class CrossPlatformPasskeyStamper implements TStamper { PasskeyStamper = PasskeyStamperModule.PasskeyStamper; } catch { throw new Error( - "Please install react-native-passkeys and @turnkey/react-native-passkey-stamper in your app to use passkeys.", + "Please install react-native-passkeys and @turnkey/react-native-passkey-stamper in your app to use passkeys." ); } @@ -54,7 +54,7 @@ export class CrossPlatformPasskeyStamper implements TStamper { }); } catch (error) { throw new Error( - `Failed to load passkey stamper for react-native: ${error}`, + `Failed to load passkey stamper for react-native: ${error}` ); } } else { @@ -72,11 +72,11 @@ export class CrossPlatformPasskeyStamper implements TStamper { * @returns {Promise} */ createWebPasskey = async ( - config: Record = {}, // TODO (Amir): This needs to be typed + config: Record = {} // TODO (Amir): This needs to be typed ): Promise => { const challenge = generateRandomBuffer(); const encodedChallenge = base64StringToBase64UrlEncodedString( - btoa(String.fromCharCode(...new Uint8Array(challenge))), + btoa(String.fromCharCode(...new Uint8Array(challenge))) ); const authenticatorUserId = generateRandomBuffer(); @@ -138,14 +138,14 @@ export class CrossPlatformPasskeyStamper implements TStamper { }; createReactNativePasskey = async ( - config: Record = {}, // TODO (Amir): This needs to be typed + config: Record = {} // TODO (Amir): This needs to be typed ): Promise => { const { name, displayName, authenticatorName } = config; const { createPasskey } = PasskeyStamperModule; // We do a 'selective' import when initializing the stamper. This is safe to do here. if (!createPasskey) { throw new Error( - "Ensure you have @turnkey/react-native-passkey-stamper installed and linked correctly. Are you not on React Native?", + "Ensure you have @turnkey/react-native-passkey-stamper installed and linked correctly. Are you not on React Native?" ); } diff --git a/packages/core/src/__wallet__/connector.ts b/packages/core/src/__wallet__/connector.ts index 1b996a7d8..010413f0a 100644 --- a/packages/core/src/__wallet__/connector.ts +++ b/packages/core/src/__wallet__/connector.ts @@ -1,9 +1,9 @@ import { SignIntent, - WalletProvider, - WalletInterface, + type WalletProvider, + type WalletInterface, WalletInterfaceType, - SwitchableChain, + type SwitchableChain, Chain, } from "@types"; @@ -11,7 +11,7 @@ export interface CrossPlatformWalletConnectorInterface { sign( message: string | Uint8Array, walletProvider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise; } @@ -30,11 +30,11 @@ export class CrossPlatformWalletConnector constructor( private readonly wallets: Partial< Record - >, + > ) { if (!Object.keys(wallets).length) { throw new Error( - "Cannot create WalletConnector: no wallet interfaces provided", + "Cannot create WalletConnector: no wallet interfaces provided" ); } } @@ -90,7 +90,7 @@ export class CrossPlatformWalletConnector */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain, + chainOrId: string | SwitchableChain ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only Ethereum wallets support chain switching"); @@ -99,7 +99,7 @@ export class CrossPlatformWalletConnector const wallet = this.wallets[provider.interfaceType]; if (!wallet?.switchChain) { throw new Error( - `Wallet ${provider.interfaceType} doesn’t support switching chains`, + `Wallet ${provider.interfaceType} doesn’t support switching chains` ); } @@ -118,13 +118,13 @@ export class CrossPlatformWalletConnector async sign( payload: string, walletProvider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise { const wallet = this.wallets[walletProvider.interfaceType]; if (!wallet) { throw new Error( - `Wallet for ${walletProvider.interfaceType} not initialized`, + `Wallet for ${walletProvider.interfaceType} not initialized` ); } diff --git a/packages/core/src/__wallet__/mobile/manager.ts b/packages/core/src/__wallet__/mobile/manager.ts index da761e75e..f6697efaf 100644 --- a/packages/core/src/__wallet__/mobile/manager.ts +++ b/packages/core/src/__wallet__/mobile/manager.ts @@ -1,9 +1,9 @@ import { CrossPlatformWalletStamper } from "../stamper"; import { CrossPlatformWalletConnector } from "../connector"; import { - TWalletManagerConfig, - WalletInterface, - WalletProvider, + type TWalletManagerConfig, + type WalletInterface, + type WalletProvider, WalletInterfaceType, Chain, } from "@types"; @@ -58,14 +58,14 @@ export class MobileWalletManager { // add async init step to the initializer queue this.initializers.push(() => - wcUnified.init({ ethereumNamespaces, solanaNamespaces }), + wcUnified.init({ ethereumNamespaces, solanaNamespaces }) ); // register WalletConnect as a wallet interface for each enabled chain if (enableWalletConnectEvm) { this.addChainInterface( Chain.Ethereum, - WalletInterfaceType.WalletConnect, + WalletInterfaceType.WalletConnect ); } if (enableWalletConnectSol) { @@ -123,7 +123,7 @@ export class MobileWalletManager { .filter(Boolean) as WalletInterface[]; const providersArrays = await Promise.all( - walletsToQuery.map((wallet) => wallet.getProviders()), + walletsToQuery.map((wallet) => wallet.getProviders()) ); // we still need to filter by chain because WalletConnect can return providers for multiple chains @@ -133,7 +133,7 @@ export class MobileWalletManager { } const providersArrays = await Promise.all( - Object.values(this.wallets).map((wallet) => wallet.getProviders()), + Object.values(this.wallets).map((wallet) => wallet.getProviders()) ); return providersArrays.flat(); @@ -147,7 +147,7 @@ export class MobileWalletManager { */ private addChainInterface = ( chain: Chain, - interfaceType: WalletInterfaceType, + interfaceType: WalletInterfaceType ) => { if (!this.chainToInterfaces[chain]) this.chainToInterfaces[chain] = []; this.chainToInterfaces[chain]!.push(interfaceType); diff --git a/packages/core/src/__wallet__/wallet-connect/base.ts b/packages/core/src/__wallet__/wallet-connect/base.ts index 0eea6512f..4045223e8 100644 --- a/packages/core/src/__wallet__/wallet-connect/base.ts +++ b/packages/core/src/__wallet__/wallet-connect/base.ts @@ -9,12 +9,12 @@ import { compressRawPublicKey } from "@turnkey/crypto"; import { Chain, WalletInterfaceType, - WalletProvider, - WalletProviderInfo, + type WalletProvider, + type WalletProviderInfo, SignIntent, - WalletConnectProvider, - WalletConnectInterface, - SwitchableChain, + type WalletConnectProvider, + type WalletConnectInterface, + type SwitchableChain, } from "@types"; import type { WalletConnectClient } from "./client"; import type { SessionTypes } from "@walletconnect/types"; @@ -41,7 +41,7 @@ export class WalletConnectWallet implements WalletConnectInterface { >(); private addChangeListener( - listener: (event?: WalletConnectChangeEvent) => void, + listener: (event?: WalletConnectChangeEvent) => void ) { this.changeListeners.add(listener); return () => this.changeListeners.delete(listener); @@ -112,7 +112,7 @@ export class WalletConnectWallet implements WalletConnectInterface { this.solanaNamespaces.length === 0 ) { throw new Error( - "At least one namespace must be enabled for WalletConnect", + "At least one namespace must be enabled for WalletConnect" ); } @@ -191,7 +191,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain, + chainOrId: string | SwitchableChain ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only EVM wallets support chain switching"); @@ -208,8 +208,8 @@ export class WalletConnectWallet implements WalletConnectInterface { if (!this.ethereumNamespaces.includes(caip)) { throw new Error( `Unsupported chain ${caip}. Supported chains: ${this.ethereumNamespaces.join( - ", ", - )}. If you’d like to support ${caip}, add it to the \`ethereumNamespaces\` in your WalletConnect config.`, + ", " + )}. If you’d like to support ${caip}, add it to the \`ethereumNamespaces\` in your WalletConnect config.` ); } @@ -222,7 +222,7 @@ export class WalletConnectWallet implements WalletConnectInterface { this.ethChain = caip; } catch (err: any) { throw new Error( - `Failed to switch chain: ${err.message || err.toString()}`, + `Failed to switch chain: ${err.message || err.toString()}` ); } } @@ -251,7 +251,7 @@ export class WalletConnectWallet implements WalletConnectInterface { async sign( payload: string, provider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise { const session = await this.ensureSession(); @@ -289,7 +289,7 @@ export class WalletConnectWallet implements WalletConnectInterface { return (await this.client.request( this.ethChain, "eth_sendTransaction", - [txParams], + [txParams] )) as string; default: throw new Error(`Unsupported Ethereum intent: ${intent}`); @@ -312,14 +312,14 @@ export class WalletConnectWallet implements WalletConnectInterface { { pubkey: address, message: msgB58, - }, + } ); return uint8ArrayToHexString(bs58.decode(sigB58)); } case SignIntent.SignTransaction: { const txBytes = uint8ArrayFromHexString(payload); const txBase64 = stringToBase64urlString( - String.fromCharCode(...txBytes), + String.fromCharCode(...txBytes) ); const { signature: sigB58 } = await this.client.request( this.solChain, @@ -327,14 +327,14 @@ export class WalletConnectWallet implements WalletConnectInterface { { feePayer: address, transaction: txBase64, - }, + } ); return uint8ArrayToHexString(bs58.decode(sigB58)); } case SignIntent.SignAndSendTransaction: { const txBytes = uint8ArrayFromHexString(payload); const txBase64 = stringToBase64urlString( - String.fromCharCode(...txBytes), + String.fromCharCode(...txBytes) ); const sigB58 = await this.client.request( this.solChain, @@ -343,7 +343,7 @@ export class WalletConnectWallet implements WalletConnectInterface { feePayer: address, transaction: txBase64, options: { skipPreflight: false }, - }, + } ); return uint8ArrayToHexString(bs58.decode(sigB58)); } @@ -478,7 +478,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ private async buildEthProvider( session: SessionTypes.Struct | null, - info: WalletProviderInfo, + info: WalletProviderInfo ): Promise { const raw = session?.namespaces.eip155?.accounts?.[0] ?? ""; const address = raw.split(":")[2]; @@ -512,7 +512,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ private buildSolProvider( session: SessionTypes.Struct | null, - info: WalletProviderInfo, + info: WalletProviderInfo ): WalletProvider { const raw = session?.namespaces.solana?.accounts?.[0] ?? ""; const address = raw.split(":")[2]; @@ -594,7 +594,7 @@ function hasConnectedAccounts(session: SessionTypes.Struct | null): boolean { * @returns The connected EVM address, or `undefined` if none. */ function getConnectedEthereum( - session: SessionTypes.Struct | null, + session: SessionTypes.Struct | null ): string | undefined { const acc = session?.namespaces.eip155?.accounts?.[0]; return acc ? acc.split(":")[2] : undefined; @@ -610,7 +610,7 @@ function getConnectedEthereum( * @returns The connected Solana address (base58), or `undefined` if none. */ function getConnectedSolana( - session: SessionTypes.Struct | null, + session: SessionTypes.Struct | null ): string | undefined { const acc = session?.namespaces.solana?.accounts?.[0]; return acc ? acc.split(":")[2] : undefined; diff --git a/packages/core/src/__wallet__/web/manager.ts b/packages/core/src/__wallet__/web/manager.ts index ae0fe7534..9a9894002 100644 --- a/packages/core/src/__wallet__/web/manager.ts +++ b/packages/core/src/__wallet__/web/manager.ts @@ -3,9 +3,9 @@ import { CrossPlatformWalletConnector } from "../connector"; import { EthereumWallet } from "./native/ethereum"; import { SolanaWallet } from "./native/solana"; import { - TWalletManagerConfig, - WalletInterface, - WalletProvider, + type TWalletManagerConfig, + type WalletInterface, + type WalletProvider, WalletInterfaceType, Chain, } from "@types"; @@ -75,14 +75,14 @@ export class WebWalletManager { // add async init step to the initializer queue this.initializers.push(() => - wcUnified.init({ ethereumNamespaces, solanaNamespaces }), + wcUnified.init({ ethereumNamespaces, solanaNamespaces }) ); // register WalletConnect as a wallet interface for each enabled chain if (enableWalletConnectEvm) this.addChainInterface( Chain.Ethereum, - WalletInterfaceType.WalletConnect, + WalletInterfaceType.WalletConnect ); if (enableWalletConnectSol) this.addChainInterface(Chain.Solana, WalletInterfaceType.WalletConnect); @@ -136,7 +136,7 @@ export class WebWalletManager { .filter(Boolean) as WalletInterface[]; const providersArrays = await Promise.all( - walletsToQuery.map((wallet) => wallet.getProviders()), + walletsToQuery.map((wallet) => wallet.getProviders()) ); // we still need to filter by chain because WalletConnect can return providers for multiple chains @@ -147,7 +147,7 @@ export class WebWalletManager { // collect all providers from all initialized wallets const providersArrays = await Promise.all( - Object.values(this.wallets).map((wallet) => wallet.getProviders()), + Object.values(this.wallets).map((wallet) => wallet.getProviders()) ); return providersArrays.flat(); @@ -161,7 +161,7 @@ export class WebWalletManager { */ private addChainInterface = ( chain: Chain, - interfaceType: WalletInterfaceType, + interfaceType: WalletInterfaceType ) => { if (!this.chainToInterfaces[chain]) this.chainToInterfaces[chain] = []; this.chainToInterfaces[chain]!.push(interfaceType); diff --git a/packages/core/src/__wallet__/web/native/ethereum.ts b/packages/core/src/__wallet__/web/native/ethereum.ts index 817b66ae0..4b0c32487 100644 --- a/packages/core/src/__wallet__/web/native/ethereum.ts +++ b/packages/core/src/__wallet__/web/native/ethereum.ts @@ -1,22 +1,22 @@ import { recoverPublicKey, hashMessage, - Hex, - Address, - EIP1193Provider, + type Hex, + type Address, + type EIP1193Provider, toHex, } from "viem"; import { Transaction } from "ethers"; import { compressRawPublicKey } from "@turnkey/crypto"; import { Chain, - EthereumWalletInterface, + type EthereumWalletInterface, SignIntent, - SwitchableChain, + type SwitchableChain, WalletInterfaceType, - WalletProvider, - WalletProviderInfo, - WalletRpcProvider, + type WalletProvider, + type WalletProviderInfo, + type WalletRpcProvider, } from "@types"; import { uint8ArrayFromHexString, @@ -45,7 +45,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { abstract sign( payload: string | Hex, provider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise; /** @@ -62,7 +62,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { const signature = await this.sign( message, provider, - SignIntent.SignMessage, + SignIntent.SignMessage ); return getCompressedPublicKey(signature, message); }; @@ -126,12 +126,12 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { window.addEventListener( "eip6963:announceProvider", - handler as EventListener, + handler as EventListener ); window.dispatchEvent(new Event("eip6963:requestProvider")); window.removeEventListener( "eip6963:announceProvider", - handler as EventListener, + handler as EventListener ); await Promise.all(providerPromises); @@ -185,7 +185,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain, + chainOrId: string | SwitchableChain ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only EVM wallets can switch chains"); @@ -212,7 +212,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { if (typeof chainOrId === "string") { throw new Error( `Chain ${chainId} not recognized. ` + - `If you want to add it, call switchChain with a SwitchableChain object.`, + `If you want to add it, call switchChain with a SwitchableChain object.` ); } @@ -267,7 +267,7 @@ export class EthereumWallet extends BaseEthereumWallet { sign = async ( payload: string, provider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise => { const selectedProvider = asEip1193(provider); const account = await getAccount(selectedProvider); @@ -333,7 +333,7 @@ const getAccount = async (provider: EIP1193Provider): Promise
=> { */ const getCompressedPublicKey = async ( signature: string, - message: string, + message: string ): Promise => { const secp256k1PublicKey = await recoverPublicKey({ hash: hashMessage(message), diff --git a/packages/core/src/__wallet__/web/native/solana.ts b/packages/core/src/__wallet__/web/native/solana.ts index 95a091221..31691e89d 100644 --- a/packages/core/src/__wallet__/web/native/solana.ts +++ b/packages/core/src/__wallet__/web/native/solana.ts @@ -9,10 +9,10 @@ import { import { Chain, SignIntent, - SolanaWalletInterface, + type SolanaWalletInterface, WalletInterfaceType, - WalletProvider, - WalletRpcProvider, + type WalletProvider, + type WalletRpcProvider, } from "@types"; /** @@ -29,7 +29,7 @@ export abstract class BaseSolanaWallet implements SolanaWalletInterface { abstract sign( message: string | Uint8Array, provider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise; /** @@ -88,7 +88,7 @@ export abstract class BaseSolanaWallet implements SolanaWalletInterface { provider: wallet as WalletRpcProvider, connectedAddresses, }); - }), + }) ); return discovered; @@ -148,7 +148,7 @@ export class SolanaWallet extends BaseSolanaWallet { sign = async ( payload: string, provider: WalletProvider, - intent: SignIntent, + intent: SignIntent ): Promise => { const wallet = asSolana(provider); await connectAccount(wallet); @@ -258,6 +258,6 @@ const connectAccount = async (wallet: SWSWallet): Promise => { } throw new Error( - "Wallet is not connected and does not implement standard:connect", + "Wallet is not connected and does not implement standard:connect" ); }; diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index e469eabe9..c54c36233 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -12,20 +12,20 @@ import { type v1WalletAccount, TurnkeyError, TurnkeyErrorCodes, - v1SignRawPayloadResult, - v1TransactionType, - ProxyTGetWalletKitConfigResponse, - v1User, - v1CreatePolicyIntentV3, + type v1SignRawPayloadResult, + type v1TransactionType, + type ProxyTGetWalletKitConfigResponse, + type v1User, + type v1CreatePolicyIntentV3, } from "@turnkey/sdk-types"; import { type CreateSubOrgParams, type WalletProvider, Chain, - GrpcStatus, + type GrpcStatus, TurnkeyRequestError, - EvmChainInfo, - SolanaChainInfo, + type EvmChainInfo, + type SolanaChainInfo, Curve, } from "./__types__/base"; import { bs58 } from "@turnkey/encoding"; @@ -336,7 +336,7 @@ export const generateRandomBuffer = (): ArrayBuffer => { }; const hexByByte = Array.from({ length: 256 }, (_, i) => - i.toString(16).padStart(2, "0"), + i.toString(16).padStart(2, "0") ); export const bytesToHex = (bytes: Uint8Array): string => { @@ -349,7 +349,7 @@ export const bytesToHex = (bytes: Uint8Array): string => { }; export const toExternalTimestamp = ( - date: Date = new Date(), + date: Date = new Date() ): externaldatav1Timestamp => { const millis = date.getTime(); const seconds = Math.floor(millis / 1000); @@ -401,7 +401,7 @@ export function getHashFunction(addressFormat: v1AddressFormat) { if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } return config.hashFunction; @@ -412,7 +412,7 @@ export function getEncodingType(addressFormat: v1AddressFormat) { if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } return config.encoding; @@ -420,13 +420,13 @@ export function getEncodingType(addressFormat: v1AddressFormat) { export function getEncodedMessage( addressFormat: v1AddressFormat, - rawMessage: string, + rawMessage: string ): string { const config = addressFormatConfig[addressFormat]; if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } if (config.encoding === "PAYLOAD_ENCODING_HEXADECIMAL") { @@ -463,7 +463,7 @@ export const broadcastTransaction = async (params: { if (json.error) { throw new TurnkeyError( `Solana RPC Error: ${json.error.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } @@ -487,7 +487,7 @@ export const broadcastTransaction = async (params: { if (json.error) { throw new TurnkeyError( `Ethereum RPC Error: ${json.error.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } @@ -506,7 +506,7 @@ export const broadcastTransaction = async (params: { if (!json.result) { throw new TurnkeyError( `Tron RPC Error: ${json.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } @@ -516,14 +516,14 @@ export const broadcastTransaction = async (params: { default: throw new TurnkeyError( `Unsupported transaction type for broadcasting: ${transactionType}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR ); } }; export function splitSignature( signature: string, - addressFormat: v1AddressFormat, + addressFormat: v1AddressFormat ): v1SignRawPayloadResult { const hex = signature.replace(/^0x/, ""); @@ -550,7 +550,7 @@ export function splitSignature( if (addressFormat === "ADDRESS_FORMAT_SOLANA") { if (hex.length !== 128) { throw new Error( - `Invalid Solana signature length: expected 64 bytes (128 hex), got ${hex.length}`, + `Invalid Solana signature length: expected 64 bytes (128 hex), got ${hex.length}` ); } @@ -564,13 +564,13 @@ export function splitSignature( } throw new Error( - `Unsupported address format or invalid signature length: ${hex.length}`, + `Unsupported address format or invalid signature length: ${hex.length}` ); } // Type guard to check if accounts is WalletAccount[] export function isWalletAccountArray( - arr: any[], + arr: any[] ): arr is v1WalletAccountParams[] { return ( arr.length === 0 || @@ -583,7 +583,7 @@ export function isWalletAccountArray( } export function createWalletAccountFromAddressFormat( - addressFormat: v1AddressFormat, + addressFormat: v1AddressFormat ): v1WalletAccountParams { const walletAccount = addressFormatConfig[addressFormat]?.defaultAccounts; if (!walletAccount) { @@ -595,7 +595,7 @@ export function createWalletAccountFromAddressFormat( } throw new Error( - `No default accounts defined for address format: ${addressFormat}`, + `No default accounts defined for address format: ${addressFormat}` ); } @@ -637,7 +637,7 @@ export function generateWalletAccountsFromAddressFormat(params: { const pathWithIndex = account.path.replace( /^((?:[^\/]*\/){3})(\d+)/, - (_, prefix) => `${prefix}${nextIndex}`, + (_, prefix) => `${prefix}${nextIndex}` ); pathMap.set(account.path, nextIndex + 1); @@ -743,7 +743,7 @@ export function getPublicKeyFromStampHeader(stampHeaderValue: string): string { throw new Error( `Failed to extract public key from stamp header: ${ error instanceof Error ? error.message : String(error) - }`, + }` ); } } @@ -760,21 +760,21 @@ export function getPolicySignature(policy: v1CreatePolicyIntentV3): string { /**@internal */ export function isEthereumProvider( - provider: WalletProvider, + provider: WalletProvider ): provider is WalletProvider & { chainInfo: EvmChainInfo } { return provider.chainInfo.namespace === Chain.Ethereum; } /**@internal */ export function isSolanaProvider( - provider: WalletProvider, + provider: WalletProvider ): provider is WalletProvider & { chainInfo: SolanaChainInfo } { return provider.chainInfo.namespace === Chain.Solana; } /** @internal */ export function getCurveTypeFromProvider( - provider: WalletProvider, + provider: WalletProvider ): "API_KEY_CURVE_SECP256K1" | "API_KEY_CURVE_ED25519" { if (isEthereumProvider(provider)) { return "API_KEY_CURVE_SECP256K1"; @@ -787,7 +787,7 @@ export function getCurveTypeFromProvider( // we should never hit this case // if we do then it means we added support for a new chain but missed updating this function throw new Error( - `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.`, + `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.` ); } @@ -804,14 +804,14 @@ export function getSignatureSchemeFromProvider(provider: WalletProvider) { // we should never hit this case // if we do then it means we added support for a new chain but missed updating this function throw new Error( - `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.`, + `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.` ); } /** @internal */ export function findWalletProviderFromAddress( address: string, - providers: WalletProvider[], + providers: WalletProvider[] ): WalletProvider | undefined { for (const provider of providers) { if (provider.connectedAddresses.includes(address)) { @@ -835,7 +835,7 @@ export function addressFromPublicKey(chain: Chain, publicKey: string): string { const compressedBytes = uint8ArrayFromHexString(publicKey); const publicKeyUncompressed = uint8ArrayToHexString( - uncompressRawPublicKey(compressedBytes, Curve.SECP256K1), + uncompressRawPublicKey(compressedBytes, Curve.SECP256K1) ); // drop 04 prefix @@ -878,7 +878,7 @@ export function getAuthenticatorAddresses(user: v1User) { /**@internal */ export async function getAuthProxyConfig( authProxyConfigId: string, - authProxyUrl?: string | undefined, + authProxyUrl?: string | undefined ): Promise { const fullUrl = (authProxyUrl ?? "https://authproxy.turnkey.com") + "/v1/wallet_kit_config"; @@ -938,7 +938,7 @@ export async function withTurnkeyErrorHandling( }, finallyOptions?: { finallyFn: () => Promise; - }, + } ): Promise { const { errorMessage, @@ -958,7 +958,7 @@ export async function withTurnkeyErrorHandling( throw new TurnkeyError( customCodeMessage.message, customCodeMessage.code, - error, + error ); } throwMatchingMessage(error.message, customErrorByMessages, error); @@ -996,7 +996,7 @@ const throwMatchingMessage = ( customErrorByMessages: | Record | undefined, - error: any, + error: any ) => { if (customErrorByMessages && Object.keys(customErrorByMessages).length > 0) { Object.keys(customErrorByMessages).forEach((key) => { @@ -1004,7 +1004,7 @@ const throwMatchingMessage = ( throw new TurnkeyError( customErrorByMessages[key]!.message, customErrorByMessages[key]!.code, - error, + error ); } }); @@ -1018,7 +1018,7 @@ const throwMatchingMessage = ( * @param pair The key pair to validate. */ export async function assertValidP256ECDSAKeyPair( - pair: CryptoKeyPair, + pair: CryptoKeyPair ): Promise { const { privateKey, publicKey } = pair; @@ -1026,37 +1026,37 @@ export async function assertValidP256ECDSAKeyPair( if (!(privateKey instanceof CryptoKey) || !(publicKey instanceof CryptoKey)) { throw new TurnkeyError( "Both keys must be CryptoKey instances.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } if (privateKey.type !== "private") throw new TurnkeyError( "privateKey.type must be 'private'.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); if (publicKey.type !== "public") throw new TurnkeyError( "publicKey.type must be 'public'.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); // Verify extractability and usages if (privateKey.extractable !== false) { throw new TurnkeyError( "Provided privateKey must be non-extractable.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } if (!privateKey.usages.includes("sign")) { throw new TurnkeyError( "privateKey must have 'sign' in keyUsages.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } if (!publicKey.usages.includes("verify")) { throw new TurnkeyError( "publicKey must have 'verify' in keyUsages.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -1066,24 +1066,24 @@ export async function assertValidP256ECDSAKeyPair( if (pAlg.name !== "ECDSA" || pubAlg.name !== "ECDSA") { throw new TurnkeyError( "Keys must be ECDSA keys.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } if (pAlg.namedCurve !== "P-256" || pubAlg.namedCurve !== "P-256") { throw new TurnkeyError( "Keys must be on the P-256 curve.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } // Public key export sanity (should be uncompressed 65 bytes starting with 0x04) const rawPub = new Uint8Array( - await crypto.subtle.exportKey("raw", publicKey), + await crypto.subtle.exportKey("raw", publicKey) ); if (rawPub.length !== 65 || rawPub[0] !== 0x04) { throw new TurnkeyError( "Public key must be an uncompressed P-256 point (65 bytes, leading 0x04).", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } @@ -1092,18 +1092,18 @@ export async function assertValidP256ECDSAKeyPair( const sig = await crypto.subtle.sign( { name: "ECDSA", hash: "SHA-256" }, privateKey, - msg, + msg ); const ok = await crypto.subtle.verify( { name: "ECDSA", hash: "SHA-256" }, publicKey, sig, - msg, + msg ); if (!ok) { throw new TurnkeyError( "publicKey does not match privateKey (verify failed).", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } } @@ -1115,7 +1115,7 @@ export function isValidPasskeyName(name: string): string { if (!nameRegex.test(name)) { throw new TurnkeyError( "Passkey name must be 1-64 characters and only contain letters, numbers, spaces, dashes, underscores, colons, or slashes.", - TurnkeyErrorCodes.INVALID_REQUEST, + TurnkeyErrorCodes.INVALID_REQUEST ); } return name; diff --git a/packages/eip-1193-provider/src/errors.ts b/packages/eip-1193-provider/src/errors.ts index fa412eefd..d044c147b 100644 --- a/packages/eip-1193-provider/src/errors.ts +++ b/packages/eip-1193-provider/src/errors.ts @@ -1,4 +1,4 @@ -import { Hex, ProviderRpcError, hexToNumber } from "viem"; +import { type Hex, ProviderRpcError, hexToNumber } from "viem"; import { PROVIDER_ERROR_CODE, PROVIDER_ERROR_MESSAGE } from "./constants"; // https://docs.metamask.io/wallet/reference/wallet_switchethereumchain/ @@ -17,13 +17,13 @@ class ChainIdMismatchError extends ProviderRpcError { super( new Error( `${PROVIDER_ERROR_MESSAGE.CHAIN_ID_RPC_MISMATCH}${hexToNumber( - providerChainId, - )} RPC Chain ID: ${hexToNumber(rpcChainId)}`, + providerChainId + )} RPC Chain ID: ${hexToNumber(rpcChainId)}` ), { code: 4905, shortMessage: "Chain ID mismatch", - }, + } ); } } @@ -89,7 +89,7 @@ class NativeCurrencySymbolLengthError extends ProviderRpcError { { code: PROVIDER_ERROR_CODE.ADD_ETHEREUM_CHAIN, shortMessage: "Invalid native currency symbol length", - }, + } ); } } @@ -98,12 +98,12 @@ class NativeCurrencySymbolMismatchError extends ProviderRpcError { constructor(symbol: string) { super( new Error( - PROVIDER_ERROR_MESSAGE.NATIVE_CURRENCY_SYMBOL_MISMATCH + symbol, + PROVIDER_ERROR_MESSAGE.NATIVE_CURRENCY_SYMBOL_MISMATCH + symbol ), { code: PROVIDER_ERROR_CODE.ADD_ETHEREUM_CHAIN, shortMessage: "Native currency symbol mismatch", - }, + } ); } } diff --git a/packages/eip-1193-provider/src/index.ts b/packages/eip-1193-provider/src/index.ts index 7a5eb5a7f..8f06a1164 100644 --- a/packages/eip-1193-provider/src/index.ts +++ b/packages/eip-1193-provider/src/index.ts @@ -10,7 +10,7 @@ import { MethodNotSupportedRpcError, ProviderDisconnectedError, ChainDisconnectedError, - Hex, + type Hex, } from "viem"; import { getAddress, getHttpRpcClient, hashTypedData } from "viem/utils"; @@ -26,10 +26,10 @@ import { signMessage, signTransaction, turnkeyIsDisconnected } from "./turnkey"; import { ChainIdMismatchError, UnrecognizedChainError } from "./errors"; import { VERSION } from "./version"; -export { TurnkeyEIP1193Provider }; +export type { TurnkeyEIP1193Provider }; export const createEIP1193Provider = async ( - options: TurnkeyEIP1193ProviderOptions, + options: TurnkeyEIP1193ProviderOptions ) => { const { turnkeyClient, organizationId, walletId, chains } = options; @@ -58,13 +58,13 @@ export const createEIP1193Provider = async ( function setConnected(connected: false, data: ProviderRpcError): void; function setConnected( connected: boolean, - data: ConnectInfo | ProviderRpcError, + data: ConnectInfo | ProviderRpcError ) { if (!isInitialized) return; // Find the currently selected chain and update its connected status addedChains = addedChains.map((chain) => - chain.chainId === activeChain.chainId ? { ...chain, connected } : chain, + chain.chainId === activeChain.chainId ? { ...chain, connected } : chain ); if (connected && lastEmittedEvent !== "connect" && isInitialized) { // Emit 'connect' event when the provider becomes connected as per EIP-1193 @@ -78,7 +78,7 @@ export const createEIP1193Provider = async ( // Emit 'disconnect' event when disconnected from all chains // See https://eips.ethereum.org/EIPS/eip-1193#disconnect const providerDisconnectedError = new ProviderDisconnectedError( - data as ProviderRpcError, + data as ProviderRpcError ); eventEmitter.emit("disconnect", providerDisconnectedError); // Reset 'connect' emitted flag on disconnect @@ -214,7 +214,7 @@ export const createEIP1193Provider = async ( case "wallet_switchEthereumChain": { const [targetChainId] = params as [string]; const targetChain = addedChains.find( - (chain) => chain.chainId === targetChainId, + (chain) => chain.chainId === targetChainId ); if (!targetChain) { @@ -225,7 +225,7 @@ export const createEIP1193Provider = async ( eventEmitter.emit("chainChanged", { chainId: activeChain.chainId }); return null; } - // @ts-expect-error fall through expected + case "eth_sendTransaction": { const [transaction] = params as WalletRpcSchema[7]["Parameters"]; const signedTransaction = await request({ @@ -273,7 +273,7 @@ export const createEIP1193Provider = async ( case "eth_newFilter": case "eth_newPendingTransactionFilter": case "eth_syncing": - // @ts-expect-error fall through expected + case "eth_uninstallFilter": const { rpcUrls: [rpcUrl], @@ -303,7 +303,7 @@ export const createEIP1193Provider = async ( } default: throw new MethodNotSupportedRpcError( - new Error(`Invalid method: ${method}`), + new Error(`Invalid method: ${method}`) ); } } catch (error: any) { diff --git a/packages/eip-1193-provider/src/utils.ts b/packages/eip-1193-provider/src/utils.ts index 087640619..785975ec6 100644 --- a/packages/eip-1193-provider/src/utils.ts +++ b/packages/eip-1193-provider/src/utils.ts @@ -1,8 +1,8 @@ import { - AddEthereumChainParameter, - Chain, - RpcTransactionRequest, - TransactionSerializable, + type AddEthereumChainParameter, + type Chain, + type RpcTransactionRequest, + type TransactionSerializable, serializeTransaction, } from "viem"; @@ -28,7 +28,7 @@ export const preprocessTransaction = ({ const convertValue = ( value: string | number | undefined, converter: (value: string | number) => T, - defaultValue: T, + defaultValue: T ): T => (value !== undefined ? converter(value) : defaultValue); const typeMapping: { [key: string]: TransactionType } = { @@ -48,7 +48,7 @@ export const preprocessTransaction = ({ maxPriorityFeePerGas: convertValue( transaction.maxPriorityFeePerGas, BigInt, - 0n, + 0n ), maxFeePerGas: convertValue(transaction.maxFeePerGas, BigInt, 0n), gasPrice: convertValue(transaction.gasPrice, BigInt, 0n), @@ -56,7 +56,7 @@ export const preprocessTransaction = ({ nonce: convertValue( transaction.nonce, (value) => parseInt(value.toString(), 16), - 0, + 0 ), gas: convertValue(transaction.gas, BigInt, 0n), @@ -77,7 +77,7 @@ export const isValidUrl = (url: string) => { export const validateBlockExplorerUrls = ( blockExplorerUrls: WalletAddEthereumChain["blockExplorerUrls"], - chainName: string, + chainName: string ): Chain["blockExplorers"] => { // Check if blockExplorerUrls is null or an array with at least one valid HTTPS URL if (blockExplorerUrls === null) return undefined; @@ -106,7 +106,7 @@ export const validateBlockExplorerUrls = ( * @throws {InvalidRpcUrlError} If any URL in the rpcUrls array is invalid. */ export const validateRpcUrls = ( - rpcUrls: AddEthereumChainParameter["rpcUrls"], + rpcUrls: AddEthereumChainParameter["rpcUrls"] ): void => { if (!rpcUrls || rpcUrls.length === 0) { throw new RpcUrlsRequiredError(); @@ -118,7 +118,7 @@ export const validateRpcUrls = ( export const validateChain = ( chain: AddEthereumChainParameter, - addedChains: AddEthereumChainParameter[], + addedChains: AddEthereumChainParameter[] ) => { const { rpcUrls, blockExplorerUrls, chainId, nativeCurrency } = chain; diff --git a/packages/ethers/src/index.ts b/packages/ethers/src/index.ts index 45fb913ad..b45f50b82 100644 --- a/packages/ethers/src/index.ts +++ b/packages/ethers/src/index.ts @@ -8,8 +8,8 @@ import { TypedDataEncoder, Signature, Transaction, - TransactionLike, - TransactionRequest, + type TransactionLike, + type TransactionRequest, hashMessage, resolveProperties, ethers, @@ -77,7 +77,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { organizationId: this.organizationId, signWith: this.signWith, }, - provider, + provider ); } @@ -102,7 +102,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { }); ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -116,7 +116,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { } private async _signTransactionImpl( - unsignedTransaction: string, + unsignedTransaction: string ): Promise { if (isHttpClient(this.client)) { const { activity } = await this.client.signTransaction({ @@ -133,7 +133,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { assertActivityCompleted(activity); return assertNonNull( - activity?.result?.signTransactionResult?.signedTransaction, + activity?.result?.signTransactionResult?.signedTransaction ); } else { const { activity, signedTransaction } = await this.client.signTransaction( @@ -141,11 +141,11 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { signWith: this.signWith, type: "TRANSACTION_TYPE_ETHEREUM", unsignedTransaction, - }, + } ); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); return assertNonNull(signedTransaction); @@ -153,7 +153,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { } private async _signTransactionWithErrorWrapping( - message: string, + message: string ): Promise { let signedTx: string; try { @@ -195,7 +195,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { const selfAddress = await this.getAddress(); if (getAddress(from) !== selfAddress) { throw new Error( - `Transaction \`tx.from\` address mismatch. Self address: ${selfAddress}; \`tx.from\` address: ${from}`, + `Transaction \`tx.from\` address mismatch. Self address: ${selfAddress}; \`tx.from\` address: ${from}` ); } } @@ -224,7 +224,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async _signMessageWithErrorWrapping( message: string, - payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", + payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" ): Promise { let signedMessage: string; try { @@ -248,7 +248,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async _signMessageImpl( message: string, - payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", + payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" ): Promise { let result; @@ -277,7 +277,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); result = { @@ -293,7 +293,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async signTypedData( domain: TypedDataDomain, types: Record>, - value: Record, + value: Record ): Promise { const populated = await TypedDataEncoder.resolveNames( domain, @@ -306,19 +306,19 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { assertNonNull(address); return address ?? ""; - }, + } ); // Build the full EIP-712 payload (domain, types, and message) const payload = TypedDataEncoder.getPayload( populated.domain, types, - populated.value, + populated.value ); return this._signMessageWithErrorWrapping( JSON.stringify(payload), - "PAYLOAD_ENCODING_EIP712", + "PAYLOAD_ENCODING_EIP712" ); } diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts index de64ec75f..8be7c8377 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts @@ -2,10 +2,10 @@ import { fetch, - GrpcStatus, - THttpConfig, - TSignedRequest, - TStamper, + type GrpcStatus, + type THttpConfig, + type TSignedRequest, + type TStamper, TurnkeyRequestError, } from "../../../../../base"; import { VERSION } from "../../../../../version"; @@ -393,7 +393,7 @@ export class TurnkeyClient { } async request( url: string, - body: TBodyType, + body: TBodyType ): Promise { const fullUrl = this.config.baseUrl + url; const stringifiedBody = JSON.stringify(body); @@ -432,7 +432,7 @@ export class TurnkeyClient { * See also {@link stampGetActivity}. */ getActivity = async ( - input: TGetActivityBody, + input: TGetActivityBody ): Promise => { return this.request("/public/v1/query/get_activity", input); }; @@ -443,7 +443,7 @@ export class TurnkeyClient { * See also {@link GetActivity}. */ stampGetActivity = async ( - input: TGetActivityBody, + input: TGetActivityBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_activity"; const body = JSON.stringify(input); @@ -517,7 +517,7 @@ export class TurnkeyClient { * See also {@link stampGetAttestationDocument}. */ getAttestationDocument = async ( - input: TGetAttestationDocumentBody, + input: TGetAttestationDocumentBody ): Promise => { return this.request("/public/v1/query/get_attestation", input); }; @@ -528,7 +528,7 @@ export class TurnkeyClient { * See also {@link GetAttestationDocument}. */ stampGetAttestationDocument = async ( - input: TGetAttestationDocumentBody, + input: TGetAttestationDocumentBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_attestation"; const body = JSON.stringify(input); @@ -548,7 +548,7 @@ export class TurnkeyClient { * See also {@link stampGetAuthenticator}. */ getAuthenticator = async ( - input: TGetAuthenticatorBody, + input: TGetAuthenticatorBody ): Promise => { return this.request("/public/v1/query/get_authenticator", input); }; @@ -559,7 +559,7 @@ export class TurnkeyClient { * See also {@link GetAuthenticator}. */ stampGetAuthenticator = async ( - input: TGetAuthenticatorBody, + input: TGetAuthenticatorBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); @@ -579,7 +579,7 @@ export class TurnkeyClient { * See also {@link stampGetAuthenticators}. */ getAuthenticators = async ( - input: TGetAuthenticatorsBody, + input: TGetAuthenticatorsBody ): Promise => { return this.request("/public/v1/query/get_authenticators", input); }; @@ -590,7 +590,7 @@ export class TurnkeyClient { * See also {@link GetAuthenticators}. */ stampGetAuthenticators = async ( - input: TGetAuthenticatorsBody, + input: TGetAuthenticatorsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); @@ -610,7 +610,7 @@ export class TurnkeyClient { * See also {@link stampGetBootProof}. */ getBootProof = async ( - input: TGetBootProofBody, + input: TGetBootProofBody ): Promise => { return this.request("/public/v1/query/get_boot_proof", input); }; @@ -621,7 +621,7 @@ export class TurnkeyClient { * See also {@link GetBootProof}. */ stampGetBootProof = async ( - input: TGetBootProofBody, + input: TGetBootProofBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_boot_proof"; const body = JSON.stringify(input); @@ -641,7 +641,7 @@ export class TurnkeyClient { * See also {@link stampGetLatestBootProof}. */ getLatestBootProof = async ( - input: TGetLatestBootProofBody, + input: TGetLatestBootProofBody ): Promise => { return this.request("/public/v1/query/get_latest_boot_proof", input); }; @@ -652,7 +652,7 @@ export class TurnkeyClient { * See also {@link GetLatestBootProof}. */ stampGetLatestBootProof = async ( - input: TGetLatestBootProofBody, + input: TGetLatestBootProofBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_latest_boot_proof"; @@ -673,7 +673,7 @@ export class TurnkeyClient { * See also {@link stampGetOauth2Credential}. */ getOauth2Credential = async ( - input: TGetOauth2CredentialBody, + input: TGetOauth2CredentialBody ): Promise => { return this.request("/public/v1/query/get_oauth2_credential", input); }; @@ -684,7 +684,7 @@ export class TurnkeyClient { * See also {@link GetOauth2Credential}. */ stampGetOauth2Credential = async ( - input: TGetOauth2CredentialBody, + input: TGetOauth2CredentialBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_oauth2_credential"; @@ -705,7 +705,7 @@ export class TurnkeyClient { * See also {@link stampGetOauthProviders}. */ getOauthProviders = async ( - input: TGetOauthProvidersBody, + input: TGetOauthProvidersBody ): Promise => { return this.request("/public/v1/query/get_oauth_providers", input); }; @@ -716,7 +716,7 @@ export class TurnkeyClient { * See also {@link GetOauthProviders}. */ stampGetOauthProviders = async ( - input: TGetOauthProvidersBody, + input: TGetOauthProvidersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_oauth_providers"; @@ -737,7 +737,7 @@ export class TurnkeyClient { * See also {@link stampGetOrganization}. */ getOrganization = async ( - input: TGetOrganizationBody, + input: TGetOrganizationBody ): Promise => { return this.request("/public/v1/query/get_organization", input); }; @@ -748,7 +748,7 @@ export class TurnkeyClient { * See also {@link GetOrganization}. */ stampGetOrganization = async ( - input: TGetOrganizationBody, + input: TGetOrganizationBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); @@ -768,7 +768,7 @@ export class TurnkeyClient { * See also {@link stampGetOrganizationConfigs}. */ getOrganizationConfigs = async ( - input: TGetOrganizationConfigsBody, + input: TGetOrganizationConfigsBody ): Promise => { return this.request("/public/v1/query/get_organization_configs", input); }; @@ -779,7 +779,7 @@ export class TurnkeyClient { * See also {@link GetOrganizationConfigs}. */ stampGetOrganizationConfigs = async ( - input: TGetOrganizationConfigsBody, + input: TGetOrganizationConfigsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_organization_configs"; @@ -827,7 +827,7 @@ export class TurnkeyClient { * See also {@link stampGetPolicyEvaluations}. */ getPolicyEvaluations = async ( - input: TGetPolicyEvaluationsBody, + input: TGetPolicyEvaluationsBody ): Promise => { return this.request("/public/v1/query/get_policy_evaluations", input); }; @@ -838,7 +838,7 @@ export class TurnkeyClient { * See also {@link GetPolicyEvaluations}. */ stampGetPolicyEvaluations = async ( - input: TGetPolicyEvaluationsBody, + input: TGetPolicyEvaluationsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_policy_evaluations"; @@ -859,7 +859,7 @@ export class TurnkeyClient { * See also {@link stampGetPrivateKey}. */ getPrivateKey = async ( - input: TGetPrivateKeyBody, + input: TGetPrivateKeyBody ): Promise => { return this.request("/public/v1/query/get_private_key", input); }; @@ -870,7 +870,7 @@ export class TurnkeyClient { * See also {@link GetPrivateKey}. */ stampGetPrivateKey = async ( - input: TGetPrivateKeyBody, + input: TGetPrivateKeyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_private_key"; const body = JSON.stringify(input); @@ -890,7 +890,7 @@ export class TurnkeyClient { * See also {@link stampGetSmartContractInterface}. */ getSmartContractInterface = async ( - input: TGetSmartContractInterfaceBody, + input: TGetSmartContractInterfaceBody ): Promise => { return this.request("/public/v1/query/get_smart_contract_interface", input); }; @@ -901,7 +901,7 @@ export class TurnkeyClient { * See also {@link GetSmartContractInterface}. */ stampGetSmartContractInterface = async ( - input: TGetSmartContractInterfaceBody, + input: TGetSmartContractInterfaceBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_smart_contract_interface"; @@ -976,7 +976,7 @@ export class TurnkeyClient { * See also {@link stampGetWalletAccount}. */ getWalletAccount = async ( - input: TGetWalletAccountBody, + input: TGetWalletAccountBody ): Promise => { return this.request("/public/v1/query/get_wallet_account", input); }; @@ -987,7 +987,7 @@ export class TurnkeyClient { * See also {@link GetWalletAccount}. */ stampGetWalletAccount = async ( - input: TGetWalletAccountBody, + input: TGetWalletAccountBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); @@ -1007,7 +1007,7 @@ export class TurnkeyClient { * See also {@link stampGetActivities}. */ getActivities = async ( - input: TGetActivitiesBody, + input: TGetActivitiesBody ): Promise => { return this.request("/public/v1/query/list_activities", input); }; @@ -1018,7 +1018,7 @@ export class TurnkeyClient { * See also {@link GetActivities}. */ stampGetActivities = async ( - input: TGetActivitiesBody, + input: TGetActivitiesBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_activities"; const body = JSON.stringify(input); @@ -1038,7 +1038,7 @@ export class TurnkeyClient { * See also {@link stampListOauth2Credentials}. */ listOauth2Credentials = async ( - input: TListOauth2CredentialsBody, + input: TListOauth2CredentialsBody ): Promise => { return this.request("/public/v1/query/list_oauth2_credentials", input); }; @@ -1049,7 +1049,7 @@ export class TurnkeyClient { * See also {@link ListOauth2Credentials}. */ stampListOauth2Credentials = async ( - input: TListOauth2CredentialsBody, + input: TListOauth2CredentialsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_oauth2_credentials"; @@ -1070,7 +1070,7 @@ export class TurnkeyClient { * See also {@link stampGetPolicies}. */ getPolicies = async ( - input: TGetPoliciesBody, + input: TGetPoliciesBody ): Promise => { return this.request("/public/v1/query/list_policies", input); }; @@ -1081,7 +1081,7 @@ export class TurnkeyClient { * See also {@link GetPolicies}. */ stampGetPolicies = async ( - input: TGetPoliciesBody, + input: TGetPoliciesBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_policies"; const body = JSON.stringify(input); @@ -1101,7 +1101,7 @@ export class TurnkeyClient { * See also {@link stampListPrivateKeyTags}. */ listPrivateKeyTags = async ( - input: TListPrivateKeyTagsBody, + input: TListPrivateKeyTagsBody ): Promise => { return this.request("/public/v1/query/list_private_key_tags", input); }; @@ -1112,7 +1112,7 @@ export class TurnkeyClient { * See also {@link ListPrivateKeyTags}. */ stampListPrivateKeyTags = async ( - input: TListPrivateKeyTagsBody, + input: TListPrivateKeyTagsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_private_key_tags"; @@ -1133,7 +1133,7 @@ export class TurnkeyClient { * See also {@link stampGetPrivateKeys}. */ getPrivateKeys = async ( - input: TGetPrivateKeysBody, + input: TGetPrivateKeysBody ): Promise => { return this.request("/public/v1/query/list_private_keys", input); }; @@ -1144,7 +1144,7 @@ export class TurnkeyClient { * See also {@link GetPrivateKeys}. */ stampGetPrivateKeys = async ( - input: TGetPrivateKeysBody, + input: TGetPrivateKeysBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); @@ -1164,11 +1164,11 @@ export class TurnkeyClient { * See also {@link stampGetSmartContractInterfaces}. */ getSmartContractInterfaces = async ( - input: TGetSmartContractInterfacesBody, + input: TGetSmartContractInterfacesBody ): Promise => { return this.request( "/public/v1/query/list_smart_contract_interfaces", - input, + input ); }; @@ -1178,7 +1178,7 @@ export class TurnkeyClient { * See also {@link GetSmartContractInterfaces}. */ stampGetSmartContractInterfaces = async ( - input: TGetSmartContractInterfacesBody, + input: TGetSmartContractInterfacesBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_smart_contract_interfaces"; @@ -1199,7 +1199,7 @@ export class TurnkeyClient { * See also {@link stampGetSubOrgIds}. */ getSubOrgIds = async ( - input: TGetSubOrgIdsBody, + input: TGetSubOrgIdsBody ): Promise => { return this.request("/public/v1/query/list_suborgs", input); }; @@ -1210,7 +1210,7 @@ export class TurnkeyClient { * See also {@link GetSubOrgIds}. */ stampGetSubOrgIds = async ( - input: TGetSubOrgIdsBody, + input: TGetSubOrgIdsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_suborgs"; const body = JSON.stringify(input); @@ -1230,7 +1230,7 @@ export class TurnkeyClient { * See also {@link stampListUserTags}. */ listUserTags = async ( - input: TListUserTagsBody, + input: TListUserTagsBody ): Promise => { return this.request("/public/v1/query/list_user_tags", input); }; @@ -1241,7 +1241,7 @@ export class TurnkeyClient { * See also {@link ListUserTags}. */ stampListUserTags = async ( - input: TListUserTagsBody, + input: TListUserTagsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_user_tags"; const body = JSON.stringify(input); @@ -1288,7 +1288,7 @@ export class TurnkeyClient { * See also {@link stampGetVerifiedSubOrgIds}. */ getVerifiedSubOrgIds = async ( - input: TGetVerifiedSubOrgIdsBody, + input: TGetVerifiedSubOrgIdsBody ): Promise => { return this.request("/public/v1/query/list_verified_suborgs", input); }; @@ -1299,7 +1299,7 @@ export class TurnkeyClient { * See also {@link GetVerifiedSubOrgIds}. */ stampGetVerifiedSubOrgIds = async ( - input: TGetVerifiedSubOrgIdsBody, + input: TGetVerifiedSubOrgIdsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_verified_suborgs"; @@ -1320,7 +1320,7 @@ export class TurnkeyClient { * See also {@link stampGetWalletAccounts}. */ getWalletAccounts = async ( - input: TGetWalletAccountsBody, + input: TGetWalletAccountsBody ): Promise => { return this.request("/public/v1/query/list_wallet_accounts", input); }; @@ -1331,7 +1331,7 @@ export class TurnkeyClient { * See also {@link GetWalletAccounts}. */ stampGetWalletAccounts = async ( - input: TGetWalletAccountsBody, + input: TGetWalletAccountsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_wallet_accounts"; @@ -1406,7 +1406,7 @@ export class TurnkeyClient { * See also {@link stampApproveActivity}. */ approveActivity = async ( - input: TApproveActivityBody, + input: TApproveActivityBody ): Promise => { return this.request("/public/v1/submit/approve_activity", input); }; @@ -1417,7 +1417,7 @@ export class TurnkeyClient { * See also {@link ApproveActivity}. */ stampApproveActivity = async ( - input: TApproveActivityBody, + input: TApproveActivityBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); @@ -1437,7 +1437,7 @@ export class TurnkeyClient { * See also {@link stampCreateApiKeys}. */ createApiKeys = async ( - input: TCreateApiKeysBody, + input: TCreateApiKeysBody ): Promise => { return this.request("/public/v1/submit/create_api_keys", input); }; @@ -1448,7 +1448,7 @@ export class TurnkeyClient { * See also {@link CreateApiKeys}. */ stampCreateApiKeys = async ( - input: TCreateApiKeysBody, + input: TCreateApiKeysBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); @@ -1468,7 +1468,7 @@ export class TurnkeyClient { * See also {@link stampCreateApiOnlyUsers}. */ createApiOnlyUsers = async ( - input: TCreateApiOnlyUsersBody, + input: TCreateApiOnlyUsersBody ): Promise => { return this.request("/public/v1/submit/create_api_only_users", input); }; @@ -1479,7 +1479,7 @@ export class TurnkeyClient { * See also {@link CreateApiOnlyUsers}. */ stampCreateApiOnlyUsers = async ( - input: TCreateApiOnlyUsersBody, + input: TCreateApiOnlyUsersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_api_only_users"; @@ -1500,7 +1500,7 @@ export class TurnkeyClient { * See also {@link stampCreateAuthenticators}. */ createAuthenticators = async ( - input: TCreateAuthenticatorsBody, + input: TCreateAuthenticatorsBody ): Promise => { return this.request("/public/v1/submit/create_authenticators", input); }; @@ -1511,7 +1511,7 @@ export class TurnkeyClient { * See also {@link CreateAuthenticators}. */ stampCreateAuthenticators = async ( - input: TCreateAuthenticatorsBody, + input: TCreateAuthenticatorsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_authenticators"; @@ -1532,7 +1532,7 @@ export class TurnkeyClient { * See also {@link stampCreateInvitations}. */ createInvitations = async ( - input: TCreateInvitationsBody, + input: TCreateInvitationsBody ): Promise => { return this.request("/public/v1/submit/create_invitations", input); }; @@ -1543,7 +1543,7 @@ export class TurnkeyClient { * See also {@link CreateInvitations}. */ stampCreateInvitations = async ( - input: TCreateInvitationsBody, + input: TCreateInvitationsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_invitations"; @@ -1564,7 +1564,7 @@ export class TurnkeyClient { * See also {@link stampCreateOauth2Credential}. */ createOauth2Credential = async ( - input: TCreateOauth2CredentialBody, + input: TCreateOauth2CredentialBody ): Promise => { return this.request("/public/v1/submit/create_oauth2_credential", input); }; @@ -1575,7 +1575,7 @@ export class TurnkeyClient { * See also {@link CreateOauth2Credential}. */ stampCreateOauth2Credential = async ( - input: TCreateOauth2CredentialBody, + input: TCreateOauth2CredentialBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_oauth2_credential"; @@ -1596,7 +1596,7 @@ export class TurnkeyClient { * See also {@link stampCreateOauthProviders}. */ createOauthProviders = async ( - input: TCreateOauthProvidersBody, + input: TCreateOauthProvidersBody ): Promise => { return this.request("/public/v1/submit/create_oauth_providers", input); }; @@ -1607,7 +1607,7 @@ export class TurnkeyClient { * See also {@link CreateOauthProviders}. */ stampCreateOauthProviders = async ( - input: TCreateOauthProvidersBody, + input: TCreateOauthProvidersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_oauth_providers"; @@ -1628,7 +1628,7 @@ export class TurnkeyClient { * See also {@link stampCreatePolicies}. */ createPolicies = async ( - input: TCreatePoliciesBody, + input: TCreatePoliciesBody ): Promise => { return this.request("/public/v1/submit/create_policies", input); }; @@ -1639,7 +1639,7 @@ export class TurnkeyClient { * See also {@link CreatePolicies}. */ stampCreatePolicies = async ( - input: TCreatePoliciesBody, + input: TCreatePoliciesBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); @@ -1659,7 +1659,7 @@ export class TurnkeyClient { * See also {@link stampCreatePolicy}. */ createPolicy = async ( - input: TCreatePolicyBody, + input: TCreatePolicyBody ): Promise => { return this.request("/public/v1/submit/create_policy", input); }; @@ -1670,7 +1670,7 @@ export class TurnkeyClient { * See also {@link CreatePolicy}. */ stampCreatePolicy = async ( - input: TCreatePolicyBody, + input: TCreatePolicyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_policy"; const body = JSON.stringify(input); @@ -1690,7 +1690,7 @@ export class TurnkeyClient { * See also {@link stampCreatePrivateKeyTag}. */ createPrivateKeyTag = async ( - input: TCreatePrivateKeyTagBody, + input: TCreatePrivateKeyTagBody ): Promise => { return this.request("/public/v1/submit/create_private_key_tag", input); }; @@ -1701,7 +1701,7 @@ export class TurnkeyClient { * See also {@link CreatePrivateKeyTag}. */ stampCreatePrivateKeyTag = async ( - input: TCreatePrivateKeyTagBody, + input: TCreatePrivateKeyTagBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_private_key_tag"; @@ -1722,7 +1722,7 @@ export class TurnkeyClient { * See also {@link stampCreatePrivateKeys}. */ createPrivateKeys = async ( - input: TCreatePrivateKeysBody, + input: TCreatePrivateKeysBody ): Promise => { return this.request("/public/v1/submit/create_private_keys", input); }; @@ -1733,7 +1733,7 @@ export class TurnkeyClient { * See also {@link CreatePrivateKeys}. */ stampCreatePrivateKeys = async ( - input: TCreatePrivateKeysBody, + input: TCreatePrivateKeysBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_private_keys"; @@ -1754,7 +1754,7 @@ export class TurnkeyClient { * See also {@link stampCreateReadOnlySession}. */ createReadOnlySession = async ( - input: TCreateReadOnlySessionBody, + input: TCreateReadOnlySessionBody ): Promise => { return this.request("/public/v1/submit/create_read_only_session", input); }; @@ -1765,7 +1765,7 @@ export class TurnkeyClient { * See also {@link CreateReadOnlySession}. */ stampCreateReadOnlySession = async ( - input: TCreateReadOnlySessionBody, + input: TCreateReadOnlySessionBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_read_only_session"; @@ -1786,7 +1786,7 @@ export class TurnkeyClient { * See also {@link stampCreateReadWriteSession}. */ createReadWriteSession = async ( - input: TCreateReadWriteSessionBody, + input: TCreateReadWriteSessionBody ): Promise => { return this.request("/public/v1/submit/create_read_write_session", input); }; @@ -1797,7 +1797,7 @@ export class TurnkeyClient { * See also {@link CreateReadWriteSession}. */ stampCreateReadWriteSession = async ( - input: TCreateReadWriteSessionBody, + input: TCreateReadWriteSessionBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_read_write_session"; @@ -1818,11 +1818,11 @@ export class TurnkeyClient { * See also {@link stampCreateSmartContractInterface}. */ createSmartContractInterface = async ( - input: TCreateSmartContractInterfaceBody, + input: TCreateSmartContractInterfaceBody ): Promise => { return this.request( "/public/v1/submit/create_smart_contract_interface", - input, + input ); }; @@ -1832,7 +1832,7 @@ export class TurnkeyClient { * See also {@link CreateSmartContractInterface}. */ stampCreateSmartContractInterface = async ( - input: TCreateSmartContractInterfaceBody, + input: TCreateSmartContractInterfaceBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_smart_contract_interface"; @@ -1853,7 +1853,7 @@ export class TurnkeyClient { * See also {@link stampCreateSubOrganization}. */ createSubOrganization = async ( - input: TCreateSubOrganizationBody, + input: TCreateSubOrganizationBody ): Promise => { return this.request("/public/v1/submit/create_sub_organization", input); }; @@ -1864,7 +1864,7 @@ export class TurnkeyClient { * See also {@link CreateSubOrganization}. */ stampCreateSubOrganization = async ( - input: TCreateSubOrganizationBody, + input: TCreateSubOrganizationBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_sub_organization"; @@ -1885,7 +1885,7 @@ export class TurnkeyClient { * See also {@link stampCreateUserTag}. */ createUserTag = async ( - input: TCreateUserTagBody, + input: TCreateUserTagBody ): Promise => { return this.request("/public/v1/submit/create_user_tag", input); }; @@ -1896,7 +1896,7 @@ export class TurnkeyClient { * See also {@link CreateUserTag}. */ stampCreateUserTag = async ( - input: TCreateUserTagBody, + input: TCreateUserTagBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); @@ -1916,7 +1916,7 @@ export class TurnkeyClient { * See also {@link stampCreateUsers}. */ createUsers = async ( - input: TCreateUsersBody, + input: TCreateUsersBody ): Promise => { return this.request("/public/v1/submit/create_users", input); }; @@ -1927,7 +1927,7 @@ export class TurnkeyClient { * See also {@link CreateUsers}. */ stampCreateUsers = async ( - input: TCreateUsersBody, + input: TCreateUsersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_users"; const body = JSON.stringify(input); @@ -1947,7 +1947,7 @@ export class TurnkeyClient { * See also {@link stampCreateWallet}. */ createWallet = async ( - input: TCreateWalletBody, + input: TCreateWalletBody ): Promise => { return this.request("/public/v1/submit/create_wallet", input); }; @@ -1958,7 +1958,7 @@ export class TurnkeyClient { * See also {@link CreateWallet}. */ stampCreateWallet = async ( - input: TCreateWalletBody, + input: TCreateWalletBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_wallet"; const body = JSON.stringify(input); @@ -1978,7 +1978,7 @@ export class TurnkeyClient { * See also {@link stampCreateWalletAccounts}. */ createWalletAccounts = async ( - input: TCreateWalletAccountsBody, + input: TCreateWalletAccountsBody ): Promise => { return this.request("/public/v1/submit/create_wallet_accounts", input); }; @@ -1989,7 +1989,7 @@ export class TurnkeyClient { * See also {@link CreateWalletAccounts}. */ stampCreateWalletAccounts = async ( - input: TCreateWalletAccountsBody, + input: TCreateWalletAccountsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_wallet_accounts"; @@ -2010,7 +2010,7 @@ export class TurnkeyClient { * See also {@link stampDeleteApiKeys}. */ deleteApiKeys = async ( - input: TDeleteApiKeysBody, + input: TDeleteApiKeysBody ): Promise => { return this.request("/public/v1/submit/delete_api_keys", input); }; @@ -2021,7 +2021,7 @@ export class TurnkeyClient { * See also {@link DeleteApiKeys}. */ stampDeleteApiKeys = async ( - input: TDeleteApiKeysBody, + input: TDeleteApiKeysBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); @@ -2041,7 +2041,7 @@ export class TurnkeyClient { * See also {@link stampDeleteAuthenticators}. */ deleteAuthenticators = async ( - input: TDeleteAuthenticatorsBody, + input: TDeleteAuthenticatorsBody ): Promise => { return this.request("/public/v1/submit/delete_authenticators", input); }; @@ -2052,7 +2052,7 @@ export class TurnkeyClient { * See also {@link DeleteAuthenticators}. */ stampDeleteAuthenticators = async ( - input: TDeleteAuthenticatorsBody, + input: TDeleteAuthenticatorsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_authenticators"; @@ -2073,7 +2073,7 @@ export class TurnkeyClient { * See also {@link stampDeleteInvitation}. */ deleteInvitation = async ( - input: TDeleteInvitationBody, + input: TDeleteInvitationBody ): Promise => { return this.request("/public/v1/submit/delete_invitation", input); }; @@ -2084,7 +2084,7 @@ export class TurnkeyClient { * See also {@link DeleteInvitation}. */ stampDeleteInvitation = async ( - input: TDeleteInvitationBody, + input: TDeleteInvitationBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); @@ -2104,7 +2104,7 @@ export class TurnkeyClient { * See also {@link stampDeleteOauth2Credential}. */ deleteOauth2Credential = async ( - input: TDeleteOauth2CredentialBody, + input: TDeleteOauth2CredentialBody ): Promise => { return this.request("/public/v1/submit/delete_oauth2_credential", input); }; @@ -2115,7 +2115,7 @@ export class TurnkeyClient { * See also {@link DeleteOauth2Credential}. */ stampDeleteOauth2Credential = async ( - input: TDeleteOauth2CredentialBody, + input: TDeleteOauth2CredentialBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_oauth2_credential"; @@ -2136,7 +2136,7 @@ export class TurnkeyClient { * See also {@link stampDeleteOauthProviders}. */ deleteOauthProviders = async ( - input: TDeleteOauthProvidersBody, + input: TDeleteOauthProvidersBody ): Promise => { return this.request("/public/v1/submit/delete_oauth_providers", input); }; @@ -2147,7 +2147,7 @@ export class TurnkeyClient { * See also {@link DeleteOauthProviders}. */ stampDeleteOauthProviders = async ( - input: TDeleteOauthProvidersBody, + input: TDeleteOauthProvidersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_oauth_providers"; @@ -2168,7 +2168,7 @@ export class TurnkeyClient { * See also {@link stampDeletePolicy}. */ deletePolicy = async ( - input: TDeletePolicyBody, + input: TDeletePolicyBody ): Promise => { return this.request("/public/v1/submit/delete_policy", input); }; @@ -2179,7 +2179,7 @@ export class TurnkeyClient { * See also {@link DeletePolicy}. */ stampDeletePolicy = async ( - input: TDeletePolicyBody, + input: TDeletePolicyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_policy"; const body = JSON.stringify(input); @@ -2199,7 +2199,7 @@ export class TurnkeyClient { * See also {@link stampDeletePrivateKeyTags}. */ deletePrivateKeyTags = async ( - input: TDeletePrivateKeyTagsBody, + input: TDeletePrivateKeyTagsBody ): Promise => { return this.request("/public/v1/submit/delete_private_key_tags", input); }; @@ -2210,7 +2210,7 @@ export class TurnkeyClient { * See also {@link DeletePrivateKeyTags}. */ stampDeletePrivateKeyTags = async ( - input: TDeletePrivateKeyTagsBody, + input: TDeletePrivateKeyTagsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_private_key_tags"; @@ -2231,7 +2231,7 @@ export class TurnkeyClient { * See also {@link stampDeletePrivateKeys}. */ deletePrivateKeys = async ( - input: TDeletePrivateKeysBody, + input: TDeletePrivateKeysBody ): Promise => { return this.request("/public/v1/submit/delete_private_keys", input); }; @@ -2242,7 +2242,7 @@ export class TurnkeyClient { * See also {@link DeletePrivateKeys}. */ stampDeletePrivateKeys = async ( - input: TDeletePrivateKeysBody, + input: TDeletePrivateKeysBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_private_keys"; @@ -2263,11 +2263,11 @@ export class TurnkeyClient { * See also {@link stampDeleteSmartContractInterface}. */ deleteSmartContractInterface = async ( - input: TDeleteSmartContractInterfaceBody, + input: TDeleteSmartContractInterfaceBody ): Promise => { return this.request( "/public/v1/submit/delete_smart_contract_interface", - input, + input ); }; @@ -2277,7 +2277,7 @@ export class TurnkeyClient { * See also {@link DeleteSmartContractInterface}. */ stampDeleteSmartContractInterface = async ( - input: TDeleteSmartContractInterfaceBody, + input: TDeleteSmartContractInterfaceBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_smart_contract_interface"; @@ -2298,7 +2298,7 @@ export class TurnkeyClient { * See also {@link stampDeleteSubOrganization}. */ deleteSubOrganization = async ( - input: TDeleteSubOrganizationBody, + input: TDeleteSubOrganizationBody ): Promise => { return this.request("/public/v1/submit/delete_sub_organization", input); }; @@ -2309,7 +2309,7 @@ export class TurnkeyClient { * See also {@link DeleteSubOrganization}. */ stampDeleteSubOrganization = async ( - input: TDeleteSubOrganizationBody, + input: TDeleteSubOrganizationBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_sub_organization"; @@ -2330,7 +2330,7 @@ export class TurnkeyClient { * See also {@link stampDeleteUserTags}. */ deleteUserTags = async ( - input: TDeleteUserTagsBody, + input: TDeleteUserTagsBody ): Promise => { return this.request("/public/v1/submit/delete_user_tags", input); }; @@ -2341,7 +2341,7 @@ export class TurnkeyClient { * See also {@link DeleteUserTags}. */ stampDeleteUserTags = async ( - input: TDeleteUserTagsBody, + input: TDeleteUserTagsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); @@ -2361,7 +2361,7 @@ export class TurnkeyClient { * See also {@link stampDeleteUsers}. */ deleteUsers = async ( - input: TDeleteUsersBody, + input: TDeleteUsersBody ): Promise => { return this.request("/public/v1/submit/delete_users", input); }; @@ -2372,7 +2372,7 @@ export class TurnkeyClient { * See also {@link DeleteUsers}. */ stampDeleteUsers = async ( - input: TDeleteUsersBody, + input: TDeleteUsersBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_users"; const body = JSON.stringify(input); @@ -2392,7 +2392,7 @@ export class TurnkeyClient { * See also {@link stampDeleteWallets}. */ deleteWallets = async ( - input: TDeleteWalletsBody, + input: TDeleteWalletsBody ): Promise => { return this.request("/public/v1/submit/delete_wallets", input); }; @@ -2403,7 +2403,7 @@ export class TurnkeyClient { * See also {@link DeleteWallets}. */ stampDeleteWallets = async ( - input: TDeleteWalletsBody, + input: TDeleteWalletsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_wallets"; const body = JSON.stringify(input); @@ -2450,7 +2450,7 @@ export class TurnkeyClient { * See also {@link stampExportPrivateKey}. */ exportPrivateKey = async ( - input: TExportPrivateKeyBody, + input: TExportPrivateKeyBody ): Promise => { return this.request("/public/v1/submit/export_private_key", input); }; @@ -2461,7 +2461,7 @@ export class TurnkeyClient { * See also {@link ExportPrivateKey}. */ stampExportPrivateKey = async ( - input: TExportPrivateKeyBody, + input: TExportPrivateKeyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_private_key"; @@ -2482,7 +2482,7 @@ export class TurnkeyClient { * See also {@link stampExportWallet}. */ exportWallet = async ( - input: TExportWalletBody, + input: TExportWalletBody ): Promise => { return this.request("/public/v1/submit/export_wallet", input); }; @@ -2493,7 +2493,7 @@ export class TurnkeyClient { * See also {@link ExportWallet}. */ stampExportWallet = async ( - input: TExportWalletBody, + input: TExportWalletBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_wallet"; const body = JSON.stringify(input); @@ -2513,7 +2513,7 @@ export class TurnkeyClient { * See also {@link stampExportWalletAccount}. */ exportWalletAccount = async ( - input: TExportWalletAccountBody, + input: TExportWalletAccountBody ): Promise => { return this.request("/public/v1/submit/export_wallet_account", input); }; @@ -2524,7 +2524,7 @@ export class TurnkeyClient { * See also {@link ExportWalletAccount}. */ stampExportWalletAccount = async ( - input: TExportWalletAccountBody, + input: TExportWalletAccountBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_wallet_account"; @@ -2545,7 +2545,7 @@ export class TurnkeyClient { * See also {@link stampImportPrivateKey}. */ importPrivateKey = async ( - input: TImportPrivateKeyBody, + input: TImportPrivateKeyBody ): Promise => { return this.request("/public/v1/submit/import_private_key", input); }; @@ -2556,7 +2556,7 @@ export class TurnkeyClient { * See also {@link ImportPrivateKey}. */ stampImportPrivateKey = async ( - input: TImportPrivateKeyBody, + input: TImportPrivateKeyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/import_private_key"; @@ -2577,7 +2577,7 @@ export class TurnkeyClient { * See also {@link stampImportWallet}. */ importWallet = async ( - input: TImportWalletBody, + input: TImportWalletBody ): Promise => { return this.request("/public/v1/submit/import_wallet", input); }; @@ -2588,7 +2588,7 @@ export class TurnkeyClient { * See also {@link ImportWallet}. */ stampImportWallet = async ( - input: TImportWalletBody, + input: TImportWalletBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/import_wallet"; const body = JSON.stringify(input); @@ -2608,7 +2608,7 @@ export class TurnkeyClient { * See also {@link stampInitFiatOnRamp}. */ initFiatOnRamp = async ( - input: TInitFiatOnRampBody, + input: TInitFiatOnRampBody ): Promise => { return this.request("/public/v1/submit/init_fiat_on_ramp", input); }; @@ -2619,7 +2619,7 @@ export class TurnkeyClient { * See also {@link InitFiatOnRamp}. */ stampInitFiatOnRamp = async ( - input: TInitFiatOnRampBody, + input: TInitFiatOnRampBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); @@ -2639,7 +2639,7 @@ export class TurnkeyClient { * See also {@link stampInitImportPrivateKey}. */ initImportPrivateKey = async ( - input: TInitImportPrivateKeyBody, + input: TInitImportPrivateKeyBody ): Promise => { return this.request("/public/v1/submit/init_import_private_key", input); }; @@ -2650,7 +2650,7 @@ export class TurnkeyClient { * See also {@link InitImportPrivateKey}. */ stampInitImportPrivateKey = async ( - input: TInitImportPrivateKeyBody, + input: TInitImportPrivateKeyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_import_private_key"; @@ -2671,7 +2671,7 @@ export class TurnkeyClient { * See also {@link stampInitImportWallet}. */ initImportWallet = async ( - input: TInitImportWalletBody, + input: TInitImportWalletBody ): Promise => { return this.request("/public/v1/submit/init_import_wallet", input); }; @@ -2682,7 +2682,7 @@ export class TurnkeyClient { * See also {@link InitImportWallet}. */ stampInitImportWallet = async ( - input: TInitImportWalletBody, + input: TInitImportWalletBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_import_wallet"; @@ -2730,7 +2730,7 @@ export class TurnkeyClient { * See also {@link stampInitOtpAuth}. */ initOtpAuth = async ( - input: TInitOtpAuthBody, + input: TInitOtpAuthBody ): Promise => { return this.request("/public/v1/submit/init_otp_auth", input); }; @@ -2741,7 +2741,7 @@ export class TurnkeyClient { * See also {@link InitOtpAuth}. */ stampInitOtpAuth = async ( - input: TInitOtpAuthBody, + input: TInitOtpAuthBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_otp_auth"; const body = JSON.stringify(input); @@ -2761,7 +2761,7 @@ export class TurnkeyClient { * See also {@link stampInitUserEmailRecovery}. */ initUserEmailRecovery = async ( - input: TInitUserEmailRecoveryBody, + input: TInitUserEmailRecoveryBody ): Promise => { return this.request("/public/v1/submit/init_user_email_recovery", input); }; @@ -2772,7 +2772,7 @@ export class TurnkeyClient { * See also {@link InitUserEmailRecovery}. */ stampInitUserEmailRecovery = async ( - input: TInitUserEmailRecoveryBody, + input: TInitUserEmailRecoveryBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_user_email_recovery"; @@ -2820,7 +2820,7 @@ export class TurnkeyClient { * See also {@link stampOauth2Authenticate}. */ oauth2Authenticate = async ( - input: TOauth2AuthenticateBody, + input: TOauth2AuthenticateBody ): Promise => { return this.request("/public/v1/submit/oauth2_authenticate", input); }; @@ -2831,7 +2831,7 @@ export class TurnkeyClient { * See also {@link Oauth2Authenticate}. */ stampOauth2Authenticate = async ( - input: TOauth2AuthenticateBody, + input: TOauth2AuthenticateBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/oauth2_authenticate"; @@ -2933,7 +2933,7 @@ export class TurnkeyClient { * See also {@link stampRecoverUser}. */ recoverUser = async ( - input: TRecoverUserBody, + input: TRecoverUserBody ): Promise => { return this.request("/public/v1/submit/recover_user", input); }; @@ -2944,7 +2944,7 @@ export class TurnkeyClient { * See also {@link RecoverUser}. */ stampRecoverUser = async ( - input: TRecoverUserBody, + input: TRecoverUserBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/recover_user"; const body = JSON.stringify(input); @@ -2964,7 +2964,7 @@ export class TurnkeyClient { * See also {@link stampRejectActivity}. */ rejectActivity = async ( - input: TRejectActivityBody, + input: TRejectActivityBody ): Promise => { return this.request("/public/v1/submit/reject_activity", input); }; @@ -2975,7 +2975,7 @@ export class TurnkeyClient { * See also {@link RejectActivity}. */ stampRejectActivity = async ( - input: TRejectActivityBody, + input: TRejectActivityBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); @@ -2995,7 +2995,7 @@ export class TurnkeyClient { * See also {@link stampRemoveOrganizationFeature}. */ removeOrganizationFeature = async ( - input: TRemoveOrganizationFeatureBody, + input: TRemoveOrganizationFeatureBody ): Promise => { return this.request("/public/v1/submit/remove_organization_feature", input); }; @@ -3006,7 +3006,7 @@ export class TurnkeyClient { * See also {@link RemoveOrganizationFeature}. */ stampRemoveOrganizationFeature = async ( - input: TRemoveOrganizationFeatureBody, + input: TRemoveOrganizationFeatureBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/remove_organization_feature"; @@ -3027,7 +3027,7 @@ export class TurnkeyClient { * See also {@link stampSetOrganizationFeature}. */ setOrganizationFeature = async ( - input: TSetOrganizationFeatureBody, + input: TSetOrganizationFeatureBody ): Promise => { return this.request("/public/v1/submit/set_organization_feature", input); }; @@ -3038,7 +3038,7 @@ export class TurnkeyClient { * See also {@link SetOrganizationFeature}. */ stampSetOrganizationFeature = async ( - input: TSetOrganizationFeatureBody, + input: TSetOrganizationFeatureBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/set_organization_feature"; @@ -3059,7 +3059,7 @@ export class TurnkeyClient { * See also {@link stampSignRawPayload}. */ signRawPayload = async ( - input: TSignRawPayloadBody, + input: TSignRawPayloadBody ): Promise => { return this.request("/public/v1/submit/sign_raw_payload", input); }; @@ -3070,7 +3070,7 @@ export class TurnkeyClient { * See also {@link SignRawPayload}. */ stampSignRawPayload = async ( - input: TSignRawPayloadBody, + input: TSignRawPayloadBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); @@ -3090,7 +3090,7 @@ export class TurnkeyClient { * See also {@link stampSignRawPayloads}. */ signRawPayloads = async ( - input: TSignRawPayloadsBody, + input: TSignRawPayloadsBody ): Promise => { return this.request("/public/v1/submit/sign_raw_payloads", input); }; @@ -3101,7 +3101,7 @@ export class TurnkeyClient { * See also {@link SignRawPayloads}. */ stampSignRawPayloads = async ( - input: TSignRawPayloadsBody, + input: TSignRawPayloadsBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); @@ -3121,7 +3121,7 @@ export class TurnkeyClient { * See also {@link stampSignTransaction}. */ signTransaction = async ( - input: TSignTransactionBody, + input: TSignTransactionBody ): Promise => { return this.request("/public/v1/submit/sign_transaction", input); }; @@ -3132,7 +3132,7 @@ export class TurnkeyClient { * See also {@link SignTransaction}. */ stampSignTransaction = async ( - input: TSignTransactionBody, + input: TSignTransactionBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_transaction"; const body = JSON.stringify(input); @@ -3179,7 +3179,7 @@ export class TurnkeyClient { * See also {@link stampUpdateOauth2Credential}. */ updateOauth2Credential = async ( - input: TUpdateOauth2CredentialBody, + input: TUpdateOauth2CredentialBody ): Promise => { return this.request("/public/v1/submit/update_oauth2_credential", input); }; @@ -3190,7 +3190,7 @@ export class TurnkeyClient { * See also {@link UpdateOauth2Credential}. */ stampUpdateOauth2Credential = async ( - input: TUpdateOauth2CredentialBody, + input: TUpdateOauth2CredentialBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_oauth2_credential"; @@ -3211,7 +3211,7 @@ export class TurnkeyClient { * See also {@link stampUpdatePolicy}. */ updatePolicy = async ( - input: TUpdatePolicyBody, + input: TUpdatePolicyBody ): Promise => { return this.request("/public/v1/submit/update_policy", input); }; @@ -3222,7 +3222,7 @@ export class TurnkeyClient { * See also {@link UpdatePolicy}. */ stampUpdatePolicy = async ( - input: TUpdatePolicyBody, + input: TUpdatePolicyBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_policy"; const body = JSON.stringify(input); @@ -3242,7 +3242,7 @@ export class TurnkeyClient { * See also {@link stampUpdatePrivateKeyTag}. */ updatePrivateKeyTag = async ( - input: TUpdatePrivateKeyTagBody, + input: TUpdatePrivateKeyTagBody ): Promise => { return this.request("/public/v1/submit/update_private_key_tag", input); }; @@ -3253,7 +3253,7 @@ export class TurnkeyClient { * See also {@link UpdatePrivateKeyTag}. */ stampUpdatePrivateKeyTag = async ( - input: TUpdatePrivateKeyTagBody, + input: TUpdatePrivateKeyTagBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_private_key_tag"; @@ -3274,7 +3274,7 @@ export class TurnkeyClient { * See also {@link stampUpdateRootQuorum}. */ updateRootQuorum = async ( - input: TUpdateRootQuorumBody, + input: TUpdateRootQuorumBody ): Promise => { return this.request("/public/v1/submit/update_root_quorum", input); }; @@ -3285,7 +3285,7 @@ export class TurnkeyClient { * See also {@link UpdateRootQuorum}. */ stampUpdateRootQuorum = async ( - input: TUpdateRootQuorumBody, + input: TUpdateRootQuorumBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_root_quorum"; @@ -3333,7 +3333,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserEmail}. */ updateUserEmail = async ( - input: TUpdateUserEmailBody, + input: TUpdateUserEmailBody ): Promise => { return this.request("/public/v1/submit/update_user_email", input); }; @@ -3344,7 +3344,7 @@ export class TurnkeyClient { * See also {@link UpdateUserEmail}. */ stampUpdateUserEmail = async ( - input: TUpdateUserEmailBody, + input: TUpdateUserEmailBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); @@ -3364,7 +3364,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserName}. */ updateUserName = async ( - input: TUpdateUserNameBody, + input: TUpdateUserNameBody ): Promise => { return this.request("/public/v1/submit/update_user_name", input); }; @@ -3375,7 +3375,7 @@ export class TurnkeyClient { * See also {@link UpdateUserName}. */ stampUpdateUserName = async ( - input: TUpdateUserNameBody, + input: TUpdateUserNameBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); @@ -3395,7 +3395,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserPhoneNumber}. */ updateUserPhoneNumber = async ( - input: TUpdateUserPhoneNumberBody, + input: TUpdateUserPhoneNumberBody ): Promise => { return this.request("/public/v1/submit/update_user_phone_number", input); }; @@ -3406,7 +3406,7 @@ export class TurnkeyClient { * See also {@link UpdateUserPhoneNumber}. */ stampUpdateUserPhoneNumber = async ( - input: TUpdateUserPhoneNumberBody, + input: TUpdateUserPhoneNumberBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_phone_number"; @@ -3427,7 +3427,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserTag}. */ updateUserTag = async ( - input: TUpdateUserTagBody, + input: TUpdateUserTagBody ): Promise => { return this.request("/public/v1/submit/update_user_tag", input); }; @@ -3438,7 +3438,7 @@ export class TurnkeyClient { * See also {@link UpdateUserTag}. */ stampUpdateUserTag = async ( - input: TUpdateUserTagBody, + input: TUpdateUserTagBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); @@ -3458,7 +3458,7 @@ export class TurnkeyClient { * See also {@link stampUpdateWallet}. */ updateWallet = async ( - input: TUpdateWalletBody, + input: TUpdateWalletBody ): Promise => { return this.request("/public/v1/submit/update_wallet", input); }; @@ -3469,7 +3469,7 @@ export class TurnkeyClient { * See also {@link UpdateWallet}. */ stampUpdateWallet = async ( - input: TUpdateWalletBody, + input: TUpdateWalletBody ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_wallet"; const body = JSON.stringify(input); @@ -3516,7 +3516,7 @@ export class TurnkeyClient { * See also {@link stampTestRateLimits}. */ testRateLimits = async ( - input: TTestRateLimitsBody, + input: TTestRateLimitsBody ): Promise => { return this.request("/tkhq/api/v1/test_rate_limits", input); }; @@ -3527,7 +3527,7 @@ export class TurnkeyClient { * See also {@link TestRateLimits}. */ stampTestRateLimits = async ( - input: TTestRateLimitsBody, + input: TTestRateLimitsBody ): Promise => { const fullUrl = this.config.baseUrl + "/tkhq/api/v1/test_rate_limits"; const body = JSON.stringify(input); diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts index fe2e6964f..5be2b1f09 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts @@ -3,7 +3,7 @@ import { request, signedRequest, - TurnkeyCredentialRequestOptions, + type TurnkeyCredentialRequestOptions, } from "../../../../../base"; import type { operations } from "./public_api.types"; @@ -45,7 +45,7 @@ export const getActivity = (input: TGetActivityInput) => */ export const signGetActivity = ( input: TGetActivityInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_activity", @@ -91,7 +91,7 @@ export const getApiKey = (input: TGetApiKeyInput) => */ export const signGetApiKey = ( input: TGetApiKeyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_api_key", @@ -137,7 +137,7 @@ export const getApiKeys = (input: TGetApiKeysInput) => */ export const signGetApiKeys = ( input: TGetApiKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_api_keys", @@ -191,7 +191,7 @@ export const getAttestationDocument = (input: TGetAttestationDocumentInput) => */ export const signGetAttestationDocument = ( input: TGetAttestationDocumentInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_attestation", @@ -243,7 +243,7 @@ export const getAuthenticator = (input: TGetAuthenticatorInput) => */ export const signGetAuthenticator = ( input: TGetAuthenticatorInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_authenticator", @@ -295,7 +295,7 @@ export const getAuthenticators = (input: TGetAuthenticatorsInput) => */ export const signGetAuthenticators = ( input: TGetAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_authenticators", @@ -341,7 +341,7 @@ export const getBootProof = (input: TGetBootProofInput) => */ export const signGetBootProof = ( input: TGetBootProofInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_boot_proof", @@ -393,7 +393,7 @@ export const getLatestBootProof = (input: TGetLatestBootProofInput) => */ export const signGetLatestBootProof = ( input: TGetLatestBootProofInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_latest_boot_proof", @@ -445,7 +445,7 @@ export const getOauth2Credential = (input: TGetOauth2CredentialInput) => */ export const signGetOauth2Credential = ( input: TGetOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_oauth2_credential", @@ -497,7 +497,7 @@ export const getOauthProviders = (input: TGetOauthProvidersInput) => */ export const signGetOauthProviders = ( input: TGetOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_oauth_providers", @@ -543,7 +543,7 @@ export const getOrganization = (input: TGetOrganizationInput) => */ export const signGetOrganization = ( input: TGetOrganizationInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_organization", @@ -597,7 +597,7 @@ export const getOrganizationConfigs = (input: TGetOrganizationConfigsInput) => */ export const signGetOrganizationConfigs = ( input: TGetOrganizationConfigsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_organization_configs", @@ -643,7 +643,7 @@ export const getPolicy = (input: TGetPolicyInput) => */ export const signGetPolicy = ( input: TGetPolicyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_policy", @@ -695,7 +695,7 @@ export const getPolicyEvaluations = (input: TGetPolicyEvaluationsInput) => */ export const signGetPolicyEvaluations = ( input: TGetPolicyEvaluationsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_policy_evaluations", @@ -741,7 +741,7 @@ export const getPrivateKey = (input: TGetPrivateKeyInput) => */ export const signGetPrivateKey = ( input: TGetPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_private_key", @@ -776,7 +776,7 @@ export type TGetSmartContractInterfaceBody = * `POST /public/v1/query/get_smart_contract_interface` */ export const getSmartContractInterface = ( - input: TGetSmartContractInterfaceInput, + input: TGetSmartContractInterfaceInput ) => request< TGetSmartContractInterfaceResponse, @@ -797,7 +797,7 @@ export const getSmartContractInterface = ( */ export const signGetSmartContractInterface = ( input: TGetSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_smart_contract_interface", @@ -843,7 +843,7 @@ export const getUser = (input: TGetUserInput) => */ export const signGetUser = ( input: TGetUserInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_user", @@ -889,7 +889,7 @@ export const getWallet = (input: TGetWalletInput) => */ export const signGetWallet = ( input: TGetWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_wallet", @@ -941,7 +941,7 @@ export const getWalletAccount = (input: TGetWalletAccountInput) => */ export const signGetWalletAccount = ( input: TGetWalletAccountInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/get_wallet_account", @@ -987,7 +987,7 @@ export const getActivities = (input: TGetActivitiesInput) => */ export const signGetActivities = ( input: TGetActivitiesInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_activities", @@ -1039,7 +1039,7 @@ export const listOauth2Credentials = (input: TListOauth2CredentialsInput) => */ export const signListOauth2Credentials = ( input: TListOauth2CredentialsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_oauth2_credentials", @@ -1085,7 +1085,7 @@ export const getPolicies = (input: TGetPoliciesInput) => */ export const signGetPolicies = ( input: TGetPoliciesInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_policies", @@ -1137,7 +1137,7 @@ export const listPrivateKeyTags = (input: TListPrivateKeyTagsInput) => */ export const signListPrivateKeyTags = ( input: TListPrivateKeyTagsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_private_key_tags", @@ -1183,7 +1183,7 @@ export const getPrivateKeys = (input: TGetPrivateKeysInput) => */ export const signGetPrivateKeys = ( input: TGetPrivateKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_private_keys", @@ -1218,7 +1218,7 @@ export type TGetSmartContractInterfacesBody = * `POST /public/v1/query/list_smart_contract_interfaces` */ export const getSmartContractInterfaces = ( - input: TGetSmartContractInterfacesInput, + input: TGetSmartContractInterfacesInput ) => request< TGetSmartContractInterfacesResponse, @@ -1239,7 +1239,7 @@ export const getSmartContractInterfaces = ( */ export const signGetSmartContractInterfaces = ( input: TGetSmartContractInterfacesInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_smart_contract_interfaces", @@ -1285,7 +1285,7 @@ export const getSubOrgIds = (input: TGetSubOrgIdsInput) => */ export const signGetSubOrgIds = ( input: TGetSubOrgIdsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_suborgs", @@ -1331,7 +1331,7 @@ export const listUserTags = (input: TListUserTagsInput) => */ export const signListUserTags = ( input: TListUserTagsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_user_tags", @@ -1377,7 +1377,7 @@ export const getUsers = (input: TGetUsersInput) => */ export const signGetUsers = ( input: TGetUsersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_users", @@ -1429,7 +1429,7 @@ export const getVerifiedSubOrgIds = (input: TGetVerifiedSubOrgIdsInput) => */ export const signGetVerifiedSubOrgIds = ( input: TGetVerifiedSubOrgIdsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_verified_suborgs", @@ -1481,7 +1481,7 @@ export const getWalletAccounts = (input: TGetWalletAccountsInput) => */ export const signGetWalletAccounts = ( input: TGetWalletAccountsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_wallet_accounts", @@ -1527,7 +1527,7 @@ export const getWallets = (input: TGetWalletsInput) => */ export const signGetWallets = ( input: TGetWalletsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/list_wallets", @@ -1573,7 +1573,7 @@ export const getWhoami = (input: TGetWhoamiInput) => */ export const signGetWhoami = ( input: TGetWhoamiInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/query/whoami", @@ -1619,7 +1619,7 @@ export const approveActivity = (input: TApproveActivityInput) => */ export const signApproveActivity = ( input: TApproveActivityInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/approve_activity", @@ -1665,7 +1665,7 @@ export const createApiKeys = (input: TCreateApiKeysInput) => */ export const signCreateApiKeys = ( input: TCreateApiKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_api_keys", @@ -1717,7 +1717,7 @@ export const createApiOnlyUsers = (input: TCreateApiOnlyUsersInput) => */ export const signCreateApiOnlyUsers = ( input: TCreateApiOnlyUsersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_api_only_users", @@ -1769,7 +1769,7 @@ export const createAuthenticators = (input: TCreateAuthenticatorsInput) => */ export const signCreateAuthenticators = ( input: TCreateAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_authenticators", @@ -1821,7 +1821,7 @@ export const createInvitations = (input: TCreateInvitationsInput) => */ export const signCreateInvitations = ( input: TCreateInvitationsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_invitations", @@ -1875,7 +1875,7 @@ export const createOauth2Credential = (input: TCreateOauth2CredentialInput) => */ export const signCreateOauth2Credential = ( input: TCreateOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_oauth2_credential", @@ -1927,7 +1927,7 @@ export const createOauthProviders = (input: TCreateOauthProvidersInput) => */ export const signCreateOauthProviders = ( input: TCreateOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_oauth_providers", @@ -1973,7 +1973,7 @@ export const createPolicies = (input: TCreatePoliciesInput) => */ export const signCreatePolicies = ( input: TCreatePoliciesInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_policies", @@ -2019,7 +2019,7 @@ export const createPolicy = (input: TCreatePolicyInput) => */ export const signCreatePolicy = ( input: TCreatePolicyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_policy", @@ -2071,7 +2071,7 @@ export const createPrivateKeyTag = (input: TCreatePrivateKeyTagInput) => */ export const signCreatePrivateKeyTag = ( input: TCreatePrivateKeyTagInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_private_key_tag", @@ -2123,7 +2123,7 @@ export const createPrivateKeys = (input: TCreatePrivateKeysInput) => */ export const signCreatePrivateKeys = ( input: TCreatePrivateKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_private_keys", @@ -2175,7 +2175,7 @@ export const createReadOnlySession = (input: TCreateReadOnlySessionInput) => */ export const signCreateReadOnlySession = ( input: TCreateReadOnlySessionInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_read_only_session", @@ -2229,7 +2229,7 @@ export const createReadWriteSession = (input: TCreateReadWriteSessionInput) => */ export const signCreateReadWriteSession = ( input: TCreateReadWriteSessionInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_read_write_session", @@ -2264,7 +2264,7 @@ export type TCreateSmartContractInterfaceBody = * `POST /public/v1/submit/create_smart_contract_interface` */ export const createSmartContractInterface = ( - input: TCreateSmartContractInterfaceInput, + input: TCreateSmartContractInterfaceInput ) => request< TCreateSmartContractInterfaceResponse, @@ -2285,7 +2285,7 @@ export const createSmartContractInterface = ( */ export const signCreateSmartContractInterface = ( input: TCreateSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_smart_contract_interface", @@ -2337,7 +2337,7 @@ export const createSubOrganization = (input: TCreateSubOrganizationInput) => */ export const signCreateSubOrganization = ( input: TCreateSubOrganizationInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_sub_organization", @@ -2383,7 +2383,7 @@ export const createUserTag = (input: TCreateUserTagInput) => */ export const signCreateUserTag = ( input: TCreateUserTagInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_user_tag", @@ -2429,7 +2429,7 @@ export const createUsers = (input: TCreateUsersInput) => */ export const signCreateUsers = ( input: TCreateUsersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_users", @@ -2475,7 +2475,7 @@ export const createWallet = (input: TCreateWalletInput) => */ export const signCreateWallet = ( input: TCreateWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_wallet", @@ -2527,7 +2527,7 @@ export const createWalletAccounts = (input: TCreateWalletAccountsInput) => */ export const signCreateWalletAccounts = ( input: TCreateWalletAccountsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/create_wallet_accounts", @@ -2573,7 +2573,7 @@ export const deleteApiKeys = (input: TDeleteApiKeysInput) => */ export const signDeleteApiKeys = ( input: TDeleteApiKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_api_keys", @@ -2625,7 +2625,7 @@ export const deleteAuthenticators = (input: TDeleteAuthenticatorsInput) => */ export const signDeleteAuthenticators = ( input: TDeleteAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_authenticators", @@ -2677,7 +2677,7 @@ export const deleteInvitation = (input: TDeleteInvitationInput) => */ export const signDeleteInvitation = ( input: TDeleteInvitationInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_invitation", @@ -2731,7 +2731,7 @@ export const deleteOauth2Credential = (input: TDeleteOauth2CredentialInput) => */ export const signDeleteOauth2Credential = ( input: TDeleteOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_oauth2_credential", @@ -2783,7 +2783,7 @@ export const deleteOauthProviders = (input: TDeleteOauthProvidersInput) => */ export const signDeleteOauthProviders = ( input: TDeleteOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_oauth_providers", @@ -2829,7 +2829,7 @@ export const deletePolicy = (input: TDeletePolicyInput) => */ export const signDeletePolicy = ( input: TDeletePolicyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_policy", @@ -2881,7 +2881,7 @@ export const deletePrivateKeyTags = (input: TDeletePrivateKeyTagsInput) => */ export const signDeletePrivateKeyTags = ( input: TDeletePrivateKeyTagsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_private_key_tags", @@ -2933,7 +2933,7 @@ export const deletePrivateKeys = (input: TDeletePrivateKeysInput) => */ export const signDeletePrivateKeys = ( input: TDeletePrivateKeysInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_private_keys", @@ -2968,7 +2968,7 @@ export type TDeleteSmartContractInterfaceBody = * `POST /public/v1/submit/delete_smart_contract_interface` */ export const deleteSmartContractInterface = ( - input: TDeleteSmartContractInterfaceInput, + input: TDeleteSmartContractInterfaceInput ) => request< TDeleteSmartContractInterfaceResponse, @@ -2989,7 +2989,7 @@ export const deleteSmartContractInterface = ( */ export const signDeleteSmartContractInterface = ( input: TDeleteSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_smart_contract_interface", @@ -3041,7 +3041,7 @@ export const deleteSubOrganization = (input: TDeleteSubOrganizationInput) => */ export const signDeleteSubOrganization = ( input: TDeleteSubOrganizationInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_sub_organization", @@ -3087,7 +3087,7 @@ export const deleteUserTags = (input: TDeleteUserTagsInput) => */ export const signDeleteUserTags = ( input: TDeleteUserTagsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_user_tags", @@ -3133,7 +3133,7 @@ export const deleteUsers = (input: TDeleteUsersInput) => */ export const signDeleteUsers = ( input: TDeleteUsersInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_users", @@ -3179,7 +3179,7 @@ export const deleteWallets = (input: TDeleteWalletsInput) => */ export const signDeleteWallets = ( input: TDeleteWalletsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/delete_wallets", @@ -3225,7 +3225,7 @@ export const emailAuth = (input: TEmailAuthInput) => */ export const signEmailAuth = ( input: TEmailAuthInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/email_auth", @@ -3277,7 +3277,7 @@ export const exportPrivateKey = (input: TExportPrivateKeyInput) => */ export const signExportPrivateKey = ( input: TExportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/export_private_key", @@ -3323,7 +3323,7 @@ export const exportWallet = (input: TExportWalletInput) => */ export const signExportWallet = ( input: TExportWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/export_wallet", @@ -3375,7 +3375,7 @@ export const exportWalletAccount = (input: TExportWalletAccountInput) => */ export const signExportWalletAccount = ( input: TExportWalletAccountInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/export_wallet_account", @@ -3427,7 +3427,7 @@ export const importPrivateKey = (input: TImportPrivateKeyInput) => */ export const signImportPrivateKey = ( input: TImportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/import_private_key", @@ -3473,7 +3473,7 @@ export const importWallet = (input: TImportWalletInput) => */ export const signImportWallet = ( input: TImportWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/import_wallet", @@ -3519,7 +3519,7 @@ export const initFiatOnRamp = (input: TInitFiatOnRampInput) => */ export const signInitFiatOnRamp = ( input: TInitFiatOnRampInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_fiat_on_ramp", @@ -3571,7 +3571,7 @@ export const initImportPrivateKey = (input: TInitImportPrivateKeyInput) => */ export const signInitImportPrivateKey = ( input: TInitImportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_import_private_key", @@ -3623,7 +3623,7 @@ export const initImportWallet = (input: TInitImportWalletInput) => */ export const signInitImportWallet = ( input: TInitImportWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_import_wallet", @@ -3669,7 +3669,7 @@ export const initOtp = (input: TInitOtpInput) => */ export const signInitOtp = ( input: TInitOtpInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_otp", @@ -3715,7 +3715,7 @@ export const initOtpAuth = (input: TInitOtpAuthInput) => */ export const signInitOtpAuth = ( input: TInitOtpAuthInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_otp_auth", @@ -3767,7 +3767,7 @@ export const initUserEmailRecovery = (input: TInitUserEmailRecoveryInput) => */ export const signInitUserEmailRecovery = ( input: TInitUserEmailRecoveryInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/init_user_email_recovery", @@ -3813,7 +3813,7 @@ export const oauth = (input: TOauthInput) => */ export const signOauth = ( input: TOauthInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/oauth", @@ -3865,7 +3865,7 @@ export const oauth2Authenticate = (input: TOauth2AuthenticateInput) => */ export const signOauth2Authenticate = ( input: TOauth2AuthenticateInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/oauth2_authenticate", @@ -3911,7 +3911,7 @@ export const oauthLogin = (input: TOauthLoginInput) => */ export const signOauthLogin = ( input: TOauthLoginInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/oauth_login", @@ -3957,7 +3957,7 @@ export const otpAuth = (input: TOtpAuthInput) => */ export const signOtpAuth = ( input: TOtpAuthInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/otp_auth", @@ -4003,7 +4003,7 @@ export const otpLogin = (input: TOtpLoginInput) => */ export const signOtpLogin = ( input: TOtpLoginInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/otp_login", @@ -4049,7 +4049,7 @@ export const recoverUser = (input: TRecoverUserInput) => */ export const signRecoverUser = ( input: TRecoverUserInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/recover_user", @@ -4095,7 +4095,7 @@ export const rejectActivity = (input: TRejectActivityInput) => */ export const signRejectActivity = ( input: TRejectActivityInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/reject_activity", @@ -4130,7 +4130,7 @@ export type TRemoveOrganizationFeatureBody = * `POST /public/v1/submit/remove_organization_feature` */ export const removeOrganizationFeature = ( - input: TRemoveOrganizationFeatureInput, + input: TRemoveOrganizationFeatureInput ) => request< TRemoveOrganizationFeatureResponse, @@ -4151,7 +4151,7 @@ export const removeOrganizationFeature = ( */ export const signRemoveOrganizationFeature = ( input: TRemoveOrganizationFeatureInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/remove_organization_feature", @@ -4205,7 +4205,7 @@ export const setOrganizationFeature = (input: TSetOrganizationFeatureInput) => */ export const signSetOrganizationFeature = ( input: TSetOrganizationFeatureInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/set_organization_feature", @@ -4251,7 +4251,7 @@ export const signRawPayload = (input: TSignRawPayloadInput) => */ export const signSignRawPayload = ( input: TSignRawPayloadInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/sign_raw_payload", @@ -4297,7 +4297,7 @@ export const signRawPayloads = (input: TSignRawPayloadsInput) => */ export const signSignRawPayloads = ( input: TSignRawPayloadsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/sign_raw_payloads", @@ -4343,7 +4343,7 @@ export const signTransaction = (input: TSignTransactionInput) => */ export const signSignTransaction = ( input: TSignTransactionInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/sign_transaction", @@ -4389,7 +4389,7 @@ export const stampLogin = (input: TStampLoginInput) => */ export const signStampLogin = ( input: TStampLoginInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/stamp_login", @@ -4443,7 +4443,7 @@ export const updateOauth2Credential = (input: TUpdateOauth2CredentialInput) => */ export const signUpdateOauth2Credential = ( input: TUpdateOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_oauth2_credential", @@ -4489,7 +4489,7 @@ export const updatePolicy = (input: TUpdatePolicyInput) => */ export const signUpdatePolicy = ( input: TUpdatePolicyInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_policy", @@ -4541,7 +4541,7 @@ export const updatePrivateKeyTag = (input: TUpdatePrivateKeyTagInput) => */ export const signUpdatePrivateKeyTag = ( input: TUpdatePrivateKeyTagInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_private_key_tag", @@ -4593,7 +4593,7 @@ export const updateRootQuorum = (input: TUpdateRootQuorumInput) => */ export const signUpdateRootQuorum = ( input: TUpdateRootQuorumInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_root_quorum", @@ -4639,7 +4639,7 @@ export const updateUser = (input: TUpdateUserInput) => */ export const signUpdateUser = ( input: TUpdateUserInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_user", @@ -4685,7 +4685,7 @@ export const updateUserEmail = (input: TUpdateUserEmailInput) => */ export const signUpdateUserEmail = ( input: TUpdateUserEmailInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_user_email", @@ -4731,7 +4731,7 @@ export const updateUserName = (input: TUpdateUserNameInput) => */ export const signUpdateUserName = ( input: TUpdateUserNameInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_user_name", @@ -4783,7 +4783,7 @@ export const updateUserPhoneNumber = (input: TUpdateUserPhoneNumberInput) => */ export const signUpdateUserPhoneNumber = ( input: TUpdateUserPhoneNumberInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_user_phone_number", @@ -4829,7 +4829,7 @@ export const updateUserTag = (input: TUpdateUserTagInput) => */ export const signUpdateUserTag = ( input: TUpdateUserTagInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_user_tag", @@ -4875,7 +4875,7 @@ export const updateWallet = (input: TUpdateWalletInput) => */ export const signUpdateWallet = ( input: TUpdateWalletInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/update_wallet", @@ -4921,7 +4921,7 @@ export const verifyOtp = (input: TVerifyOtpInput) => */ export const signVerifyOtp = ( input: TVerifyOtpInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/public/v1/submit/verify_otp", @@ -4992,7 +4992,7 @@ export const testRateLimits = (input: TTestRateLimitsInput) => */ export const signTestRateLimits = ( input: TTestRateLimitsInput, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ) => signedRequest({ uri: "/tkhq/api/v1/test_rate_limits", diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json index 54b8cc154..82ebe4110 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json @@ -10528,6 +10528,13 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." + }, + "oauth2ProviderCredentialIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11549,19 +11556,6 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their Oauth client IDs.", - "title": "Oauth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "Oauth redirect URL to be used for social login flows.", - "title": "Oauth Redirect URL" } } }, diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts index d9e50642a..c76e40578 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts @@ -3372,6 +3372,8 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; + /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3771,16 +3773,6 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** - * Oauth Client IDs - * @description Mapping of social login providers to their Oauth client IDs. - */ - oauthClientIds?: { [key: string]: string }; - /** - * Oauth Redirect URL - * @description Oauth redirect URL to be used for social login flows. - */ - oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/http/src/async.ts b/packages/http/src/async.ts index 3abe71764..158ae0077 100644 --- a/packages/http/src/async.ts +++ b/packages/http/src/async.ts @@ -1,6 +1,10 @@ import type { TurnkeyClient } from "."; import { PublicApiService as TurnkeyApi } from "./__generated__/barrel"; -import { TActivity, TActivityResponse, TurnkeyActivityError } from "./shared"; +import { + type TActivity, + type TActivityResponse, + TurnkeyActivityError, +} from "./shared"; const DEFAULT_REFRESH_INTERVAL_MS = 500; @@ -187,6 +191,6 @@ function sleep(ms: number): Promise { function assertNever(input: never, message?: string): never { throw new Error( - message != null ? message : `Unexpected case: ${JSON.stringify(input)}`, + message != null ? message : `Unexpected case: ${JSON.stringify(input)}` ); } diff --git a/packages/http/src/base.ts b/packages/http/src/base.ts index 2f4ef86b7..ef4cff317 100644 --- a/packages/http/src/base.ts +++ b/packages/http/src/base.ts @@ -4,7 +4,7 @@ import { getBrowserConfig, getConfig } from "./config"; import { stringToBase64urlString } from "@turnkey/encoding"; import { getWebAuthnAssertion, - TurnkeyCredentialRequestOptions, + type TurnkeyCredentialRequestOptions, } from "./webauthn"; import type { TurnkeyClient } from "."; @@ -171,7 +171,7 @@ function getBaseUrl(): string { function substitutePath( uri: string, - substitutionMap: TSubstitutionShape, + substitutionMap: TSubstitutionShape ): string { let result = uri; @@ -182,8 +182,8 @@ function substitutePath( invariant( output !== result, `Substitution error: cannot find "${key}" in URI "${uri}". \`substitutionMap\`: ${JSON.stringify( - substitutionMap, - )}`, + substitutionMap + )}` ); result = output; @@ -191,7 +191,7 @@ function substitutePath( invariant( !/\{.*\}/.test(result), - `Substitution error: found unsubstituted components in "${result}"`, + `Substitution error: found unsubstituted components in "${result}"` ); return result; diff --git a/packages/http/src/webauthn.ts b/packages/http/src/webauthn.ts index 2303b026a..ab8484840 100644 --- a/packages/http/src/webauthn.ts +++ b/packages/http/src/webauthn.ts @@ -46,7 +46,7 @@ const defaultSigningOptions: TurnkeyCredentialRequestOptions = { async function getCredentialRequestOptions( payload: string, - tkSigningOptions: TurnkeyCredentialRequestOptions = defaultSigningOptions, + tkSigningOptions: TurnkeyCredentialRequestOptions = defaultSigningOptions ): Promise { const challenge = await getChallengeFromPayload(payload); @@ -65,14 +65,13 @@ async function getCredentialRequestOptions( async function getChallengeFromPayload(payload: string): Promise { const messageBuffer = new TextEncoder().encode(payload); const hashBuffer = await crypto.subtle.digest("SHA-256", messageBuffer); - const hexString = Buffer.from(hashBuffer).toString("hex"); - const hexBuffer = Buffer.from(hexString, "utf8"); - return new Uint8Array(hexBuffer); + // Ensure hashBuffer is an ArrayBuffer, and create a Uint8Array from it + return new Uint8Array(hashBuffer as ArrayBuffer); } /* Pulled from https://www.w3.org/TR/webauthn-2/#enum-transport */ export function protocolTransportEnumToInternalEnum( - protocolEnum: ExternalAuthenticatorTransports, + protocolEnum: ExternalAuthenticatorTransports ): InternalAuthenticatorTransports { switch (protocolEnum) { case "internal": { @@ -97,21 +96,21 @@ export function protocolTransportEnumToInternalEnum( } function toInternalAttestation( - attestation: PublicKeyCredentialWithAttestationJSON, + attestation: PublicKeyCredentialWithAttestationJSON ): TAttestation { return { credentialId: attestation.rawId, attestationObject: attestation.response.attestationObject, clientDataJson: attestation.response.clientDataJSON, transports: attestation.response.transports.map( - protocolTransportEnumToInternalEnum, + protocolTransportEnumToInternalEnum ), }; } export async function getWebAuthnAssertion( payload: string, - options?: TurnkeyCredentialRequestOptions, + options?: TurnkeyCredentialRequestOptions ): Promise { const webAuthnSupported = hasWebAuthnSupport(); @@ -133,7 +132,7 @@ export async function getWebAuthnAssertion( } export async function getWebAuthnAttestation( - options: TurnkeyCredentialCreationOptions, + options: TurnkeyCredentialCreationOptions ): Promise { const webAuthnSupported = hasWebAuthnSupport(); diff --git a/packages/react-native-passkey-stamper/package.json b/packages/react-native-passkey-stamper/package.json index 2feda1498..336eb2971 100644 --- a/packages/react-native-passkey-stamper/package.json +++ b/packages/react-native-passkey-stamper/package.json @@ -62,6 +62,8 @@ }, "devDependencies": { "@babel/core": "7.26.9", - "@rollup/plugin-babel": "5.3.0" + "@rollup/plugin-babel": "6.0.4", + "react": "18.2.0", + "react-dom": "18.2.0" } } diff --git a/packages/react-native-passkey-stamper/src/index.ts b/packages/react-native-passkey-stamper/src/index.ts index cfea922dc..28a7aa7fa 100644 --- a/packages/react-native-passkey-stamper/src/index.ts +++ b/packages/react-native-passkey-stamper/src/index.ts @@ -1,7 +1,7 @@ import { Passkey, - PasskeyCreateResult, - PasskeyGetResult, + type PasskeyCreateResult, + type PasskeyGetResult, } from "react-native-passkey"; import type { TurnkeyApiTypes } from "@turnkey/http"; import { base64StringToBase64UrlEncodedString as base64Tobase64url } from "@turnkey/encoding"; @@ -136,7 +136,7 @@ export async function createPasskey( options?: { withSecurityKey: boolean; withPlatformKey: boolean; - }, + } ): Promise { const challenge = config.challenge || getRandomChallenge(); @@ -187,10 +187,10 @@ export async function createPasskey( attestation: { credentialId: base64Tobase64url(registrationResult.id), clientDataJson: base64Tobase64url( - registrationResult.response.clientDataJSON, + registrationResult.response.clientDataJSON ), attestationObject: base64Tobase64url( - registrationResult.response.attestationObject, + registrationResult.response.attestationObject ), // TODO: can we infer the transport from the registration result? // In all honesty this isn't critical so we default to "hybrid" because that's the transport used by passkeys. @@ -251,10 +251,10 @@ export class PasskeyStamper { const stamp = { authenticatorData: base64Tobase64url( - authenticationResult.response.authenticatorData, + authenticationResult.response.authenticatorData ), clientDataJson: base64Tobase64url( - authenticationResult.response.clientDataJSON, + authenticationResult.response.clientDataJSON ), credentialId: base64Tobase64url(authenticationResult.id), signature: base64Tobase64url(authenticationResult.response.signature), diff --git a/packages/react-wallet-kit/package.json b/packages/react-wallet-kit/package.json index 848153ff4..081251a85 100644 --- a/packages/react-wallet-kit/package.json +++ b/packages/react-wallet-kit/package.json @@ -36,8 +36,8 @@ "@headlessui/react": "^2.2.6", "@lottiefiles/react-lottie-player": "^3.6.0", "@noble/hashes": "^1.8.0", - "@turnkey/iframe-stamper": "workspace:^", "@turnkey/core": "workspace:*", + "@turnkey/iframe-stamper": "workspace:^", "@turnkey/sdk-types": "workspace:*", "buffer": "^6.0.3", "clsx": "^2.1.1", @@ -46,18 +46,18 @@ "react-international-phone": "^4.3.0" }, "devDependencies": { - "@rollup/plugin-babel": "5.3.0", + "@rollup/plugin-babel": "6.0.4", "@rollup/plugin-node-resolve": "16.0.0", "@rollup/plugin-strip": "^3.0.4", "@tailwindcss/postcss": "^4.1.10", "@types/react": "^18.2.75", "@types/react-dom": "^18.2.7", "autoprefixer": "^10.0.1", - "glob": "^8.0.3", - "postcss": "^8.4.38", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "tailwindcss": "^4.1.10", + "glob": "11.0.3", + "postcss": "8.4.38", + "react": "18.2.0", + "react-dom": "18.2.0", + "tailwindcss": "4.1.10", "typescript": "5.4.3" }, "peerDependencies": { diff --git a/packages/react-wallet-kit/src/providers/client/Hook.tsx b/packages/react-wallet-kit/src/providers/client/Hook.tsx index 9f8ab86af..41a576a4c 100644 --- a/packages/react-wallet-kit/src/providers/client/Hook.tsx +++ b/packages/react-wallet-kit/src/providers/client/Hook.tsx @@ -1,7 +1,7 @@ "use client"; import { useContext } from "react"; -import { ClientContext, ClientContextType } from "./Types"; +import { ClientContext, type ClientContextType } from "./Types"; /** @internal */ export const useTurnkey = (): ClientContextType => { diff --git a/packages/react-wallet-kit/src/providers/client/Provider.tsx b/packages/react-wallet-kit/src/providers/client/Provider.tsx index 8e8b4d9bf..1956d0310 100644 --- a/packages/react-wallet-kit/src/providers/client/Provider.tsx +++ b/packages/react-wallet-kit/src/providers/client/Provider.tsx @@ -30,20 +30,26 @@ import { } from "../../utils/timers"; import { Chain, - CreateSubOrgParams, + type CreateSubOrgParams, DEFAULT_SESSION_EXPIRATION_IN_SECONDS, - ExportBundle, + type ExportBundle, getAuthProxyConfig, OtpType, StamperType, - SwitchableChain, + type SwitchableChain, TurnkeyClient, - Wallet, - WalletAccount, + type Wallet, + type WalletAccount, WalletInterfaceType, - WalletProvider, + type WalletProvider, } from "@turnkey/core"; -import { ReactNode, useCallback, useEffect, useRef, useState } from "react"; +import { + type ReactNode, + useCallback, + useEffect, + useRef, + useState, +} from "react"; import { TurnkeyError, TurnkeyErrorCodes, @@ -65,11 +71,11 @@ import { type v1HashFunction, type v1Curve, type v1PrivateKey, - BaseAuthResult, - WalletAuthResult, + type BaseAuthResult, + type WalletAuthResult, AuthAction, - PasskeyAuthResult, - v1CreatePolicyIntentV3, + type PasskeyAuthResult, + type v1CreatePolicyIntentV3, } from "@turnkey/sdk-types"; import { useModal } from "../modal/Hook"; import { @@ -156,7 +162,7 @@ export const ClientProvider: React.FC = ({ const [user, setUser] = useState(undefined); const [clientState, setClientState] = useState(); const [authState, setAuthState] = useState( - AuthState.Unauthenticated, + AuthState.Unauthenticated ); // we use this custom hook to only update the state if the value is different @@ -165,7 +171,7 @@ export const ClientProvider: React.FC = ({ const expiryTimeoutsRef = useRef({}); const proxyAuthConfigRef = useRef( - null, + null ); const [allSessions, setAllSessions] = useState< @@ -183,7 +189,7 @@ export const ClientProvider: React.FC = ({ window.location.search.includes("state=") ) { const searchParams = new URLSearchParams( - window.location.search.substring(1), + window.location.search.substring(1) ); const code = searchParams.get("code"); const state = searchParams.get("state"); @@ -231,7 +237,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname, + window.location.pathname ); resolve(); } catch (err) { @@ -254,8 +260,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Facebook authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - error, - ), + error + ) ); } }); @@ -295,7 +301,7 @@ export const ClientProvider: React.FC = ({ if (!oidcToken) { throw new TurnkeyError( "Missing OIDC token", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR ); } await completeOauth({ @@ -308,7 +314,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname, + window.location.pathname ); resolve(null); } catch (err) { @@ -320,8 +326,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Discord authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - err, - ), + err + ) ); } } @@ -367,7 +373,7 @@ export const ClientProvider: React.FC = ({ if (!oidcToken) { throw new TurnkeyError( "Missing OIDC token", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR ); } await completeOauth({ @@ -380,7 +386,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname, + window.location.pathname ); resolve(null); } catch (err) { @@ -392,8 +398,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Twitter authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - err, - ), + err + ) ); } } @@ -470,7 +476,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.search, + window.location.pathname + window.location.search ); } } @@ -478,7 +484,7 @@ export const ClientProvider: React.FC = ({ }; const buildConfig = ( - proxyAuthConfig?: ProxyTGetWalletKitConfigResponse | undefined, + proxyAuthConfig?: ProxyTGetWalletKitConfigResponse | undefined ) => { // Juggle the local overrides with the values set in the dashboard (proxyAuthConfig). const resolvedMethods = { @@ -537,7 +543,7 @@ export const ClientProvider: React.FC = ({ const oauthOrder = config.auth?.oauthOrder ?? (["google", "apple", "x", "discord", "facebook"] as const).filter( - (provider) => resolvedMethods[`${provider}OauthEnabled` as const], + (provider) => resolvedMethods[`${provider}OauthEnabled` as const] ); // Set a default ordering for the overall auth methods @@ -654,8 +660,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize Turnkey client`, TurnkeyErrorCodes.INITIALIZE_CLIENT_ERROR, - error, - ), + error + ) ); } } @@ -688,7 +694,7 @@ export const ClientProvider: React.FC = ({ sessionKey, expiry: session!.expiry, }); - }), + }) ); setAllSessions(allLocalStorageSessions || undefined); @@ -715,8 +721,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize sessions`, TurnkeyErrorCodes.INITIALIZE_SESSION_ERROR, - error, - ), + error + ) ); } } @@ -740,7 +746,7 @@ export const ClientProvider: React.FC = ({ */ async function initializeWalletProviderListeners( walletProviders: WalletProvider[], - onWalletsChanged: () => void, + onWalletsChanged: () => void ): Promise<() => void> { if (walletProviders.length === 0) return () => {}; @@ -755,7 +761,7 @@ export const ClientProvider: React.FC = ({ (provider) => provider.chainInfo.namespace === Chain.Ethereum && nativeOnly(provider) && - provider.connectedAddresses.length > 0, + provider.connectedAddresses.length > 0 ) : []; @@ -764,7 +770,7 @@ export const ClientProvider: React.FC = ({ (provider) => provider.chainInfo.namespace === Chain.Solana && nativeOnly(provider) && - provider.connectedAddresses.length > 0, + provider.connectedAddresses.length > 0 ) : []; @@ -774,12 +780,12 @@ export const ClientProvider: React.FC = ({ const wcProviders = walletProviders.filter( (p) => p.interfaceType === WalletInterfaceType.WalletConnect && - p.connectedAddresses.length > 0, + p.connectedAddresses.length > 0 ); function attachEthereumListeners( provider: any, - onWalletsChanged: () => void, + onWalletsChanged: () => void ) { if (typeof provider.on !== "function") return; @@ -802,7 +808,7 @@ export const ClientProvider: React.FC = ({ function attachSolanaListeners( provider: any, - onWalletsChanged: () => void, + onWalletsChanged: () => void ) { const cleanups: Array<() => void> = []; @@ -820,7 +826,7 @@ export const ClientProvider: React.FC = ({ ethProviders.forEach((p) => { const cleanup = attachEthereumListeners( (p as any).provider, - onWalletsChanged, + onWalletsChanged ); if (cleanup) cleanups.push(cleanup); }); @@ -828,7 +834,7 @@ export const ClientProvider: React.FC = ({ solProviders.forEach((p) => { const cleanup = attachSolanaListeners( (p as any).provider, - onWalletsChanged, + onWalletsChanged ); if (cleanup) cleanups.push(cleanup); }); @@ -883,7 +889,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, warnKey, beforeExpiry, - 10_000, + 10_000 ); return; } @@ -942,7 +948,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, warnKey, beforeExpiry, - warnAt - now, + warnAt - now ); } @@ -951,7 +957,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, sessionKey, expireSession, - timeUntilExpiry, + timeUntilExpiry ); } catch (error) { if ( @@ -964,8 +970,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to schedule session expiration for ${sessionKey}`, TurnkeyErrorCodes.SCHEDULE_SESSION_EXPIRY_ERROR, - error, - ), + error + ) ); } } @@ -997,8 +1003,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( "Failed to clear session timeouts", TurnkeyErrorCodes.CLEAR_SESSION_TIMEOUTS_ERROR, - error, - ), + error + ) ); } } @@ -1059,8 +1065,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to handle post-authentication`, TurnkeyErrorCodes.HANDLE_POST_AUTH_ERROR, - error, - ), + error + ) ); } } @@ -1082,7 +1088,7 @@ export const ClientProvider: React.FC = ({ const handlePostLogout = (sessionKey?: string) => { try { clearSessionTimeouts( - sessionKey ? [sessionKey, `${sessionKey}-warning`] : undefined, + sessionKey ? [sessionKey, `${sessionKey}-warning`] : undefined ); setAllSessions((prev) => { if (!prev) return prev; @@ -1101,8 +1107,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize sessions`, TurnkeyErrorCodes.HANDLE_POST_LOGOUT_ERROR, - error, - ), + error + ) ); } }; @@ -1117,16 +1123,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.createPasskey({ ...params }), callbacks, - "Failed to create passkey", + "Failed to create passkey" ); }, - [client, callbacks], + [client, callbacks] ); const logout: (params?: { sessionKey?: string }) => Promise = @@ -1135,7 +1141,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } await withTurnkeyErrorHandling( @@ -1148,12 +1154,12 @@ export const ClientProvider: React.FC = ({ if (sessionKey) handlePostLogout(sessionKey); }, callbacks, - "Failed to logout", + "Failed to logout" ); return; }, - [client, callbacks], + [client, callbacks] ); const loginWithPasskey = useCallback( @@ -1164,7 +1170,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } @@ -1174,7 +1180,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginWithPasskey({ ...params, expirationSeconds }), callbacks, - "Failed to login with passkey", + "Failed to login with passkey" ); if (res) { await handlePostAuth({ @@ -1185,7 +1191,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks], + [client, callbacks] ); const signUpWithPasskey = useCallback( @@ -1198,13 +1204,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1245,7 +1251,7 @@ export const ClientProvider: React.FC = ({ expirationSeconds, }), callbacks, - "Failed to sign up with passkey", + "Failed to sign up with passkey" ); if (res) { await handlePostAuth({ @@ -1256,7 +1262,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks], + [client, callbacks] ); const fetchWalletProviders = useCallback( @@ -1264,7 +1270,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } const newProviders = await client.fetchWalletProviders(chain); @@ -1277,7 +1283,7 @@ export const ClientProvider: React.FC = ({ return newProviders; }, - [client, callbacks], + [client, callbacks] ); const connectWalletAccount = useCallback( @@ -1285,7 +1291,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } await client.connectWalletAccount(walletProvider); @@ -1293,7 +1299,7 @@ export const ClientProvider: React.FC = ({ // this will update our walletProvider state await refreshWallets(); }, - [client, callbacks], + [client, callbacks] ); const disconnectWalletAccount = useCallback( @@ -1301,7 +1307,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } await client.disconnectWalletAccount(walletProvider); @@ -1321,7 +1327,7 @@ export const ClientProvider: React.FC = ({ await refreshWallets(); } }, - [client, callbacks], + [client, callbacks] ); const switchWalletAccountChain = useCallback( @@ -1332,12 +1338,12 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } await client.switchWalletAccountChain({ ...params, walletProviders }); }, - [client, callbacks], + [client, callbacks] ); const loginWithWallet = useCallback( @@ -1350,7 +1356,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } @@ -1360,7 +1366,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to login with wallet", + "Failed to login with wallet" ); if (res) { await handlePostAuth({ @@ -1371,7 +1377,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks], + [client, callbacks] ); const signUpWithWallet = useCallback( @@ -1384,13 +1390,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1408,7 +1414,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to sign up with wallet", + "Failed to sign up with wallet" ); if (res) { await handlePostAuth({ @@ -1419,7 +1425,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const loginOrSignupWithWallet = useCallback( @@ -1432,13 +1438,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1456,7 +1462,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginOrSignupWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to login or sign up with wallet", + "Failed to login or sign up with wallet" ); if (res) { await handlePostAuth({ @@ -1467,7 +1473,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const initOtp = useCallback( @@ -1475,16 +1481,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.initOtp(params), callbacks, - "Failed to initialize OTP", + "Failed to initialize OTP" ); }, - [client, callbacks], + [client, callbacks] ); const verifyOtp = useCallback( @@ -1497,16 +1503,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.verifyOtp(params), callbacks, - "Failed to verify OTP", + "Failed to verify OTP" ); }, - [client, callbacks], + [client, callbacks] ); const loginWithOtp = useCallback( @@ -1519,14 +1525,14 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } const res = await withTurnkeyErrorHandling( () => client.loginWithOtp(params), callbacks, - "Failed to login with OTP", + "Failed to login with OTP" ); if (res) { await handlePostAuth({ @@ -1537,7 +1543,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks], + [client, callbacks] ); const signUpWithOtp = useCallback( @@ -1551,13 +1557,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1578,7 +1584,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithOtp(params), callbacks, - "Failed to sign up with OTP", + "Failed to sign up with OTP" ); if (res) { await handlePostAuth({ @@ -1589,7 +1595,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const completeOtp = useCallback( @@ -1608,13 +1614,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -1636,7 +1642,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.completeOtp(params), callbacks, - "Failed to complete OTP", + "Failed to complete OTP" ); if (res) { await handlePostAuth({ @@ -1647,7 +1653,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const loginWithOauth = useCallback( @@ -1660,14 +1666,14 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } const res = await withTurnkeyErrorHandling( () => client.loginWithOauth(params), callbacks, - "Failed to login with OAuth", + "Failed to login with OAuth" ); if (res) { await handlePostAuth({ @@ -1678,7 +1684,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks], + [client, callbacks] ); const signUpWithOauth = useCallback( @@ -1692,13 +1698,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1713,7 +1719,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithOauth(params), callbacks, - "Failed to sign up with OAuth", + "Failed to sign up with OAuth" ); if (res) { await handlePostAuth({ @@ -1724,7 +1730,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const completeOauth = useCallback( @@ -1739,13 +1745,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -1762,7 +1768,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.completeOauth(params), callbacks, - "Failed to complete OAuth", + "Failed to complete OAuth" ); if (res) { await handlePostAuth({ @@ -1773,7 +1779,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig], + [client, callbacks, masterConfig] ); const fetchWallets = useCallback( @@ -1784,16 +1790,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.fetchWallets(params), callbacks, - "Failed to fetch wallets", + "Failed to fetch wallets" ); }, - [client, callbacks], + [client, callbacks] ); const fetchWalletAccounts = useCallback( @@ -1806,16 +1812,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.fetchWalletAccounts(params), callbacks, - "Failed to fetch wallet accounts", + "Failed to fetch wallet accounts" ); }, - [client, callbacks], + [client, callbacks] ); const fetchPrivateKeys = useCallback( @@ -1825,16 +1831,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } return withTurnkeyErrorHandling( () => client.fetchPrivateKeys(params), callbacks, - "Failed to fetch private keys", + "Failed to fetch private keys" ); }, - [client, callbacks], + [client, callbacks] ); const signMessage = useCallback( @@ -1849,15 +1855,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.signMessage(params), callbacks, - "Failed to sign message", + "Failed to sign message" ); }, - [client, callbacks], + [client, callbacks] ); const handleSignMessage = useCallback( @@ -1875,7 +1881,7 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return new Promise((resolve, reject) => { pushPage({ @@ -1905,7 +1911,7 @@ export const ClientProvider: React.FC = ({ }); }); }, - [client, callbacks], + [client, callbacks] ); const signTransaction = useCallback( @@ -1918,15 +1924,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.signTransaction(params), callbacks, - "Failed to sign transaction", + "Failed to sign transaction" ); }, - [client, callbacks], + [client, callbacks] ); const signAndSendTransaction = useCallback( @@ -1940,15 +1946,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.signAndSendTransaction(params), callbacks, - "Failed to sign transaction", + "Failed to sign transaction" ); }, - [client, callbacks], + [client, callbacks] ); const fetchUser = useCallback( @@ -1960,15 +1966,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.fetchUser(params), callbacks, - "Failed to fetch user", + "Failed to fetch user" ); }, - [client, callbacks], + [client, callbacks] ); const fetchOrCreateP256ApiKeyUser = useCallback( @@ -1982,15 +1988,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.fetchOrCreateP256ApiKeyUser(params), callbacks, - "Failed to fetch or create delegated access user", + "Failed to fetch or create delegated access user" ); }, - [client, callbacks], + [client, callbacks] ); const fetchOrCreatePolicies = useCallback( @@ -2000,15 +2006,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.fetchOrCreatePolicies(params), callbacks, - "Failed to fetch or create delegated access user", + "Failed to fetch or create delegated access user" ); }, - [client, callbacks], + [client, callbacks] ); const updateUserEmail = useCallback( @@ -2021,17 +2027,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.updateUserEmail(params), callbacks, - "Failed to update user email", + "Failed to update user email" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const removeUserEmail = useCallback( @@ -2042,17 +2048,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.removeUserEmail(params), callbacks, - "Failed to remove user email", + "Failed to remove user email" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const updateUserPhoneNumber = useCallback( @@ -2065,17 +2071,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.updateUserPhoneNumber(params), callbacks, - "Failed to update user phone number", + "Failed to update user phone number" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const removeUserPhoneNumber = useCallback( @@ -2086,17 +2092,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.removeUserPhoneNumber(params), callbacks, - "Failed to remove user phone number", + "Failed to remove user phone number" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const updateUserName = useCallback( @@ -2108,17 +2114,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.updateUserName(params), callbacks, - "Failed to update user name", + "Failed to update user name" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const addOauthProvider = useCallback( @@ -2131,17 +2137,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.addOauthProvider(params), callbacks, - "Failed to add OAuth provider", + "Failed to add OAuth provider" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const removeOauthProviders = useCallback( @@ -2153,17 +2159,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.removeOauthProviders(params), callbacks, - "Failed to remove OAuth providers", + "Failed to remove OAuth providers" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const addPasskey = useCallback( @@ -2176,17 +2182,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.addPasskey(params), callbacks, - "Failed to add passkey", + "Failed to add passkey" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const removePasskeys = useCallback( @@ -2198,17 +2204,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.removePasskeys(params), callbacks, - "Failed to remove passkeys", + "Failed to remove passkeys" ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const createWallet = useCallback( @@ -2222,17 +2228,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.createWallet(params), callbacks, - "Failed to create wallet", + "Failed to create wallet" ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const createWalletAccounts = useCallback( @@ -2245,17 +2251,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.createWalletAccounts(params), callbacks, - "Failed to create wallet accounts", + "Failed to create wallet accounts" ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const exportWallet = useCallback( @@ -2268,17 +2274,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.exportWallet(params), callbacks, - "Failed to export wallet", + "Failed to export wallet" ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const exportPrivateKey = useCallback( @@ -2291,16 +2297,16 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.exportPrivateKey(params), callbacks, - "Failed to export private key", + "Failed to export private key" ); return res; }, - [client, callbacks], + [client, callbacks] ); const exportWalletAccount = useCallback( @@ -2313,17 +2319,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.exportWalletAccount(params), callbacks, - "Failed to export wallet accounts", + "Failed to export wallet accounts" ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const importWallet = useCallback( @@ -2337,17 +2343,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.importWallet(params), callbacks, - "Failed to import wallet", + "Failed to import wallet" ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks], + [client, callbacks] ); const importPrivateKey = useCallback( @@ -2362,16 +2368,16 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const res = await withTurnkeyErrorHandling( () => client.importPrivateKey(params), callbacks, - "Failed to import private key", + "Failed to import private key" ); return res; }, - [client, callbacks], + [client, callbacks] ); const deleteSubOrganization = useCallback( @@ -2382,15 +2388,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.deleteSubOrganization(params), callbacks, - "Failed to delete sub-organization", + "Failed to delete sub-organization" ); }, - [client, callbacks], + [client, callbacks] ); const storeSession = useCallback( @@ -2401,12 +2407,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); await withTurnkeyErrorHandling( () => client.storeSession(params), callbacks, - "Failed to store session", + "Failed to store session" ); const sessionKey = await getActiveSessionKey(); const session = await getSession({ @@ -2422,7 +2428,7 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return; }, - [client, callbacks], + [client, callbacks] ); const clearSession = useCallback( @@ -2430,12 +2436,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); await withTurnkeyErrorHandling( () => client.clearSession(params), callbacks, - "Failed to clear session", + "Failed to clear session" ); const session = await getSession(); const allSessions = await getAllSessions(); @@ -2443,21 +2449,21 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return; }, - [client, callbacks], + [client, callbacks] ); const clearAllSessions = useCallback(async (): Promise => { if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); setSession(undefined); setAllSessions(undefined); return await withTurnkeyErrorHandling( () => client.clearAllSessions(), callbacks, - "Failed to clear all sessions", + "Failed to clear all sessions" ); }, [client, callbacks]); @@ -2472,7 +2478,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); } @@ -2480,7 +2486,7 @@ export const ClientProvider: React.FC = ({ if (!activeSessionKey) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -2489,7 +2495,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.refreshSession({ ...params }), callbacks, - "Failed to refresh session", + "Failed to refresh session" ); const session = await getSession({ sessionKey }); @@ -2508,7 +2514,7 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return res; }, - [client, callbacks], + [client, callbacks] ); const getSession = useCallback( @@ -2516,15 +2522,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.getSession(params), callbacks, - "Failed to get session", + "Failed to get session" ); }, - [client, callbacks], + [client, callbacks] ); const getAllSessions = useCallback(async (): Promise< @@ -2533,12 +2539,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.getAllSessions(), callbacks, - "Failed to get all sessions", + "Failed to get all sessions" ); }, [client, callbacks]); @@ -2547,23 +2553,23 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const session = await withTurnkeyErrorHandling( () => client.getSession({ sessionKey: params.sessionKey }), callbacks, - "Failed to get session", + "Failed to get session" ); if (!session) { throw new TurnkeyError( "Session not found.", - TurnkeyErrorCodes.NOT_FOUND, + TurnkeyErrorCodes.NOT_FOUND ); } await withTurnkeyErrorHandling( () => client.setActiveSession(params), callbacks, - "Failed to set active session", + "Failed to set active session" ); setSession(session); await withTurnkeyErrorHandling( @@ -2572,11 +2578,11 @@ export const ClientProvider: React.FC = ({ await refreshUser(); }, callbacks, - "Failed to refresh data after setting active session", + "Failed to refresh data after setting active session" ); return; }, - [client, callbacks], + [client, callbacks] ); const getActiveSessionKey = useCallback(async (): Promise< @@ -2585,12 +2591,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.getActiveSessionKey(), callbacks, - "Failed to get active session key", + "Failed to get active session key" ); }, [client, callbacks]); @@ -2598,12 +2604,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.clearUnusedKeyPairs(), callbacks, - "Failed to clear unused key pairs", + "Failed to clear unused key pairs" ); }, [client, callbacks]); @@ -2617,15 +2623,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.createApiKeyPair(params), callbacks, - "Failed to create API key pair", + "Failed to create API key pair" ); }, - [client, callbacks], + [client, callbacks] ); const getProxyAuthConfig = @@ -2633,12 +2639,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); return withTurnkeyErrorHandling( () => client.getProxyAuthConfig(), callbacks, - "Failed to get proxy auth config", + "Failed to get proxy auth config" ); }, [client, callbacks]); @@ -2648,18 +2654,18 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const user = await withTurnkeyErrorHandling( () => fetchUser({ stampWith }), callbacks, - "Failed to refresh user", + "Failed to refresh user" ); if (user) { setUser(user); } }, - [client, callbacks], + [client, callbacks] ); const refreshWallets = useCallback( @@ -2668,25 +2674,25 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); const walletProviders = await withTurnkeyErrorHandling( () => fetchWalletProviders(), callbacks, - "Failed to refresh wallets", + "Failed to refresh wallets" ); const wallets = await withTurnkeyErrorHandling( () => fetchWallets({ stampWith, walletProviders }), callbacks, - "Failed to refresh wallets", + "Failed to refresh wallets" ); if (wallets) { setWallets(wallets); } }, - [client, callbacks, fetchWalletProviders, fetchWallets], + [client, callbacks, fetchWalletProviders, fetchWallets] ); const handleDiscordOauth = useCallback( @@ -2709,19 +2715,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!clientId) { throw new TurnkeyError( "Discord Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -2749,19 +2755,19 @@ export const ClientProvider: React.FC = ({ discordAuthUrl.searchParams.set("scope", "identify email"); discordAuthUrl.searchParams.set( "state", - `provider=discord&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}`, + `provider=discord&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}` ); if (additionalParameters) { const extra = Object.entries(additionalParameters) .map( - ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`, + ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}` ) .join("&"); if (extra) { discordAuthUrl.searchParams.set( "state", - discordAuthUrl.searchParams.get("state")! + `&${extra}`, + discordAuthUrl.searchParams.get("state")! + `&${extra}` ); } } @@ -2773,7 +2779,7 @@ export const ClientProvider: React.FC = ({ reject(new Error("Authentication timed out.")); }, 300000); window.addEventListener("beforeunload", () => - clearTimeout(timeout), + clearTimeout(timeout) ); }); } else { @@ -2785,7 +2791,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -2881,7 +2887,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks], + [client, callbacks] ); const handleXOauth = useCallback( @@ -2904,19 +2910,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!clientId) { throw new TurnkeyError( "Twitter Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -2944,19 +2950,19 @@ export const ClientProvider: React.FC = ({ twitterAuthUrl.searchParams.set("scope", "tweet.read users.read"); twitterAuthUrl.searchParams.set( "state", - `provider=twitter&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}`, + `provider=twitter&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}` ); if (additionalParameters) { const extra = Object.entries(additionalParameters) .map( - ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`, + ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}` ) .join("&"); if (extra) { twitterAuthUrl.searchParams.set( "state", - twitterAuthUrl.searchParams.get("state")! + `&${extra}`, + twitterAuthUrl.searchParams.get("state")! + `&${extra}` ); } } @@ -2968,7 +2974,7 @@ export const ClientProvider: React.FC = ({ reject(new Error("Authentication timed out.")); }, 300000); window.addEventListener("beforeunload", () => - clearTimeout(timeout), + clearTimeout(timeout) ); }); } else { @@ -2980,7 +2986,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -3076,7 +3082,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks], + [client, callbacks] ); const handleGoogleOauth = useCallback( @@ -3099,19 +3105,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!clientId) { throw new TurnkeyError( "Google Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -3141,7 +3147,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, + `${encodeURIComponent(key)}=${encodeURIComponent(value)}` ) .join("&"); if (additionalState) { @@ -3162,7 +3168,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout), + clearTimeout(timeout) ); }); } else { @@ -3175,7 +3181,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -3249,7 +3255,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks], + [client, callbacks] ); const handleAppleOauth = useCallback( @@ -3272,19 +3278,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!clientId) { throw new TurnkeyError( "Apple Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -3312,7 +3318,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, + `${encodeURIComponent(key)}=${encodeURIComponent(value)}` ) .join("&"); if (additionalState) { @@ -3332,7 +3338,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout), + clearTimeout(timeout) ); }); } else { @@ -3345,7 +3351,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -3418,7 +3424,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks], + [client, callbacks] ); const handleFacebookOauth = useCallback( @@ -3441,19 +3447,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!clientId) { throw new TurnkeyError( "Facebook Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION, + TurnkeyErrorCodes.INVALID_CONFIGURATION ); } @@ -3488,7 +3494,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, + `${encodeURIComponent(key)}=${encodeURIComponent(value)}` ) .join("&"); if (additionalState) { @@ -3508,7 +3514,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout), + clearTimeout(timeout) ); }); } else { @@ -3521,7 +3527,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -3570,7 +3576,7 @@ export const ClientProvider: React.FC = ({ clientId, redirectURI, authCode, - verifier, + verifier ) .then((tokenData) => { sessionStorage.removeItem("facebook_verifier"); @@ -3617,7 +3623,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks], + [client, callbacks] ); const handleLogin = useCallback( @@ -3627,7 +3633,7 @@ export const ClientProvider: React.FC = ({ content: , }); }, - [pushPage], + [pushPage] ); const handleExportWallet = useCallback( @@ -3649,7 +3655,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage], + [pushPage] ); const handleExportPrivateKey = useCallback( @@ -3673,7 +3679,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage], + [pushPage] ); const handleExportWalletAccount = useCallback( @@ -3697,7 +3703,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage], + [pushPage] ); const handleImportWallet = useCallback( @@ -3733,8 +3739,8 @@ export const ClientProvider: React.FC = ({ {...(stampWith !== undefined && { stampWith })} /> ), - }), - ), + }) + ) ); } catch (error) { if (error instanceof TurnkeyError) { @@ -3743,11 +3749,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to import wallet.", TurnkeyErrorCodes.IMPORT_WALLET_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleImportPrivateKey = useCallback( @@ -3784,8 +3790,8 @@ export const ClientProvider: React.FC = ({ {...(stampWith !== undefined && { stampWith })} /> ), - }), - ), + }) + ) ); } catch (error) { if (error instanceof TurnkeyError) { @@ -3794,11 +3800,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to import private key.", TurnkeyErrorCodes.IMPORT_WALLET_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleUpdateUserName = useCallback( @@ -3819,13 +3825,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -3870,7 +3876,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }), + }) ); } else { const res = await updateUserName({ @@ -3888,11 +3894,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to update user name.", TurnkeyErrorCodes.UPDATE_USER_NAME_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleUpdateUserPhoneNumber = useCallback( @@ -3908,27 +3914,27 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED, + TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED ); } if (!masterConfig.auth?.methods?.smsOtpAuthEnabled) { throw new TurnkeyError( "SMS OTP authentication is not enabled in the configuration.", - TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED, + TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED ); } @@ -3968,7 +3974,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }), + }) ); } else { const otpId = await initOtp({ @@ -4017,7 +4023,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to update phone number", + "Failed to update phone number" ); } } catch (error) { @@ -4027,11 +4033,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for sms verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleUpdateUserEmail = useCallback( @@ -4046,13 +4052,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -4094,7 +4100,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }), + }) ); } else { const otpId = await initOtp({ @@ -4140,7 +4146,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to update email", + "Failed to update email" ); } } catch (error) { @@ -4150,11 +4156,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for email verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleAddEmail = useCallback( @@ -4169,13 +4175,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -4219,7 +4225,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }), + }) ); } else { const otpId = await initOtp({ @@ -4265,7 +4271,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add email", + "Failed to add email" ); } } catch (error) { @@ -4275,11 +4281,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for email verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleAddPhoneNumber = useCallback( @@ -4295,26 +4301,26 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED, + TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED ); } if (!masterConfig.auth?.methods?.smsOtpAuthEnabled) { throw new TurnkeyError( "SMS OTP authentication is not enabled in the configuration.", - TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED, + TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED ); } @@ -4362,7 +4368,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add phone number", + "Failed to add phone number" ); } else { const otpId = await initOtp({ @@ -4411,7 +4417,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add phone number", + "Failed to add phone number" ); } } catch (error) { @@ -4421,11 +4427,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for sms verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleRemovePasskey = useCallback( @@ -4449,12 +4455,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } return withTurnkeyErrorHandling( @@ -4483,10 +4489,10 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to remove passkey", + "Failed to remove passkey" ); }, - [pushPage], + [pushPage] ); const handleAddPasskey = useCallback( @@ -4507,12 +4513,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } const userId = params?.userId || session.userId; @@ -4547,11 +4553,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to add passkey in handler.", TurnkeyErrorCodes.ADD_PASSKEY_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleRemoveOauthProvider = useCallback( @@ -4573,12 +4579,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } try { @@ -4611,11 +4617,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove OAuth provider in handler.", TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleAddOauthProvider = useCallback( @@ -4626,12 +4632,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -4701,12 +4707,12 @@ export const ClientProvider: React.FC = ({ default: { throw new TurnkeyError( `Unsupported OAuth provider: ${providerName}`, - TurnkeyErrorCodes.NOT_FOUND, + TurnkeyErrorCodes.NOT_FOUND ); } } }, - [pushPage], + [pushPage] ); const handleConnectExternalWallet = useCallback( @@ -4717,18 +4723,18 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } if (!masterConfig?.walletConfig?.features?.connecting) { throw new TurnkeyError( "Wallet connecting is not enabled.", - TurnkeyErrorCodes.FEATURE_NOT_ENABLED, + TurnkeyErrorCodes.FEATURE_NOT_ENABLED ); } @@ -4744,7 +4750,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage], + [pushPage] ); const handleRemoveUserEmail = useCallback( @@ -4757,7 +4763,7 @@ export const ClientProvider: React.FC = ({ if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -4789,11 +4795,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove user email.", TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); const handleRemoveUserPhoneNumber = useCallback( @@ -4806,7 +4812,7 @@ export const ClientProvider: React.FC = ({ if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND, + TurnkeyErrorCodes.NO_SESSION_FOUND ); } @@ -4838,11 +4844,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove user phone number.", TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - error, + error ); } }, - [pushPage], + [pushPage] ); useEffect(() => { @@ -4856,7 +4862,7 @@ export const ClientProvider: React.FC = ({ // Only fetch the proxy auth config if we have an authProxyId. This is a way for devs to explicitly disable the proxy auth. proxyAuthConfig = await getAuthProxyConfig( config.authProxyConfigId, - config.authProxyUrl, + config.authProxyUrl ); proxyAuthConfigRef.current = proxyAuthConfig; } diff --git a/packages/react-wallet-kit/src/providers/modal/Hook.tsx b/packages/react-wallet-kit/src/providers/modal/Hook.tsx index 385d3f360..0d0d51041 100644 --- a/packages/react-wallet-kit/src/providers/modal/Hook.tsx +++ b/packages/react-wallet-kit/src/providers/modal/Hook.tsx @@ -1,7 +1,7 @@ "use client"; import { useContext } from "react"; -import { ModalContext, ModalContextType } from "./Provider"; +import { ModalContext, type ModalContextType } from "./Provider"; /** @internal */ export const useModal = (): ModalContextType => { diff --git a/packages/react-wallet-kit/src/providers/modal/Provider.tsx b/packages/react-wallet-kit/src/providers/modal/Provider.tsx index 8013fd727..b9ad375e6 100644 --- a/packages/react-wallet-kit/src/providers/modal/Provider.tsx +++ b/packages/react-wallet-kit/src/providers/modal/Provider.tsx @@ -1,7 +1,7 @@ "use client"; import { useScreenSize } from "../../utils/utils"; -import { createContext, useState, ReactNode } from "react"; +import { createContext, useState, type ReactNode } from "react"; export type ModalPage = { key: string; @@ -21,7 +21,7 @@ export type ModalContextType = { }; export const ModalContext = createContext( - undefined, + undefined ); export function ModalProvider({ children }: { children: ReactNode }) { diff --git a/packages/sdk-browser/package.json b/packages/sdk-browser/package.json index 5d520f862..b4830866a 100644 --- a/packages/sdk-browser/package.json +++ b/packages/sdk-browser/package.json @@ -60,7 +60,7 @@ "hpke-js": "1.2.7" }, "devDependencies": { - "glob": "8.0.3", + "glob": "11.0.3", "typescript": "5.4.3" }, "engines": { diff --git a/packages/sdk-browser/scripts/codegen.js b/packages/sdk-browser/scripts/codegen.js index 5665b783d..5ea8678ce 100644 --- a/packages/sdk-browser/scripts/codegen.js +++ b/packages/sdk-browser/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json", + "public_api.swagger.json" ); const TARGET_API_TYPES_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk_api_types.ts", + "sdk_api_types.ts" ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts", + "sdk-client-base.ts" ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -129,11 +129,11 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import type { operations, definitions } from "../__inputs__/public_api.types";', + 'import type { operations, definitions } from "../__inputs__/public_api.types";' ); imports.push( - 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";', + 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";' ); const latestVersions = extractLatestVersions(swaggerSpec.definitions); @@ -145,7 +145,7 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "", + "" ); const methodName = `${ @@ -225,20 +225,20 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { codeBuffer.push( ...[queryTypeBinding, substitutionTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `type ${binding.name} = ${binding.value};`), + .map((binding) => `type ${binding.name} = ${binding.value};`) ); // exported type aliases codeBuffer.push( ...[responseTypeBinding, inputTypeBinding, bodyTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `export type ${binding.name} = ${binding.value};`), + .map((binding) => `export type ${binding.name} = ${binding.value};`) ); } await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") ); }; @@ -252,15 +252,15 @@ const generateSDKClientFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, TActivityResponse, TActivityStatus, TSignedRequest } from "@turnkey/http";', + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' ); imports.push( - 'import type { definitions } from "../__inputs__/public_api.types";', + 'import type { definitions } from "../__inputs__/public_api.types";' ); imports.push( - 'import { GrpcStatus, TStamper, TurnkeyRequestError, TurnkeySDKClientConfig } from "../__types__/base";', + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";' ); imports.push('import { VERSION } from "../__generated__/version";'); @@ -396,7 +396,7 @@ export class TurnkeySDKClientBase { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "", + "" ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -425,7 +425,7 @@ export class TurnkeySDKClientBase { ...input, organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }`, + }` ); } else if (methodType === "command") { const unversionedActivityType = `ACTIVITY_TYPE_${operationNameWithoutNamespace @@ -449,7 +449,7 @@ export class TurnkeySDKClientBase { timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}"); - }`, + }` ); } else if (methodType === "activityDecision") { codeBuffer.push( @@ -466,7 +466,7 @@ export class TurnkeySDKClientBase { .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }); - }`, + }` ); } // generate a stamping method for each method @@ -483,7 +483,7 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }`, + }` ); } @@ -492,7 +492,7 @@ export class TurnkeySDKClientBase { await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") ); }; @@ -505,7 +505,7 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8", + "utf-8" ); const swaggerSpec = JSON.parse(swaggerSpecFile); diff --git a/packages/sdk-browser/src/__clients__/browser-clients.ts b/packages/sdk-browser/src/__clients__/browser-clients.ts index 1c034cf1f..a18151403 100644 --- a/packages/sdk-browser/src/__clients__/browser-clients.ts +++ b/packages/sdk-browser/src/__clients__/browser-clients.ts @@ -3,19 +3,19 @@ import type { IframeStamper, KeyFormat } from "@turnkey/iframe-stamper"; import type { WebauthnStamper } from "@turnkey/webauthn-stamper"; import type { IndexedDbStamper } from "@turnkey/indexed-db-stamper"; import { getWebAuthnAttestation } from "@turnkey/http"; -import { Session, SessionType } from "@turnkey/sdk-types"; +import { type Session, SessionType } from "@turnkey/sdk-types"; import type * as SdkApiTypes from "../__generated__/sdk_api_types"; import { TurnkeyBaseClient } from "../__clients__/base-client"; import { AuthClient, - TurnkeySDKClientConfig, - TurnkeyWalletClientConfig, - LoginWithBundleParams, - LoginWithPasskeyParams, - LoginWithWalletParams, - RefreshSessionParams, + type TurnkeySDKClientConfig, + type TurnkeyWalletClientConfig, + type LoginWithBundleParams, + type LoginWithPasskeyParams, + type LoginWithWalletParams, + type RefreshSessionParams, } from "@types"; import { generateRandomBuffer, base64UrlEncode } from "@utils"; @@ -116,7 +116,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { organizationId?: string; }): Promise => { const readOnlySessionResult = await this.createReadOnlySession( - config || {}, + config || {} ); const session: Session = { sessionType: SessionType.READ_ONLY, @@ -157,7 +157,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { case SessionType.READ_ONLY: { if (!(this instanceof TurnkeyPasskeyClient)) { throw new Error( - "You must use a passkey client to refresh a read-only session.", + "You must use a passkey client to refresh a read-only session." ); } @@ -184,10 +184,10 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { keyPair = await crypto.subtle.generateKey( { name: "ECDSA", namedCurve: "P-256" }, false, - ["sign", "verify"], + ["sign", "verify"] ); const rawPubKey = new Uint8Array( - await crypto.subtle.exportKey("raw", keyPair.publicKey), + await crypto.subtle.exportKey("raw", keyPair.publicKey) ); compressedHex = uint8ArrayToHexString(pointEncode(rawPubKey)); } @@ -210,7 +210,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { if (!targetPublicKey) { throw new Error( - "Unable to refresh session: missing target public key.", + "Unable to refresh session: missing target public key." ); } @@ -234,7 +234,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } throw new Error( - "Unsupported client type for read-write session refresh.", + "Unsupported client type for read-write session refresh." ); } @@ -265,7 +265,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else { // Throw an error if the client is not an iframe client throw new Error( - "You must use an iframe client to log in with a session.", + "You must use an iframe client to log in with a session." ); //should we default to a "localStorage" client? } const whoAmI = await this.getWhoami(); @@ -294,7 +294,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else { // Throw an error if the client is not an indexedDb client throw new Error( - "You must use an indexedDb client to log in with a session.", + "You must use an indexedDb client to log in with a session." ); } }; @@ -333,7 +333,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else if (sessionType === SessionType.READ_WRITE) { if (!publicKey) { throw new Error( - "You must provide a publicKey to create a passkey read write session.", + "You must provide a publicKey to create a passkey read write session." ); } @@ -385,7 +385,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else if (sessionType === SessionType.READ_WRITE) { if (!publicKey) { throw new Error( - "You must provide a publicKey to create a read-write session.", + "You must provide a publicKey to create a read-write session." ); } @@ -440,12 +440,12 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { if (phoneNumber) { promises.push( - this.updateUser({ userId, userPhoneNumber: "", userTagIds: [] }), + this.updateUser({ userId, userPhoneNumber: "", userTagIds: [] }) ); } if (email) { promises.push( - this.updateUser({ userId, userEmail: "", userTagIds: [] }), + this.updateUser({ userId, userEmail: "", userTagIds: [] }) ); } if (authenticatorIds && authenticatorIds.length > 0) { @@ -453,7 +453,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } if (oauthProviderIds && oauthProviderIds.length > 0) { promises.push( - this.deleteOauthProviders({ userId, providerIds: oauthProviderIds }), + this.deleteOauthProviders({ userId, providerIds: oauthProviderIds }) ); } if (apiKeyIds && apiKeyIds.length > 0) { @@ -508,12 +508,12 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { userId, userPhoneNumber: phoneNumber, userTagIds: [], - }), + }) ); } if (email) { promises.push( - this.updateUser({ userId, userEmail: email, userTagIds: [] }), + this.updateUser({ userId, userEmail: email, userTagIds: [] }) ); } if (authenticators && authenticators.length > 0) { @@ -578,7 +578,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } if (Object.keys(userUpdates).length > 0) { promises.push( - this.updateUser({ userId, ...userUpdates, userTagIds: [] }), + this.updateUser({ userId, ...userUpdates, userTagIds: [] }) ); } @@ -589,7 +589,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createAuthenticators({ userId, authenticators: authenticators.add, - }), + }) ); } if (authenticators.deleteIds?.length) { @@ -597,7 +597,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteAuthenticators({ userId, authenticatorIds: authenticators.deleteIds, - }), + }) ); } } @@ -609,7 +609,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createOauthProviders({ userId, oauthProviders: oauthProviders.add, - }), + }) ); } if (oauthProviders.deleteIds?.length) { @@ -617,7 +617,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteOauthProviders({ userId, providerIds: oauthProviders.deleteIds, - }), + }) ); } } @@ -629,7 +629,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createApiKeys({ userId, apiKeys: apiKeys.add, - }), + }) ); } if (apiKeys.deleteIds?.length) { @@ -637,7 +637,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteApiKeys({ userId, apiKeyIds: apiKeys.deleteIds, - }), + }) ); } } @@ -666,7 +666,7 @@ export class TurnkeyPasskeyClient extends TurnkeyBrowserClient { * @returns {Promise} */ createUserPasskey = async ( - config: Record = {}, + config: Record = {} ): Promise => { const challenge = generateRandomBuffer(); const encodedChallenge = base64UrlEncode(challenge); @@ -745,44 +745,44 @@ export class TurnkeyIframeClient extends TurnkeyBrowserClient { } injectCredentialBundle = async ( - credentialBundle: string, + credentialBundle: string ): Promise => { return await (this.stamper as IframeStamper).injectCredentialBundle( - credentialBundle, + credentialBundle ); }; injectWalletExportBundle = async ( credentialBundle: string, - organizationId: string, + organizationId: string ): Promise => { return await (this.stamper as IframeStamper).injectWalletExportBundle( credentialBundle, - organizationId, + organizationId ); }; injectKeyExportBundle = async ( credentialBundle: string, organizationId: string, - keyFormat?: KeyFormat | undefined, + keyFormat?: KeyFormat | undefined ): Promise => { return await (this.stamper as IframeStamper).injectKeyExportBundle( credentialBundle, organizationId, - keyFormat, + keyFormat ); }; injectImportBundle = async ( bundle: string, organizationId: string, - userId: string, + userId: string ): Promise => { return await (this.stamper as IframeStamper).injectImportBundle( bundle, organizationId, - userId, + userId ); }; @@ -791,10 +791,10 @@ export class TurnkeyIframeClient extends TurnkeyBrowserClient { }; extractKeyEncryptedBundle = async ( - keyFormat?: KeyFormat | undefined, + keyFormat?: KeyFormat | undefined ): Promise => { return await (this.stamper as IframeStamper).extractKeyEncryptedBundle( - keyFormat, + keyFormat ); }; @@ -851,7 +851,7 @@ export class TurnkeyIndexedDbClient extends TurnkeyBrowserClient { resetKeyPair = async (externalKeyPair?: CryptoKeyPair): Promise => { return await (this.stamper as IndexedDbStamper).resetKeyPair( - externalKeyPair, + externalKeyPair ); }; } diff --git a/packages/sdk-browser/src/__generated__/sdk-client-base.ts b/packages/sdk-browser/src/__generated__/sdk-client-base.ts index 927afc976..e4cb21110 100644 --- a/packages/sdk-browser/src/__generated__/sdk-client-base.ts +++ b/packages/sdk-browser/src/__generated__/sdk-client-base.ts @@ -1,20 +1,10 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { - TERMINAL_ACTIVITY_STATUSES, - TActivityResponse, - TActivityStatus, - TSignedRequest, -} from "@turnkey/http"; +import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; import type { definitions } from "../__inputs__/public_api.types"; -import { - GrpcStatus, - TStamper, - TurnkeyRequestError, - TurnkeySDKClientConfig, -} from "../__types__/base"; +import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base"; import { VERSION } from "../__generated__/version"; @@ -24,6 +14,7 @@ import { StorageKeys, getStorageValue } from "../storage"; import { parseSession } from "../utils"; + export class TurnkeySDKClientBase { config: TurnkeySDKClientConfig; @@ -38,27 +29,27 @@ export class TurnkeySDKClientBase { async request( url: string, - body: TBodyType, + body: TBodyType ): Promise { const fullUrl = this.config.apiBaseUrl + url; const stringifiedBody = JSON.stringify(body); var headers: Record = { - "X-Client-Version": VERSION, - }; + "X-Client-Version": VERSION + } if (this.stamper) { const stamp = await this.stamper.stamp(stringifiedBody); - headers[stamp.stampHeaderName] = stamp.stampHeaderValue; + headers[stamp.stampHeaderName] = stamp.stampHeaderValue } - if (this.config.readOnlySession) { - headers["X-Session"] = this.config.readOnlySession; + if (this.config.readOnlySession){ + headers["X-Session"] = this.config.readOnlySession } const response = await fetch(fullUrl, { method: "POST", headers: headers, body: stringifiedBody, - redirect: "follow", + redirect: "follow" }); if (!response.ok) { @@ -79,13 +70,12 @@ export class TurnkeySDKClientBase { async command( url: string, body: TBodyType, - resultKey: string, + resultKey: string ): Promise { const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; const maxRetries = this.config.activityPoller?.numRetries ?? 3; - const sleep = (ms: number) => - new Promise((resolve) => setTimeout(resolve, ms)); + const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); const handleResponse = (activityData: TActivityResponse): TResponseType => { const { result, status } = activityData.activity; @@ -93,7 +83,7 @@ export class TurnkeySDKClientBase { if (status === "ACTIVITY_STATUS_COMPLETED") { return { ...result[`${resultKey}` as keyof definitions["v1Result"]], - ...activityData, + ...activityData } as TResponseType; } @@ -104,19 +94,15 @@ export class TurnkeySDKClientBase { const pollStatus = async (activityId: string): Promise => { const pollBody = { activityId }; - const pollData = (await this.getActivity(pollBody)) as TActivityResponse; + const pollData = await this.getActivity(pollBody) as TActivityResponse; if (attempts > maxRetries) { return handleResponse(pollData); } attempts += 1; - - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - pollData.activity.status as TActivityStatus, - ) - ) { + + if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { await sleep(pollingDuration); return pollStatus(activityId); } @@ -124,16 +110,9 @@ export class TurnkeySDKClientBase { return handleResponse(pollData); }; - const responseData = (await this.request( - url, - body, - )) as TActivityResponse; - - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - responseData.activity.status as TActivityStatus, - ) - ) { + const responseData = await this.request(url, body) as TActivityResponse; + + if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { return pollStatus(responseData.activity.id); } @@ -142,33 +121,28 @@ export class TurnkeySDKClientBase { async activityDecision( url: string, - body: TBodyType, + body: TBodyType ): Promise { - const activityData = (await this.request(url, body)) as TActivityResponse; + const activityData = await this.request(url, body) as TActivityResponse; return { ...activityData["activity"]["result"], - ...activityData, + ...activityData } as TResponseType; } - getActivity = async ( - input: SdkApiTypes.TGetActivityBody, - ): Promise => { + + getActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_activity", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetActivity = async ( - input: SdkApiTypes.TGetActivityBody, - ): Promise => { + stampGetActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { if (!this.stamper) { return undefined; } @@ -180,25 +154,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getApiKey = async ( - input: SdkApiTypes.TGetApiKeyBody, - ): Promise => { + getApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_api_key", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetApiKey = async ( - input: SdkApiTypes.TGetApiKeyBody, - ): Promise => { + stampGetApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { if (!this.stamper) { return undefined; } @@ -210,25 +179,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getApiKeys = async ( - input: SdkApiTypes.TGetApiKeysBody = {}, - ): Promise => { + getApiKeys = async (input: SdkApiTypes.TGetApiKeysBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_api_keys", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetApiKeys = async ( - input: SdkApiTypes.TGetApiKeysBody, - ): Promise => { + stampGetApiKeys = async (input: SdkApiTypes.TGetApiKeysBody): Promise => { if (!this.stamper) { return undefined; } @@ -240,25 +204,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAttestationDocument = async ( - input: SdkApiTypes.TGetAttestationDocumentBody, - ): Promise => { + getAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_attestation", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAttestationDocument = async ( - input: SdkApiTypes.TGetAttestationDocumentBody, - ): Promise => { + stampGetAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { if (!this.stamper) { return undefined; } @@ -270,30 +229,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticator = async ( - input: SdkApiTypes.TGetAuthenticatorBody, - ): Promise => { + getAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_authenticator", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAuthenticator = async ( - input: SdkApiTypes.TGetAuthenticatorBody, - ): Promise => { + stampGetAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -301,30 +254,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticators = async ( - input: SdkApiTypes.TGetAuthenticatorsBody, - ): Promise => { + getAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_authenticators", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAuthenticators = async ( - input: SdkApiTypes.TGetAuthenticatorsBody, - ): Promise => { + stampGetAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -332,25 +279,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getBootProof = async ( - input: SdkApiTypes.TGetBootProofBody, - ): Promise => { + getBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_boot_proof", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetBootProof = async ( - input: SdkApiTypes.TGetBootProofBody, - ): Promise => { + stampGetBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { if (!this.stamper) { return undefined; } @@ -362,30 +304,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getLatestBootProof = async ( - input: SdkApiTypes.TGetLatestBootProofBody, - ): Promise => { + getLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_latest_boot_proof", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetLatestBootProof = async ( - input: SdkApiTypes.TGetLatestBootProofBody, - ): Promise => { + stampGetLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -393,30 +329,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOauth2Credential = async ( - input: SdkApiTypes.TGetOauth2CredentialBody, - ): Promise => { + getOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_oauth2_credential", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOauth2Credential = async ( - input: SdkApiTypes.TGetOauth2CredentialBody, - ): Promise => { + stampGetOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -424,30 +354,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOauthProviders = async ( - input: SdkApiTypes.TGetOauthProvidersBody, - ): Promise => { + getOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_oauth_providers", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOauthProviders = async ( - input: SdkApiTypes.TGetOauthProvidersBody, - ): Promise => { + stampGetOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -455,30 +379,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganization = async ( - input: SdkApiTypes.TGetOrganizationBody = {}, - ): Promise => { + getOrganization = async (input: SdkApiTypes.TGetOrganizationBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_organization", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOrganization = async ( - input: SdkApiTypes.TGetOrganizationBody, - ): Promise => { + stampGetOrganization = async (input: SdkApiTypes.TGetOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -486,30 +404,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganizationConfigs = async ( - input: SdkApiTypes.TGetOrganizationConfigsBody, - ): Promise => { + getOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_organization_configs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOrganizationConfigs = async ( - input: SdkApiTypes.TGetOrganizationConfigsBody, - ): Promise => { + stampGetOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -517,25 +429,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicy = async ( - input: SdkApiTypes.TGetPolicyBody, - ): Promise => { + getPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_policy", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicy = async ( - input: SdkApiTypes.TGetPolicyBody, - ): Promise => { + stampGetPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -547,30 +454,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicyEvaluations = async ( - input: SdkApiTypes.TGetPolicyEvaluationsBody, - ): Promise => { + getPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_policy_evaluations", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicyEvaluations = async ( - input: SdkApiTypes.TGetPolicyEvaluationsBody, - ): Promise => { + stampGetPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -578,25 +479,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPrivateKey = async ( - input: SdkApiTypes.TGetPrivateKeyBody, - ): Promise => { + getPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_private_key", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPrivateKey = async ( - input: SdkApiTypes.TGetPrivateKeyBody, - ): Promise => { + stampGetPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } @@ -608,30 +504,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterface = async ( - input: SdkApiTypes.TGetSmartContractInterfaceBody, - ): Promise => { + getSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_smart_contract_interface", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSmartContractInterface = async ( - input: SdkApiTypes.TGetSmartContractInterfaceBody, - ): Promise => { + stampGetSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -639,25 +529,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getUser = async ( - input: SdkApiTypes.TGetUserBody, - ): Promise => { + getUser = async (input: SdkApiTypes.TGetUserBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_user", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetUser = async ( - input: SdkApiTypes.TGetUserBody, - ): Promise => { + stampGetUser = async (input: SdkApiTypes.TGetUserBody): Promise => { if (!this.stamper) { return undefined; } @@ -669,25 +554,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallet = async ( - input: SdkApiTypes.TGetWalletBody, - ): Promise => { + getWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_wallet", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWallet = async ( - input: SdkApiTypes.TGetWalletBody, - ): Promise => { + stampGetWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -699,30 +579,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWalletAccount = async ( - input: SdkApiTypes.TGetWalletAccountBody, - ): Promise => { + getWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_wallet_account", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWalletAccount = async ( - input: SdkApiTypes.TGetWalletAccountBody, - ): Promise => { + stampGetWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -730,25 +604,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getActivities = async ( - input: SdkApiTypes.TGetActivitiesBody = {}, - ): Promise => { + getActivities = async (input: SdkApiTypes.TGetActivitiesBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_activities", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetActivities = async ( - input: SdkApiTypes.TGetActivitiesBody, - ): Promise => { + stampGetActivities = async (input: SdkApiTypes.TGetActivitiesBody): Promise => { if (!this.stamper) { return undefined; } @@ -760,30 +629,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listOauth2Credentials = async ( - input: SdkApiTypes.TListOauth2CredentialsBody, - ): Promise => { + listOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_oauth2_credentials", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampListOauth2Credentials = async ( - input: SdkApiTypes.TListOauth2CredentialsBody, - ): Promise => { + stampListOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -791,25 +654,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicies = async ( - input: SdkApiTypes.TGetPoliciesBody = {}, - ): Promise => { + getPolicies = async (input: SdkApiTypes.TGetPoliciesBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_policies", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicies = async ( - input: SdkApiTypes.TGetPoliciesBody, - ): Promise => { + stampGetPolicies = async (input: SdkApiTypes.TGetPoliciesBody): Promise => { if (!this.stamper) { return undefined; } @@ -821,30 +679,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listPrivateKeyTags = async ( - input: SdkApiTypes.TListPrivateKeyTagsBody, - ): Promise => { + listPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_private_key_tags", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampListPrivateKeyTags = async ( - input: SdkApiTypes.TListPrivateKeyTagsBody, - ): Promise => { + stampListPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -852,30 +704,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPrivateKeys = async ( - input: SdkApiTypes.TGetPrivateKeysBody = {}, - ): Promise => { + getPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_private_keys", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPrivateKeys = async ( - input: SdkApiTypes.TGetPrivateKeysBody, - ): Promise => { + stampGetPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -883,31 +729,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterfaces = async ( - input: SdkApiTypes.TGetSmartContractInterfacesBody, - ): Promise => { + getSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_smart_contract_interfaces", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSmartContractInterfaces = async ( - input: SdkApiTypes.TGetSmartContractInterfacesBody, - ): Promise => { + stampGetSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -915,25 +754,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSubOrgIds = async ( - input: SdkApiTypes.TGetSubOrgIdsBody = {}, - ): Promise => { + getSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_suborgs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSubOrgIds = async ( - input: SdkApiTypes.TGetSubOrgIdsBody, - ): Promise => { + stampGetSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody): Promise => { if (!this.stamper) { return undefined; } @@ -945,25 +779,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listUserTags = async ( - input: SdkApiTypes.TListUserTagsBody = {}, - ): Promise => { + listUserTags = async (input: SdkApiTypes.TListUserTagsBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_user_tags", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampListUserTags = async ( - input: SdkApiTypes.TListUserTagsBody, - ): Promise => { + stampListUserTags = async (input: SdkApiTypes.TListUserTagsBody): Promise => { if (!this.stamper) { return undefined; } @@ -975,25 +804,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getUsers = async ( - input: SdkApiTypes.TGetUsersBody = {}, - ): Promise => { + getUsers = async (input: SdkApiTypes.TGetUsersBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_users", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetUsers = async ( - input: SdkApiTypes.TGetUsersBody, - ): Promise => { + stampGetUsers = async (input: SdkApiTypes.TGetUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -1005,30 +829,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getVerifiedSubOrgIds = async ( - input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, - ): Promise => { + getVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_verified_suborgs", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetVerifiedSubOrgIds = async ( - input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, - ): Promise => { + stampGetVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1036,30 +854,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWalletAccounts = async ( - input: SdkApiTypes.TGetWalletAccountsBody, - ): Promise => { + getWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_wallet_accounts", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWalletAccounts = async ( - input: SdkApiTypes.TGetWalletAccountsBody, - ): Promise => { + stampGetWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1067,25 +879,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallets = async ( - input: SdkApiTypes.TGetWalletsBody = {}, - ): Promise => { + getWallets = async (input: SdkApiTypes.TGetWalletsBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_wallets", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWallets = async ( - input: SdkApiTypes.TGetWalletsBody, - ): Promise => { + stampGetWallets = async (input: SdkApiTypes.TGetWalletsBody): Promise => { if (!this.stamper) { return undefined; } @@ -1097,25 +904,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWhoami = async ( - input: SdkApiTypes.TGetWhoamiBody = {}, - ): Promise => { + getWhoami = async (input: SdkApiTypes.TGetWhoamiBody = {}): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/whoami", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWhoami = async ( - input: SdkApiTypes.TGetWhoamiBody, - ): Promise => { + stampGetWhoami = async (input: SdkApiTypes.TGetWhoamiBody): Promise => { if (!this.stamper) { return undefined; } @@ -1127,31 +929,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - approveActivity = async ( - input: SdkApiTypes.TApproveActivityBody, - ): Promise => { + approveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.activityDecision("/public/v1/submit/approve_activity", { - parameters: rest, - organizationId: - organizationId ?? session?.organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", - }); - }; + return this.activityDecision("/public/v1/submit/approve_activity", + { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" + }); + } + - stampApproveActivity = async ( - input: SdkApiTypes.TApproveActivityBody, - ): Promise => { + stampApproveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1159,38 +958,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createApiKeys = async ( - input: SdkApiTypes.TCreateApiKeysBody, - ): Promise => { + createApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_api_keys", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", - }, - "createApiKeysResult", - ); - }; + return this.command("/public/v1/submit/create_api_keys", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" + }, "createApiKeysResult"); + } - stampCreateApiKeys = async ( - input: SdkApiTypes.TCreateApiKeysBody, - ): Promise => { + + stampCreateApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1198,38 +987,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createApiOnlyUsers = async ( - input: SdkApiTypes.TCreateApiOnlyUsersBody, - ): Promise => { + + createApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_api_only_users", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", - }, - "createApiOnlyUsersResult", - ); - }; + return this.command("/public/v1/submit/create_api_only_users", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" + }, "createApiOnlyUsersResult"); + } + - stampCreateApiOnlyUsers = async ( - input: SdkApiTypes.TCreateApiOnlyUsersBody, - ): Promise => { + stampCreateApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1237,38 +1016,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createAuthenticators = async ( - input: SdkApiTypes.TCreateAuthenticatorsBody, - ): Promise => { + createAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_authenticators", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", - }, - "createAuthenticatorsResult", - ); - }; + return this.command("/public/v1/submit/create_authenticators", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" + }, "createAuthenticatorsResult"); + } - stampCreateAuthenticators = async ( - input: SdkApiTypes.TCreateAuthenticatorsBody, - ): Promise => { + + stampCreateAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1276,38 +1045,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createInvitations = async ( - input: SdkApiTypes.TCreateInvitationsBody, - ): Promise => { + + createInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_invitations", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS", - }, - "createInvitationsResult", - ); - }; + return this.command("/public/v1/submit/create_invitations", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_INVITATIONS" + }, "createInvitationsResult"); + } + - stampCreateInvitations = async ( - input: SdkApiTypes.TCreateInvitationsBody, - ): Promise => { + stampCreateInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1315,38 +1074,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createOauth2Credential = async ( - input: SdkApiTypes.TCreateOauth2CredentialBody, - ): Promise => { + createOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_oauth2_credential", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL", - }, - "createOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/create_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" + }, "createOauth2CredentialResult"); + } - stampCreateOauth2Credential = async ( - input: SdkApiTypes.TCreateOauth2CredentialBody, - ): Promise => { + + stampCreateOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1354,38 +1103,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createOauthProviders = async ( - input: SdkApiTypes.TCreateOauthProvidersBody, - ): Promise => { + + createOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_oauth_providers", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", - }, - "createOauthProvidersResult", - ); - }; + return this.command("/public/v1/submit/create_oauth_providers", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" + }, "createOauthProvidersResult"); + } + - stampCreateOauthProviders = async ( - input: SdkApiTypes.TCreateOauthProvidersBody, - ): Promise => { + stampCreateOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1393,38 +1132,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPolicies = async ( - input: SdkApiTypes.TCreatePoliciesBody, - ): Promise => { + createPolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_policies", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES", - }, - "createPoliciesResult", - ); - }; + return this.command("/public/v1/submit/create_policies", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICIES" + }, "createPoliciesResult"); + } - stampCreatePolicies = async ( - input: SdkApiTypes.TCreatePoliciesBody, - ): Promise => { + + stampCreatePolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1432,33 +1161,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPolicy = async ( - input: SdkApiTypes.TCreatePolicyBody, - ): Promise => { + + createPolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_policy", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3", - }, - "createPolicyResult", - ); - }; + return this.command("/public/v1/submit/create_policy", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICY_V3" + }, "createPolicyResult"); + } + - stampCreatePolicy = async ( - input: SdkApiTypes.TCreatePolicyBody, - ): Promise => { + stampCreatePolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -1470,38 +1190,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPrivateKeyTag = async ( - input: SdkApiTypes.TCreatePrivateKeyTagBody, - ): Promise => { + createPrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_private_key_tag", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", - }, - "createPrivateKeyTagResult", - ); - }; + return this.command("/public/v1/submit/create_private_key_tag", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" + }, "createPrivateKeyTagResult"); + } - stampCreatePrivateKeyTag = async ( - input: SdkApiTypes.TCreatePrivateKeyTagBody, - ): Promise => { + + stampCreatePrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1509,38 +1219,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createPrivateKeys = async ( - input: SdkApiTypes.TCreatePrivateKeysBody, - ): Promise => { + + createPrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_private_keys", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", - }, - "createPrivateKeysResultV2", - ); - }; + return this.command("/public/v1/submit/create_private_keys", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" + }, "createPrivateKeysResultV2"); + } + - stampCreatePrivateKeys = async ( - input: SdkApiTypes.TCreatePrivateKeysBody, - ): Promise => { + stampCreatePrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1548,38 +1248,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createReadOnlySession = async ( - input: SdkApiTypes.TCreateReadOnlySessionBody, - ): Promise => { + createReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_read_only_session", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", - }, - "createReadOnlySessionResult", - ); - }; + return this.command("/public/v1/submit/create_read_only_session", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" + }, "createReadOnlySessionResult"); + } - stampCreateReadOnlySession = async ( - input: SdkApiTypes.TCreateReadOnlySessionBody, - ): Promise => { + + stampCreateReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1587,38 +1277,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createReadWriteSession = async ( - input: SdkApiTypes.TCreateReadWriteSessionBody, - ): Promise => { + + createReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_read_write_session", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", - }, - "createReadWriteSessionResultV2", - ); - }; + return this.command("/public/v1/submit/create_read_write_session", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" + }, "createReadWriteSessionResultV2"); + } + - stampCreateReadWriteSession = async ( - input: SdkApiTypes.TCreateReadWriteSessionBody, - ): Promise => { + stampCreateReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1626,39 +1306,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createSmartContractInterface = async ( - input: SdkApiTypes.TCreateSmartContractInterfaceBody, - ): Promise => { + createSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_smart_contract_interface", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", - }, - "createSmartContractInterfaceResult", - ); - }; + return this.command("/public/v1/submit/create_smart_contract_interface", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" + }, "createSmartContractInterfaceResult"); + } - stampCreateSmartContractInterface = async ( - input: SdkApiTypes.TCreateSmartContractInterfaceBody, - ): Promise => { + + stampCreateSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1666,38 +1335,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createSubOrganization = async ( - input: SdkApiTypes.TCreateSubOrganizationBody, - ): Promise => { + + createSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_sub_organization", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", - }, - "createSubOrganizationResultV7", - ); - }; + return this.command("/public/v1/submit/create_sub_organization", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" + }, "createSubOrganizationResultV7"); + } + - stampCreateSubOrganization = async ( - input: SdkApiTypes.TCreateSubOrganizationBody, - ): Promise => { + stampCreateSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1705,38 +1364,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createUserTag = async ( - input: SdkApiTypes.TCreateUserTagBody, - ): Promise => { + createUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_user_tag", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG", - }, - "createUserTagResult", - ); - }; + return this.command("/public/v1/submit/create_user_tag", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USER_TAG" + }, "createUserTagResult"); + } - stampCreateUserTag = async ( - input: SdkApiTypes.TCreateUserTagBody, - ): Promise => { + + stampCreateUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1744,33 +1393,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createUsers = async ( - input: SdkApiTypes.TCreateUsersBody, - ): Promise => { + + createUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_users", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3", - }, - "createUsersResult", - ); - }; + return this.command("/public/v1/submit/create_users", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USERS_V3" + }, "createUsersResult"); + } + - stampCreateUsers = async ( - input: SdkApiTypes.TCreateUsersBody, - ): Promise => { + stampCreateUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -1782,33 +1422,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createWallet = async ( - input: SdkApiTypes.TCreateWalletBody, - ): Promise => { + createWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_wallet", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET", - }, - "createWalletResult", - ); - }; + return this.command("/public/v1/submit/create_wallet", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET" + }, "createWalletResult"); + } - stampCreateWallet = async ( - input: SdkApiTypes.TCreateWalletBody, - ): Promise => { + + stampCreateWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -1820,38 +1451,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createWalletAccounts = async ( - input: SdkApiTypes.TCreateWalletAccountsBody, - ): Promise => { + + createWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/create_wallet_accounts", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", - }, - "createWalletAccountsResult", - ); - }; + return this.command("/public/v1/submit/create_wallet_accounts", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" + }, "createWalletAccountsResult"); + } + - stampCreateWalletAccounts = async ( - input: SdkApiTypes.TCreateWalletAccountsBody, - ): Promise => { + stampCreateWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1859,38 +1480,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteApiKeys = async ( - input: SdkApiTypes.TDeleteApiKeysBody, - ): Promise => { + deleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_api_keys", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS", - }, - "deleteApiKeysResult", - ); - }; + return this.command("/public/v1/submit/delete_api_keys", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_API_KEYS" + }, "deleteApiKeysResult"); + } - stampDeleteApiKeys = async ( - input: SdkApiTypes.TDeleteApiKeysBody, - ): Promise => { + + stampDeleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1898,38 +1509,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteAuthenticators = async ( - input: SdkApiTypes.TDeleteAuthenticatorsBody, - ): Promise => { + + deleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_authenticators", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", - }, - "deleteAuthenticatorsResult", - ); - }; + return this.command("/public/v1/submit/delete_authenticators", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" + }, "deleteAuthenticatorsResult"); + } - stampDeleteAuthenticators = async ( - input: SdkApiTypes.TDeleteAuthenticatorsBody, - ): Promise => { + + stampDeleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1937,38 +1538,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteInvitation = async ( - input: SdkApiTypes.TDeleteInvitationBody, - ): Promise => { + + deleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_invitation", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION", - }, - "deleteInvitationResult", - ); - }; + return this.command("/public/v1/submit/delete_invitation", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_INVITATION" + }, "deleteInvitationResult"); + } + - stampDeleteInvitation = async ( - input: SdkApiTypes.TDeleteInvitationBody, - ): Promise => { + stampDeleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1976,38 +1567,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteOauth2Credential = async ( - input: SdkApiTypes.TDeleteOauth2CredentialBody, - ): Promise => { + deleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_oauth2_credential", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL", - }, - "deleteOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/delete_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" + }, "deleteOauth2CredentialResult"); + } - stampDeleteOauth2Credential = async ( - input: SdkApiTypes.TDeleteOauth2CredentialBody, - ): Promise => { + + stampDeleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2015,38 +1596,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteOauthProviders = async ( - input: SdkApiTypes.TDeleteOauthProvidersBody, - ): Promise => { + + deleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_oauth_providers", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", - }, - "deleteOauthProvidersResult", - ); - }; + return this.command("/public/v1/submit/delete_oauth_providers", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" + }, "deleteOauthProvidersResult"); + } - stampDeleteOauthProviders = async ( - input: SdkApiTypes.TDeleteOauthProvidersBody, - ): Promise => { + + stampDeleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2054,33 +1625,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePolicy = async ( - input: SdkApiTypes.TDeletePolicyBody, - ): Promise => { + + deletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_policy", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY", - }, - "deletePolicyResult", - ); - }; + return this.command("/public/v1/submit/delete_policy", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_POLICY" + }, "deletePolicyResult"); + } + - stampDeletePolicy = async ( - input: SdkApiTypes.TDeletePolicyBody, - ): Promise => { + stampDeletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -2092,38 +1654,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deletePrivateKeyTags = async ( - input: SdkApiTypes.TDeletePrivateKeyTagsBody, - ): Promise => { + deletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_private_key_tags", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", - }, - "deletePrivateKeyTagsResult", - ); - }; + return this.command("/public/v1/submit/delete_private_key_tags", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" + }, "deletePrivateKeyTagsResult"); + } - stampDeletePrivateKeyTags = async ( - input: SdkApiTypes.TDeletePrivateKeyTagsBody, - ): Promise => { + + stampDeletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2131,38 +1683,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePrivateKeys = async ( - input: SdkApiTypes.TDeletePrivateKeysBody, - ): Promise => { + + deletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_private_keys", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", - }, - "deletePrivateKeysResult", - ); - }; + return this.command("/public/v1/submit/delete_private_keys", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" + }, "deletePrivateKeysResult"); + } + - stampDeletePrivateKeys = async ( - input: SdkApiTypes.TDeletePrivateKeysBody, - ): Promise => { + stampDeletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2170,39 +1712,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteSmartContractInterface = async ( - input: SdkApiTypes.TDeleteSmartContractInterfaceBody, - ): Promise => { + deleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_smart_contract_interface", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", - }, - "deleteSmartContractInterfaceResult", - ); - }; + return this.command("/public/v1/submit/delete_smart_contract_interface", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" + }, "deleteSmartContractInterfaceResult"); + } + - stampDeleteSmartContractInterface = async ( - input: SdkApiTypes.TDeleteSmartContractInterfaceBody, - ): Promise => { + stampDeleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2210,38 +1741,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteSubOrganization = async ( - input: SdkApiTypes.TDeleteSubOrganizationBody, - ): Promise => { + deleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_sub_organization", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", - }, - "deleteSubOrganizationResult", - ); - }; + return this.command("/public/v1/submit/delete_sub_organization", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" + }, "deleteSubOrganizationResult"); + } - stampDeleteSubOrganization = async ( - input: SdkApiTypes.TDeleteSubOrganizationBody, - ): Promise => { + + stampDeleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2249,38 +1770,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteUserTags = async ( - input: SdkApiTypes.TDeleteUserTagsBody, - ): Promise => { + + deleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_user_tags", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS", - }, - "deleteUserTagsResult", - ); - }; + return this.command("/public/v1/submit/delete_user_tags", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USER_TAGS" + }, "deleteUserTagsResult"); + } + - stampDeleteUserTags = async ( - input: SdkApiTypes.TDeleteUserTagsBody, - ): Promise => { + stampDeleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2288,33 +1799,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteUsers = async ( - input: SdkApiTypes.TDeleteUsersBody, - ): Promise => { + deleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_users", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS", - }, - "deleteUsersResult", - ); - }; + return this.command("/public/v1/submit/delete_users", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USERS" + }, "deleteUsersResult"); + } + - stampDeleteUsers = async ( - input: SdkApiTypes.TDeleteUsersBody, - ): Promise => { + stampDeleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -2326,33 +1828,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteWallets = async ( - input: SdkApiTypes.TDeleteWalletsBody, - ): Promise => { + deleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/delete_wallets", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS", - }, - "deleteWalletsResult", - ); - }; + return this.command("/public/v1/submit/delete_wallets", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_WALLETS" + }, "deleteWalletsResult"); + } - stampDeleteWallets = async ( - input: SdkApiTypes.TDeleteWalletsBody, - ): Promise => { + + stampDeleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { if (!this.stamper) { return undefined; } @@ -2364,33 +1857,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - emailAuth = async ( - input: SdkApiTypes.TEmailAuthBody, - ): Promise => { + + emailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/email_auth", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", - }, - "emailAuthResult", - ); - }; + return this.command("/public/v1/submit/email_auth", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" + }, "emailAuthResult"); + } + - stampEmailAuth = async ( - input: SdkApiTypes.TEmailAuthBody, - ): Promise => { + stampEmailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2402,38 +1886,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - exportPrivateKey = async ( - input: SdkApiTypes.TExportPrivateKeyBody, - ): Promise => { + exportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/export_private_key", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", - }, - "exportPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/export_private_key", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" + }, "exportPrivateKeyResult"); + } - stampExportPrivateKey = async ( - input: SdkApiTypes.TExportPrivateKeyBody, - ): Promise => { + + stampExportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2441,33 +1915,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - exportWallet = async ( - input: SdkApiTypes.TExportWalletBody, - ): Promise => { + exportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/export_wallet", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET", - }, - "exportWalletResult", - ); - }; + return this.command("/public/v1/submit/export_wallet", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET" + }, "exportWalletResult"); + } - stampExportWallet = async ( - input: SdkApiTypes.TExportWalletBody, - ): Promise => { + + stampExportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -2479,38 +1944,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - exportWalletAccount = async ( - input: SdkApiTypes.TExportWalletAccountBody, - ): Promise => { + + exportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/export_wallet_account", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", - }, - "exportWalletAccountResult", - ); - }; + return this.command("/public/v1/submit/export_wallet_account", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" + }, "exportWalletAccountResult"); + } + - stampExportWalletAccount = async ( - input: SdkApiTypes.TExportWalletAccountBody, - ): Promise => { + stampExportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2518,38 +1973,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - importPrivateKey = async ( - input: SdkApiTypes.TImportPrivateKeyBody, - ): Promise => { + importPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/import_private_key", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", - }, - "importPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/import_private_key", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" + }, "importPrivateKeyResult"); + } - stampImportPrivateKey = async ( - input: SdkApiTypes.TImportPrivateKeyBody, - ): Promise => { + + stampImportPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2557,33 +2002,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - importWallet = async ( - input: SdkApiTypes.TImportWalletBody, - ): Promise => { + + importWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/import_wallet", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET", - }, - "importWalletResult", - ); - }; + return this.command("/public/v1/submit/import_wallet", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_WALLET" + }, "importWalletResult"); + } - stampImportWallet = async ( - input: SdkApiTypes.TImportWalletBody, - ): Promise => { + + stampImportWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -2595,38 +2031,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initFiatOnRamp = async ( - input: SdkApiTypes.TInitFiatOnRampBody, - ): Promise => { + + initFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_fiat_on_ramp", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", - }, - "initFiatOnRampResult", - ); - }; + return this.command("/public/v1/submit/init_fiat_on_ramp", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" + }, "initFiatOnRampResult"); + } + - stampInitFiatOnRamp = async ( - input: SdkApiTypes.TInitFiatOnRampBody, - ): Promise => { + stampInitFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2634,38 +2060,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - initImportPrivateKey = async ( - input: SdkApiTypes.TInitImportPrivateKeyBody, - ): Promise => { + initImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_import_private_key", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", - }, - "initImportPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/init_import_private_key", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" + }, "initImportPrivateKeyResult"); + } - stampInitImportPrivateKey = async ( - input: SdkApiTypes.TInitImportPrivateKeyBody, - ): Promise => { + + stampInitImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2673,38 +2089,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initImportWallet = async ( - input: SdkApiTypes.TInitImportWalletBody, - ): Promise => { + + initImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_import_wallet", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", - }, - "initImportWalletResult", - ); - }; + return this.command("/public/v1/submit/init_import_wallet", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" + }, "initImportWalletResult"); + } + - stampInitImportWallet = async ( - input: SdkApiTypes.TInitImportWalletBody, - ): Promise => { + stampInitImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2712,33 +2118,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initOtp = async ( - input: SdkApiTypes.TInitOtpBody, - ): Promise => { + + initOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_otp", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP", - }, - "initOtpResult", - ); - }; + return this.command("/public/v1/submit/init_otp", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP" + }, "initOtpResult"); + } + - stampInitOtp = async ( - input: SdkApiTypes.TInitOtpBody, - ): Promise => { + stampInitOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { if (!this.stamper) { return undefined; } @@ -2750,33 +2147,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - initOtpAuth = async ( - input: SdkApiTypes.TInitOtpAuthBody, - ): Promise => { + initOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_otp_auth", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", - }, - "initOtpAuthResultV2", - ); - }; + return this.command("/public/v1/submit/init_otp_auth", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" + }, "initOtpAuthResultV2"); + } - stampInitOtpAuth = async ( - input: SdkApiTypes.TInitOtpAuthBody, - ): Promise => { + + stampInitOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2788,38 +2176,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initUserEmailRecovery = async ( - input: SdkApiTypes.TInitUserEmailRecoveryBody, - ): Promise => { + + initUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/init_user_email_recovery", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", - }, - "initUserEmailRecoveryResult", - ); - }; + return this.command("/public/v1/submit/init_user_email_recovery", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" + }, "initUserEmailRecoveryResult"); + } + - stampInitUserEmailRecovery = async ( - input: SdkApiTypes.TInitUserEmailRecoveryBody, - ): Promise => { + stampInitUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2827,33 +2205,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - oauth = async ( - input: SdkApiTypes.TOauthBody, - ): Promise => { + oauth = async (input: SdkApiTypes.TOauthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/oauth", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH", - }, - "oauthResult", - ); - }; + return this.command("/public/v1/submit/oauth", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH" + }, "oauthResult"); + } - stampOauth = async ( - input: SdkApiTypes.TOauthBody, - ): Promise => { + + stampOauth = async (input: SdkApiTypes.TOauthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2865,38 +2234,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauth2Authenticate = async ( - input: SdkApiTypes.TOauth2AuthenticateBody, - ): Promise => { + + oauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/oauth2_authenticate", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE", - }, - "oauth2AuthenticateResult", - ); - }; + return this.command("/public/v1/submit/oauth2_authenticate", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" + }, "oauth2AuthenticateResult"); + } + - stampOauth2Authenticate = async ( - input: SdkApiTypes.TOauth2AuthenticateBody, - ): Promise => { + stampOauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2904,33 +2263,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - oauthLogin = async ( - input: SdkApiTypes.TOauthLoginBody, - ): Promise => { + oauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/oauth_login", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN", - }, - "oauthLoginResult", - ); - }; + return this.command("/public/v1/submit/oauth_login", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH_LOGIN" + }, "oauthLoginResult"); + } - stampOauthLogin = async ( - input: SdkApiTypes.TOauthLoginBody, - ): Promise => { + + stampOauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { if (!this.stamper) { return undefined; } @@ -2942,33 +2292,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpAuth = async ( - input: SdkApiTypes.TOtpAuthBody, - ): Promise => { + + otpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/otp_auth", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH", - }, - "otpAuthResult", - ); - }; + return this.command("/public/v1/submit/otp_auth", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_AUTH" + }, "otpAuthResult"); + } + - stampOtpAuth = async ( - input: SdkApiTypes.TOtpAuthBody, - ): Promise => { + stampOtpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2980,33 +2321,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpLogin = async ( - input: SdkApiTypes.TOtpLoginBody, - ): Promise => { + + otpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/otp_login", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN", - }, - "otpLoginResult", - ); - }; + return this.command("/public/v1/submit/otp_login", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_LOGIN" + }, "otpLoginResult"); + } + - stampOtpLogin = async ( - input: SdkApiTypes.TOtpLoginBody, - ): Promise => { + stampOtpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { if (!this.stamper) { return undefined; } @@ -3018,33 +2350,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - recoverUser = async ( - input: SdkApiTypes.TRecoverUserBody, - ): Promise => { + recoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/recover_user", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER", - }, - "recoverUserResult", - ); - }; + return this.command("/public/v1/submit/recover_user", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_RECOVER_USER" + }, "recoverUserResult"); + } - stampRecoverUser = async ( - input: SdkApiTypes.TRecoverUserBody, - ): Promise => { + + stampRecoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { if (!this.stamper) { return undefined; } @@ -3056,31 +2379,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - rejectActivity = async ( - input: SdkApiTypes.TRejectActivityBody, - ): Promise => { + + rejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.activityDecision("/public/v1/submit/reject_activity", { - parameters: rest, - organizationId: - organizationId ?? session?.organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY", - }); - }; + return this.activityDecision("/public/v1/submit/reject_activity", + { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REJECT_ACTIVITY" + }); + } - stampRejectActivity = async ( - input: SdkApiTypes.TRejectActivityBody, - ): Promise => { + + stampRejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3088,38 +2408,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - removeOrganizationFeature = async ( - input: SdkApiTypes.TRemoveOrganizationFeatureBody, - ): Promise => { + + removeOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/remove_organization_feature", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", - }, - "removeOrganizationFeatureResult", - ); - }; + return this.command("/public/v1/submit/remove_organization_feature", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" + }, "removeOrganizationFeatureResult"); + } - stampRemoveOrganizationFeature = async ( - input: SdkApiTypes.TRemoveOrganizationFeatureBody, - ): Promise => { + + stampRemoveOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3127,38 +2437,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - setOrganizationFeature = async ( - input: SdkApiTypes.TSetOrganizationFeatureBody, - ): Promise => { + + setOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/set_organization_feature", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", - }, - "setOrganizationFeatureResult", - ); - }; + return this.command("/public/v1/submit/set_organization_feature", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" + }, "setOrganizationFeatureResult"); + } + - stampSetOrganizationFeature = async ( - input: SdkApiTypes.TSetOrganizationFeatureBody, - ): Promise => { + stampSetOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3166,38 +2466,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - signRawPayload = async ( - input: SdkApiTypes.TSignRawPayloadBody, - ): Promise => { + signRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/sign_raw_payload", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", - }, - "signRawPayloadResult", - ); - }; + return this.command("/public/v1/submit/sign_raw_payload", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" + }, "signRawPayloadResult"); + } - stampSignRawPayload = async ( - input: SdkApiTypes.TSignRawPayloadBody, - ): Promise => { + + stampSignRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3205,38 +2495,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - signRawPayloads = async ( - input: SdkApiTypes.TSignRawPayloadsBody, - ): Promise => { + + signRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/sign_raw_payloads", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", - }, - "signRawPayloadsResult", - ); - }; + return this.command("/public/v1/submit/sign_raw_payloads", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" + }, "signRawPayloadsResult"); + } - stampSignRawPayloads = async ( - input: SdkApiTypes.TSignRawPayloadsBody, - ): Promise => { + + stampSignRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3244,38 +2524,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - signTransaction = async ( - input: SdkApiTypes.TSignTransactionBody, - ): Promise => { + + signTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/sign_transaction", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", - }, - "signTransactionResult", - ); - }; + return this.command("/public/v1/submit/sign_transaction", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" + }, "signTransactionResult"); + } + - stampSignTransaction = async ( - input: SdkApiTypes.TSignTransactionBody, - ): Promise => { + stampSignTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3283,33 +2553,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - stampLogin = async ( - input: SdkApiTypes.TStampLoginBody, - ): Promise => { + stampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/stamp_login", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN", - }, - "stampLoginResult", - ); - }; + return this.command("/public/v1/submit/stamp_login", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_STAMP_LOGIN" + }, "stampLoginResult"); + } - stampStampLogin = async ( - input: SdkApiTypes.TStampLoginBody, - ): Promise => { + + stampStampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { if (!this.stamper) { return undefined; } @@ -3321,38 +2582,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateOauth2Credential = async ( - input: SdkApiTypes.TUpdateOauth2CredentialBody, - ): Promise => { + + updateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_oauth2_credential", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL", - }, - "updateOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/update_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" + }, "updateOauth2CredentialResult"); + } + - stampUpdateOauth2Credential = async ( - input: SdkApiTypes.TUpdateOauth2CredentialBody, - ): Promise => { + stampUpdateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3360,33 +2611,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updatePolicy = async ( - input: SdkApiTypes.TUpdatePolicyBody, - ): Promise => { + updatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_policy", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", - }, - "updatePolicyResultV2", - ); - }; + return this.command("/public/v1/submit/update_policy", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" + }, "updatePolicyResultV2"); + } + - stampUpdatePolicy = async ( - input: SdkApiTypes.TUpdatePolicyBody, - ): Promise => { + stampUpdatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -3398,38 +2640,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updatePrivateKeyTag = async ( - input: SdkApiTypes.TUpdatePrivateKeyTagBody, - ): Promise => { + updatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_private_key_tag", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", - }, - "updatePrivateKeyTagResult", - ); - }; + return this.command("/public/v1/submit/update_private_key_tag", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" + }, "updatePrivateKeyTagResult"); + } - stampUpdatePrivateKeyTag = async ( - input: SdkApiTypes.TUpdatePrivateKeyTagBody, - ): Promise => { + + stampUpdatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3437,38 +2669,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateRootQuorum = async ( - input: SdkApiTypes.TUpdateRootQuorumBody, - ): Promise => { + + updateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_root_quorum", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", - }, - "updateRootQuorumResult", - ); - }; + return this.command("/public/v1/submit/update_root_quorum", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" + }, "updateRootQuorumResult"); + } + - stampUpdateRootQuorum = async ( - input: SdkApiTypes.TUpdateRootQuorumBody, - ): Promise => { + stampUpdateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3476,33 +2698,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUser = async ( - input: SdkApiTypes.TUpdateUserBody, - ): Promise => { + updateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_user", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER", - }, - "updateUserResult", - ); - }; + return this.command("/public/v1/submit/update_user", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER" + }, "updateUserResult"); + } + - stampUpdateUser = async ( - input: SdkApiTypes.TUpdateUserBody, - ): Promise => { + stampUpdateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { if (!this.stamper) { return undefined; } @@ -3514,38 +2727,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserEmail = async ( - input: SdkApiTypes.TUpdateUserEmailBody, - ): Promise => { + updateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_user_email", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", - }, - "updateUserEmailResult", - ); - }; + return this.command("/public/v1/submit/update_user_email", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" + }, "updateUserEmailResult"); + } - stampUpdateUserEmail = async ( - input: SdkApiTypes.TUpdateUserEmailBody, - ): Promise => { + + stampUpdateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3553,38 +2756,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateUserName = async ( - input: SdkApiTypes.TUpdateUserNameBody, - ): Promise => { + + updateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_user_name", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME", - }, - "updateUserNameResult", - ); - }; + return this.command("/public/v1/submit/update_user_name", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_NAME" + }, "updateUserNameResult"); + } + - stampUpdateUserName = async ( - input: SdkApiTypes.TUpdateUserNameBody, - ): Promise => { + stampUpdateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3592,38 +2785,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserPhoneNumber = async ( - input: SdkApiTypes.TUpdateUserPhoneNumberBody, - ): Promise => { + updateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_user_phone_number", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", - }, - "updateUserPhoneNumberResult", - ); - }; + return this.command("/public/v1/submit/update_user_phone_number", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" + }, "updateUserPhoneNumberResult"); + } - stampUpdateUserPhoneNumber = async ( - input: SdkApiTypes.TUpdateUserPhoneNumberBody, - ): Promise => { + + stampUpdateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3631,38 +2814,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserTag = async ( - input: SdkApiTypes.TUpdateUserTagBody, - ): Promise => { + updateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_user_tag", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG", - }, - "updateUserTagResult", - ); - }; + return this.command("/public/v1/submit/update_user_tag", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_TAG" + }, "updateUserTagResult"); + } - stampUpdateUserTag = async ( - input: SdkApiTypes.TUpdateUserTagBody, - ): Promise => { + + stampUpdateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3670,33 +2843,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - updateWallet = async ( - input: SdkApiTypes.TUpdateWalletBody, - ): Promise => { + + updateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/update_wallet", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET", - }, - "updateWalletResult", - ); - }; + return this.command("/public/v1/submit/update_wallet", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_WALLET" + }, "updateWalletResult"); + } + - stampUpdateWallet = async ( - input: SdkApiTypes.TUpdateWalletBody, - ): Promise => { + stampUpdateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -3708,33 +2872,24 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - verifyOtp = async ( - input: SdkApiTypes.TVerifyOtpBody, - ): Promise => { + verifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command( - "/public/v1/submit/verify_otp", - { - parameters: rest, - organizationId: - organizationId ?? - session?.organizationId ?? - this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP", - }, - "verifyOtpResult", - ); - }; + return this.command("/public/v1/submit/verify_otp", { + parameters: rest, + organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_VERIFY_OTP" + }, "verifyOtpResult"); + } - stampVerifyOtp = async ( - input: SdkApiTypes.TVerifyOtpBody, - ): Promise => { + + stampVerifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { if (!this.stamper) { return undefined; } @@ -3746,25 +2901,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - testRateLimits = async ( - input: SdkApiTypes.TTestRateLimitsBody, - ): Promise => { + + testRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/tkhq/api/v1/test_rate_limits", { ...input, - organizationId: - input.organizationId ?? - session?.organizationId ?? - this.config.organizationId, + organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }; + } - stampTestRateLimits = async ( - input: SdkApiTypes.TTestRateLimitsBody, - ): Promise => { + + stampTestRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { if (!this.stamper) { return undefined; } @@ -3776,5 +2926,6 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; -} + } + +} \ No newline at end of file diff --git a/packages/sdk-browser/src/__generated__/sdk_api_types.ts b/packages/sdk-browser/src/__generated__/sdk_api_types.ts index fe09a4b79..a3879980d 100644 --- a/packages/sdk-browser/src/__generated__/sdk_api_types.ts +++ b/packages/sdk-browser/src/__generated__/sdk_api_types.ts @@ -2,1077 +2,612 @@ import type { operations, definitions } from "../__inputs__/public_api.types"; -import type { - queryOverrideParams, - commandOverrideParams, -} from "../__types__/base"; +import type { queryOverrideParams, commandOverrideParams } from "../__types__/base"; -export type TGetActivityResponse = - operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; +export type TGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; export type TGetActivityInput = { body: TGetActivityBody }; -export type TGetActivityBody = Omit< - operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetActivityBody = Omit & queryOverrideParams; -export type TGetApiKeyResponse = - operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; +export type TGetApiKeyResponse = operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; export type TGetApiKeyInput = { body: TGetApiKeyBody }; -export type TGetApiKeyBody = Omit< - operations["PublicApiService_GetApiKey"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetApiKeyBody = Omit & queryOverrideParams; -export type TGetApiKeysResponse = - operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; +export type TGetApiKeysResponse = operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; export type TGetApiKeysInput = { body: TGetApiKeysBody }; -export type TGetApiKeysBody = Omit< - operations["PublicApiService_GetApiKeys"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetApiKeysBody = Omit & queryOverrideParams; -export type TGetAttestationDocumentResponse = - operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; +export type TGetAttestationDocumentResponse = operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; -export type TGetAttestationDocumentInput = { - body: TGetAttestationDocumentBody; -}; +export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; -export type TGetAttestationDocumentBody = Omit< - operations["PublicApiService_GetAttestationDocument"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAttestationDocumentBody = Omit & queryOverrideParams; -export type TGetAuthenticatorResponse = - operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; -export type TGetAuthenticatorBody = Omit< - operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAuthenticatorBody = Omit & queryOverrideParams; -export type TGetAuthenticatorsResponse = - operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; -export type TGetAuthenticatorsBody = Omit< - operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAuthenticatorsBody = Omit & queryOverrideParams; -export type TGetBootProofResponse = - operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; +export type TGetBootProofResponse = operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; export type TGetBootProofInput = { body: TGetBootProofBody }; -export type TGetBootProofBody = Omit< - operations["PublicApiService_GetBootProof"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetBootProofBody = Omit & queryOverrideParams; -export type TGetLatestBootProofResponse = - operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; +export type TGetLatestBootProofResponse = operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; -export type TGetLatestBootProofBody = Omit< - operations["PublicApiService_GetLatestBootProof"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetLatestBootProofBody = Omit & queryOverrideParams; -export type TGetOauth2CredentialResponse = - operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; +export type TGetOauth2CredentialResponse = operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; -export type TGetOauth2CredentialBody = Omit< - operations["PublicApiService_GetOauth2Credential"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOauth2CredentialBody = Omit & queryOverrideParams; -export type TGetOauthProvidersResponse = - operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; +export type TGetOauthProvidersResponse = operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; -export type TGetOauthProvidersBody = Omit< - operations["PublicApiService_GetOauthProviders"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOauthProvidersBody = Omit & queryOverrideParams; -export type TGetOrganizationResponse = - operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; +export type TGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; export type TGetOrganizationInput = { body: TGetOrganizationBody }; -export type TGetOrganizationBody = Omit< - operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOrganizationBody = Omit & queryOverrideParams; -export type TGetOrganizationConfigsResponse = - operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; +export type TGetOrganizationConfigsResponse = operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; -export type TGetOrganizationConfigsInput = { - body: TGetOrganizationConfigsBody; -}; +export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; -export type TGetOrganizationConfigsBody = Omit< - operations["PublicApiService_GetOrganizationConfigs"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOrganizationConfigsBody = Omit & queryOverrideParams; -export type TGetPolicyResponse = - operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; +export type TGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; export type TGetPolicyInput = { body: TGetPolicyBody }; -export type TGetPolicyBody = Omit< - operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPolicyBody = Omit & queryOverrideParams; -export type TGetPolicyEvaluationsResponse = - operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; +export type TGetPolicyEvaluationsResponse = operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; -export type TGetPolicyEvaluationsBody = Omit< - operations["PublicApiService_GetPolicyEvaluations"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPolicyEvaluationsBody = Omit & queryOverrideParams; -export type TGetPrivateKeyResponse = - operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; +export type TGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; -export type TGetPrivateKeyBody = Omit< - operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPrivateKeyBody = Omit & queryOverrideParams; -export type TGetSmartContractInterfaceResponse = - operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfaceResponse = operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfaceInput = { - body: TGetSmartContractInterfaceBody; -}; +export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; -export type TGetSmartContractInterfaceBody = Omit< - operations["PublicApiService_GetSmartContractInterface"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSmartContractInterfaceBody = Omit & queryOverrideParams; -export type TGetUserResponse = - operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; +export type TGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; export type TGetUserInput = { body: TGetUserBody }; -export type TGetUserBody = Omit< - operations["PublicApiService_GetUser"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetUserBody = Omit & queryOverrideParams; -export type TGetWalletResponse = - operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; +export type TGetWalletResponse = operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; export type TGetWalletInput = { body: TGetWalletBody }; -export type TGetWalletBody = Omit< - operations["PublicApiService_GetWallet"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletBody = Omit & queryOverrideParams; -export type TGetWalletAccountResponse = - operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; +export type TGetWalletAccountResponse = operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; -export type TGetWalletAccountBody = Omit< - operations["PublicApiService_GetWalletAccount"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletAccountBody = Omit & queryOverrideParams; -export type TGetActivitiesResponse = - operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; +export type TGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; export type TGetActivitiesInput = { body: TGetActivitiesBody }; -export type TGetActivitiesBody = Omit< - operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetActivitiesBody = Omit & queryOverrideParams; -export type TListOauth2CredentialsResponse = - operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; +export type TListOauth2CredentialsResponse = operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; -export type TListOauth2CredentialsBody = Omit< - operations["PublicApiService_ListOauth2Credentials"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListOauth2CredentialsBody = Omit & queryOverrideParams; -export type TGetPoliciesResponse = - operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; +export type TGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; export type TGetPoliciesInput = { body: TGetPoliciesBody }; -export type TGetPoliciesBody = Omit< - operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPoliciesBody = Omit & queryOverrideParams; -export type TListPrivateKeyTagsResponse = - operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; +export type TListPrivateKeyTagsResponse = operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; -export type TListPrivateKeyTagsBody = Omit< - operations["PublicApiService_ListPrivateKeyTags"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListPrivateKeyTagsBody = Omit & queryOverrideParams; -export type TGetPrivateKeysResponse = - operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; +export type TGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; -export type TGetPrivateKeysBody = Omit< - operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPrivateKeysBody = Omit & queryOverrideParams; -export type TGetSmartContractInterfacesResponse = - operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfacesResponse = operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfacesInput = { - body: TGetSmartContractInterfacesBody; -}; +export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; -export type TGetSmartContractInterfacesBody = Omit< - operations["PublicApiService_GetSmartContractInterfaces"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSmartContractInterfacesBody = Omit & queryOverrideParams; -export type TGetSubOrgIdsResponse = - operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetSubOrgIdsResponse = operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; -export type TGetSubOrgIdsBody = Omit< - operations["PublicApiService_GetSubOrgIds"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSubOrgIdsBody = Omit & queryOverrideParams; -export type TListUserTagsResponse = - operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; +export type TListUserTagsResponse = operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; export type TListUserTagsInput = { body: TListUserTagsBody }; -export type TListUserTagsBody = Omit< - operations["PublicApiService_ListUserTags"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListUserTagsBody = Omit & queryOverrideParams; -export type TGetUsersResponse = - operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; +export type TGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; export type TGetUsersInput = { body: TGetUsersBody }; -export type TGetUsersBody = Omit< - operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetUsersBody = Omit & queryOverrideParams; -export type TGetVerifiedSubOrgIdsResponse = - operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetVerifiedSubOrgIdsResponse = operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; -export type TGetVerifiedSubOrgIdsBody = Omit< - operations["PublicApiService_GetVerifiedSubOrgIds"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetVerifiedSubOrgIdsBody = Omit & queryOverrideParams; -export type TGetWalletAccountsResponse = - operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; +export type TGetWalletAccountsResponse = operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; -export type TGetWalletAccountsBody = Omit< - operations["PublicApiService_GetWalletAccounts"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletAccountsBody = Omit & queryOverrideParams; -export type TGetWalletsResponse = - operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; +export type TGetWalletsResponse = operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; export type TGetWalletsInput = { body: TGetWalletsBody }; -export type TGetWalletsBody = Omit< - operations["PublicApiService_GetWallets"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletsBody = Omit & queryOverrideParams; -export type TGetWhoamiResponse = - operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; +export type TGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; export type TGetWhoamiInput = { body: TGetWhoamiBody }; -export type TGetWhoamiBody = Omit< - operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWhoamiBody = Omit & queryOverrideParams; -export type TApproveActivityResponse = - operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & - definitions["v1ActivityResponse"]; +export type TApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; export type TApproveActivityInput = { body: TApproveActivityBody }; -export type TApproveActivityBody = - operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateApiKeysResponse = - operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & - definitions["v1ActivityResponse"]; +export type TCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & definitions["v1ActivityResponse"]; export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; -export type TCreateApiKeysBody = - operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateApiOnlyUsersResponse = - operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & definitions["v1ActivityResponse"]; export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; -export type TCreateApiOnlyUsersBody = - operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateAuthenticatorsResponse = - operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & definitions["v1ActivityResponse"]; export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; -export type TCreateAuthenticatorsBody = - operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateInvitationsResponse = - operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & definitions["v1ActivityResponse"]; export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; -export type TCreateInvitationsBody = - operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateOauth2CredentialResponse = - operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TCreateOauth2CredentialResponse = operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TCreateOauth2CredentialInput = { - body: TCreateOauth2CredentialBody; -}; +export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; -export type TCreateOauth2CredentialBody = - operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateOauth2CredentialBody = operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateOauthProvidersResponse = - operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateOauthProvidersResponse = operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & definitions["v1ActivityResponse"]; export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; -export type TCreateOauthProvidersBody = - operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateOauthProvidersBody = operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePoliciesResponse = - operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePoliciesResponse = operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & definitions["v1ActivityResponse"]; export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; -export type TCreatePoliciesBody = - operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePoliciesBody = operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePolicyResponse = - operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & definitions["v1ActivityResponse"]; export type TCreatePolicyInput = { body: TCreatePolicyBody }; -export type TCreatePolicyBody = - operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePrivateKeyTagResponse = - operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & definitions["v1ActivityResponse"]; export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; -export type TCreatePrivateKeyTagBody = - operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePrivateKeysResponse = - operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & - definitions["v1ActivityResponse"]; +export type TCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & definitions["v1ActivityResponse"]; export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; -export type TCreatePrivateKeysBody = - operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateReadOnlySessionResponse = - operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & - definitions["v1ActivityResponse"]; +export type TCreateReadOnlySessionResponse = operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & definitions["v1ActivityResponse"]; export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; -export type TCreateReadOnlySessionBody = - operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateReadOnlySessionBody = operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateReadWriteSessionResponse = - operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & - definitions["v1ActivityResponse"]; +export type TCreateReadWriteSessionResponse = operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & definitions["v1ActivityResponse"]; -export type TCreateReadWriteSessionInput = { - body: TCreateReadWriteSessionBody; -}; +export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; -export type TCreateReadWriteSessionBody = - operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateReadWriteSessionBody = operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateSmartContractInterfaceResponse = - operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & - definitions["v1ActivityResponse"]; +export type TCreateSmartContractInterfaceResponse = operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; -export type TCreateSmartContractInterfaceInput = { - body: TCreateSmartContractInterfaceBody; -}; +export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; -export type TCreateSmartContractInterfaceBody = - operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateSmartContractInterfaceBody = operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateSubOrganizationResponse = - operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & - definitions["v1ActivityResponse"]; +export type TCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & definitions["v1ActivityResponse"]; export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; -export type TCreateSubOrganizationBody = - operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateUserTagResponse = - operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & - definitions["v1ActivityResponse"]; +export type TCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & definitions["v1ActivityResponse"]; export type TCreateUserTagInput = { body: TCreateUserTagBody }; -export type TCreateUserTagBody = - operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateUsersResponse = - operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & definitions["v1ActivityResponse"]; export type TCreateUsersInput = { body: TCreateUsersBody }; -export type TCreateUsersBody = - operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateWalletResponse = - operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & - definitions["v1ActivityResponse"]; +export type TCreateWalletResponse = operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & definitions["v1ActivityResponse"]; export type TCreateWalletInput = { body: TCreateWalletBody }; -export type TCreateWalletBody = - operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateWalletBody = operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateWalletAccountsResponse = - operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateWalletAccountsResponse = operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & definitions["v1ActivityResponse"]; export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; -export type TCreateWalletAccountsBody = - operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateWalletAccountsBody = operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteApiKeysResponse = - operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & definitions["v1ActivityResponse"]; export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; -export type TDeleteApiKeysBody = - operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteAuthenticatorsResponse = - operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteAuthenticatorsResponse = operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & definitions["v1ActivityResponse"]; export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; -export type TDeleteAuthenticatorsBody = - operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteAuthenticatorsBody = operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteInvitationResponse = - operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & definitions["v1ActivityResponse"]; export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; -export type TDeleteInvitationBody = - operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteOauth2CredentialResponse = - operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteOauth2CredentialResponse = operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TDeleteOauth2CredentialInput = { - body: TDeleteOauth2CredentialBody; -}; +export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; -export type TDeleteOauth2CredentialBody = - operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteOauth2CredentialBody = operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteOauthProvidersResponse = - operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteOauthProvidersResponse = operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & definitions["v1ActivityResponse"]; export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; -export type TDeleteOauthProvidersBody = - operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteOauthProvidersBody = operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePolicyResponse = - operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & definitions["v1ActivityResponse"]; export type TDeletePolicyInput = { body: TDeletePolicyBody }; -export type TDeletePolicyBody = - operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePrivateKeyTagsResponse = - operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePrivateKeyTagsResponse = operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & definitions["v1ActivityResponse"]; export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; -export type TDeletePrivateKeyTagsBody = - operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePrivateKeyTagsBody = operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePrivateKeysResponse = - operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePrivateKeysResponse = operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & definitions["v1ActivityResponse"]; export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; -export type TDeletePrivateKeysBody = - operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePrivateKeysBody = operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteSmartContractInterfaceResponse = - operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteSmartContractInterfaceResponse = operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; -export type TDeleteSmartContractInterfaceInput = { - body: TDeleteSmartContractInterfaceBody; -}; +export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; -export type TDeleteSmartContractInterfaceBody = - operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteSmartContractInterfaceBody = operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteSubOrganizationResponse = - operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteSubOrganizationResponse = operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & definitions["v1ActivityResponse"]; export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; -export type TDeleteSubOrganizationBody = - operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteSubOrganizationBody = operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteUserTagsResponse = - operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteUserTagsResponse = operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & definitions["v1ActivityResponse"]; export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; -export type TDeleteUserTagsBody = - operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteUserTagsBody = operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteUsersResponse = - operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteUsersResponse = operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & definitions["v1ActivityResponse"]; export type TDeleteUsersInput = { body: TDeleteUsersBody }; -export type TDeleteUsersBody = - operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteUsersBody = operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteWalletsResponse = - operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteWalletsResponse = operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & definitions["v1ActivityResponse"]; export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; -export type TDeleteWalletsBody = - operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteWalletsBody = operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TEmailAuthResponse = - operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & - definitions["v1ActivityResponse"]; +export type TEmailAuthResponse = operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & definitions["v1ActivityResponse"]; export type TEmailAuthInput = { body: TEmailAuthBody }; -export type TEmailAuthBody = - operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TEmailAuthBody = operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportPrivateKeyResponse = - operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TExportPrivateKeyResponse = operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; -export type TExportPrivateKeyBody = - operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportPrivateKeyBody = operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportWalletResponse = - operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & - definitions["v1ActivityResponse"]; +export type TExportWalletResponse = operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & definitions["v1ActivityResponse"]; export type TExportWalletInput = { body: TExportWalletBody }; -export type TExportWalletBody = - operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportWalletBody = operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportWalletAccountResponse = - operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & - definitions["v1ActivityResponse"]; +export type TExportWalletAccountResponse = operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & definitions["v1ActivityResponse"]; export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; -export type TExportWalletAccountBody = - operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportWalletAccountBody = operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TImportPrivateKeyResponse = - operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TImportPrivateKeyResponse = operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; -export type TImportPrivateKeyBody = - operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TImportPrivateKeyBody = operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TImportWalletResponse = - operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & - definitions["v1ActivityResponse"]; +export type TImportWalletResponse = operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & definitions["v1ActivityResponse"]; export type TImportWalletInput = { body: TImportWalletBody }; -export type TImportWalletBody = - operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TImportWalletBody = operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitFiatOnRampResponse = - operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & - definitions["v1ActivityResponse"]; +export type TInitFiatOnRampResponse = operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & definitions["v1ActivityResponse"]; export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; -export type TInitFiatOnRampBody = - operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitFiatOnRampBody = operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitImportPrivateKeyResponse = - operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TInitImportPrivateKeyResponse = operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; -export type TInitImportPrivateKeyBody = - operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitImportPrivateKeyBody = operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitImportWalletResponse = - operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & - definitions["v1ActivityResponse"]; +export type TInitImportWalletResponse = operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & definitions["v1ActivityResponse"]; export type TInitImportWalletInput = { body: TInitImportWalletBody }; -export type TInitImportWalletBody = - operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitImportWalletBody = operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitOtpResponse = - operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & - definitions["v1ActivityResponse"]; +export type TInitOtpResponse = operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & definitions["v1ActivityResponse"]; export type TInitOtpInput = { body: TInitOtpBody }; -export type TInitOtpBody = - operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitOtpBody = operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitOtpAuthResponse = - operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & - definitions["v1ActivityResponse"]; +export type TInitOtpAuthResponse = operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & definitions["v1ActivityResponse"]; export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; -export type TInitOtpAuthBody = - operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitOtpAuthBody = operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitUserEmailRecoveryResponse = - operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & - definitions["v1ActivityResponse"]; +export type TInitUserEmailRecoveryResponse = operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & definitions["v1ActivityResponse"]; export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; -export type TInitUserEmailRecoveryBody = - operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitUserEmailRecoveryBody = operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauthResponse = - operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & - definitions["v1ActivityResponse"]; +export type TOauthResponse = operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & definitions["v1ActivityResponse"]; export type TOauthInput = { body: TOauthBody }; -export type TOauthBody = - operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauthBody = operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauth2AuthenticateResponse = - operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & - definitions["v1ActivityResponse"]; +export type TOauth2AuthenticateResponse = operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & definitions["v1ActivityResponse"]; export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; -export type TOauth2AuthenticateBody = - operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauth2AuthenticateBody = operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauthLoginResponse = - operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & - definitions["v1ActivityResponse"]; +export type TOauthLoginResponse = operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & definitions["v1ActivityResponse"]; export type TOauthLoginInput = { body: TOauthLoginBody }; -export type TOauthLoginBody = - operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauthLoginBody = operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOtpAuthResponse = - operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & - definitions["v1ActivityResponse"]; +export type TOtpAuthResponse = operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & definitions["v1ActivityResponse"]; export type TOtpAuthInput = { body: TOtpAuthBody }; -export type TOtpAuthBody = - operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOtpAuthBody = operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOtpLoginResponse = - operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & - definitions["v1ActivityResponse"]; +export type TOtpLoginResponse = operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & definitions["v1ActivityResponse"]; export type TOtpLoginInput = { body: TOtpLoginBody }; -export type TOtpLoginBody = - operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOtpLoginBody = operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRecoverUserResponse = - operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & - definitions["v1ActivityResponse"]; +export type TRecoverUserResponse = operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & definitions["v1ActivityResponse"]; export type TRecoverUserInput = { body: TRecoverUserBody }; -export type TRecoverUserBody = - operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRecoverUserBody = operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRejectActivityResponse = - operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & - definitions["v1ActivityResponse"]; +export type TRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; export type TRejectActivityInput = { body: TRejectActivityBody }; -export type TRejectActivityBody = - operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRemoveOrganizationFeatureResponse = - operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & - definitions["v1ActivityResponse"]; +export type TRemoveOrganizationFeatureResponse = operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; -export type TRemoveOrganizationFeatureInput = { - body: TRemoveOrganizationFeatureBody; -}; +export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; -export type TRemoveOrganizationFeatureBody = - operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRemoveOrganizationFeatureBody = operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSetOrganizationFeatureResponse = - operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & - definitions["v1ActivityResponse"]; +export type TSetOrganizationFeatureResponse = operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; -export type TSetOrganizationFeatureInput = { - body: TSetOrganizationFeatureBody; -}; +export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; -export type TSetOrganizationFeatureBody = - operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSetOrganizationFeatureBody = operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignRawPayloadResponse = - operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & - definitions["v1ActivityResponse"]; +export type TSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & definitions["v1ActivityResponse"]; export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; -export type TSignRawPayloadBody = - operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignRawPayloadsResponse = - operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & - definitions["v1ActivityResponse"]; +export type TSignRawPayloadsResponse = operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & definitions["v1ActivityResponse"]; export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; -export type TSignRawPayloadsBody = - operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignRawPayloadsBody = operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignTransactionResponse = - operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & - definitions["v1ActivityResponse"]; +export type TSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & definitions["v1ActivityResponse"]; export type TSignTransactionInput = { body: TSignTransactionBody }; -export type TSignTransactionBody = - operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TStampLoginResponse = - operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & - definitions["v1ActivityResponse"]; +export type TStampLoginResponse = operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & definitions["v1ActivityResponse"]; export type TStampLoginInput = { body: TStampLoginBody }; -export type TStampLoginBody = - operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TStampLoginBody = operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateOauth2CredentialResponse = - operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateOauth2CredentialResponse = operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TUpdateOauth2CredentialInput = { - body: TUpdateOauth2CredentialBody; -}; +export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; -export type TUpdateOauth2CredentialBody = - operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateOauth2CredentialBody = operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdatePolicyResponse = - operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & - definitions["v1ActivityResponse"]; +export type TUpdatePolicyResponse = operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & definitions["v1ActivityResponse"]; export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; -export type TUpdatePolicyBody = - operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdatePolicyBody = operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdatePrivateKeyTagResponse = - operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & - definitions["v1ActivityResponse"]; +export type TUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & definitions["v1ActivityResponse"]; export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; -export type TUpdatePrivateKeyTagBody = - operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateRootQuorumResponse = - operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & definitions["v1ActivityResponse"]; export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; -export type TUpdateRootQuorumBody = - operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserResponse = - operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserResponse = operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserInput = { body: TUpdateUserBody }; -export type TUpdateUserBody = - operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserBody = operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserEmailResponse = - operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserEmailResponse = operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; -export type TUpdateUserEmailBody = - operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserEmailBody = operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserNameResponse = - operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserNameResponse = operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; -export type TUpdateUserNameBody = - operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserNameBody = operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserPhoneNumberResponse = - operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserPhoneNumberResponse = operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; -export type TUpdateUserPhoneNumberBody = - operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserPhoneNumberBody = operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserTagResponse = - operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; -export type TUpdateUserTagBody = - operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateWalletResponse = - operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateWalletResponse = operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & definitions["v1ActivityResponse"]; export type TUpdateWalletInput = { body: TUpdateWalletBody }; -export type TUpdateWalletBody = - operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateWalletBody = operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TVerifyOtpResponse = - operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & - definitions["v1ActivityResponse"]; +export type TVerifyOtpResponse = operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & definitions["v1ActivityResponse"]; export type TVerifyOtpInput = { body: TVerifyOtpBody }; -export type TVerifyOtpBody = - operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TVerifyOtpBody = operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TNOOPCodegenAnchorResponse = - operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; +export type TNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; -export type TTestRateLimitsResponse = - operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; +export type TTestRateLimitsResponse = operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; -export type TTestRateLimitsBody = Omit< - operations["PublicApiService_TestRateLimits"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TTestRateLimitsBody = Omit & queryOverrideParams; \ No newline at end of file diff --git a/packages/sdk-browser/src/__inputs__/public_api.swagger.json b/packages/sdk-browser/src/__inputs__/public_api.swagger.json index 54b8cc154..82ebe4110 100644 --- a/packages/sdk-browser/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-browser/src/__inputs__/public_api.swagger.json @@ -10528,6 +10528,13 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." + }, + "oauth2ProviderCredentialIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11549,19 +11556,6 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their Oauth client IDs.", - "title": "Oauth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "Oauth redirect URL to be used for social login flows.", - "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-browser/src/__inputs__/public_api.types.ts b/packages/sdk-browser/src/__inputs__/public_api.types.ts index d9e50642a..c76e40578 100644 --- a/packages/sdk-browser/src/__inputs__/public_api.types.ts +++ b/packages/sdk-browser/src/__inputs__/public_api.types.ts @@ -3372,6 +3372,8 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; + /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3771,16 +3773,6 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** - * Oauth Client IDs - * @description Mapping of social login providers to their Oauth client IDs. - */ - oauthClientIds?: { [key: string]: string }; - /** - * Oauth Redirect URL - * @description Oauth redirect URL to be used for social login flows. - */ - oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/sdk-browser/src/sdk-client.ts b/packages/sdk-browser/src/sdk-client.ts index 0290bd8fa..f65cff2ab 100644 --- a/packages/sdk-browser/src/sdk-client.ts +++ b/packages/sdk-browser/src/sdk-client.ts @@ -9,9 +9,9 @@ import { type GrpcStatus, type TurnkeySDKBrowserConfig, TurnkeyRequestError, - Stamper, - IframeClientParams, - PasskeyClientParams, + type Stamper, + type IframeClientParams, + type PasskeyClientParams, } from "./__types__/base"; import { StorageKeys, getStorageValue, removeStorageValue } from "@storage"; @@ -79,7 +79,7 @@ export class TurnkeyBrowserSDK { if (!targetRpId) { throw new Error( - "Tried to initialize a passkey client with no rpId defined", + "Tried to initialize a passkey client with no rpId defined" ); } @@ -102,11 +102,11 @@ export class TurnkeyBrowserSDK { }; iframeClient = async ( - params: IframeClientParams, + params: IframeClientParams ): Promise => { if (!params.iframeUrl) { throw new Error( - "Tried to initialize iframeClient with no iframeUrl defined", + "Tried to initialize iframeClient with no iframeUrl defined" ); } @@ -120,7 +120,7 @@ export class TurnkeyBrowserSDK { }); await this.stamper.init( - params.dangerouslyOverrideIframeKeyTtl ?? undefined, + params.dangerouslyOverrideIframeKeyTtl ?? undefined ); return new TurnkeyIframeClient({ @@ -152,7 +152,7 @@ export class TurnkeyBrowserSDK { serverSign = async ( methodName: string, params: any[], - serverSignUrl?: string, + serverSignUrl?: string ): Promise => { const targetServerSignUrl = serverSignUrl ?? this.config.serverSignUrl; @@ -197,7 +197,7 @@ export class TurnkeyBrowserSDK { */ getSession = async (): Promise => { const currentSession: Session | string | undefined = await getStorageValue( - StorageKeys.Session, + StorageKeys.Session ); let session: Session | undefined; @@ -223,7 +223,7 @@ export class TurnkeyBrowserSDK { */ getRawSession = async (): Promise => { const currentSession: Session | string | undefined = await getStorageValue( - StorageKeys.Session, + StorageKeys.Session ); let session: Session | undefined; diff --git a/packages/sdk-react-native/package.json b/packages/sdk-react-native/package.json index 131accbab..d9b1bd657 100644 --- a/packages/sdk-react-native/package.json +++ b/packages/sdk-react-native/package.json @@ -59,8 +59,8 @@ "@types/react": ">=16.8.0 <20", "react": ">=18.2 <19", "react-native": "0.76.5", - "react-native-keychain": "8.1.0", "react-native-inappbrowser-reborn": "3.7.0", + "react-native-keychain": "8.1.0", "react-native-passkey": "3.0.0" }, "peerDependenciesMeta": { @@ -70,6 +70,6 @@ }, "devDependencies": { "@babel/core": "7.26.9", - "@rollup/plugin-babel": "5.3.0" + "@rollup/plugin-babel": "6.0.4" } } diff --git a/packages/sdk-react/package.json b/packages/sdk-react/package.json index 55abb5680..d0d860ff2 100644 --- a/packages/sdk-react/package.json +++ b/packages/sdk-react/package.json @@ -52,10 +52,10 @@ "dependencies": { "@emotion/react": "11.13.3", "@emotion/styled": "11.13.0", - "@icons-pack/react-simple-icons": "10.1.0", - "@mui/icons-material": "6.1.5", - "@mui/material": "6.1.5", - "@noble/hashes": "1.4.0", + "@icons-pack/react-simple-icons": "13.7.0", + "@mui/icons-material": "7.3.2", + "@mui/material": "7.3.2", + "@noble/hashes": "1.8.0", "@react-oauth/google": "0.12.1", "@turnkey/crypto": "workspace:*", "@turnkey/sdk-browser": "workspace:*", @@ -63,16 +63,16 @@ "@turnkey/sdk-types": "workspace:*", "@turnkey/wallet-stamper": "workspace:*", "jwt-decode": "4.0.0", - "libphonenumber-js": "1.11.14", + "libphonenumber-js": "1.12.15", "next": "15.2.3", "react-apple-login": "1.1.6", - "react-international-phone": "4.3.0", + "react-international-phone": "4.6.0", "usehooks-ts": "3.1.1" }, "peerDependencies": { + "@types/react": ">=18.2.0 <20", "react": "^18.3.1 || ^19.0.0", - "react-dom": "^18.3.1 || ^19.0.0", - "@types/react": ">=18.2.0 <20" + "react-dom": "^18.3.1 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -80,9 +80,9 @@ } }, "devDependencies": { - "react": "19.0.0", - "react-dom": "19.0.0", - "postcss-import": "16.1.0" + "postcss-import": "16.1.0", + "react": "18.3.1", + "react-dom": "18.3.1" }, "engines": { "node": ">=18.0.0" diff --git a/packages/sdk-react/src/components/auth/Google.tsx b/packages/sdk-react/src/components/auth/Google.tsx index 05aa97aac..dd9e2cb4c 100644 --- a/packages/sdk-react/src/components/auth/Google.tsx +++ b/packages/sdk-react/src/components/auth/Google.tsx @@ -47,7 +47,7 @@ const GoogleAuthButton: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.search, + window.location.pathname + window.location.search ); } } @@ -68,10 +68,10 @@ const GoogleAuthButton: React.FC = ({ const publicKey = await indexedDbClient?.getPublicKey(); if (!publicKey) return; - const nonce = bytesToHex(sha256(publicKey)); + const nonce = bytesToHex(sha256(new TextEncoder().encode(publicKey))); const redirectURI = process.env.NEXT_PUBLIC_OAUTH_REDIRECT_URI!.replace( /\/$/, - "", + "" ); const googleAuthUrl = new URL(GOOGLE_AUTH_URL); @@ -89,7 +89,7 @@ const GoogleAuthButton: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` ); if (!authWindow) { @@ -104,10 +104,10 @@ const GoogleAuthButton: React.FC = ({ const publicKey = await indexedDbClient?.getPublicKey(); if (!publicKey) return; - const nonce = bytesToHex(sha256(publicKey)); + const nonce = bytesToHex(sha256(new TextEncoder().encode(publicKey))); const redirectURI = process.env.NEXT_PUBLIC_OAUTH_REDIRECT_URI!.replace( /\/$/, - "", + "" ); const googleAuthUrl = new URL(GOOGLE_AUTH_URL); diff --git a/packages/sdk-react/src/components/auth/PhoneInput.tsx b/packages/sdk-react/src/components/auth/PhoneInput.tsx index fe36d1c8d..11c138d25 100644 --- a/packages/sdk-react/src/components/auth/PhoneInput.tsx +++ b/packages/sdk-react/src/components/auth/PhoneInput.tsx @@ -1,6 +1,6 @@ import "./PhoneInput.module.css"; import { - BaseTextFieldProps, + type BaseTextFieldProps, InputAdornment, MenuItem, Select, @@ -8,7 +8,7 @@ import { Typography, } from "@mui/material"; import { - CountryIso2, + type CountryIso2, defaultCountries, parseCountry, usePhoneInput, @@ -254,7 +254,7 @@ export const MuiPhone: React.FC = ({ onChange={(e) => setCountry(e.target.value as CountryIso2)} renderValue={(value) => { const selectedCountry = countries.find( - (c) => parseCountry(c).iso2 === value, + (c) => parseCountry(c).iso2 === value ); const parsedCountry = selectedCountry ? parseCountry(selectedCountry) diff --git a/packages/sdk-react/src/contexts/TurnkeyContext.tsx b/packages/sdk-react/src/contexts/TurnkeyContext.tsx index 918abf20d..89edbbdfb 100644 --- a/packages/sdk-react/src/contexts/TurnkeyContext.tsx +++ b/packages/sdk-react/src/contexts/TurnkeyContext.tsx @@ -1,12 +1,18 @@ "use client"; -import { ReactNode, createContext, useState, useEffect, useRef } from "react"; +import { + type ReactNode, + createContext, + useState, + useEffect, + useRef, +} from "react"; import { Turnkey, TurnkeyIframeClient, TurnkeyIndexedDbClient, TurnkeyPasskeyClient, - TurnkeySDKBrowserConfig, + type TurnkeySDKBrowserConfig, TurnkeyBrowserClient, TurnkeyWalletClient, AuthClient, @@ -59,7 +65,7 @@ export const TurnkeyProvider: React.FC = ({ TurnkeyIframeClient | undefined >(undefined); const [client, setClient] = useState( - undefined, + undefined ); const { session, authClient } = useSession(); @@ -88,7 +94,7 @@ export const TurnkeyProvider: React.FC = ({ // create an instance of TurnkeyIframeClient const iframeClient = await turnkeyBrowserSDK.iframeClient({ iframeContainer: document.getElementById( - TurnkeyAuthIframeContainerId, + TurnkeyAuthIframeContainerId ), iframeUrl: config.iframeUrl || "https://auth.turnkey.com", ...(config.dangerouslyOverrideIframeKeyTtl && { diff --git a/packages/sdk-server/package.json b/packages/sdk-server/package.json index e47e8eb28..30d10ab0a 100644 --- a/packages/sdk-server/package.json +++ b/packages/sdk-server/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@types/express": "4.17.21", - "glob": "8.0.3" + "glob": "11.0.3" }, "engines": { "node": ">=18.0.0" diff --git a/packages/sdk-server/scripts/codegen.js b/packages/sdk-server/scripts/codegen.js index 16ff3e0cd..8fb811450 100644 --- a/packages/sdk-server/scripts/codegen.js +++ b/packages/sdk-server/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json", + "public_api.swagger.json" ); const TARGET_API_TYPES_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk_api_types.ts", + "sdk_api_types.ts" ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts", + "sdk-client-base.ts" ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -130,11 +130,11 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import type { operations, definitions } from "../__inputs__/public_api.types";', + 'import type { operations, definitions } from "../__inputs__/public_api.types";' ); imports.push( - 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";', + 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";' ); const latestVersions = extractLatestVersions(swaggerSpec.definitions); @@ -146,7 +146,7 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "", + "" ); const methodName = `${ @@ -226,20 +226,20 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { codeBuffer.push( ...[queryTypeBinding, substitutionTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `type ${binding.name} = ${binding.value};`), + .map((binding) => `type ${binding.name} = ${binding.value};`) ); // exported type aliases codeBuffer.push( ...[responseTypeBinding, inputTypeBinding, bodyTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `export type ${binding.name} = ${binding.value};`), + .map((binding) => `export type ${binding.name} = ${binding.value};`) ); } await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") ); }; @@ -252,15 +252,15 @@ const generateSDKClientFromSwagger = async (swaggerSpec, targetPath) => { /** @type {Array} */ const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, TActivityResponse, TActivityStatus, TSignedRequest } from "@turnkey/http";', + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' ); imports.push( - 'import type { definitions } from "../__inputs__/public_api.types";', + 'import type { definitions } from "../__inputs__/public_api.types";' ); imports.push( - 'import { GrpcStatus, TStamper, TurnkeyRequestError, TurnkeySDKClientConfig } from "../__types__/base";', + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";' ); imports.push('import { VERSION } from "../__generated__/version";'); @@ -384,7 +384,7 @@ export class TurnkeySDKClientBase { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "", + "" ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -411,7 +411,7 @@ export class TurnkeySDKClientBase { ...input, organizationId: input.organizationId ?? this.config.organizationId }); - }`, + }` ); } else if (methodType === "command") { const unversionedActivityType = `ACTIVITY_TYPE_${operationNameWithoutNamespace @@ -432,7 +432,7 @@ export class TurnkeySDKClientBase { timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}"); - }`, + }` ); } else if (methodType === "activityDecision") { codeBuffer.push( @@ -447,7 +447,7 @@ export class TurnkeySDKClientBase { .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }); - }`, + }` ); } // generate a stamping method for each method @@ -464,7 +464,7 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }`, + }` ); } @@ -473,7 +473,7 @@ export class TurnkeySDKClientBase { await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") ); }; @@ -486,7 +486,7 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8", + "utf-8" ); const swaggerSpec = JSON.parse(swaggerSpecFile); diff --git a/packages/sdk-server/src/__generated__/sdk-client-base.ts b/packages/sdk-server/src/__generated__/sdk-client-base.ts index 1c341d3b0..974376052 100644 --- a/packages/sdk-server/src/__generated__/sdk-client-base.ts +++ b/packages/sdk-server/src/__generated__/sdk-client-base.ts @@ -1,25 +1,16 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { - TERMINAL_ACTIVITY_STATUSES, - TActivityResponse, - TActivityStatus, - TSignedRequest, -} from "@turnkey/http"; +import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; import type { definitions } from "../__inputs__/public_api.types"; -import { - GrpcStatus, - TStamper, - TurnkeyRequestError, - TurnkeySDKClientConfig, -} from "../__types__/base"; +import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base"; import { VERSION } from "../__generated__/version"; import type * as SdkApiTypes from "./sdk_api_types"; + export class TurnkeySDKClientBase { config: TurnkeySDKClientConfig; @@ -32,7 +23,7 @@ export class TurnkeySDKClientBase { async request( url: string, - body: TBodyType, + body: TBodyType ): Promise { const fullUrl = this.config.apiBaseUrl + url; const stringifiedBody = JSON.stringify(body); @@ -42,10 +33,10 @@ export class TurnkeySDKClientBase { method: "POST", headers: { [stamp.stampHeaderName]: stamp.stampHeaderValue, - "X-Client-Version": VERSION, + "X-Client-Version": VERSION }, body: stringifiedBody, - redirect: "follow", + redirect: "follow" }); if (!response.ok) { @@ -66,13 +57,12 @@ export class TurnkeySDKClientBase { async command( url: string, body: TBodyType, - resultKey: string, + resultKey: string ): Promise { const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; const maxRetries = this.config.activityPoller?.numRetries ?? 3; - const sleep = (ms: number) => - new Promise((resolve) => setTimeout(resolve, ms)); + const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); const handleResponse = (activityData: TActivityResponse): TResponseType => { const { result, status } = activityData.activity; @@ -80,7 +70,7 @@ export class TurnkeySDKClientBase { if (status === "ACTIVITY_STATUS_COMPLETED") { return { ...result[`${resultKey}` as keyof definitions["v1Result"]], - ...activityData, + ...activityData } as TResponseType; } @@ -91,19 +81,15 @@ export class TurnkeySDKClientBase { const pollStatus = async (activityId: string): Promise => { const pollBody = { activityId }; - const pollData = (await this.getActivity(pollBody)) as TActivityResponse; + const pollData = await this.getActivity(pollBody) as TActivityResponse; if (attempts > maxRetries) { return handleResponse(pollData); } attempts += 1; - - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - pollData.activity.status as TActivityStatus, - ) - ) { + + if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { await sleep(pollingDuration); return pollStatus(activityId); } @@ -111,16 +97,9 @@ export class TurnkeySDKClientBase { return handleResponse(pollData); }; - const responseData = (await this.request( - url, - body, - )) as TActivityResponse; - - if ( - !TERMINAL_ACTIVITY_STATUSES.includes( - responseData.activity.status as TActivityStatus, - ) - ) { + const responseData = await this.request(url, body) as TActivityResponse; + + if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { return pollStatus(responseData.activity.id); } @@ -129,28 +108,26 @@ export class TurnkeySDKClientBase { async activityDecision( url: string, - body: TBodyType, + body: TBodyType ): Promise { - const activityData = (await this.request(url, body)) as TActivityResponse; + const activityData = await this.request(url, body) as TActivityResponse; return { ...activityData["activity"]["result"], - ...activityData, + ...activityData } as TResponseType; } - getActivity = async ( - input: SdkApiTypes.TGetActivityBody, - ): Promise => { + + getActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { return this.request("/public/v1/query/get_activity", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetActivity = async ( - input: SdkApiTypes.TGetActivityBody, - ): Promise => { + stampGetActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { if (!this.stamper) { return undefined; } @@ -162,20 +139,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getApiKey = async ( - input: SdkApiTypes.TGetApiKeyBody, - ): Promise => { + getApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { return this.request("/public/v1/query/get_api_key", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetApiKey = async ( - input: SdkApiTypes.TGetApiKeyBody, - ): Promise => { + stampGetApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { if (!this.stamper) { return undefined; } @@ -187,20 +162,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getApiKeys = async ( - input: SdkApiTypes.TGetApiKeysBody = {}, - ): Promise => { + getApiKeys = async (input: SdkApiTypes.TGetApiKeysBody = {}): Promise => { return this.request("/public/v1/query/get_api_keys", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetApiKeys = async ( - input: SdkApiTypes.TGetApiKeysBody, - ): Promise => { + stampGetApiKeys = async (input: SdkApiTypes.TGetApiKeysBody): Promise => { if (!this.stamper) { return undefined; } @@ -212,20 +185,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAttestationDocument = async ( - input: SdkApiTypes.TGetAttestationDocumentBody, - ): Promise => { + getAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { return this.request("/public/v1/query/get_attestation", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAttestationDocument = async ( - input: SdkApiTypes.TGetAttestationDocumentBody, - ): Promise => { + stampGetAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { if (!this.stamper) { return undefined; } @@ -237,25 +208,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticator = async ( - input: SdkApiTypes.TGetAuthenticatorBody, - ): Promise => { + getAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { return this.request("/public/v1/query/get_authenticator", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAuthenticator = async ( - input: SdkApiTypes.TGetAuthenticatorBody, - ): Promise => { + stampGetAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -263,25 +231,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getAuthenticators = async ( - input: SdkApiTypes.TGetAuthenticatorsBody, - ): Promise => { + getAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { return this.request("/public/v1/query/get_authenticators", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetAuthenticators = async ( - input: SdkApiTypes.TGetAuthenticatorsBody, - ): Promise => { + stampGetAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -289,20 +254,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getBootProof = async ( - input: SdkApiTypes.TGetBootProofBody, - ): Promise => { + getBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { return this.request("/public/v1/query/get_boot_proof", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetBootProof = async ( - input: SdkApiTypes.TGetBootProofBody, - ): Promise => { + stampGetBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { if (!this.stamper) { return undefined; } @@ -314,25 +277,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getLatestBootProof = async ( - input: SdkApiTypes.TGetLatestBootProofBody, - ): Promise => { + getLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { return this.request("/public/v1/query/get_latest_boot_proof", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetLatestBootProof = async ( - input: SdkApiTypes.TGetLatestBootProofBody, - ): Promise => { + stampGetLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -340,25 +300,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOauth2Credential = async ( - input: SdkApiTypes.TGetOauth2CredentialBody, - ): Promise => { + getOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { return this.request("/public/v1/query/get_oauth2_credential", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOauth2Credential = async ( - input: SdkApiTypes.TGetOauth2CredentialBody, - ): Promise => { + stampGetOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -366,25 +323,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOauthProviders = async ( - input: SdkApiTypes.TGetOauthProvidersBody, - ): Promise => { + getOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { return this.request("/public/v1/query/get_oauth_providers", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOauthProviders = async ( - input: SdkApiTypes.TGetOauthProvidersBody, - ): Promise => { + stampGetOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -392,25 +346,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganization = async ( - input: SdkApiTypes.TGetOrganizationBody = {}, - ): Promise => { + getOrganization = async (input: SdkApiTypes.TGetOrganizationBody = {}): Promise => { return this.request("/public/v1/query/get_organization", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOrganization = async ( - input: SdkApiTypes.TGetOrganizationBody, - ): Promise => { + stampGetOrganization = async (input: SdkApiTypes.TGetOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -418,25 +369,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getOrganizationConfigs = async ( - input: SdkApiTypes.TGetOrganizationConfigsBody, - ): Promise => { + getOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { return this.request("/public/v1/query/get_organization_configs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetOrganizationConfigs = async ( - input: SdkApiTypes.TGetOrganizationConfigsBody, - ): Promise => { + stampGetOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -444,20 +392,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicy = async ( - input: SdkApiTypes.TGetPolicyBody, - ): Promise => { + getPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { return this.request("/public/v1/query/get_policy", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicy = async ( - input: SdkApiTypes.TGetPolicyBody, - ): Promise => { + stampGetPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -469,25 +415,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicyEvaluations = async ( - input: SdkApiTypes.TGetPolicyEvaluationsBody, - ): Promise => { + getPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { return this.request("/public/v1/query/get_policy_evaluations", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicyEvaluations = async ( - input: SdkApiTypes.TGetPolicyEvaluationsBody, - ): Promise => { + stampGetPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -495,20 +438,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPrivateKey = async ( - input: SdkApiTypes.TGetPrivateKeyBody, - ): Promise => { + getPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { return this.request("/public/v1/query/get_private_key", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPrivateKey = async ( - input: SdkApiTypes.TGetPrivateKeyBody, - ): Promise => { + stampGetPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } @@ -520,25 +461,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterface = async ( - input: SdkApiTypes.TGetSmartContractInterfaceBody, - ): Promise => { + getSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { return this.request("/public/v1/query/get_smart_contract_interface", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSmartContractInterface = async ( - input: SdkApiTypes.TGetSmartContractInterfaceBody, - ): Promise => { + stampGetSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -546,20 +484,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getUser = async ( - input: SdkApiTypes.TGetUserBody, - ): Promise => { + getUser = async (input: SdkApiTypes.TGetUserBody): Promise => { return this.request("/public/v1/query/get_user", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetUser = async ( - input: SdkApiTypes.TGetUserBody, - ): Promise => { + stampGetUser = async (input: SdkApiTypes.TGetUserBody): Promise => { if (!this.stamper) { return undefined; } @@ -571,20 +507,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallet = async ( - input: SdkApiTypes.TGetWalletBody, - ): Promise => { + getWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { return this.request("/public/v1/query/get_wallet", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWallet = async ( - input: SdkApiTypes.TGetWalletBody, - ): Promise => { + stampGetWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -596,25 +530,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWalletAccount = async ( - input: SdkApiTypes.TGetWalletAccountBody, - ): Promise => { + getWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { return this.request("/public/v1/query/get_wallet_account", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWalletAccount = async ( - input: SdkApiTypes.TGetWalletAccountBody, - ): Promise => { + stampGetWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -622,20 +553,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getActivities = async ( - input: SdkApiTypes.TGetActivitiesBody = {}, - ): Promise => { + getActivities = async (input: SdkApiTypes.TGetActivitiesBody = {}): Promise => { return this.request("/public/v1/query/list_activities", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetActivities = async ( - input: SdkApiTypes.TGetActivitiesBody, - ): Promise => { + stampGetActivities = async (input: SdkApiTypes.TGetActivitiesBody): Promise => { if (!this.stamper) { return undefined; } @@ -647,25 +576,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listOauth2Credentials = async ( - input: SdkApiTypes.TListOauth2CredentialsBody, - ): Promise => { + listOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { return this.request("/public/v1/query/list_oauth2_credentials", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampListOauth2Credentials = async ( - input: SdkApiTypes.TListOauth2CredentialsBody, - ): Promise => { + stampListOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -673,20 +599,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPolicies = async ( - input: SdkApiTypes.TGetPoliciesBody = {}, - ): Promise => { + getPolicies = async (input: SdkApiTypes.TGetPoliciesBody = {}): Promise => { return this.request("/public/v1/query/list_policies", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPolicies = async ( - input: SdkApiTypes.TGetPoliciesBody, - ): Promise => { + stampGetPolicies = async (input: SdkApiTypes.TGetPoliciesBody): Promise => { if (!this.stamper) { return undefined; } @@ -698,25 +622,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listPrivateKeyTags = async ( - input: SdkApiTypes.TListPrivateKeyTagsBody, - ): Promise => { + listPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { return this.request("/public/v1/query/list_private_key_tags", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampListPrivateKeyTags = async ( - input: SdkApiTypes.TListPrivateKeyTagsBody, - ): Promise => { + stampListPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -724,25 +645,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getPrivateKeys = async ( - input: SdkApiTypes.TGetPrivateKeysBody = {}, - ): Promise => { + getPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody = {}): Promise => { return this.request("/public/v1/query/list_private_keys", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetPrivateKeys = async ( - input: SdkApiTypes.TGetPrivateKeysBody, - ): Promise => { + stampGetPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -750,26 +668,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSmartContractInterfaces = async ( - input: SdkApiTypes.TGetSmartContractInterfacesBody, - ): Promise => { + getSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { return this.request("/public/v1/query/list_smart_contract_interfaces", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSmartContractInterfaces = async ( - input: SdkApiTypes.TGetSmartContractInterfacesBody, - ): Promise => { + stampGetSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -777,20 +691,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getSubOrgIds = async ( - input: SdkApiTypes.TGetSubOrgIdsBody = {}, - ): Promise => { + getSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody = {}): Promise => { return this.request("/public/v1/query/list_suborgs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetSubOrgIds = async ( - input: SdkApiTypes.TGetSubOrgIdsBody, - ): Promise => { + stampGetSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody): Promise => { if (!this.stamper) { return undefined; } @@ -802,20 +714,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - listUserTags = async ( - input: SdkApiTypes.TListUserTagsBody = {}, - ): Promise => { + listUserTags = async (input: SdkApiTypes.TListUserTagsBody = {}): Promise => { return this.request("/public/v1/query/list_user_tags", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampListUserTags = async ( - input: SdkApiTypes.TListUserTagsBody, - ): Promise => { + stampListUserTags = async (input: SdkApiTypes.TListUserTagsBody): Promise => { if (!this.stamper) { return undefined; } @@ -827,20 +737,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getUsers = async ( - input: SdkApiTypes.TGetUsersBody = {}, - ): Promise => { + getUsers = async (input: SdkApiTypes.TGetUsersBody = {}): Promise => { return this.request("/public/v1/query/list_users", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetUsers = async ( - input: SdkApiTypes.TGetUsersBody, - ): Promise => { + stampGetUsers = async (input: SdkApiTypes.TGetUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -852,25 +760,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getVerifiedSubOrgIds = async ( - input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, - ): Promise => { + getVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { return this.request("/public/v1/query/list_verified_suborgs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetVerifiedSubOrgIds = async ( - input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, - ): Promise => { + stampGetVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -878,25 +783,22 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWalletAccounts = async ( - input: SdkApiTypes.TGetWalletAccountsBody, - ): Promise => { + getWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { return this.request("/public/v1/query/list_wallet_accounts", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWalletAccounts = async ( - input: SdkApiTypes.TGetWalletAccountsBody, - ): Promise => { + stampGetWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -904,20 +806,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWallets = async ( - input: SdkApiTypes.TGetWalletsBody = {}, - ): Promise => { + getWallets = async (input: SdkApiTypes.TGetWalletsBody = {}): Promise => { return this.request("/public/v1/query/list_wallets", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWallets = async ( - input: SdkApiTypes.TGetWalletsBody, - ): Promise => { + stampGetWallets = async (input: SdkApiTypes.TGetWalletsBody): Promise => { if (!this.stamper) { return undefined; } @@ -929,20 +829,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - getWhoami = async ( - input: SdkApiTypes.TGetWhoamiBody = {}, - ): Promise => { + getWhoami = async (input: SdkApiTypes.TGetWhoamiBody = {}): Promise => { return this.request("/public/v1/query/whoami", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampGetWhoami = async ( - input: SdkApiTypes.TGetWhoamiBody, - ): Promise => { + stampGetWhoami = async (input: SdkApiTypes.TGetWhoamiBody): Promise => { if (!this.stamper) { return undefined; } @@ -954,28 +852,26 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - approveActivity = async ( - input: SdkApiTypes.TApproveActivityBody, - ): Promise => { + approveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.activityDecision("/public/v1/submit/approve_activity", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", - }); - }; + return this.activityDecision("/public/v1/submit/approve_activity", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" + }); + } + - stampApproveActivity = async ( - input: SdkApiTypes.TApproveActivityBody, - ): Promise => { + stampApproveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -983,32 +879,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createApiKeys = async ( - input: SdkApiTypes.TCreateApiKeysBody, - ): Promise => { + createApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_api_keys", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", - }, - "createApiKeysResult", - ); - }; + return this.command("/public/v1/submit/create_api_keys", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" + }, "createApiKeysResult"); + } + - stampCreateApiKeys = async ( - input: SdkApiTypes.TCreateApiKeysBody, - ): Promise => { + stampCreateApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1016,32 +905,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createApiOnlyUsers = async ( - input: SdkApiTypes.TCreateApiOnlyUsersBody, - ): Promise => { + createApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_api_only_users", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", - }, - "createApiOnlyUsersResult", - ); - }; + return this.command("/public/v1/submit/create_api_only_users", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" + }, "createApiOnlyUsersResult"); + } + - stampCreateApiOnlyUsers = async ( - input: SdkApiTypes.TCreateApiOnlyUsersBody, - ): Promise => { + stampCreateApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1049,32 +931,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createAuthenticators = async ( - input: SdkApiTypes.TCreateAuthenticatorsBody, - ): Promise => { + createAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_authenticators", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", - }, - "createAuthenticatorsResult", - ); - }; + return this.command("/public/v1/submit/create_authenticators", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" + }, "createAuthenticatorsResult"); + } + - stampCreateAuthenticators = async ( - input: SdkApiTypes.TCreateAuthenticatorsBody, - ): Promise => { + stampCreateAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1082,32 +957,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createInvitations = async ( - input: SdkApiTypes.TCreateInvitationsBody, - ): Promise => { + createInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_invitations", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS", - }, - "createInvitationsResult", - ); - }; + return this.command("/public/v1/submit/create_invitations", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_INVITATIONS" + }, "createInvitationsResult"); + } + - stampCreateInvitations = async ( - input: SdkApiTypes.TCreateInvitationsBody, - ): Promise => { + stampCreateInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1115,32 +983,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createOauth2Credential = async ( - input: SdkApiTypes.TCreateOauth2CredentialBody, - ): Promise => { + createOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_oauth2_credential", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL", - }, - "createOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/create_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" + }, "createOauth2CredentialResult"); + } + - stampCreateOauth2Credential = async ( - input: SdkApiTypes.TCreateOauth2CredentialBody, - ): Promise => { + stampCreateOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1148,32 +1009,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createOauthProviders = async ( - input: SdkApiTypes.TCreateOauthProvidersBody, - ): Promise => { + createOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_oauth_providers", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", - }, - "createOauthProvidersResult", - ); - }; + return this.command("/public/v1/submit/create_oauth_providers", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" + }, "createOauthProvidersResult"); + } + - stampCreateOauthProviders = async ( - input: SdkApiTypes.TCreateOauthProvidersBody, - ): Promise => { + stampCreateOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1181,32 +1035,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPolicies = async ( - input: SdkApiTypes.TCreatePoliciesBody, - ): Promise => { + createPolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_policies", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES", - }, - "createPoliciesResult", - ); - }; + return this.command("/public/v1/submit/create_policies", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICIES" + }, "createPoliciesResult"); + } + - stampCreatePolicies = async ( - input: SdkApiTypes.TCreatePoliciesBody, - ): Promise => { + stampCreatePolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1214,27 +1061,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPolicy = async ( - input: SdkApiTypes.TCreatePolicyBody, - ): Promise => { + createPolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_policy", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3", - }, - "createPolicyResult", - ); - }; + return this.command("/public/v1/submit/create_policy", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICY_V3" + }, "createPolicyResult"); + } + - stampCreatePolicy = async ( - input: SdkApiTypes.TCreatePolicyBody, - ): Promise => { + stampCreatePolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -1246,32 +1087,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPrivateKeyTag = async ( - input: SdkApiTypes.TCreatePrivateKeyTagBody, - ): Promise => { + createPrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_private_key_tag", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", - }, - "createPrivateKeyTagResult", - ); - }; + return this.command("/public/v1/submit/create_private_key_tag", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" + }, "createPrivateKeyTagResult"); + } + - stampCreatePrivateKeyTag = async ( - input: SdkApiTypes.TCreatePrivateKeyTagBody, - ): Promise => { + stampCreatePrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1279,32 +1113,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createPrivateKeys = async ( - input: SdkApiTypes.TCreatePrivateKeysBody, - ): Promise => { + createPrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_private_keys", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", - }, - "createPrivateKeysResultV2", - ); - }; + return this.command("/public/v1/submit/create_private_keys", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" + }, "createPrivateKeysResultV2"); + } + - stampCreatePrivateKeys = async ( - input: SdkApiTypes.TCreatePrivateKeysBody, - ): Promise => { + stampCreatePrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1312,32 +1139,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createReadOnlySession = async ( - input: SdkApiTypes.TCreateReadOnlySessionBody, - ): Promise => { + createReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_read_only_session", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", - }, - "createReadOnlySessionResult", - ); - }; + return this.command("/public/v1/submit/create_read_only_session", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" + }, "createReadOnlySessionResult"); + } - stampCreateReadOnlySession = async ( - input: SdkApiTypes.TCreateReadOnlySessionBody, - ): Promise => { + + stampCreateReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1345,32 +1165,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createReadWriteSession = async ( - input: SdkApiTypes.TCreateReadWriteSessionBody, - ): Promise => { + createReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_read_write_session", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", - }, - "createReadWriteSessionResultV2", - ); - }; + return this.command("/public/v1/submit/create_read_write_session", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" + }, "createReadWriteSessionResultV2"); + } - stampCreateReadWriteSession = async ( - input: SdkApiTypes.TCreateReadWriteSessionBody, - ): Promise => { + + stampCreateReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1378,33 +1191,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - createSmartContractInterface = async ( - input: SdkApiTypes.TCreateSmartContractInterfaceBody, - ): Promise => { + + createSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_smart_contract_interface", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", - }, - "createSmartContractInterfaceResult", - ); - }; + return this.command("/public/v1/submit/create_smart_contract_interface", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" + }, "createSmartContractInterfaceResult"); + } + - stampCreateSmartContractInterface = async ( - input: SdkApiTypes.TCreateSmartContractInterfaceBody, - ): Promise => { + stampCreateSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1412,32 +1217,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createSubOrganization = async ( - input: SdkApiTypes.TCreateSubOrganizationBody, - ): Promise => { + createSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_sub_organization", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", - }, - "createSubOrganizationResultV7", - ); - }; + return this.command("/public/v1/submit/create_sub_organization", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" + }, "createSubOrganizationResultV7"); + } - stampCreateSubOrganization = async ( - input: SdkApiTypes.TCreateSubOrganizationBody, - ): Promise => { + + stampCreateSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1445,32 +1243,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createUserTag = async ( - input: SdkApiTypes.TCreateUserTagBody, - ): Promise => { + createUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_user_tag", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG", - }, - "createUserTagResult", - ); - }; + return this.command("/public/v1/submit/create_user_tag", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USER_TAG" + }, "createUserTagResult"); + } + - stampCreateUserTag = async ( - input: SdkApiTypes.TCreateUserTagBody, - ): Promise => { + stampCreateUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1478,27 +1269,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createUsers = async ( - input: SdkApiTypes.TCreateUsersBody, - ): Promise => { + createUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_users", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3", - }, - "createUsersResult", - ); - }; + return this.command("/public/v1/submit/create_users", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USERS_V3" + }, "createUsersResult"); + } + - stampCreateUsers = async ( - input: SdkApiTypes.TCreateUsersBody, - ): Promise => { + stampCreateUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -1510,27 +1295,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createWallet = async ( - input: SdkApiTypes.TCreateWalletBody, - ): Promise => { + createWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_wallet", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET", - }, - "createWalletResult", - ); - }; + return this.command("/public/v1/submit/create_wallet", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET" + }, "createWalletResult"); + } - stampCreateWallet = async ( - input: SdkApiTypes.TCreateWalletBody, - ): Promise => { + + stampCreateWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -1542,32 +1321,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - createWalletAccounts = async ( - input: SdkApiTypes.TCreateWalletAccountsBody, - ): Promise => { + createWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/create_wallet_accounts", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", - }, - "createWalletAccountsResult", - ); - }; + return this.command("/public/v1/submit/create_wallet_accounts", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" + }, "createWalletAccountsResult"); + } - stampCreateWalletAccounts = async ( - input: SdkApiTypes.TCreateWalletAccountsBody, - ): Promise => { + + stampCreateWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1575,32 +1347,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteApiKeys = async ( - input: SdkApiTypes.TDeleteApiKeysBody, - ): Promise => { + + deleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_api_keys", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS", - }, - "deleteApiKeysResult", - ); - }; + return this.command("/public/v1/submit/delete_api_keys", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_API_KEYS" + }, "deleteApiKeysResult"); + } - stampDeleteApiKeys = async ( - input: SdkApiTypes.TDeleteApiKeysBody, - ): Promise => { + + stampDeleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1608,32 +1373,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteAuthenticators = async ( - input: SdkApiTypes.TDeleteAuthenticatorsBody, - ): Promise => { + + deleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_authenticators", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", - }, - "deleteAuthenticatorsResult", - ); - }; + return this.command("/public/v1/submit/delete_authenticators", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" + }, "deleteAuthenticatorsResult"); + } - stampDeleteAuthenticators = async ( - input: SdkApiTypes.TDeleteAuthenticatorsBody, - ): Promise => { + + stampDeleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1641,32 +1399,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteInvitation = async ( - input: SdkApiTypes.TDeleteInvitationBody, - ): Promise => { + deleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_invitation", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION", - }, - "deleteInvitationResult", - ); - }; + return this.command("/public/v1/submit/delete_invitation", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_INVITATION" + }, "deleteInvitationResult"); + } - stampDeleteInvitation = async ( - input: SdkApiTypes.TDeleteInvitationBody, - ): Promise => { + + stampDeleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1674,32 +1425,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteOauth2Credential = async ( - input: SdkApiTypes.TDeleteOauth2CredentialBody, - ): Promise => { + + deleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_oauth2_credential", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL", - }, - "deleteOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/delete_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" + }, "deleteOauth2CredentialResult"); + } + - stampDeleteOauth2Credential = async ( - input: SdkApiTypes.TDeleteOauth2CredentialBody, - ): Promise => { + stampDeleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1707,32 +1451,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteOauthProviders = async ( - input: SdkApiTypes.TDeleteOauthProvidersBody, - ): Promise => { + deleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_oauth_providers", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", - }, - "deleteOauthProvidersResult", - ); - }; + return this.command("/public/v1/submit/delete_oauth_providers", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" + }, "deleteOauthProvidersResult"); + } - stampDeleteOauthProviders = async ( - input: SdkApiTypes.TDeleteOauthProvidersBody, - ): Promise => { + + stampDeleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1740,27 +1477,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deletePolicy = async ( - input: SdkApiTypes.TDeletePolicyBody, - ): Promise => { + deletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_policy", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY", - }, - "deletePolicyResult", - ); - }; + return this.command("/public/v1/submit/delete_policy", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_POLICY" + }, "deletePolicyResult"); + } - stampDeletePolicy = async ( - input: SdkApiTypes.TDeletePolicyBody, - ): Promise => { + + stampDeletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -1772,32 +1503,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deletePrivateKeyTags = async ( - input: SdkApiTypes.TDeletePrivateKeyTagsBody, - ): Promise => { + + deletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_private_key_tags", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", - }, - "deletePrivateKeyTagsResult", - ); - }; + return this.command("/public/v1/submit/delete_private_key_tags", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" + }, "deletePrivateKeyTagsResult"); + } + - stampDeletePrivateKeyTags = async ( - input: SdkApiTypes.TDeletePrivateKeyTagsBody, - ): Promise => { + stampDeletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1805,32 +1529,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deletePrivateKeys = async ( - input: SdkApiTypes.TDeletePrivateKeysBody, - ): Promise => { + deletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_private_keys", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", - }, - "deletePrivateKeysResult", - ); - }; + return this.command("/public/v1/submit/delete_private_keys", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" + }, "deletePrivateKeysResult"); + } - stampDeletePrivateKeys = async ( - input: SdkApiTypes.TDeletePrivateKeysBody, - ): Promise => { + + stampDeletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1838,33 +1555,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteSmartContractInterface = async ( - input: SdkApiTypes.TDeleteSmartContractInterfaceBody, - ): Promise => { + deleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_smart_contract_interface", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", - }, - "deleteSmartContractInterfaceResult", - ); - }; + return this.command("/public/v1/submit/delete_smart_contract_interface", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" + }, "deleteSmartContractInterfaceResult"); + } - stampDeleteSmartContractInterface = async ( - input: SdkApiTypes.TDeleteSmartContractInterfaceBody, - ): Promise => { + + stampDeleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + - "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1872,32 +1581,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteSubOrganization = async ( - input: SdkApiTypes.TDeleteSubOrganizationBody, - ): Promise => { + + deleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_sub_organization", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", - }, - "deleteSubOrganizationResult", - ); - }; + return this.command("/public/v1/submit/delete_sub_organization", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" + }, "deleteSubOrganizationResult"); + } - stampDeleteSubOrganization = async ( - input: SdkApiTypes.TDeleteSubOrganizationBody, - ): Promise => { + + stampDeleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1905,32 +1607,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteUserTags = async ( - input: SdkApiTypes.TDeleteUserTagsBody, - ): Promise => { + + deleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_user_tags", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS", - }, - "deleteUserTagsResult", - ); - }; + return this.command("/public/v1/submit/delete_user_tags", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USER_TAGS" + }, "deleteUserTagsResult"); + } + - stampDeleteUserTags = async ( - input: SdkApiTypes.TDeleteUserTagsBody, - ): Promise => { + stampDeleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1938,27 +1633,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - deleteUsers = async ( - input: SdkApiTypes.TDeleteUsersBody, - ): Promise => { + deleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_users", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS", - }, - "deleteUsersResult", - ); - }; + return this.command("/public/v1/submit/delete_users", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USERS" + }, "deleteUsersResult"); + } - stampDeleteUsers = async ( - input: SdkApiTypes.TDeleteUsersBody, - ): Promise => { + + stampDeleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { if (!this.stamper) { return undefined; } @@ -1970,27 +1659,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - deleteWallets = async ( - input: SdkApiTypes.TDeleteWalletsBody, - ): Promise => { + + deleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/delete_wallets", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS", - }, - "deleteWalletsResult", - ); - }; + return this.command("/public/v1/submit/delete_wallets", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_WALLETS" + }, "deleteWalletsResult"); + } - stampDeleteWallets = async ( - input: SdkApiTypes.TDeleteWalletsBody, - ): Promise => { + + stampDeleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { if (!this.stamper) { return undefined; } @@ -2002,27 +1685,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - emailAuth = async ( - input: SdkApiTypes.TEmailAuthBody, - ): Promise => { + + emailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/email_auth", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", - }, - "emailAuthResult", - ); - }; + return this.command("/public/v1/submit/email_auth", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" + }, "emailAuthResult"); + } - stampEmailAuth = async ( - input: SdkApiTypes.TEmailAuthBody, - ): Promise => { + + stampEmailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2034,32 +1711,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - exportPrivateKey = async ( - input: SdkApiTypes.TExportPrivateKeyBody, - ): Promise => { + exportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/export_private_key", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", - }, - "exportPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/export_private_key", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" + }, "exportPrivateKeyResult"); + } - stampExportPrivateKey = async ( - input: SdkApiTypes.TExportPrivateKeyBody, - ): Promise => { + + stampExportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2067,27 +1737,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - exportWallet = async ( - input: SdkApiTypes.TExportWalletBody, - ): Promise => { + + exportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/export_wallet", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET", - }, - "exportWalletResult", - ); - }; + return this.command("/public/v1/submit/export_wallet", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET" + }, "exportWalletResult"); + } + - stampExportWallet = async ( - input: SdkApiTypes.TExportWalletBody, - ): Promise => { + stampExportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -2099,32 +1763,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - exportWalletAccount = async ( - input: SdkApiTypes.TExportWalletAccountBody, - ): Promise => { + exportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/export_wallet_account", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", - }, - "exportWalletAccountResult", - ); - }; + return this.command("/public/v1/submit/export_wallet_account", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" + }, "exportWalletAccountResult"); + } - stampExportWalletAccount = async ( - input: SdkApiTypes.TExportWalletAccountBody, - ): Promise => { + + stampExportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2132,32 +1789,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - importPrivateKey = async ( - input: SdkApiTypes.TImportPrivateKeyBody, - ): Promise => { + importPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/import_private_key", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", - }, - "importPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/import_private_key", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" + }, "importPrivateKeyResult"); + } - stampImportPrivateKey = async ( - input: SdkApiTypes.TImportPrivateKeyBody, - ): Promise => { + + stampImportPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2165,27 +1815,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - importWallet = async ( - input: SdkApiTypes.TImportWalletBody, - ): Promise => { + + importWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/import_wallet", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET", - }, - "importWalletResult", - ); - }; + return this.command("/public/v1/submit/import_wallet", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_WALLET" + }, "importWalletResult"); + } - stampImportWallet = async ( - input: SdkApiTypes.TImportWalletBody, - ): Promise => { + + stampImportWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -2197,32 +1841,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initFiatOnRamp = async ( - input: SdkApiTypes.TInitFiatOnRampBody, - ): Promise => { + + initFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_fiat_on_ramp", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", - }, - "initFiatOnRampResult", - ); - }; + return this.command("/public/v1/submit/init_fiat_on_ramp", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" + }, "initFiatOnRampResult"); + } + - stampInitFiatOnRamp = async ( - input: SdkApiTypes.TInitFiatOnRampBody, - ): Promise => { + stampInitFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2230,32 +1867,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initImportPrivateKey = async ( - input: SdkApiTypes.TInitImportPrivateKeyBody, - ): Promise => { + + initImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_import_private_key", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", - }, - "initImportPrivateKeyResult", - ); - }; + return this.command("/public/v1/submit/init_import_private_key", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" + }, "initImportPrivateKeyResult"); + } - stampInitImportPrivateKey = async ( - input: SdkApiTypes.TInitImportPrivateKeyBody, - ): Promise => { + + stampInitImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2263,32 +1893,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initImportWallet = async ( - input: SdkApiTypes.TInitImportWalletBody, - ): Promise => { + + initImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_import_wallet", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", - }, - "initImportWalletResult", - ); - }; + return this.command("/public/v1/submit/init_import_wallet", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" + }, "initImportWalletResult"); + } - stampInitImportWallet = async ( - input: SdkApiTypes.TInitImportWalletBody, - ): Promise => { + + stampInitImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2296,27 +1919,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initOtp = async ( - input: SdkApiTypes.TInitOtpBody, - ): Promise => { + + initOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_otp", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP", - }, - "initOtpResult", - ); - }; + return this.command("/public/v1/submit/init_otp", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP" + }, "initOtpResult"); + } + - stampInitOtp = async ( - input: SdkApiTypes.TInitOtpBody, - ): Promise => { + stampInitOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { if (!this.stamper) { return undefined; } @@ -2328,27 +1945,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - initOtpAuth = async ( - input: SdkApiTypes.TInitOtpAuthBody, - ): Promise => { + initOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_otp_auth", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", - }, - "initOtpAuthResultV2", - ); - }; + return this.command("/public/v1/submit/init_otp_auth", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" + }, "initOtpAuthResultV2"); + } - stampInitOtpAuth = async ( - input: SdkApiTypes.TInitOtpAuthBody, - ): Promise => { + + stampInitOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2360,32 +1971,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - initUserEmailRecovery = async ( - input: SdkApiTypes.TInitUserEmailRecoveryBody, - ): Promise => { + + initUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/init_user_email_recovery", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", - }, - "initUserEmailRecoveryResult", - ); - }; + return this.command("/public/v1/submit/init_user_email_recovery", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" + }, "initUserEmailRecoveryResult"); + } - stampInitUserEmailRecovery = async ( - input: SdkApiTypes.TInitUserEmailRecoveryBody, - ): Promise => { + + stampInitUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2393,27 +1997,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauth = async ( - input: SdkApiTypes.TOauthBody, - ): Promise => { + + oauth = async (input: SdkApiTypes.TOauthBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/oauth", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH", - }, - "oauthResult", - ); - }; + return this.command("/public/v1/submit/oauth", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH" + }, "oauthResult"); + } - stampOauth = async ( - input: SdkApiTypes.TOauthBody, - ): Promise => { + + stampOauth = async (input: SdkApiTypes.TOauthBody): Promise => { if (!this.stamper) { return undefined; } @@ -2425,32 +2023,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - oauth2Authenticate = async ( - input: SdkApiTypes.TOauth2AuthenticateBody, - ): Promise => { + oauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/oauth2_authenticate", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE", - }, - "oauth2AuthenticateResult", - ); - }; + return this.command("/public/v1/submit/oauth2_authenticate", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" + }, "oauth2AuthenticateResult"); + } - stampOauth2Authenticate = async ( - input: SdkApiTypes.TOauth2AuthenticateBody, - ): Promise => { + + stampOauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2458,31 +2049,51 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - oauthLogin = async ( - input: SdkApiTypes.TOauthLoginBody, - ): Promise => { + + oauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/oauth_login", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN", - }, - "oauthLoginResult", - ); - }; + return this.command("/public/v1/submit/oauth_login", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH_LOGIN" + }, "oauthLoginResult"); + } + + + stampOauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { + if (!this.stamper) { + return undefined; + } + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth_login"; + const body = JSON.stringify(input); + const stamp = await this.stamper.stamp(body); + return { + body: body, + stamp: stamp, + url: fullUrl, + }; + } + + + otpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { + const { organizationId, timestampMs, ...rest } = input; + return this.command("/public/v1/submit/otp_auth", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_AUTH" + }, "otpAuthResult"); + } - stampOauthLogin = async ( - input: SdkApiTypes.TOauthLoginBody, - ): Promise => { + + stampOtpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth_login"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_auth"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2490,31 +2101,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpAuth = async ( - input: SdkApiTypes.TOtpAuthBody, - ): Promise => { + + otpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/otp_auth", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH", - }, - "otpAuthResult", - ); - }; + return this.command("/public/v1/submit/otp_login", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_LOGIN" + }, "otpLoginResult"); + } - stampOtpAuth = async ( - input: SdkApiTypes.TOtpAuthBody, - ): Promise => { + + stampOtpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_auth"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_login"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2522,31 +2127,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - otpLogin = async ( - input: SdkApiTypes.TOtpLoginBody, - ): Promise => { + + recoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/otp_login", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN", - }, - "otpLoginResult", - ); - }; + return this.command("/public/v1/submit/recover_user", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_RECOVER_USER" + }, "recoverUserResult"); + } - stampOtpLogin = async ( - input: SdkApiTypes.TOtpLoginBody, - ): Promise => { + + stampRecoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_login"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/recover_user"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2554,31 +2153,26 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - recoverUser = async ( - input: SdkApiTypes.TRecoverUserBody, - ): Promise => { + + rejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/recover_user", + return this.activityDecision("/public/v1/submit/reject_activity", { parameters: rest, organizationId: organizationId ?? this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER", - }, - "recoverUserResult", - ); - }; + type: "ACTIVITY_TYPE_REJECT_ACTIVITY" + }); + } + - stampRecoverUser = async ( - input: SdkApiTypes.TRecoverUserBody, - ): Promise => { + stampRejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/recover_user"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2586,61 +2180,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } - rejectActivity = async ( - input: SdkApiTypes.TRejectActivityBody, - ): Promise => { + + removeOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.activityDecision("/public/v1/submit/reject_activity", { + return this.command("/public/v1/submit/remove_organization_feature", { parameters: rest, organizationId: organizationId ?? this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY", - }); - }; - - stampRejectActivity = async ( - input: SdkApiTypes.TRejectActivityBody, - ): Promise => { - if (!this.stamper) { - return undefined; - } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; - const body = JSON.stringify(input); - const stamp = await this.stamper.stamp(body); - return { - body: body, - stamp: stamp, - url: fullUrl, - }; - }; + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" + }, "removeOrganizationFeatureResult"); + } - removeOrganizationFeature = async ( - input: SdkApiTypes.TRemoveOrganizationFeatureBody, - ): Promise => { - const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/remove_organization_feature", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", - }, - "removeOrganizationFeatureResult", - ); - }; - stampRemoveOrganizationFeature = async ( - input: SdkApiTypes.TRemoveOrganizationFeatureBody, - ): Promise => { + stampRemoveOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2648,32 +2206,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - setOrganizationFeature = async ( - input: SdkApiTypes.TSetOrganizationFeatureBody, - ): Promise => { + setOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/set_organization_feature", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", - }, - "setOrganizationFeatureResult", - ); - }; + return this.command("/public/v1/submit/set_organization_feature", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" + }, "setOrganizationFeatureResult"); + } + - stampSetOrganizationFeature = async ( - input: SdkApiTypes.TSetOrganizationFeatureBody, - ): Promise => { + stampSetOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2681,32 +2232,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - signRawPayload = async ( - input: SdkApiTypes.TSignRawPayloadBody, - ): Promise => { + signRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/sign_raw_payload", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", - }, - "signRawPayloadResult", - ); - }; + return this.command("/public/v1/submit/sign_raw_payload", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" + }, "signRawPayloadResult"); + } + - stampSignRawPayload = async ( - input: SdkApiTypes.TSignRawPayloadBody, - ): Promise => { + stampSignRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2714,32 +2258,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - signRawPayloads = async ( - input: SdkApiTypes.TSignRawPayloadsBody, - ): Promise => { + signRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/sign_raw_payloads", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", - }, - "signRawPayloadsResult", - ); - }; + return this.command("/public/v1/submit/sign_raw_payloads", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" + }, "signRawPayloadsResult"); + } + - stampSignRawPayloads = async ( - input: SdkApiTypes.TSignRawPayloadsBody, - ): Promise => { + stampSignRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2747,32 +2284,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - signTransaction = async ( - input: SdkApiTypes.TSignTransactionBody, - ): Promise => { + signTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/sign_transaction", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", - }, - "signTransactionResult", - ); - }; + return this.command("/public/v1/submit/sign_transaction", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" + }, "signTransactionResult"); + } + - stampSignTransaction = async ( - input: SdkApiTypes.TSignTransactionBody, - ): Promise => { + stampSignTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2780,27 +2310,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - stampLogin = async ( - input: SdkApiTypes.TStampLoginBody, - ): Promise => { + stampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/stamp_login", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN", - }, - "stampLoginResult", - ); - }; + return this.command("/public/v1/submit/stamp_login", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_STAMP_LOGIN" + }, "stampLoginResult"); + } + - stampStampLogin = async ( - input: SdkApiTypes.TStampLoginBody, - ): Promise => { + stampStampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { if (!this.stamper) { return undefined; } @@ -2812,32 +2336,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateOauth2Credential = async ( - input: SdkApiTypes.TUpdateOauth2CredentialBody, - ): Promise => { + updateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_oauth2_credential", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL", - }, - "updateOauth2CredentialResult", - ); - }; + return this.command("/public/v1/submit/update_oauth2_credential", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" + }, "updateOauth2CredentialResult"); + } + - stampUpdateOauth2Credential = async ( - input: SdkApiTypes.TUpdateOauth2CredentialBody, - ): Promise => { + stampUpdateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2845,27 +2362,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updatePolicy = async ( - input: SdkApiTypes.TUpdatePolicyBody, - ): Promise => { + updatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_policy", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", - }, - "updatePolicyResultV2", - ); - }; + return this.command("/public/v1/submit/update_policy", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" + }, "updatePolicyResultV2"); + } + - stampUpdatePolicy = async ( - input: SdkApiTypes.TUpdatePolicyBody, - ): Promise => { + stampUpdatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { if (!this.stamper) { return undefined; } @@ -2877,32 +2388,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updatePrivateKeyTag = async ( - input: SdkApiTypes.TUpdatePrivateKeyTagBody, - ): Promise => { + updatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_private_key_tag", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", - }, - "updatePrivateKeyTagResult", - ); - }; + return this.command("/public/v1/submit/update_private_key_tag", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" + }, "updatePrivateKeyTagResult"); + } + - stampUpdatePrivateKeyTag = async ( - input: SdkApiTypes.TUpdatePrivateKeyTagBody, - ): Promise => { + stampUpdatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2910,32 +2414,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateRootQuorum = async ( - input: SdkApiTypes.TUpdateRootQuorumBody, - ): Promise => { + updateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_root_quorum", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", - }, - "updateRootQuorumResult", - ); - }; + return this.command("/public/v1/submit/update_root_quorum", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" + }, "updateRootQuorumResult"); + } + - stampUpdateRootQuorum = async ( - input: SdkApiTypes.TUpdateRootQuorumBody, - ): Promise => { + stampUpdateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2943,27 +2440,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUser = async ( - input: SdkApiTypes.TUpdateUserBody, - ): Promise => { + updateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_user", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER", - }, - "updateUserResult", - ); - }; + return this.command("/public/v1/submit/update_user", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER" + }, "updateUserResult"); + } + - stampUpdateUser = async ( - input: SdkApiTypes.TUpdateUserBody, - ): Promise => { + stampUpdateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { if (!this.stamper) { return undefined; } @@ -2975,32 +2466,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserEmail = async ( - input: SdkApiTypes.TUpdateUserEmailBody, - ): Promise => { + updateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_user_email", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", - }, - "updateUserEmailResult", - ); - }; + return this.command("/public/v1/submit/update_user_email", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" + }, "updateUserEmailResult"); + } + - stampUpdateUserEmail = async ( - input: SdkApiTypes.TUpdateUserEmailBody, - ): Promise => { + stampUpdateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3008,32 +2492,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserName = async ( - input: SdkApiTypes.TUpdateUserNameBody, - ): Promise => { + updateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_user_name", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME", - }, - "updateUserNameResult", - ); - }; + return this.command("/public/v1/submit/update_user_name", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_NAME" + }, "updateUserNameResult"); + } + - stampUpdateUserName = async ( - input: SdkApiTypes.TUpdateUserNameBody, - ): Promise => { + stampUpdateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3041,32 +2518,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserPhoneNumber = async ( - input: SdkApiTypes.TUpdateUserPhoneNumberBody, - ): Promise => { + updateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_user_phone_number", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", - }, - "updateUserPhoneNumberResult", - ); - }; + return this.command("/public/v1/submit/update_user_phone_number", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" + }, "updateUserPhoneNumberResult"); + } + - stampUpdateUserPhoneNumber = async ( - input: SdkApiTypes.TUpdateUserPhoneNumberBody, - ): Promise => { + stampUpdateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3074,32 +2544,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateUserTag = async ( - input: SdkApiTypes.TUpdateUserTagBody, - ): Promise => { + updateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_user_tag", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG", - }, - "updateUserTagResult", - ); - }; + return this.command("/public/v1/submit/update_user_tag", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_TAG" + }, "updateUserTagResult"); + } + - stampUpdateUserTag = async ( - input: SdkApiTypes.TUpdateUserTagBody, - ): Promise => { + stampUpdateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = - this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -3107,27 +2570,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - updateWallet = async ( - input: SdkApiTypes.TUpdateWalletBody, - ): Promise => { + updateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/update_wallet", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET", - }, - "updateWalletResult", - ); - }; + return this.command("/public/v1/submit/update_wallet", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_WALLET" + }, "updateWalletResult"); + } + - stampUpdateWallet = async ( - input: SdkApiTypes.TUpdateWalletBody, - ): Promise => { + stampUpdateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { if (!this.stamper) { return undefined; } @@ -3139,27 +2596,21 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - verifyOtp = async ( - input: SdkApiTypes.TVerifyOtpBody, - ): Promise => { + verifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command( - "/public/v1/submit/verify_otp", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP", - }, - "verifyOtpResult", - ); - }; + return this.command("/public/v1/submit/verify_otp", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_VERIFY_OTP" + }, "verifyOtpResult"); + } + - stampVerifyOtp = async ( - input: SdkApiTypes.TVerifyOtpBody, - ): Promise => { + stampVerifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { if (!this.stamper) { return undefined; } @@ -3171,20 +2622,18 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; + } + - testRateLimits = async ( - input: SdkApiTypes.TTestRateLimitsBody, - ): Promise => { + testRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { return this.request("/tkhq/api/v1/test_rate_limits", { ...input, - organizationId: input.organizationId ?? this.config.organizationId, + organizationId: input.organizationId ?? this.config.organizationId }); - }; + } + - stampTestRateLimits = async ( - input: SdkApiTypes.TTestRateLimitsBody, - ): Promise => { + stampTestRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { if (!this.stamper) { return undefined; } @@ -3196,5 +2645,6 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }; -} + } + +} \ No newline at end of file diff --git a/packages/sdk-server/src/__generated__/sdk_api_types.ts b/packages/sdk-server/src/__generated__/sdk_api_types.ts index fe09a4b79..a3879980d 100644 --- a/packages/sdk-server/src/__generated__/sdk_api_types.ts +++ b/packages/sdk-server/src/__generated__/sdk_api_types.ts @@ -2,1077 +2,612 @@ import type { operations, definitions } from "../__inputs__/public_api.types"; -import type { - queryOverrideParams, - commandOverrideParams, -} from "../__types__/base"; +import type { queryOverrideParams, commandOverrideParams } from "../__types__/base"; -export type TGetActivityResponse = - operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; +export type TGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; export type TGetActivityInput = { body: TGetActivityBody }; -export type TGetActivityBody = Omit< - operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetActivityBody = Omit & queryOverrideParams; -export type TGetApiKeyResponse = - operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; +export type TGetApiKeyResponse = operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; export type TGetApiKeyInput = { body: TGetApiKeyBody }; -export type TGetApiKeyBody = Omit< - operations["PublicApiService_GetApiKey"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetApiKeyBody = Omit & queryOverrideParams; -export type TGetApiKeysResponse = - operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; +export type TGetApiKeysResponse = operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; export type TGetApiKeysInput = { body: TGetApiKeysBody }; -export type TGetApiKeysBody = Omit< - operations["PublicApiService_GetApiKeys"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetApiKeysBody = Omit & queryOverrideParams; -export type TGetAttestationDocumentResponse = - operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; +export type TGetAttestationDocumentResponse = operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; -export type TGetAttestationDocumentInput = { - body: TGetAttestationDocumentBody; -}; +export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; -export type TGetAttestationDocumentBody = Omit< - operations["PublicApiService_GetAttestationDocument"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAttestationDocumentBody = Omit & queryOverrideParams; -export type TGetAuthenticatorResponse = - operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; -export type TGetAuthenticatorBody = Omit< - operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAuthenticatorBody = Omit & queryOverrideParams; -export type TGetAuthenticatorsResponse = - operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; -export type TGetAuthenticatorsBody = Omit< - operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetAuthenticatorsBody = Omit & queryOverrideParams; -export type TGetBootProofResponse = - operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; +export type TGetBootProofResponse = operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; export type TGetBootProofInput = { body: TGetBootProofBody }; -export type TGetBootProofBody = Omit< - operations["PublicApiService_GetBootProof"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetBootProofBody = Omit & queryOverrideParams; -export type TGetLatestBootProofResponse = - operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; +export type TGetLatestBootProofResponse = operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; -export type TGetLatestBootProofBody = Omit< - operations["PublicApiService_GetLatestBootProof"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetLatestBootProofBody = Omit & queryOverrideParams; -export type TGetOauth2CredentialResponse = - operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; +export type TGetOauth2CredentialResponse = operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; -export type TGetOauth2CredentialBody = Omit< - operations["PublicApiService_GetOauth2Credential"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOauth2CredentialBody = Omit & queryOverrideParams; -export type TGetOauthProvidersResponse = - operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; +export type TGetOauthProvidersResponse = operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; -export type TGetOauthProvidersBody = Omit< - operations["PublicApiService_GetOauthProviders"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOauthProvidersBody = Omit & queryOverrideParams; -export type TGetOrganizationResponse = - operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; +export type TGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; export type TGetOrganizationInput = { body: TGetOrganizationBody }; -export type TGetOrganizationBody = Omit< - operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOrganizationBody = Omit & queryOverrideParams; -export type TGetOrganizationConfigsResponse = - operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; +export type TGetOrganizationConfigsResponse = operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; -export type TGetOrganizationConfigsInput = { - body: TGetOrganizationConfigsBody; -}; +export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; -export type TGetOrganizationConfigsBody = Omit< - operations["PublicApiService_GetOrganizationConfigs"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetOrganizationConfigsBody = Omit & queryOverrideParams; -export type TGetPolicyResponse = - operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; +export type TGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; export type TGetPolicyInput = { body: TGetPolicyBody }; -export type TGetPolicyBody = Omit< - operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPolicyBody = Omit & queryOverrideParams; -export type TGetPolicyEvaluationsResponse = - operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; +export type TGetPolicyEvaluationsResponse = operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; -export type TGetPolicyEvaluationsBody = Omit< - operations["PublicApiService_GetPolicyEvaluations"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPolicyEvaluationsBody = Omit & queryOverrideParams; -export type TGetPrivateKeyResponse = - operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; +export type TGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; -export type TGetPrivateKeyBody = Omit< - operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPrivateKeyBody = Omit & queryOverrideParams; -export type TGetSmartContractInterfaceResponse = - operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfaceResponse = operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfaceInput = { - body: TGetSmartContractInterfaceBody; -}; +export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; -export type TGetSmartContractInterfaceBody = Omit< - operations["PublicApiService_GetSmartContractInterface"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSmartContractInterfaceBody = Omit & queryOverrideParams; -export type TGetUserResponse = - operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; +export type TGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; export type TGetUserInput = { body: TGetUserBody }; -export type TGetUserBody = Omit< - operations["PublicApiService_GetUser"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetUserBody = Omit & queryOverrideParams; -export type TGetWalletResponse = - operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; +export type TGetWalletResponse = operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; export type TGetWalletInput = { body: TGetWalletBody }; -export type TGetWalletBody = Omit< - operations["PublicApiService_GetWallet"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletBody = Omit & queryOverrideParams; -export type TGetWalletAccountResponse = - operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; +export type TGetWalletAccountResponse = operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; -export type TGetWalletAccountBody = Omit< - operations["PublicApiService_GetWalletAccount"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletAccountBody = Omit & queryOverrideParams; -export type TGetActivitiesResponse = - operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; +export type TGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; export type TGetActivitiesInput = { body: TGetActivitiesBody }; -export type TGetActivitiesBody = Omit< - operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetActivitiesBody = Omit & queryOverrideParams; -export type TListOauth2CredentialsResponse = - operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; +export type TListOauth2CredentialsResponse = operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; -export type TListOauth2CredentialsBody = Omit< - operations["PublicApiService_ListOauth2Credentials"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListOauth2CredentialsBody = Omit & queryOverrideParams; -export type TGetPoliciesResponse = - operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; +export type TGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; export type TGetPoliciesInput = { body: TGetPoliciesBody }; -export type TGetPoliciesBody = Omit< - operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPoliciesBody = Omit & queryOverrideParams; -export type TListPrivateKeyTagsResponse = - operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; +export type TListPrivateKeyTagsResponse = operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; -export type TListPrivateKeyTagsBody = Omit< - operations["PublicApiService_ListPrivateKeyTags"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListPrivateKeyTagsBody = Omit & queryOverrideParams; -export type TGetPrivateKeysResponse = - operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; +export type TGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; -export type TGetPrivateKeysBody = Omit< - operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetPrivateKeysBody = Omit & queryOverrideParams; -export type TGetSmartContractInterfacesResponse = - operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfacesResponse = operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfacesInput = { - body: TGetSmartContractInterfacesBody; -}; +export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; -export type TGetSmartContractInterfacesBody = Omit< - operations["PublicApiService_GetSmartContractInterfaces"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSmartContractInterfacesBody = Omit & queryOverrideParams; -export type TGetSubOrgIdsResponse = - operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetSubOrgIdsResponse = operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; -export type TGetSubOrgIdsBody = Omit< - operations["PublicApiService_GetSubOrgIds"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetSubOrgIdsBody = Omit & queryOverrideParams; -export type TListUserTagsResponse = - operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; +export type TListUserTagsResponse = operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; export type TListUserTagsInput = { body: TListUserTagsBody }; -export type TListUserTagsBody = Omit< - operations["PublicApiService_ListUserTags"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TListUserTagsBody = Omit & queryOverrideParams; -export type TGetUsersResponse = - operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; +export type TGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; export type TGetUsersInput = { body: TGetUsersBody }; -export type TGetUsersBody = Omit< - operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetUsersBody = Omit & queryOverrideParams; -export type TGetVerifiedSubOrgIdsResponse = - operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetVerifiedSubOrgIdsResponse = operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; -export type TGetVerifiedSubOrgIdsBody = Omit< - operations["PublicApiService_GetVerifiedSubOrgIds"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetVerifiedSubOrgIdsBody = Omit & queryOverrideParams; -export type TGetWalletAccountsResponse = - operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; +export type TGetWalletAccountsResponse = operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; -export type TGetWalletAccountsBody = Omit< - operations["PublicApiService_GetWalletAccounts"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletAccountsBody = Omit & queryOverrideParams; -export type TGetWalletsResponse = - operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; +export type TGetWalletsResponse = operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; export type TGetWalletsInput = { body: TGetWalletsBody }; -export type TGetWalletsBody = Omit< - operations["PublicApiService_GetWallets"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWalletsBody = Omit & queryOverrideParams; -export type TGetWhoamiResponse = - operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; +export type TGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; export type TGetWhoamiInput = { body: TGetWhoamiBody }; -export type TGetWhoamiBody = Omit< - operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TGetWhoamiBody = Omit & queryOverrideParams; -export type TApproveActivityResponse = - operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & - definitions["v1ActivityResponse"]; +export type TApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; export type TApproveActivityInput = { body: TApproveActivityBody }; -export type TApproveActivityBody = - operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateApiKeysResponse = - operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & - definitions["v1ActivityResponse"]; +export type TCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & definitions["v1ActivityResponse"]; export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; -export type TCreateApiKeysBody = - operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateApiOnlyUsersResponse = - operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & definitions["v1ActivityResponse"]; export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; -export type TCreateApiOnlyUsersBody = - operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateAuthenticatorsResponse = - operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & definitions["v1ActivityResponse"]; export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; -export type TCreateAuthenticatorsBody = - operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateInvitationsResponse = - operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & definitions["v1ActivityResponse"]; export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; -export type TCreateInvitationsBody = - operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateOauth2CredentialResponse = - operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TCreateOauth2CredentialResponse = operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TCreateOauth2CredentialInput = { - body: TCreateOauth2CredentialBody; -}; +export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; -export type TCreateOauth2CredentialBody = - operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateOauth2CredentialBody = operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateOauthProvidersResponse = - operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateOauthProvidersResponse = operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & definitions["v1ActivityResponse"]; export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; -export type TCreateOauthProvidersBody = - operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateOauthProvidersBody = operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePoliciesResponse = - operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePoliciesResponse = operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & definitions["v1ActivityResponse"]; export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; -export type TCreatePoliciesBody = - operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePoliciesBody = operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePolicyResponse = - operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & definitions["v1ActivityResponse"]; export type TCreatePolicyInput = { body: TCreatePolicyBody }; -export type TCreatePolicyBody = - operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePrivateKeyTagResponse = - operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & - definitions["v1ActivityResponse"]; +export type TCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & definitions["v1ActivityResponse"]; export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; -export type TCreatePrivateKeyTagBody = - operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreatePrivateKeysResponse = - operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & - definitions["v1ActivityResponse"]; +export type TCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & definitions["v1ActivityResponse"]; export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; -export type TCreatePrivateKeysBody = - operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateReadOnlySessionResponse = - operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & - definitions["v1ActivityResponse"]; +export type TCreateReadOnlySessionResponse = operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & definitions["v1ActivityResponse"]; export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; -export type TCreateReadOnlySessionBody = - operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateReadOnlySessionBody = operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateReadWriteSessionResponse = - operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & - definitions["v1ActivityResponse"]; +export type TCreateReadWriteSessionResponse = operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & definitions["v1ActivityResponse"]; -export type TCreateReadWriteSessionInput = { - body: TCreateReadWriteSessionBody; -}; +export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; -export type TCreateReadWriteSessionBody = - operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateReadWriteSessionBody = operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateSmartContractInterfaceResponse = - operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & - definitions["v1ActivityResponse"]; +export type TCreateSmartContractInterfaceResponse = operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; -export type TCreateSmartContractInterfaceInput = { - body: TCreateSmartContractInterfaceBody; -}; +export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; -export type TCreateSmartContractInterfaceBody = - operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateSmartContractInterfaceBody = operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateSubOrganizationResponse = - operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & - definitions["v1ActivityResponse"]; +export type TCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & definitions["v1ActivityResponse"]; export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; -export type TCreateSubOrganizationBody = - operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateUserTagResponse = - operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & - definitions["v1ActivityResponse"]; +export type TCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & definitions["v1ActivityResponse"]; export type TCreateUserTagInput = { body: TCreateUserTagBody }; -export type TCreateUserTagBody = - operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateUsersResponse = - operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & - definitions["v1ActivityResponse"]; +export type TCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & definitions["v1ActivityResponse"]; export type TCreateUsersInput = { body: TCreateUsersBody }; -export type TCreateUsersBody = - operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateWalletResponse = - operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & - definitions["v1ActivityResponse"]; +export type TCreateWalletResponse = operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & definitions["v1ActivityResponse"]; export type TCreateWalletInput = { body: TCreateWalletBody }; -export type TCreateWalletBody = - operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateWalletBody = operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TCreateWalletAccountsResponse = - operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & - definitions["v1ActivityResponse"]; +export type TCreateWalletAccountsResponse = operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & definitions["v1ActivityResponse"]; export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; -export type TCreateWalletAccountsBody = - operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TCreateWalletAccountsBody = operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteApiKeysResponse = - operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & definitions["v1ActivityResponse"]; export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; -export type TDeleteApiKeysBody = - operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteAuthenticatorsResponse = - operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteAuthenticatorsResponse = operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & definitions["v1ActivityResponse"]; export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; -export type TDeleteAuthenticatorsBody = - operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteAuthenticatorsBody = operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteInvitationResponse = - operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & definitions["v1ActivityResponse"]; export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; -export type TDeleteInvitationBody = - operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteOauth2CredentialResponse = - operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteOauth2CredentialResponse = operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TDeleteOauth2CredentialInput = { - body: TDeleteOauth2CredentialBody; -}; +export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; -export type TDeleteOauth2CredentialBody = - operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteOauth2CredentialBody = operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteOauthProvidersResponse = - operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteOauthProvidersResponse = operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & definitions["v1ActivityResponse"]; export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; -export type TDeleteOauthProvidersBody = - operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteOauthProvidersBody = operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePolicyResponse = - operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & definitions["v1ActivityResponse"]; export type TDeletePolicyInput = { body: TDeletePolicyBody }; -export type TDeletePolicyBody = - operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePrivateKeyTagsResponse = - operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePrivateKeyTagsResponse = operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & definitions["v1ActivityResponse"]; export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; -export type TDeletePrivateKeyTagsBody = - operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePrivateKeyTagsBody = operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeletePrivateKeysResponse = - operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & - definitions["v1ActivityResponse"]; +export type TDeletePrivateKeysResponse = operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & definitions["v1ActivityResponse"]; export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; -export type TDeletePrivateKeysBody = - operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeletePrivateKeysBody = operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteSmartContractInterfaceResponse = - operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteSmartContractInterfaceResponse = operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; -export type TDeleteSmartContractInterfaceInput = { - body: TDeleteSmartContractInterfaceBody; -}; +export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; -export type TDeleteSmartContractInterfaceBody = - operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteSmartContractInterfaceBody = operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteSubOrganizationResponse = - operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteSubOrganizationResponse = operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & definitions["v1ActivityResponse"]; export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; -export type TDeleteSubOrganizationBody = - operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteSubOrganizationBody = operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteUserTagsResponse = - operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteUserTagsResponse = operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & definitions["v1ActivityResponse"]; export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; -export type TDeleteUserTagsBody = - operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteUserTagsBody = operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteUsersResponse = - operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteUsersResponse = operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & definitions["v1ActivityResponse"]; export type TDeleteUsersInput = { body: TDeleteUsersBody }; -export type TDeleteUsersBody = - operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteUsersBody = operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TDeleteWalletsResponse = - operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & - definitions["v1ActivityResponse"]; +export type TDeleteWalletsResponse = operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & definitions["v1ActivityResponse"]; export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; -export type TDeleteWalletsBody = - operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TDeleteWalletsBody = operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TEmailAuthResponse = - operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & - definitions["v1ActivityResponse"]; +export type TEmailAuthResponse = operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & definitions["v1ActivityResponse"]; export type TEmailAuthInput = { body: TEmailAuthBody }; -export type TEmailAuthBody = - operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TEmailAuthBody = operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportPrivateKeyResponse = - operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TExportPrivateKeyResponse = operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; -export type TExportPrivateKeyBody = - operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportPrivateKeyBody = operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportWalletResponse = - operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & - definitions["v1ActivityResponse"]; +export type TExportWalletResponse = operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & definitions["v1ActivityResponse"]; export type TExportWalletInput = { body: TExportWalletBody }; -export type TExportWalletBody = - operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportWalletBody = operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TExportWalletAccountResponse = - operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & - definitions["v1ActivityResponse"]; +export type TExportWalletAccountResponse = operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & definitions["v1ActivityResponse"]; export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; -export type TExportWalletAccountBody = - operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TExportWalletAccountBody = operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TImportPrivateKeyResponse = - operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TImportPrivateKeyResponse = operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; -export type TImportPrivateKeyBody = - operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TImportPrivateKeyBody = operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TImportWalletResponse = - operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & - definitions["v1ActivityResponse"]; +export type TImportWalletResponse = operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & definitions["v1ActivityResponse"]; export type TImportWalletInput = { body: TImportWalletBody }; -export type TImportWalletBody = - operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TImportWalletBody = operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitFiatOnRampResponse = - operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & - definitions["v1ActivityResponse"]; +export type TInitFiatOnRampResponse = operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & definitions["v1ActivityResponse"]; export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; -export type TInitFiatOnRampBody = - operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitFiatOnRampBody = operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitImportPrivateKeyResponse = - operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & - definitions["v1ActivityResponse"]; +export type TInitImportPrivateKeyResponse = operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & definitions["v1ActivityResponse"]; export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; -export type TInitImportPrivateKeyBody = - operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitImportPrivateKeyBody = operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitImportWalletResponse = - operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & - definitions["v1ActivityResponse"]; +export type TInitImportWalletResponse = operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & definitions["v1ActivityResponse"]; export type TInitImportWalletInput = { body: TInitImportWalletBody }; -export type TInitImportWalletBody = - operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitImportWalletBody = operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitOtpResponse = - operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & - definitions["v1ActivityResponse"]; +export type TInitOtpResponse = operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & definitions["v1ActivityResponse"]; export type TInitOtpInput = { body: TInitOtpBody }; -export type TInitOtpBody = - operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitOtpBody = operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitOtpAuthResponse = - operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & - definitions["v1ActivityResponse"]; +export type TInitOtpAuthResponse = operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & definitions["v1ActivityResponse"]; export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; -export type TInitOtpAuthBody = - operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitOtpAuthBody = operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TInitUserEmailRecoveryResponse = - operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & - definitions["v1ActivityResponse"]; +export type TInitUserEmailRecoveryResponse = operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & definitions["v1ActivityResponse"]; export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; -export type TInitUserEmailRecoveryBody = - operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TInitUserEmailRecoveryBody = operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauthResponse = - operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & - definitions["v1ActivityResponse"]; +export type TOauthResponse = operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & definitions["v1ActivityResponse"]; export type TOauthInput = { body: TOauthBody }; -export type TOauthBody = - operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauthBody = operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauth2AuthenticateResponse = - operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & - definitions["v1ActivityResponse"]; +export type TOauth2AuthenticateResponse = operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & definitions["v1ActivityResponse"]; export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; -export type TOauth2AuthenticateBody = - operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauth2AuthenticateBody = operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOauthLoginResponse = - operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & - definitions["v1ActivityResponse"]; +export type TOauthLoginResponse = operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & definitions["v1ActivityResponse"]; export type TOauthLoginInput = { body: TOauthLoginBody }; -export type TOauthLoginBody = - operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOauthLoginBody = operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOtpAuthResponse = - operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & - definitions["v1ActivityResponse"]; +export type TOtpAuthResponse = operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & definitions["v1ActivityResponse"]; export type TOtpAuthInput = { body: TOtpAuthBody }; -export type TOtpAuthBody = - operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOtpAuthBody = operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TOtpLoginResponse = - operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & - definitions["v1ActivityResponse"]; +export type TOtpLoginResponse = operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & definitions["v1ActivityResponse"]; export type TOtpLoginInput = { body: TOtpLoginBody }; -export type TOtpLoginBody = - operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TOtpLoginBody = operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRecoverUserResponse = - operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & - definitions["v1ActivityResponse"]; +export type TRecoverUserResponse = operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & definitions["v1ActivityResponse"]; export type TRecoverUserInput = { body: TRecoverUserBody }; -export type TRecoverUserBody = - operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRecoverUserBody = operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRejectActivityResponse = - operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & - definitions["v1ActivityResponse"]; +export type TRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; export type TRejectActivityInput = { body: TRejectActivityBody }; -export type TRejectActivityBody = - operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TRemoveOrganizationFeatureResponse = - operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & - definitions["v1ActivityResponse"]; +export type TRemoveOrganizationFeatureResponse = operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; -export type TRemoveOrganizationFeatureInput = { - body: TRemoveOrganizationFeatureBody; -}; +export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; -export type TRemoveOrganizationFeatureBody = - operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TRemoveOrganizationFeatureBody = operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSetOrganizationFeatureResponse = - operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & - definitions["v1ActivityResponse"]; +export type TSetOrganizationFeatureResponse = operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; -export type TSetOrganizationFeatureInput = { - body: TSetOrganizationFeatureBody; -}; +export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; -export type TSetOrganizationFeatureBody = - operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSetOrganizationFeatureBody = operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignRawPayloadResponse = - operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & - definitions["v1ActivityResponse"]; +export type TSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & definitions["v1ActivityResponse"]; export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; -export type TSignRawPayloadBody = - operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignRawPayloadsResponse = - operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & - definitions["v1ActivityResponse"]; +export type TSignRawPayloadsResponse = operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & definitions["v1ActivityResponse"]; export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; -export type TSignRawPayloadsBody = - operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignRawPayloadsBody = operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TSignTransactionResponse = - operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & - definitions["v1ActivityResponse"]; +export type TSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & definitions["v1ActivityResponse"]; export type TSignTransactionInput = { body: TSignTransactionBody }; -export type TSignTransactionBody = - operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TStampLoginResponse = - operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & - definitions["v1ActivityResponse"]; +export type TStampLoginResponse = operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & definitions["v1ActivityResponse"]; export type TStampLoginInput = { body: TStampLoginBody }; -export type TStampLoginBody = - operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TStampLoginBody = operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateOauth2CredentialResponse = - operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateOauth2CredentialResponse = operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & definitions["v1ActivityResponse"]; -export type TUpdateOauth2CredentialInput = { - body: TUpdateOauth2CredentialBody; -}; +export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; -export type TUpdateOauth2CredentialBody = - operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateOauth2CredentialBody = operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdatePolicyResponse = - operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & - definitions["v1ActivityResponse"]; +export type TUpdatePolicyResponse = operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & definitions["v1ActivityResponse"]; export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; -export type TUpdatePolicyBody = - operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdatePolicyBody = operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdatePrivateKeyTagResponse = - operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & - definitions["v1ActivityResponse"]; +export type TUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & definitions["v1ActivityResponse"]; export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; -export type TUpdatePrivateKeyTagBody = - operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateRootQuorumResponse = - operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & definitions["v1ActivityResponse"]; export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; -export type TUpdateRootQuorumBody = - operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserResponse = - operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserResponse = operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserInput = { body: TUpdateUserBody }; -export type TUpdateUserBody = - operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserBody = operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserEmailResponse = - operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserEmailResponse = operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; -export type TUpdateUserEmailBody = - operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserEmailBody = operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserNameResponse = - operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserNameResponse = operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; -export type TUpdateUserNameBody = - operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserNameBody = operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserPhoneNumberResponse = - operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserPhoneNumberResponse = operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; -export type TUpdateUserPhoneNumberBody = - operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserPhoneNumberBody = operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateUserTagResponse = - operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & definitions["v1ActivityResponse"]; export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; -export type TUpdateUserTagBody = - operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TUpdateWalletResponse = - operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & - definitions["v1ActivityResponse"]; +export type TUpdateWalletResponse = operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & definitions["v1ActivityResponse"]; export type TUpdateWalletInput = { body: TUpdateWalletBody }; -export type TUpdateWalletBody = - operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TUpdateWalletBody = operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TVerifyOtpResponse = - operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & - definitions["v1ActivityResponse"]; +export type TVerifyOtpResponse = operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & definitions["v1ActivityResponse"]; export type TVerifyOtpInput = { body: TVerifyOtpBody }; -export type TVerifyOtpBody = - operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & - commandOverrideParams; +export type TVerifyOtpBody = operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; -export type TNOOPCodegenAnchorResponse = - operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; +export type TNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; -export type TTestRateLimitsResponse = - operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; +export type TTestRateLimitsResponse = operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; -export type TTestRateLimitsBody = Omit< - operations["PublicApiService_TestRateLimits"]["parameters"]["body"]["body"], - "organizationId" -> & - queryOverrideParams; +export type TTestRateLimitsBody = Omit & queryOverrideParams; \ No newline at end of file diff --git a/packages/sdk-server/src/__inputs__/public_api.swagger.json b/packages/sdk-server/src/__inputs__/public_api.swagger.json index 54b8cc154..82ebe4110 100644 --- a/packages/sdk-server/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-server/src/__inputs__/public_api.swagger.json @@ -10528,6 +10528,13 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." + }, + "oauth2ProviderCredentialIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11549,19 +11556,6 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their Oauth client IDs.", - "title": "Oauth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "Oauth redirect URL to be used for social login flows.", - "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-server/src/__inputs__/public_api.types.ts b/packages/sdk-server/src/__inputs__/public_api.types.ts index d9e50642a..c76e40578 100644 --- a/packages/sdk-server/src/__inputs__/public_api.types.ts +++ b/packages/sdk-server/src/__inputs__/public_api.types.ts @@ -3372,6 +3372,8 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; + /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3771,16 +3773,6 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** - * Oauth Client IDs - * @description Mapping of social login providers to their Oauth client IDs. - */ - oauthClientIds?: { [key: string]: string }; - /** - * Oauth Redirect URL - * @description Oauth redirect URL to be used for social login flows. - */ - oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/sdk-server/src/index.ts b/packages/sdk-server/src/index.ts index 5b2f739ca..0d36f9fe6 100644 --- a/packages/sdk-server/src/index.ts +++ b/packages/sdk-server/src/index.ts @@ -1,7 +1,7 @@ import { ApiKeyStamper, signWithApiKey, - TApiKeyStamperConfig, + type TApiKeyStamperConfig, } from "@turnkey/api-key-stamper"; import { diff --git a/packages/sdk-types/src/__generated__/types.ts b/packages/sdk-types/src/__generated__/types.ts index 58e2fc091..20d83ffe5 100644 --- a/packages/sdk-types/src/__generated__/types.ts +++ b/packages/sdk-types/src/__generated__/types.ts @@ -157,9 +157,9 @@ export type v1AcceptInvitationResult = { }; export type v1AccessType = - | "ACCESS_TYPE_WEB" - | "ACCESS_TYPE_API" - | "ACCESS_TYPE_ALL"; + "ACCESS_TYPE_WEB" | + "ACCESS_TYPE_API" | + "ACCESS_TYPE_ALL"; export type v1Activity = { /** Unique identifier for a given Activity object. */ @@ -192,153 +192,153 @@ export type v1ActivityResponse = { }; export type v1ActivityStatus = - | "ACTIVITY_STATUS_CREATED" - | "ACTIVITY_STATUS_PENDING" - | "ACTIVITY_STATUS_COMPLETED" - | "ACTIVITY_STATUS_FAILED" - | "ACTIVITY_STATUS_CONSENSUS_NEEDED" - | "ACTIVITY_STATUS_REJECTED"; + "ACTIVITY_STATUS_CREATED" | + "ACTIVITY_STATUS_PENDING" | + "ACTIVITY_STATUS_COMPLETED" | + "ACTIVITY_STATUS_FAILED" | + "ACTIVITY_STATUS_CONSENSUS_NEEDED" | + "ACTIVITY_STATUS_REJECTED"; export type v1ActivityType = - | "ACTIVITY_TYPE_CREATE_API_KEYS" - | "ACTIVITY_TYPE_CREATE_USERS" - | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" - | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" - | "ACTIVITY_TYPE_CREATE_INVITATIONS" - | "ACTIVITY_TYPE_ACCEPT_INVITATION" - | "ACTIVITY_TYPE_CREATE_POLICY" - | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" - | "ACTIVITY_TYPE_DELETE_USERS" - | "ACTIVITY_TYPE_DELETE_API_KEYS" - | "ACTIVITY_TYPE_DELETE_INVITATION" - | "ACTIVITY_TYPE_DELETE_ORGANIZATION" - | "ACTIVITY_TYPE_DELETE_POLICY" - | "ACTIVITY_TYPE_CREATE_USER_TAG" - | "ACTIVITY_TYPE_DELETE_USER_TAGS" - | "ACTIVITY_TYPE_CREATE_ORGANIZATION" - | "ACTIVITY_TYPE_SIGN_TRANSACTION" - | "ACTIVITY_TYPE_APPROVE_ACTIVITY" - | "ACTIVITY_TYPE_REJECT_ACTIVITY" - | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" - | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" - | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" - | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" - | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" - | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" - | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" - | "ACTIVITY_TYPE_CREATE_POLICY_V2" - | "ACTIVITY_TYPE_CREATE_POLICY_V3" - | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" - | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" - | "ACTIVITY_TYPE_UPDATE_USER_TAG" - | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" - | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" - | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" - | "ACTIVITY_TYPE_CREATE_USERS_V2" - | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" - | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" - | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" - | "ACTIVITY_TYPE_UPDATE_USER" - | "ACTIVITY_TYPE_UPDATE_POLICY" - | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" - | "ACTIVITY_TYPE_CREATE_WALLET" - | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" - | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" - | "ACTIVITY_TYPE_RECOVER_USER" - | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" - | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" - | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" - | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" - | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" - | "ACTIVITY_TYPE_EXPORT_WALLET" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" - | "ACTIVITY_TYPE_EMAIL_AUTH" - | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" - | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" - | "ACTIVITY_TYPE_IMPORT_WALLET" - | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" - | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" - | "ACTIVITY_TYPE_CREATE_POLICIES" - | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" - | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" - | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" - | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" - | "ACTIVITY_TYPE_OAUTH" - | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" - | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" - | "ACTIVITY_TYPE_EMAIL_AUTH_V2" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" - | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" - | "ACTIVITY_TYPE_DELETE_WALLETS" - | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" - | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" - | "ACTIVITY_TYPE_INIT_OTP_AUTH" - | "ACTIVITY_TYPE_OTP_AUTH" - | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" - | "ACTIVITY_TYPE_UPDATE_WALLET" - | "ACTIVITY_TYPE_UPDATE_POLICY_V2" - | "ACTIVITY_TYPE_CREATE_USERS_V3" - | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" - | "ACTIVITY_TYPE_INIT_OTP" - | "ACTIVITY_TYPE_VERIFY_OTP" - | "ACTIVITY_TYPE_OTP_LOGIN" - | "ACTIVITY_TYPE_STAMP_LOGIN" - | "ACTIVITY_TYPE_OAUTH_LOGIN" - | "ACTIVITY_TYPE_UPDATE_USER_NAME" - | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" - | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" - | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" - | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" - | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" - | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" - | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" - | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" - | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" - | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" - | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" - | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"; + "ACTIVITY_TYPE_CREATE_API_KEYS" | + "ACTIVITY_TYPE_CREATE_USERS" | + "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | + "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | + "ACTIVITY_TYPE_CREATE_INVITATIONS" | + "ACTIVITY_TYPE_ACCEPT_INVITATION" | + "ACTIVITY_TYPE_CREATE_POLICY" | + "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | + "ACTIVITY_TYPE_DELETE_USERS" | + "ACTIVITY_TYPE_DELETE_API_KEYS" | + "ACTIVITY_TYPE_DELETE_INVITATION" | + "ACTIVITY_TYPE_DELETE_ORGANIZATION" | + "ACTIVITY_TYPE_DELETE_POLICY" | + "ACTIVITY_TYPE_CREATE_USER_TAG" | + "ACTIVITY_TYPE_DELETE_USER_TAGS" | + "ACTIVITY_TYPE_CREATE_ORGANIZATION" | + "ACTIVITY_TYPE_SIGN_TRANSACTION" | + "ACTIVITY_TYPE_APPROVE_ACTIVITY" | + "ACTIVITY_TYPE_REJECT_ACTIVITY" | + "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | + "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | + "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | + "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | + "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | + "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | + "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | + "ACTIVITY_TYPE_CREATE_POLICY_V2" | + "ACTIVITY_TYPE_CREATE_POLICY_V3" | + "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | + "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | + "ACTIVITY_TYPE_UPDATE_USER_TAG" | + "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | + "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | + "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | + "ACTIVITY_TYPE_CREATE_USERS_V2" | + "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | + "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | + "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | + "ACTIVITY_TYPE_UPDATE_USER" | + "ACTIVITY_TYPE_UPDATE_POLICY" | + "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | + "ACTIVITY_TYPE_CREATE_WALLET" | + "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | + "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | + "ACTIVITY_TYPE_RECOVER_USER" | + "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | + "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | + "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | + "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | + "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | + "ACTIVITY_TYPE_EXPORT_WALLET" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | + "ACTIVITY_TYPE_EMAIL_AUTH" | + "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | + "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | + "ACTIVITY_TYPE_IMPORT_WALLET" | + "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | + "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | + "ACTIVITY_TYPE_CREATE_POLICIES" | + "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | + "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | + "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | + "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | + "ACTIVITY_TYPE_OAUTH" | + "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | + "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | + "ACTIVITY_TYPE_EMAIL_AUTH_V2" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | + "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | + "ACTIVITY_TYPE_DELETE_WALLETS" | + "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | + "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | + "ACTIVITY_TYPE_INIT_OTP_AUTH" | + "ACTIVITY_TYPE_OTP_AUTH" | + "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | + "ACTIVITY_TYPE_UPDATE_WALLET" | + "ACTIVITY_TYPE_UPDATE_POLICY_V2" | + "ACTIVITY_TYPE_CREATE_USERS_V3" | + "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | + "ACTIVITY_TYPE_INIT_OTP" | + "ACTIVITY_TYPE_VERIFY_OTP" | + "ACTIVITY_TYPE_OTP_LOGIN" | + "ACTIVITY_TYPE_STAMP_LOGIN" | + "ACTIVITY_TYPE_OAUTH_LOGIN" | + "ACTIVITY_TYPE_UPDATE_USER_NAME" | + "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | + "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | + "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | + "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | + "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | + "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | + "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | + "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | + "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | + "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | + "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | + "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"; export type v1AddressFormat = - | "ADDRESS_FORMAT_UNCOMPRESSED" - | "ADDRESS_FORMAT_COMPRESSED" - | "ADDRESS_FORMAT_ETHEREUM" - | "ADDRESS_FORMAT_SOLANA" - | "ADDRESS_FORMAT_COSMOS" - | "ADDRESS_FORMAT_TRON" - | "ADDRESS_FORMAT_SUI" - | "ADDRESS_FORMAT_APTOS" - | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" - | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" - | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" - | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" - | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" - | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" - | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" - | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" - | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" - | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" - | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" - | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" - | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" - | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" - | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" - | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" - | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" - | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" - | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" - | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" - | "ADDRESS_FORMAT_SEI" - | "ADDRESS_FORMAT_XLM" - | "ADDRESS_FORMAT_DOGE_MAINNET" - | "ADDRESS_FORMAT_DOGE_TESTNET" - | "ADDRESS_FORMAT_TON_V3R2" - | "ADDRESS_FORMAT_TON_V4R2" - | "ADDRESS_FORMAT_TON_V5R1" - | "ADDRESS_FORMAT_XRP"; + "ADDRESS_FORMAT_UNCOMPRESSED" | + "ADDRESS_FORMAT_COMPRESSED" | + "ADDRESS_FORMAT_ETHEREUM" | + "ADDRESS_FORMAT_SOLANA" | + "ADDRESS_FORMAT_COSMOS" | + "ADDRESS_FORMAT_TRON" | + "ADDRESS_FORMAT_SUI" | + "ADDRESS_FORMAT_APTOS" | + "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | + "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | + "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | + "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | + "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | + "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | + "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | + "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | + "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | + "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | + "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | + "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | + "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | + "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | + "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | + "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | + "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | + "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | + "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | + "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | + "ADDRESS_FORMAT_SEI" | + "ADDRESS_FORMAT_XLM" | + "ADDRESS_FORMAT_DOGE_MAINNET" | + "ADDRESS_FORMAT_DOGE_TESTNET" | + "ADDRESS_FORMAT_TON_V3R2" | + "ADDRESS_FORMAT_TON_V4R2" | + "ADDRESS_FORMAT_TON_V5R1" | + "ADDRESS_FORMAT_XRP"; export type v1ApiKey = { /** A User credential that can be used to authenticate to Turnkey. */ @@ -354,9 +354,9 @@ export type v1ApiKey = { }; export type v1ApiKeyCurve = - | "API_KEY_CURVE_P256" - | "API_KEY_CURVE_SECP256K1" - | "API_KEY_CURVE_ED25519"; + "API_KEY_CURVE_P256" | + "API_KEY_CURVE_SECP256K1" | + "API_KEY_CURVE_ED25519"; export type v1ApiKeyParamsV2 = { /** Human-readable name for an API Key. */ @@ -452,11 +452,11 @@ export type v1AuthenticatorParamsV2 = { }; export type v1AuthenticatorTransport = - | "AUTHENTICATOR_TRANSPORT_BLE" - | "AUTHENTICATOR_TRANSPORT_INTERNAL" - | "AUTHENTICATOR_TRANSPORT_NFC" - | "AUTHENTICATOR_TRANSPORT_USB" - | "AUTHENTICATOR_TRANSPORT_HYBRID"; + "AUTHENTICATOR_TRANSPORT_BLE" | + "AUTHENTICATOR_TRANSPORT_INTERNAL" | + "AUTHENTICATOR_TRANSPORT_NFC" | + "AUTHENTICATOR_TRANSPORT_USB" | + "AUTHENTICATOR_TRANSPORT_HYBRID"; export type v1BootProof = { /** The hex encoded Ephemeral Public Key. */ @@ -1122,18 +1122,20 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = { }; export type v1CredentialType = - | "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" - | "CREDENTIAL_TYPE_API_KEY_P256" - | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" - | "CREDENTIAL_TYPE_API_KEY_SECP256K1" - | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" - | "CREDENTIAL_TYPE_API_KEY_ED25519" - | "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" - | "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" - | "CREDENTIAL_TYPE_OAUTH_KEY_P256" - | "CREDENTIAL_TYPE_LOGIN"; - -export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519"; + "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | + "CREDENTIAL_TYPE_API_KEY_P256" | + "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | + "CREDENTIAL_TYPE_API_KEY_SECP256K1" | + "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" | + "CREDENTIAL_TYPE_API_KEY_ED25519" | + "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" | + "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" | + "CREDENTIAL_TYPE_OAUTH_KEY_P256" | + "CREDENTIAL_TYPE_LOGIN"; + +export type v1Curve = + "CURVE_SECP256K1" | + "CURVE_ED25519"; export type v1DeleteApiKeysIntent = { /** Unique identifier for a given User. */ @@ -1418,7 +1420,9 @@ export type v1DisablePrivateKeyResult = { privateKeyId: string; }; -export type v1Effect = "EFFECT_ALLOW" | "EFFECT_DENY"; +export type v1Effect = + "EFFECT_ALLOW" | + "EFFECT_DENY"; export type v1EmailAuthIntent = { /** Email of the authenticating user. */ @@ -1574,81 +1578,81 @@ export type v1Feature = { }; export type v1FeatureName = - | "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" - | "FEATURE_NAME_WEBAUTHN_ORIGINS" - | "FEATURE_NAME_EMAIL_AUTH" - | "FEATURE_NAME_EMAIL_RECOVERY" - | "FEATURE_NAME_WEBHOOK" - | "FEATURE_NAME_SMS_AUTH" - | "FEATURE_NAME_OTP_EMAIL_AUTH" - | "FEATURE_NAME_AUTH_PROXY"; + "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | + "FEATURE_NAME_WEBAUTHN_ORIGINS" | + "FEATURE_NAME_EMAIL_AUTH" | + "FEATURE_NAME_EMAIL_RECOVERY" | + "FEATURE_NAME_WEBHOOK" | + "FEATURE_NAME_SMS_AUTH" | + "FEATURE_NAME_OTP_EMAIL_AUTH" | + "FEATURE_NAME_AUTH_PROXY"; export type v1FiatOnRampBlockchainNetwork = - | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" - | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" - | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" - | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"; + "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | + "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | + "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | + "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"; export type v1FiatOnRampCryptoCurrency = - | "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" - | "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH" - | "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL" - | "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"; + "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" | + "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH" | + "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL" | + "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"; export type v1FiatOnRampCurrency = - | "FIAT_ON_RAMP_CURRENCY_AUD" - | "FIAT_ON_RAMP_CURRENCY_BGN" - | "FIAT_ON_RAMP_CURRENCY_BRL" - | "FIAT_ON_RAMP_CURRENCY_CAD" - | "FIAT_ON_RAMP_CURRENCY_CHF" - | "FIAT_ON_RAMP_CURRENCY_COP" - | "FIAT_ON_RAMP_CURRENCY_CZK" - | "FIAT_ON_RAMP_CURRENCY_DKK" - | "FIAT_ON_RAMP_CURRENCY_DOP" - | "FIAT_ON_RAMP_CURRENCY_EGP" - | "FIAT_ON_RAMP_CURRENCY_EUR" - | "FIAT_ON_RAMP_CURRENCY_GBP" - | "FIAT_ON_RAMP_CURRENCY_HKD" - | "FIAT_ON_RAMP_CURRENCY_IDR" - | "FIAT_ON_RAMP_CURRENCY_ILS" - | "FIAT_ON_RAMP_CURRENCY_JOD" - | "FIAT_ON_RAMP_CURRENCY_KES" - | "FIAT_ON_RAMP_CURRENCY_KWD" - | "FIAT_ON_RAMP_CURRENCY_LKR" - | "FIAT_ON_RAMP_CURRENCY_MXN" - | "FIAT_ON_RAMP_CURRENCY_NGN" - | "FIAT_ON_RAMP_CURRENCY_NOK" - | "FIAT_ON_RAMP_CURRENCY_NZD" - | "FIAT_ON_RAMP_CURRENCY_OMR" - | "FIAT_ON_RAMP_CURRENCY_PEN" - | "FIAT_ON_RAMP_CURRENCY_PLN" - | "FIAT_ON_RAMP_CURRENCY_RON" - | "FIAT_ON_RAMP_CURRENCY_SEK" - | "FIAT_ON_RAMP_CURRENCY_THB" - | "FIAT_ON_RAMP_CURRENCY_TRY" - | "FIAT_ON_RAMP_CURRENCY_TWD" - | "FIAT_ON_RAMP_CURRENCY_USD" - | "FIAT_ON_RAMP_CURRENCY_VND" - | "FIAT_ON_RAMP_CURRENCY_ZAR"; + "FIAT_ON_RAMP_CURRENCY_AUD" | + "FIAT_ON_RAMP_CURRENCY_BGN" | + "FIAT_ON_RAMP_CURRENCY_BRL" | + "FIAT_ON_RAMP_CURRENCY_CAD" | + "FIAT_ON_RAMP_CURRENCY_CHF" | + "FIAT_ON_RAMP_CURRENCY_COP" | + "FIAT_ON_RAMP_CURRENCY_CZK" | + "FIAT_ON_RAMP_CURRENCY_DKK" | + "FIAT_ON_RAMP_CURRENCY_DOP" | + "FIAT_ON_RAMP_CURRENCY_EGP" | + "FIAT_ON_RAMP_CURRENCY_EUR" | + "FIAT_ON_RAMP_CURRENCY_GBP" | + "FIAT_ON_RAMP_CURRENCY_HKD" | + "FIAT_ON_RAMP_CURRENCY_IDR" | + "FIAT_ON_RAMP_CURRENCY_ILS" | + "FIAT_ON_RAMP_CURRENCY_JOD" | + "FIAT_ON_RAMP_CURRENCY_KES" | + "FIAT_ON_RAMP_CURRENCY_KWD" | + "FIAT_ON_RAMP_CURRENCY_LKR" | + "FIAT_ON_RAMP_CURRENCY_MXN" | + "FIAT_ON_RAMP_CURRENCY_NGN" | + "FIAT_ON_RAMP_CURRENCY_NOK" | + "FIAT_ON_RAMP_CURRENCY_NZD" | + "FIAT_ON_RAMP_CURRENCY_OMR" | + "FIAT_ON_RAMP_CURRENCY_PEN" | + "FIAT_ON_RAMP_CURRENCY_PLN" | + "FIAT_ON_RAMP_CURRENCY_RON" | + "FIAT_ON_RAMP_CURRENCY_SEK" | + "FIAT_ON_RAMP_CURRENCY_THB" | + "FIAT_ON_RAMP_CURRENCY_TRY" | + "FIAT_ON_RAMP_CURRENCY_TWD" | + "FIAT_ON_RAMP_CURRENCY_USD" | + "FIAT_ON_RAMP_CURRENCY_VND" | + "FIAT_ON_RAMP_CURRENCY_ZAR"; export type v1FiatOnRampPaymentMethod = - | "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" - | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" - | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" - | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" - | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" - | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" - | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" - | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" - | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" - | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" - | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" - | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" - | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"; + "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | + "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | + "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | + "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | + "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | + "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | + "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | + "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | + "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | + "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | + "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | + "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | + "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"; export type v1FiatOnRampProvider = - | "FIAT_ON_RAMP_PROVIDER_COINBASE" - | "FIAT_ON_RAMP_PROVIDER_MOONPAY"; + "FIAT_ON_RAMP_PROVIDER_COINBASE" | + "FIAT_ON_RAMP_PROVIDER_MOONPAY"; export type v1GetActivitiesRequest = { /** Unique identifier for a given organization. */ @@ -1992,10 +1996,10 @@ export type v1GetWhoamiResponse = { }; export type v1HashFunction = - | "HASH_FUNCTION_NO_OP" - | "HASH_FUNCTION_SHA256" - | "HASH_FUNCTION_KECCAK256" - | "HASH_FUNCTION_NOT_APPLICABLE"; + "HASH_FUNCTION_NO_OP" | + "HASH_FUNCTION_SHA256" | + "HASH_FUNCTION_KECCAK256" | + "HASH_FUNCTION_NOT_APPLICABLE"; export type v1ImportPrivateKeyIntent = { /** The ID of the User importing a Private Key. */ @@ -2396,9 +2400,9 @@ export type v1InvitationParams = { }; export type v1InvitationStatus = - | "INVITATION_STATUS_CREATED" - | "INVITATION_STATUS_ACCEPTED" - | "INVITATION_STATUS_REVOKED"; + "INVITATION_STATUS_CREATED" | + "INVITATION_STATUS_ACCEPTED" | + "INVITATION_STATUS_REVOKED"; export type v1ListOauth2CredentialsRequest = { /** Unique identifier for a given Organization. */ @@ -2430,15 +2434,15 @@ export type v1ListUserTagsResponse = { }; export type v1MnemonicLanguage = - | "MNEMONIC_LANGUAGE_ENGLISH" - | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" - | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" - | "MNEMONIC_LANGUAGE_CZECH" - | "MNEMONIC_LANGUAGE_FRENCH" - | "MNEMONIC_LANGUAGE_ITALIAN" - | "MNEMONIC_LANGUAGE_JAPANESE" - | "MNEMONIC_LANGUAGE_KOREAN" - | "MNEMONIC_LANGUAGE_SPANISH"; + "MNEMONIC_LANGUAGE_ENGLISH" | + "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | + "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | + "MNEMONIC_LANGUAGE_CZECH" | + "MNEMONIC_LANGUAGE_FRENCH" | + "MNEMONIC_LANGUAGE_ITALIAN" | + "MNEMONIC_LANGUAGE_JAPANESE" | + "MNEMONIC_LANGUAGE_KOREAN" | + "MNEMONIC_LANGUAGE_SPANISH"; export type v1NOOPCodegenAnchorResponse = { stamp: v1WebAuthnStamp; @@ -2486,7 +2490,9 @@ export type v1Oauth2Credential = { updatedAt: externaldatav1Timestamp; }; -export type v1Oauth2Provider = "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD"; +export type v1Oauth2Provider = + "OAUTH2_PROVIDER_X" | + "OAUTH2_PROVIDER_DISCORD"; export type v1OauthIntent = { /** Base64 encoded OIDC token */ @@ -2567,17 +2573,17 @@ export type v1OauthResult = { }; export type v1Operator = - | "OPERATOR_EQUAL" - | "OPERATOR_MORE_THAN" - | "OPERATOR_MORE_THAN_OR_EQUAL" - | "OPERATOR_LESS_THAN" - | "OPERATOR_LESS_THAN_OR_EQUAL" - | "OPERATOR_CONTAINS" - | "OPERATOR_NOT_EQUAL" - | "OPERATOR_IN" - | "OPERATOR_NOT_IN" - | "OPERATOR_CONTAINS_ONE" - | "OPERATOR_CONTAINS_ALL"; + "OPERATOR_EQUAL" | + "OPERATOR_MORE_THAN" | + "OPERATOR_MORE_THAN_OR_EQUAL" | + "OPERATOR_LESS_THAN" | + "OPERATOR_LESS_THAN_OR_EQUAL" | + "OPERATOR_CONTAINS" | + "OPERATOR_NOT_EQUAL" | + "OPERATOR_IN" | + "OPERATOR_NOT_IN" | + "OPERATOR_CONTAINS_ONE" | + "OPERATOR_CONTAINS_ALL"; export type v1OrganizationData = { organizationId?: string; @@ -2652,12 +2658,12 @@ export type v1OtpLoginResult = { }; export type v1Outcome = - | "OUTCOME_ALLOW" - | "OUTCOME_DENY_EXPLICIT" - | "OUTCOME_DENY_IMPLICIT" - | "OUTCOME_REQUIRES_CONSENSUS" - | "OUTCOME_REJECTED" - | "OUTCOME_ERROR"; + "OUTCOME_ALLOW" | + "OUTCOME_DENY_EXPLICIT" | + "OUTCOME_DENY_IMPLICIT" | + "OUTCOME_REQUIRES_CONSENSUS" | + "OUTCOME_REJECTED" | + "OUTCOME_ERROR"; export type v1Pagination = { /** A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */ @@ -2668,13 +2674,14 @@ export type v1Pagination = { after?: string; }; -export type v1PathFormat = "PATH_FORMAT_BIP32"; +export type v1PathFormat = + "PATH_FORMAT_BIP32"; export type v1PayloadEncoding = - | "PAYLOAD_ENCODING_HEXADECIMAL" - | "PAYLOAD_ENCODING_TEXT_UTF8" - | "PAYLOAD_ENCODING_EIP712" - | "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"; + "PAYLOAD_ENCODING_HEXADECIMAL" | + "PAYLOAD_ENCODING_TEXT_UTF8" | + "PAYLOAD_ENCODING_EIP712" | + "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"; export type v1Policy = { /** Unique identifier for a given Policy. */ @@ -3092,8 +3099,8 @@ export type v1SmartContractInterfaceReference = { }; export type v1SmartContractInterfaceType = - | "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" - | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"; + "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | + "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"; export type v1SmsCustomizationParams = { /** Template containing references to .OtpCode i.e Your OTP is {{.OtpCode}} */ @@ -3123,7 +3130,9 @@ export type v1StampLoginResult = { session: string; }; -export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY"; +export type v1TagType = + "TAG_TYPE_USER" | + "TAG_TYPE_PRIVATE_KEY"; export type v1TestRateLimitsRequest = { /** Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons. */ @@ -3136,9 +3145,9 @@ export type v1TestRateLimitsRequest = { export type v1TestRateLimitsResponse = {}; export type v1TransactionType = - | "TRANSACTION_TYPE_ETHEREUM" - | "TRANSACTION_TYPE_SOLANA" - | "TRANSACTION_TYPE_TRON"; + "TRANSACTION_TYPE_ETHEREUM" | + "TRANSACTION_TYPE_SOLANA" | + "TRANSACTION_TYPE_TRON"; export type v1UpdateAllowedOriginsIntent = { /** Additional origins requests are allowed from besides Turnkey origins */ @@ -3175,6 +3184,8 @@ export type v1UpdateAuthProxyConfigIntent = { otpAlphanumeric?: boolean; /** Desired OTP code length (6–9). */ otpLength?: number; + /** A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: Record; }; export type v1UpdateAuthProxyConfigResult = { @@ -3600,10 +3611,6 @@ export type v1WalletAccountParams = { export type v1WalletKitSettingsParams = { /** List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** Mapping of social login providers to their Oauth client IDs. */ - oauthClientIds?: Record; - /** Oauth redirect URL to be used for social login flows. */ - oauthRedirectUrl?: string; }; export type v1WalletParams = { @@ -3632,243 +3639,238 @@ export type v1WebAuthnStamp = { signature: string; }; + // --- API Types from Swagger Paths --- export type TGetActivityResponse = { /** An action that can be taken within the Turnkey infrastructure. */ activity: v1Activity; -}; +} export type TGetActivityBody = { organizationId?: string; /** Unique identifier for a given activity object. */ activityId: string; -}; +} export type TGetActivityInput = { body: TGetActivityBody }; export type TGetApiKeyResponse = { /** An API key. */ apiKey: v1ApiKey; -}; +} export type TGetApiKeyBody = { organizationId?: string; /** Unique identifier for a given API key. */ apiKeyId: string; -}; +} export type TGetApiKeyInput = { body: TGetApiKeyBody }; export type TGetApiKeysResponse = { /** A list of API keys. */ apiKeys: v1ApiKey[]; -}; +} export type TGetApiKeysBody = { organizationId?: string; /** Unique identifier for a given user. */ userId?: string; -}; +} export type TGetApiKeysInput = { body: TGetApiKeysBody }; export type TGetAttestationDocumentResponse = { /** Raw (CBOR-encoded) attestation document. */ attestationDocument: string; -}; +} export type TGetAttestationDocumentBody = { organizationId?: string; /** The enclave type, one of: ump, notarizer, signer, evm-parser. */ enclaveType: string; -}; +} -export type TGetAttestationDocumentInput = { - body: TGetAttestationDocumentBody; -}; +export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; export type TGetAuthenticatorResponse = { /** An authenticator. */ authenticator: v1Authenticator; -}; +} export type TGetAuthenticatorBody = { organizationId?: string; /** Unique identifier for a given authenticator. */ authenticatorId: string; -}; +} export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; export type TGetAuthenticatorsResponse = { /** A list of authenticators. */ authenticators: v1Authenticator[]; -}; +} export type TGetAuthenticatorsBody = { organizationId?: string; /** Unique identifier for a given user. */ userId: string; -}; +} export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; export type TGetBootProofResponse = { bootProof: v1BootProof; -}; +} export type TGetBootProofBody = { organizationId?: string; /** Hex encoded ephemeral public key. */ ephemeralKey: string; -}; +} export type TGetBootProofInput = { body: TGetBootProofBody }; export type TGetLatestBootProofResponse = { bootProof: v1BootProof; -}; +} export type TGetLatestBootProofBody = { organizationId?: string; /** Name of enclave app. */ appName: string; -}; +} export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; export type TGetOauth2CredentialResponse = { oauth2Credential: v1Oauth2Credential; -}; +} export type TGetOauth2CredentialBody = { organizationId?: string; /** Unique identifier for a given OAuth 2.0 Credential. */ oauth2CredentialId: string; -}; +} export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; export type TGetOauthProvidersResponse = { /** A list of Oauth providers. */ oauthProviders: v1OauthProvider[]; -}; +} export type TGetOauthProvidersBody = { organizationId?: string; /** Unique identifier for a given user. */ userId?: string; -}; +} export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; export type TGetOrganizationResponse = { /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */ organizationData: v1OrganizationData; -}; +} export type TGetOrganizationBody = { organizationId?: string; -}; +} export type TGetOrganizationInput = { body: TGetOrganizationBody }; export type TGetOrganizationConfigsResponse = { /** Organization configs including quorum settings and organization features. */ configs: v1Config; -}; +} export type TGetOrganizationConfigsBody = { organizationId?: string; -}; +} -export type TGetOrganizationConfigsInput = { - body: TGetOrganizationConfigsBody; -}; +export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; export type TGetPolicyResponse = { /** Object that codifies rules defining the actions that are permissible within an organization. */ policy: v1Policy; -}; +} export type TGetPolicyBody = { organizationId?: string; /** Unique identifier for a given policy. */ policyId: string; -}; +} export type TGetPolicyInput = { body: TGetPolicyBody }; export type TGetPolicyEvaluationsResponse = { policyEvaluations: externalactivityv1PolicyEvaluation[]; -}; +} export type TGetPolicyEvaluationsBody = { organizationId?: string; /** Unique identifier for a given activity. */ activityId: string; -}; +} export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; export type TGetPrivateKeyResponse = { /** Cryptographic public/private key pair that can be used for cryptocurrency needs or more generalized encryption. */ privateKey: v1PrivateKey; -}; +} export type TGetPrivateKeyBody = { organizationId?: string; /** Unique identifier for a given private key. */ privateKeyId: string; -}; +} export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; export type TGetSmartContractInterfaceResponse = { /** Object to be used in conjunction with policies to guard transaction signing. */ smartContractInterface: v1SmartContractInterface; -}; +} export type TGetSmartContractInterfaceBody = { organizationId?: string; /** Unique identifier for a given smart contract interface. */ smartContractInterfaceId: string; -}; +} -export type TGetSmartContractInterfaceInput = { - body: TGetSmartContractInterfaceBody; -}; +export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; export type TGetUserResponse = { /** Web and/or API user within your organization. */ user: v1User; -}; +} export type TGetUserBody = { organizationId?: string; /** Unique identifier for a given user. */ userId: string; -}; +} export type TGetUserInput = { body: TGetUserBody }; export type TGetWalletResponse = { /** A collection of deterministically generated cryptographic public / private key pairs that share a common seed. */ wallet: v1Wallet; -}; +} export type TGetWalletBody = { organizationId?: string; /** Unique identifier for a given wallet. */ walletId: string; -}; +} export type TGetWalletInput = { body: TGetWalletBody }; export type TGetWalletAccountResponse = { /** The resulting wallet account. */ account: v1WalletAccount; -}; +} export type TGetWalletAccountBody = { organizationId?: string; @@ -3878,14 +3880,14 @@ export type TGetWalletAccountBody = { address?: string; /** Path corresponding to a wallet account. */ path?: string; -}; +} export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; export type TGetActivitiesResponse = { /** A list of activities. */ activities: v1Activity[]; -}; +} export type TGetActivitiesBody = { organizationId?: string; @@ -3895,70 +3897,68 @@ export type TGetActivitiesBody = { paginationOptions?: v1Pagination; /** Array of activity types filtering which activities will be listed in the response. */ filterByType?: v1ActivityType[]; -}; +} export type TGetActivitiesInput = { body: TGetActivitiesBody }; export type TListOauth2CredentialsResponse = { oauth2Credentials: v1Oauth2Credential[]; -}; +} export type TListOauth2CredentialsBody = { organizationId?: string; -}; +} export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; export type TGetPoliciesResponse = { /** A list of policies. */ policies: v1Policy[]; -}; +} export type TGetPoliciesBody = { organizationId?: string; -}; +} export type TGetPoliciesInput = { body: TGetPoliciesBody }; export type TListPrivateKeyTagsResponse = { /** A list of private key tags. */ privateKeyTags: datav1Tag[]; -}; +} export type TListPrivateKeyTagsBody = { organizationId?: string; -}; +} export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; export type TGetPrivateKeysResponse = { /** A list of private keys. */ privateKeys: v1PrivateKey[]; -}; +} export type TGetPrivateKeysBody = { organizationId?: string; -}; +} export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; export type TGetSmartContractInterfacesResponse = { /** A list of smart contract interfaces. */ smartContractInterfaces: v1SmartContractInterface[]; -}; +} export type TGetSmartContractInterfacesBody = { organizationId?: string; -}; +} -export type TGetSmartContractInterfacesInput = { - body: TGetSmartContractInterfacesBody; -}; +export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; export type TGetSubOrgIdsResponse = { /** List of unique identifiers for the matching sub-organizations. */ organizationIds: string[]; -}; +} export type TGetSubOrgIdsBody = { organizationId?: string; @@ -3968,36 +3968,36 @@ export type TGetSubOrgIdsBody = { filterValue?: string; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -}; +} export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; export type TListUserTagsResponse = { /** A list of user tags. */ userTags: datav1Tag[]; -}; +} export type TListUserTagsBody = { organizationId?: string; -}; +} export type TListUserTagsInput = { body: TListUserTagsBody }; export type TGetUsersResponse = { /** A list of users. */ users: v1User[]; -}; +} export type TGetUsersBody = { organizationId?: string; -}; +} export type TGetUsersInput = { body: TGetUsersBody }; export type TGetVerifiedSubOrgIdsResponse = { /** List of unique identifiers for the matching sub-organizations. */ organizationIds: string[]; -}; +} export type TGetVerifiedSubOrgIdsBody = { organizationId?: string; @@ -4007,14 +4007,14 @@ export type TGetVerifiedSubOrgIdsBody = { filterValue?: string; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -}; +} export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; export type TGetWalletAccountsResponse = { /** A list of accounts generated from a wallet that share a common seed. */ accounts: v1WalletAccount[]; -}; +} export type TGetWalletAccountsBody = { organizationId?: string; @@ -4024,18 +4024,18 @@ export type TGetWalletAccountsBody = { includeWalletDetails?: boolean; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -}; +} export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; export type TGetWalletsResponse = { /** A list of wallets. */ wallets: v1Wallet[]; -}; +} export type TGetWalletsBody = { organizationId?: string; -}; +} export type TGetWalletsInput = { body: TGetWalletsBody }; @@ -4048,24 +4048,24 @@ export type TGetWhoamiResponse = { userId: string; /** Human-readable name for a user. */ username: string; -}; +} export type TGetWhoamiBody = { organizationId?: string; -}; +} export type TGetWhoamiInput = { body: TGetWhoamiBody }; export type TApproveActivityResponse = { activity: v1Activity; -}; +} export type TApproveActivityBody = { timestampMs?: string; organizationId?: string; /** An artifact verifying a User's action. */ fingerprint: string; -}; +} export type TApproveActivityInput = { body: TApproveActivityBody }; @@ -4073,7 +4073,7 @@ export type TCreateApiKeysResponse = { activity: v1Activity; /** A list of API Key IDs. */ apiKeyIds: string[]; -}; +} export type TCreateApiKeysBody = { timestampMs?: string; @@ -4082,7 +4082,7 @@ export type TCreateApiKeysBody = { apiKeys: v1ApiKeyParamsV2[]; /** Unique identifier for a given User. */ userId: string; -}; +} export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; @@ -4090,14 +4090,14 @@ export type TCreateApiOnlyUsersResponse = { activity: v1Activity; /** A list of API-only User IDs. */ userIds: string[]; -}; +} export type TCreateApiOnlyUsersBody = { timestampMs?: string; organizationId?: string; /** A list of API-only Users to create. */ apiOnlyUsers: v1ApiOnlyUserParams[]; -}; +} export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; @@ -4105,7 +4105,7 @@ export type TCreateAuthenticatorsResponse = { activity: v1Activity; /** A list of Authenticator IDs. */ authenticatorIds: string[]; -}; +} export type TCreateAuthenticatorsBody = { timestampMs?: string; @@ -4114,7 +4114,7 @@ export type TCreateAuthenticatorsBody = { authenticators: v1AuthenticatorParamsV2[]; /** Unique identifier for a given User. */ userId: string; -}; +} export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; @@ -4122,14 +4122,14 @@ export type TCreateInvitationsResponse = { activity: v1Activity; /** A list of Invitation IDs */ invitationIds: string[]; -}; +} export type TCreateInvitationsBody = { timestampMs?: string; organizationId?: string; /** A list of Invitations. */ invitations: v1InvitationParams[]; -}; +} export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; @@ -4137,7 +4137,7 @@ export type TCreateOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was created */ oauth2CredentialId: string; -}; +} export type TCreateOauth2CredentialBody = { timestampMs?: string; @@ -4148,17 +4148,15 @@ export type TCreateOauth2CredentialBody = { clientId: string; /** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */ encryptedClientSecret: string; -}; +} -export type TCreateOauth2CredentialInput = { - body: TCreateOauth2CredentialBody; -}; +export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; export type TCreateOauthProvidersResponse = { activity: v1Activity; /** A list of unique identifiers for Oauth Providers */ providerIds: string[]; -}; +} export type TCreateOauthProvidersBody = { timestampMs?: string; @@ -4167,7 +4165,7 @@ export type TCreateOauthProvidersBody = { userId: string; /** A list of Oauth providers. */ oauthProviders: v1OauthProviderParams[]; -}; +} export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; @@ -4175,14 +4173,14 @@ export type TCreatePoliciesResponse = { activity: v1Activity; /** A list of unique identifiers for the created policies. */ policyIds: string[]; -}; +} export type TCreatePoliciesBody = { timestampMs?: string; organizationId?: string; /** An array of policy intents to be created. */ policies: v1CreatePolicyIntentV3[]; -}; +} export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; @@ -4190,7 +4188,7 @@ export type TCreatePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -}; +} export type TCreatePolicyBody = { timestampMs?: string; @@ -4204,7 +4202,7 @@ export type TCreatePolicyBody = { /** The consensus expression that triggers the Effect */ consensus?: string; notes?: string; -}; +} export type TCreatePolicyInput = { body: TCreatePolicyBody }; @@ -4214,7 +4212,7 @@ export type TCreatePrivateKeyTagResponse = { privateKeyTagId: string; /** A list of Private Key IDs. */ privateKeyIds: string[]; -}; +} export type TCreatePrivateKeyTagBody = { timestampMs?: string; @@ -4223,7 +4221,7 @@ export type TCreatePrivateKeyTagBody = { privateKeyTagName: string; /** A list of Private Key IDs. */ privateKeyIds: string[]; -}; +} export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; @@ -4231,14 +4229,14 @@ export type TCreatePrivateKeysResponse = { activity: v1Activity; /** A list of Private Key IDs and addresses. */ privateKeys: v1PrivateKeyResult[]; -}; +} export type TCreatePrivateKeysBody = { timestampMs?: string; organizationId?: string; /** A list of Private Keys. */ privateKeys: v1PrivateKeyParams[]; -}; +} export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; @@ -4256,12 +4254,12 @@ export type TCreateReadOnlySessionResponse = { session: string; /** UTC timestamp in seconds representing the expiry time for the read only session. */ sessionExpiry: string; -}; +} export type TCreateReadOnlySessionBody = { timestampMs?: string; organizationId?: string; -}; +} export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; @@ -4279,7 +4277,7 @@ export type TCreateReadWriteSessionResponse = { apiKeyId: string; /** HPKE encrypted credential bundle */ credentialBundle: string; -}; +} export type TCreateReadWriteSessionBody = { timestampMs?: string; @@ -4294,17 +4292,15 @@ export type TCreateReadWriteSessionBody = { expirationSeconds?: string; /** Invalidate all other previously generated ReadWriteSession API keys */ invalidateExisting?: boolean; -}; +} -export type TCreateReadWriteSessionInput = { - body: TCreateReadWriteSessionBody; -}; +export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; export type TCreateSmartContractInterfaceResponse = { activity: v1Activity; /** The ID of the created Smart Contract Interface. */ smartContractInterfaceId: string; -}; +} export type TCreateSmartContractInterfaceBody = { timestampMs?: string; @@ -4318,18 +4314,16 @@ export type TCreateSmartContractInterfaceBody = { label: string; /** Notes for a Smart Contract Interface. */ notes?: string; -}; +} -export type TCreateSmartContractInterfaceInput = { - body: TCreateSmartContractInterfaceBody; -}; +export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; export type TCreateSubOrganizationResponse = { activity: v1Activity; subOrganizationId: string; wallet?: v1WalletResult; rootUserIds?: string[]; -}; +} export type TCreateSubOrganizationBody = { timestampMs?: string; @@ -4352,7 +4346,7 @@ export type TCreateSubOrganizationBody = { disableOtpEmailAuth?: boolean; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -}; +} export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; @@ -4362,7 +4356,7 @@ export type TCreateUserTagResponse = { userTagId: string; /** A list of User IDs. */ userIds: string[]; -}; +} export type TCreateUserTagBody = { timestampMs?: string; @@ -4371,7 +4365,7 @@ export type TCreateUserTagBody = { userTagName: string; /** A list of User IDs. */ userIds: string[]; -}; +} export type TCreateUserTagInput = { body: TCreateUserTagBody }; @@ -4379,14 +4373,14 @@ export type TCreateUsersResponse = { activity: v1Activity; /** A list of User IDs. */ userIds: string[]; -}; +} export type TCreateUsersBody = { timestampMs?: string; organizationId?: string; /** A list of Users. */ users: v1UserParamsV3[]; -}; +} export type TCreateUsersInput = { body: TCreateUsersBody }; @@ -4396,7 +4390,7 @@ export type TCreateWalletResponse = { walletId: string; /** A list of account addresses. */ addresses: string[]; -}; +} export type TCreateWalletBody = { timestampMs?: string; @@ -4407,7 +4401,7 @@ export type TCreateWalletBody = { accounts: v1WalletAccountParams[]; /** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */ mnemonicLength?: number; -}; +} export type TCreateWalletInput = { body: TCreateWalletBody }; @@ -4415,7 +4409,7 @@ export type TCreateWalletAccountsResponse = { activity: v1Activity; /** A list of derived addresses. */ addresses: string[]; -}; +} export type TCreateWalletAccountsBody = { timestampMs?: string; @@ -4424,7 +4418,7 @@ export type TCreateWalletAccountsBody = { walletId: string; /** A list of wallet Accounts. */ accounts: v1WalletAccountParams[]; -}; +} export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; @@ -4432,7 +4426,7 @@ export type TDeleteApiKeysResponse = { activity: v1Activity; /** A list of API Key IDs. */ apiKeyIds: string[]; -}; +} export type TDeleteApiKeysBody = { timestampMs?: string; @@ -4441,7 +4435,7 @@ export type TDeleteApiKeysBody = { userId: string; /** A list of API Key IDs. */ apiKeyIds: string[]; -}; +} export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; @@ -4449,7 +4443,7 @@ export type TDeleteAuthenticatorsResponse = { activity: v1Activity; /** Unique identifier for a given Authenticator. */ authenticatorIds: string[]; -}; +} export type TDeleteAuthenticatorsBody = { timestampMs?: string; @@ -4458,7 +4452,7 @@ export type TDeleteAuthenticatorsBody = { userId: string; /** A list of Authenticator IDs. */ authenticatorIds: string[]; -}; +} export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; @@ -4466,14 +4460,14 @@ export type TDeleteInvitationResponse = { activity: v1Activity; /** Unique identifier for a given Invitation. */ invitationId: string; -}; +} export type TDeleteInvitationBody = { timestampMs?: string; organizationId?: string; /** Unique identifier for a given Invitation object. */ invitationId: string; -}; +} export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; @@ -4481,24 +4475,22 @@ export type TDeleteOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was deleted */ oauth2CredentialId: string; -}; +} export type TDeleteOauth2CredentialBody = { timestampMs?: string; organizationId?: string; /** The ID of the OAuth 2.0 credential to delete */ oauth2CredentialId: string; -}; +} -export type TDeleteOauth2CredentialInput = { - body: TDeleteOauth2CredentialBody; -}; +export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; export type TDeleteOauthProvidersResponse = { activity: v1Activity; /** A list of unique identifiers for Oauth Providers */ providerIds: string[]; -}; +} export type TDeleteOauthProvidersBody = { timestampMs?: string; @@ -4507,7 +4499,7 @@ export type TDeleteOauthProvidersBody = { userId: string; /** Unique identifier for a given Provider. */ providerIds: string[]; -}; +} export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; @@ -4515,14 +4507,14 @@ export type TDeletePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -}; +} export type TDeletePolicyBody = { timestampMs?: string; organizationId?: string; /** Unique identifier for a given Policy. */ policyId: string; -}; +} export type TDeletePolicyInput = { body: TDeletePolicyBody }; @@ -4532,14 +4524,14 @@ export type TDeletePrivateKeyTagsResponse = { privateKeyTagIds: string[]; /** A list of Private Key IDs. */ privateKeyIds: string[]; -}; +} export type TDeletePrivateKeyTagsBody = { timestampMs?: string; organizationId?: string; /** A list of Private Key Tag IDs. */ privateKeyTagIds: string[]; -}; +} export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; @@ -4547,7 +4539,7 @@ export type TDeletePrivateKeysResponse = { activity: v1Activity; /** A list of private key unique identifiers that were removed */ privateKeyIds: string[]; -}; +} export type TDeletePrivateKeysBody = { timestampMs?: string; @@ -4556,7 +4548,7 @@ export type TDeletePrivateKeysBody = { privateKeyIds: string[]; /** Optional parameter for deleting the private keys, even if any have not been previously exported. If they have been exported, this field is ignored. */ deleteWithoutExport?: boolean; -}; +} export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; @@ -4564,31 +4556,29 @@ export type TDeleteSmartContractInterfaceResponse = { activity: v1Activity; /** The ID of the deleted Smart Contract Interface. */ smartContractInterfaceId: string; -}; +} export type TDeleteSmartContractInterfaceBody = { timestampMs?: string; organizationId?: string; /** The ID of a Smart Contract Interface intended for deletion. */ smartContractInterfaceId: string; -}; +} -export type TDeleteSmartContractInterfaceInput = { - body: TDeleteSmartContractInterfaceBody; -}; +export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; export type TDeleteSubOrganizationResponse = { activity: v1Activity; /** Unique identifier of the sub organization that was removed */ subOrganizationUuid: string; -}; +} export type TDeleteSubOrganizationBody = { timestampMs?: string; organizationId?: string; /** Sub-organization deletion, by default, requires associated wallets and private keys to be exported for security reasons. Set this boolean to true to force sub-organization deletion even if some wallets or private keys within it have not been exported yet. Default: false. */ deleteWithoutExport?: boolean; -}; +} export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; @@ -4598,14 +4588,14 @@ export type TDeleteUserTagsResponse = { userTagIds: string[]; /** A list of User IDs. */ userIds: string[]; -}; +} export type TDeleteUserTagsBody = { timestampMs?: string; organizationId?: string; /** A list of User Tag IDs. */ userTagIds: string[]; -}; +} export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; @@ -4613,14 +4603,14 @@ export type TDeleteUsersResponse = { activity: v1Activity; /** A list of User IDs. */ userIds: string[]; -}; +} export type TDeleteUsersBody = { timestampMs?: string; organizationId?: string; /** A list of User IDs. */ userIds: string[]; -}; +} export type TDeleteUsersInput = { body: TDeleteUsersBody }; @@ -4628,7 +4618,7 @@ export type TDeleteWalletsResponse = { activity: v1Activity; /** A list of wallet unique identifiers that were removed */ walletIds: string[]; -}; +} export type TDeleteWalletsBody = { timestampMs?: string; @@ -4637,7 +4627,7 @@ export type TDeleteWalletsBody = { walletIds: string[]; /** Optional parameter for deleting the wallets, even if any have not been previously exported. If they have been exported, this field is ignored. */ deleteWithoutExport?: boolean; -}; +} export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; @@ -4647,7 +4637,7 @@ export type TEmailAuthResponse = { userId: string; /** Unique identifier for the created API key. */ apiKeyId: string; -}; +} export type TEmailAuthBody = { timestampMs?: string; @@ -4670,7 +4660,7 @@ export type TEmailAuthBody = { sendFromEmailSenderName?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -}; +} export type TEmailAuthInput = { body: TEmailAuthBody }; @@ -4680,7 +4670,7 @@ export type TExportPrivateKeyResponse = { privateKeyId: string; /** Export bundle containing a private key encrypted to the client's target public key. */ exportBundle: string; -}; +} export type TExportPrivateKeyBody = { timestampMs?: string; @@ -4689,7 +4679,7 @@ export type TExportPrivateKeyBody = { privateKeyId: string; /** Client-side public key generated by the user, to which the export bundle will be encrypted. */ targetPublicKey: string; -}; +} export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; @@ -4699,7 +4689,7 @@ export type TExportWalletResponse = { walletId: string; /** Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key. */ exportBundle: string; -}; +} export type TExportWalletBody = { timestampMs?: string; @@ -4710,7 +4700,7 @@ export type TExportWalletBody = { targetPublicKey: string; /** The language of the mnemonic to export. Defaults to English. */ language?: v1MnemonicLanguage; -}; +} export type TExportWalletInput = { body: TExportWalletBody }; @@ -4720,7 +4710,7 @@ export type TExportWalletAccountResponse = { address: string; /** Export bundle containing a private key encrypted by the client's target public key. */ exportBundle: string; -}; +} export type TExportWalletAccountBody = { timestampMs?: string; @@ -4729,7 +4719,7 @@ export type TExportWalletAccountBody = { address: string; /** Client-side public key generated by the user, to which the export bundle will be encrypted. */ targetPublicKey: string; -}; +} export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; @@ -4739,7 +4729,7 @@ export type TImportPrivateKeyResponse = { privateKeyId: string; /** A list of addresses. */ addresses: immutableactivityv1Address[]; -}; +} export type TImportPrivateKeyBody = { timestampMs?: string; @@ -4754,7 +4744,7 @@ export type TImportPrivateKeyBody = { curve: v1Curve; /** Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */ addressFormats: v1AddressFormat[]; -}; +} export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; @@ -4764,7 +4754,7 @@ export type TImportWalletResponse = { walletId: string; /** A list of account addresses. */ addresses: string[]; -}; +} export type TImportWalletBody = { timestampMs?: string; @@ -4777,7 +4767,7 @@ export type TImportWalletBody = { encryptedBundle: string; /** A list of wallet Accounts. */ accounts: v1WalletAccountParams[]; -}; +} export type TImportWalletInput = { body: TImportWalletBody }; @@ -4789,7 +4779,7 @@ export type TInitFiatOnRampResponse = { onRampTransactionId: string; /** Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project. */ onRampUrlSignature?: string; -}; +} export type TInitFiatOnRampBody = { timestampMs?: string; @@ -4816,7 +4806,7 @@ export type TInitFiatOnRampBody = { sandboxMode?: boolean; /** Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */ urlForSignature?: string; -}; +} export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; @@ -4824,14 +4814,14 @@ export type TInitImportPrivateKeyResponse = { activity: v1Activity; /** Import bundle containing a public key and signature to use for importing client data. */ importBundle: string; -}; +} export type TInitImportPrivateKeyBody = { timestampMs?: string; organizationId?: string; /** The ID of the User importing a Private Key. */ userId: string; -}; +} export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; @@ -4839,14 +4829,14 @@ export type TInitImportWalletResponse = { activity: v1Activity; /** Import bundle containing a public key and signature to use for importing client data. */ importBundle: string; -}; +} export type TInitImportWalletBody = { timestampMs?: string; organizationId?: string; /** The ID of the User importing a Wallet. */ userId: string; -}; +} export type TInitImportWalletInput = { body: TInitImportWalletBody }; @@ -4854,7 +4844,7 @@ export type TInitOtpResponse = { activity: v1Activity; /** Unique identifier for an OTP authentication */ otpId: string; -}; +} export type TInitOtpBody = { timestampMs?: string; @@ -4881,7 +4871,7 @@ export type TInitOtpBody = { expirationSeconds?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -}; +} export type TInitOtpInput = { body: TInitOtpBody }; @@ -4889,7 +4879,7 @@ export type TInitOtpAuthResponse = { activity: v1Activity; /** Unique identifier for an OTP authentication */ otpId: string; -}; +} export type TInitOtpAuthBody = { timestampMs?: string; @@ -4914,7 +4904,7 @@ export type TInitOtpAuthBody = { sendFromEmailSenderName?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -}; +} export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; @@ -4922,7 +4912,7 @@ export type TInitUserEmailRecoveryResponse = { activity: v1Activity; /** Unique identifier for the user being recovered. */ userId: string; -}; +} export type TInitUserEmailRecoveryBody = { timestampMs?: string; @@ -4935,7 +4925,7 @@ export type TInitUserEmailRecoveryBody = { expirationSeconds?: string; /** Optional parameters for customizing emails. If not provided, the default email will be used. */ emailCustomization?: v1EmailCustomizationParams; -}; +} export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; @@ -4947,7 +4937,7 @@ export type TOauthResponse = { apiKeyId: string; /** HPKE encrypted credential bundle */ credentialBundle: string; -}; +} export type TOauthBody = { timestampMs?: string; @@ -4962,7 +4952,7 @@ export type TOauthBody = { expirationSeconds?: string; /** Invalidate all other previously generated Oauth API keys */ invalidateExisting?: boolean; -}; +} export type TOauthInput = { body: TOauthBody }; @@ -4970,7 +4960,7 @@ export type TOauth2AuthenticateResponse = { activity: v1Activity; /** Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity */ oidcToken: string; -}; +} export type TOauth2AuthenticateBody = { timestampMs?: string; @@ -4985,7 +4975,7 @@ export type TOauth2AuthenticateBody = { codeVerifier: string; /** An optional nonce used by the client to prevent replay/substitution of an ID token */ nonce?: string; -}; +} export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; @@ -4993,7 +4983,7 @@ export type TOauthLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -}; +} export type TOauthLoginBody = { timestampMs?: string; @@ -5006,7 +4996,7 @@ export type TOauthLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -}; +} export type TOauthLoginInput = { body: TOauthLoginBody }; @@ -5018,7 +5008,7 @@ export type TOtpAuthResponse = { apiKeyId?: string; /** HPKE encrypted credential bundle */ credentialBundle?: string; -}; +} export type TOtpAuthBody = { timestampMs?: string; @@ -5035,7 +5025,7 @@ export type TOtpAuthBody = { expirationSeconds?: string; /** Invalidate all other previously generated OTP Auth API keys */ invalidateExisting?: boolean; -}; +} export type TOtpAuthInput = { body: TOtpAuthBody }; @@ -5043,7 +5033,7 @@ export type TOtpLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -}; +} export type TOtpLoginBody = { timestampMs?: string; @@ -5056,7 +5046,7 @@ export type TOtpLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -}; +} export type TOtpLoginInput = { body: TOtpLoginBody }; @@ -5064,7 +5054,7 @@ export type TRecoverUserResponse = { activity: v1Activity; /** ID of the authenticator created. */ authenticatorId: string[]; -}; +} export type TRecoverUserBody = { timestampMs?: string; @@ -5073,20 +5063,20 @@ export type TRecoverUserBody = { authenticator: v1AuthenticatorParamsV2; /** Unique identifier for the user performing recovery. */ userId: string; -}; +} export type TRecoverUserInput = { body: TRecoverUserBody }; export type TRejectActivityResponse = { activity: v1Activity; -}; +} export type TRejectActivityBody = { timestampMs?: string; organizationId?: string; /** An artifact verifying a User's action. */ fingerprint: string; -}; +} export type TRejectActivityInput = { body: TRejectActivityBody }; @@ -5094,24 +5084,22 @@ export type TRemoveOrganizationFeatureResponse = { activity: v1Activity; /** Resulting list of organization features. */ features: v1Feature[]; -}; +} export type TRemoveOrganizationFeatureBody = { timestampMs?: string; organizationId?: string; /** Name of the feature to remove */ name: v1FeatureName; -}; +} -export type TRemoveOrganizationFeatureInput = { - body: TRemoveOrganizationFeatureBody; -}; +export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; export type TSetOrganizationFeatureResponse = { activity: v1Activity; /** Resulting list of organization features. */ features: v1Feature[]; -}; +} export type TSetOrganizationFeatureBody = { timestampMs?: string; @@ -5120,11 +5108,9 @@ export type TSetOrganizationFeatureBody = { name: v1FeatureName; /** Optional value for the feature. Will override existing values if feature is already set. */ value: string; -}; +} -export type TSetOrganizationFeatureInput = { - body: TSetOrganizationFeatureBody; -}; +export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; export type TSignRawPayloadResponse = { activity: v1Activity; @@ -5134,7 +5120,7 @@ export type TSignRawPayloadResponse = { s: string; /** Component of an ECSDA signature. */ v: string; -}; +} export type TSignRawPayloadBody = { timestampMs?: string; @@ -5147,14 +5133,14 @@ export type TSignRawPayloadBody = { encoding: v1PayloadEncoding; /** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */ hashFunction: v1HashFunction; -}; +} export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; export type TSignRawPayloadsResponse = { activity: v1Activity; signatures?: v1SignRawPayloadResult[]; -}; +} export type TSignRawPayloadsBody = { timestampMs?: string; @@ -5167,14 +5153,14 @@ export type TSignRawPayloadsBody = { encoding: v1PayloadEncoding; /** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */ hashFunction: v1HashFunction; -}; +} export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; export type TSignTransactionResponse = { activity: v1Activity; signedTransaction: string; -}; +} export type TSignTransactionBody = { timestampMs?: string; @@ -5184,7 +5170,7 @@ export type TSignTransactionBody = { /** Raw unsigned transaction to be signed */ unsignedTransaction: string; type: v1TransactionType; -}; +} export type TSignTransactionInput = { body: TSignTransactionBody }; @@ -5192,7 +5178,7 @@ export type TStampLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -}; +} export type TStampLoginBody = { timestampMs?: string; @@ -5203,7 +5189,7 @@ export type TStampLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -}; +} export type TStampLoginInput = { body: TStampLoginBody }; @@ -5211,7 +5197,7 @@ export type TUpdateOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was updated */ oauth2CredentialId: string; -}; +} export type TUpdateOauth2CredentialBody = { timestampMs?: string; @@ -5224,17 +5210,15 @@ export type TUpdateOauth2CredentialBody = { clientId: string; /** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */ encryptedClientSecret: string; -}; +} -export type TUpdateOauth2CredentialInput = { - body: TUpdateOauth2CredentialBody; -}; +export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; export type TUpdatePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -}; +} export type TUpdatePolicyBody = { timestampMs?: string; @@ -5251,7 +5235,7 @@ export type TUpdatePolicyBody = { policyConsensus?: string; /** Accompanying notes for a Policy (optional). */ policyNotes?: string; -}; +} export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; @@ -5259,7 +5243,7 @@ export type TUpdatePrivateKeyTagResponse = { activity: v1Activity; /** Unique identifier for a given Private Key Tag. */ privateKeyTagId: string; -}; +} export type TUpdatePrivateKeyTagBody = { timestampMs?: string; @@ -5272,13 +5256,13 @@ export type TUpdatePrivateKeyTagBody = { addPrivateKeyIds: string[]; /** A list of Private Key IDs to remove this tag from. */ removePrivateKeyIds: string[]; -}; +} export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; export type TUpdateRootQuorumResponse = { activity: v1Activity; -}; +} export type TUpdateRootQuorumBody = { timestampMs?: string; @@ -5287,7 +5271,7 @@ export type TUpdateRootQuorumBody = { threshold: number; /** The unique identifiers of users who comprise the quorum set. */ userIds: string[]; -}; +} export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; @@ -5295,7 +5279,7 @@ export type TUpdateUserResponse = { activity: v1Activity; /** A User ID. */ userId: string; -}; +} export type TUpdateUserBody = { timestampMs?: string; @@ -5310,7 +5294,7 @@ export type TUpdateUserBody = { userTagIds?: string[]; /** The user's phone number in E.164 format e.g. +13214567890 */ userPhoneNumber?: string; -}; +} export type TUpdateUserInput = { body: TUpdateUserBody }; @@ -5318,7 +5302,7 @@ export type TUpdateUserEmailResponse = { activity: v1Activity; /** Unique identifier of the User whose email was updated. */ userId: string; -}; +} export type TUpdateUserEmailBody = { timestampMs?: string; @@ -5329,7 +5313,7 @@ export type TUpdateUserEmailBody = { userEmail: string; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -}; +} export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; @@ -5337,7 +5321,7 @@ export type TUpdateUserNameResponse = { activity: v1Activity; /** Unique identifier of the User whose name was updated. */ userId: string; -}; +} export type TUpdateUserNameBody = { timestampMs?: string; @@ -5346,7 +5330,7 @@ export type TUpdateUserNameBody = { userId: string; /** Human-readable name for a User. */ userName: string; -}; +} export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; @@ -5354,7 +5338,7 @@ export type TUpdateUserPhoneNumberResponse = { activity: v1Activity; /** Unique identifier of the User whose phone number was updated. */ userId: string; -}; +} export type TUpdateUserPhoneNumberBody = { timestampMs?: string; @@ -5365,7 +5349,7 @@ export type TUpdateUserPhoneNumberBody = { userPhoneNumber: string; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -}; +} export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; @@ -5373,7 +5357,7 @@ export type TUpdateUserTagResponse = { activity: v1Activity; /** Unique identifier for a given User Tag. */ userTagId: string; -}; +} export type TUpdateUserTagBody = { timestampMs?: string; @@ -5386,7 +5370,7 @@ export type TUpdateUserTagBody = { addUserIds: string[]; /** A list of User IDs to remove this tag from. */ removeUserIds: string[]; -}; +} export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; @@ -5394,7 +5378,7 @@ export type TUpdateWalletResponse = { activity: v1Activity; /** A Wallet ID. */ walletId: string; -}; +} export type TUpdateWalletBody = { timestampMs?: string; @@ -5403,7 +5387,7 @@ export type TUpdateWalletBody = { walletId: string; /** Human-readable name for a Wallet. */ walletName?: string; -}; +} export type TUpdateWalletInput = { body: TUpdateWalletBody }; @@ -5411,7 +5395,7 @@ export type TVerifyOtpResponse = { activity: v1Activity; /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ verificationToken: string; -}; +} export type TVerifyOtpBody = { timestampMs?: string; @@ -5422,13 +5406,13 @@ export type TVerifyOtpBody = { otpCode: string; /** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */ expirationSeconds?: string; -}; +} export type TVerifyOtpInput = { body: TVerifyOtpBody }; export type TNOOPCodegenAnchorResponse = { activity: v1Activity; -}; +} export type TTestRateLimitsResponse = {}; @@ -5438,27 +5422,27 @@ export type TTestRateLimitsBody = { isSetLimit: boolean; /** Rate limit to set for org, if is_set_limit is set to true. */ limit: number; -}; +} export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; export type ProxyTGetAccountResponse = { organizationId: string; -}; +} export type ProxyTGetAccountBody = { /** Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN' or 'PUBLIC_KEY' */ filterType: string; /** The value of the filter to apply for the specified type. For example, a specific email or name string. */ filterValue: string; -}; +} export type ProxyTGetAccountInput = { body: ProxyTGetAccountBody }; export type ProxyTOAuth2AuthenticateResponse = { /** A Turnkey issued OIDC token to be used with the LoginWithOAuth activity */ oidcToken: string; -}; +} export type ProxyTOAuth2AuthenticateBody = { /** The OAuth 2.0 provider to authenticate with */ @@ -5471,18 +5455,14 @@ export type ProxyTOAuth2AuthenticateBody = { codeVerifier: string; /** An optional nonce used by the client to prevent replay/substitution of an ID token */ nonce?: string; - /** The client ID registered with the OAuth 2.0 provider */ - clientId: string; -}; +} -export type ProxyTOAuth2AuthenticateInput = { - body: ProxyTOAuth2AuthenticateBody; -}; +export type ProxyTOAuth2AuthenticateInput = { body: ProxyTOAuth2AuthenticateBody }; export type ProxyTOAuthLoginResponse = { /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -}; +} export type ProxyTOAuthLoginBody = { /** Base64 encoded OIDC token */ @@ -5491,28 +5471,28 @@ export type ProxyTOAuthLoginBody = { publicKey: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -}; +} export type ProxyTOAuthLoginInput = { body: ProxyTOAuthLoginBody }; export type ProxyTInitOtpResponse = { /** Unique identifier for an OTP authentication */ otpId: string; -}; +} export type ProxyTInitOtpBody = { /** Enum to specifiy whether to send OTP via SMS or email */ otpType: string; /** Email or phone number to send the OTP code to */ contact: string; -}; +} export type ProxyTInitOtpInput = { body: ProxyTInitOtpBody }; export type ProxyTOtpLoginResponse = { /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -}; +} export type ProxyTOtpLoginBody = { /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ @@ -5521,27 +5501,27 @@ export type ProxyTOtpLoginBody = { publicKey: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -}; +} export type ProxyTOtpLoginInput = { body: ProxyTOtpLoginBody }; export type ProxyTVerifyOtpResponse = { /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ verificationToken: string; -}; +} export type ProxyTVerifyOtpBody = { /** ID representing the result of an init OTP activity. */ otpId: string; /** OTP sent out to a user's contact (email or SMS) */ otpCode: string; -}; +} export type ProxyTVerifyOtpInput = { body: ProxyTVerifyOtpBody }; export type ProxyTSignupResponse = { organizationId: string; -}; +} export type ProxyTSignupBody = { userEmail?: string; @@ -5558,7 +5538,7 @@ export type ProxyTSignupBody = { oauthProviders: v1OauthProviderParams[]; /** The wallet to create for the sub-organization */ wallet?: v1WalletParams; -}; +} export type ProxyTSignupInput = { body: ProxyTSignupBody }; @@ -5569,14 +5549,10 @@ export type ProxyTGetWalletKitConfigResponse = { sessionExpirationSeconds: string; /** The organization ID this configuration applies to */ organizationId: string; - /** Mapping of social login providers to their OAuth client IDs. */ - oauthClientIds?: Record; - /** OAuth redirect URL to be used for social login flows. */ - oauthRedirectUrl?: string; -}; +} -export type ProxyTGetWalletKitConfigBody = {}; +export type ProxyTGetWalletKitConfigBody = { +} + +export type ProxyTGetWalletKitConfigInput = { body: ProxyTGetWalletKitConfigBody }; -export type ProxyTGetWalletKitConfigInput = { - body: ProxyTGetWalletKitConfigBody; -}; diff --git a/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json b/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json index c8c471d51..5bdadb819 100644 --- a/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json +++ b/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json @@ -477,19 +477,6 @@ "type": "string", "description": "The organization ID this configuration applies to", "title": "Organization ID" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their OAuth client IDs.", - "title": "OAuth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "OAuth redirect URL to be used for social login flows.", - "title": "OAuth Redirect URL" } }, "required": [ @@ -544,19 +531,9 @@ "nonce": { "type": "string", "description": "An optional nonce used by the client to prevent replay/substitution of an ID token" - }, - "clientId": { - "type": "string", - "description": "The client ID registered with the OAuth 2.0 provider" } }, - "required": [ - "provider", - "authCode", - "redirectUri", - "codeVerifier", - "clientId" - ] + "required": ["provider", "authCode", "redirectUri", "codeVerifier"] }, "v1OAuth2AuthenticateResponse": { "type": "object", diff --git a/packages/sdk-types/src/__inputs__/public_api.swagger.json b/packages/sdk-types/src/__inputs__/public_api.swagger.json index 54b8cc154..82ebe4110 100644 --- a/packages/sdk-types/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-types/src/__inputs__/public_api.swagger.json @@ -10528,6 +10528,13 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." + }, + "oauth2ProviderCredentialIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11549,19 +11556,6 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" - }, - "oauthClientIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Mapping of social login providers to their Oauth client IDs.", - "title": "Oauth Client IDs" - }, - "oauthRedirectUrl": { - "type": "string", - "description": "Oauth redirect URL to be used for social login flows.", - "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-types/src/__inputs__/public_api.types.ts b/packages/sdk-types/src/__inputs__/public_api.types.ts index d9e50642a..c76e40578 100644 --- a/packages/sdk-types/src/__inputs__/public_api.types.ts +++ b/packages/sdk-types/src/__inputs__/public_api.types.ts @@ -3372,6 +3372,8 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; + /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ + oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3771,16 +3773,6 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; - /** - * Oauth Client IDs - * @description Mapping of social login providers to their Oauth client IDs. - */ - oauthClientIds?: { [key: string]: string }; - /** - * Oauth Redirect URL - * @description Oauth redirect URL to be used for social login flows. - */ - oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/viem/src/index.ts b/packages/viem/src/index.ts index 801545b0f..2e55a939e 100644 --- a/packages/viem/src/index.ts +++ b/packages/viem/src/index.ts @@ -9,9 +9,9 @@ import { serializeTypedData, } from "viem"; import { - SignAuthorizationReturnType, + type SignAuthorizationReturnType, toAccount, - SignAuthorizationParameters, + type SignAuthorizationParameters, } from "viem/accounts"; import type { Hex, @@ -28,9 +28,9 @@ import { assertNonNull, assertActivityCompleted, isHttpClient, - TActivityStatus, - TActivityId, - TSignature, + type TActivityStatus, + type TActivityId, + type TSignature, TurnkeyActivityError as TurnkeyHttpActivityError, TurnkeyActivityConsensusNeededError as TurnkeyHttpActivityConsensusNeededError, TurnkeyClient, @@ -158,7 +158,7 @@ export function createAccountWithAddress(input: { serializer?: | SerializeTransactionFn | undefined; - }, + } ): Promise { const serializer: SerializeTransactionFn = options?.serializer ?? @@ -168,16 +168,16 @@ export function createAccountWithAddress(input: { transaction, serializer, organizationId, - signWith, + signWith ); }, signTypedData: function ( - typedData: TypedData | { [key: string]: unknown }, + typedData: TypedData | { [key: string]: unknown } ): Promise { return signTypedData(client, typedData, organizationId, signWith); }, signAuthorization: function ( - parameters: TSignAuthorizationParameters, + parameters: TSignAuthorizationParameters ): Promise { return signAuthorization(client, parameters, organizationId, signWith); }, @@ -219,7 +219,7 @@ export async function createAccount(input: { }); ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -269,7 +269,7 @@ type TApiKeyAccountConfig = { * @deprecated use {@link createAccount} instead. */ export async function createApiKeyAccount( - config: TApiKeyAccountConfig, + config: TApiKeyAccountConfig ): Promise { const { apiPublicKey, apiPrivateKey, baseUrl, organizationId, privateKeyId } = config; @@ -283,7 +283,7 @@ export async function createApiKeyAccount( { baseUrl: baseUrl, }, - stamper, + stamper ); const data = await client.getPrivateKey({ @@ -292,7 +292,7 @@ export async function createApiKeyAccount( }); const ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -322,7 +322,7 @@ export async function createApiKeyAccount( serializer?: | SerializeTransactionFn | undefined; - }, + } ): Promise { const serializer: SerializeTransactionFn = options?.serializer ?? @@ -332,22 +332,22 @@ export async function createApiKeyAccount( transaction, serializer, organizationId, - privateKeyId, + privateKeyId ); }, signTypedData: function ( - typedData: TypedData | { [key: string]: unknown }, + typedData: TypedData | { [key: string]: unknown } ): Promise { return signTypedData(client, typedData, organizationId, privateKeyId); }, signAuthorization: function ( - parameters: TSignAuthorizationParameters, + parameters: TSignAuthorizationParameters ): Promise { return signAuthorization( client, parameters, organizationId, - privateKeyId, + privateKeyId ); }, }); @@ -361,7 +361,7 @@ export async function signAuthorization( | TurnkeySDKClientBase, parameters: TSignAuthorizationParameters, organizationId: string, - signWith: string, + signWith: string ): Promise { const { chainId, nonce, to = "object" } = parameters; const address = parameters.contractAddress ?? parameters.address; @@ -382,7 +382,7 @@ export async function signAuthorization( organizationId, signWith, "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION", - to, + to ); if (to === "object") @@ -405,13 +405,13 @@ export async function signMessage( | TurnkeySDKClientBase, message: SignableMessage, organizationId: string, - signWith: string, + signWith: string ): Promise { const signedMessage = await signMessageWithErrorWrapping( client, message as Hex, organizationId, - signWith, + signWith ); return `${signedMessage}` as Hex; } @@ -427,7 +427,7 @@ export async function signTransaction< transaction: TTransactionSerializable, serializer: SerializeTransactionFn, organizationId: string, - signWith: string, + signWith: string ): Promise { // Note: for Type 3 transactions, we are specifically handling parsing for payloads containing only the transaction payload body, without any wrappers around blobs, commitments, or proofs. // See more: https://github.com/wevm/viem/blob/3ef19eac4963014fb20124d1e46d1715bed5509f/src/accounts/utils/signTransaction.ts#L54-L55 @@ -442,7 +442,7 @@ export async function signTransaction< client, nonHexPrefixedSerializedTx, organizationId, - signWith, + signWith ); if (transaction.type === "eip4844") { @@ -468,7 +468,7 @@ export async function signTypedData( | TurnkeySDKClientBase, data: TypedData | { [key: string]: unknown }, organizationId: string, - signWith: string, + signWith: string ): Promise { return (await signMessageWithErrorWrapping( client, @@ -476,7 +476,7 @@ export async function signTypedData( organizationId, signWith, "PAYLOAD_ENCODING_EIP712", - "hex", + "hex" )) as Hex; } @@ -488,7 +488,7 @@ async function signTransactionWithErrorWrapping( | TurnkeySDKClientBase, unsignedTransaction: string, organizationId: string, - signWith: string, + signWith: string ): Promise { let signedTx: string; try { @@ -496,7 +496,7 @@ async function signTransactionWithErrorWrapping( client, unsignedTransaction, organizationId, - signWith, + signWith ); } catch (error: any) { // Wrap Turnkey error in Viem-specific error @@ -532,7 +532,7 @@ async function signTransactionImpl( | TurnkeySDKClientBase, unsignedTransaction: string, organizationId: string, - signWith: string, + signWith: string ): Promise { if (isHttpClient(client)) { const { activity } = await client.signTransaction({ @@ -549,7 +549,7 @@ async function signTransactionImpl( assertActivityCompleted(activity); return assertNonNull( - activity?.result?.signTransactionResult?.signedTransaction, + activity?.result?.signTransactionResult?.signedTransaction ); } else { const { activity, signedTransaction } = await client.signTransaction({ @@ -560,7 +560,7 @@ async function signTransactionImpl( }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); return assertNonNull(signedTransaction); @@ -577,7 +577,7 @@ async function signMessageWithErrorWrapping( organizationId: string, signWith: string, payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", - to: TSignatureFormat = "hex", + to: TSignatureFormat = "hex" ): Promise { let signedMessage: TSignMessageResult; @@ -588,7 +588,7 @@ async function signMessageWithErrorWrapping( organizationId, signWith, payloadEncoding, - to, + to ); } catch (error: any) { // Wrap Turnkey error in Viem-specific error @@ -626,7 +626,7 @@ async function signMessageImpl( organizationId: string, signWith: string, payloadEncoding: TPayloadEncoding, - to: TSignatureFormat, + to: TSignatureFormat ): Promise { let result: TSignature; @@ -656,7 +656,7 @@ async function signMessageImpl( }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); result = { @@ -681,7 +681,7 @@ async function signMessageImpl( // https://github.com/wevm/viem/blob/c8378d22f692f48edde100693159874702f36330/src/utils/signature/serializeSignature.ts#L38-L39 export function serializeSignature( sig: TSignature, - to: TSignatureFormat = "hex", + to: TSignatureFormat = "hex" ) { const { r: rString, s: sString, v: vString } = sig; @@ -694,7 +694,7 @@ export function serializeSignature( const signature = `0x${new secp256k1.Signature( hexToBigInt(r), - hexToBigInt(s), + hexToBigInt(s) ).toCompactHex()}${yParity_ === 0n ? "1b" : "1c"}` as const; if (to === "hex") return signature; diff --git a/packages/viem/tsconfig.json b/packages/viem/tsconfig.json index 39425c91e..586708566 100644 --- a/packages/viem/tsconfig.json +++ b/packages/viem/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16-strictest/tsconfig.json", + "extends": "../../tsconfig.base.json", "compilerOptions": { "ignoreDeprecations": "5.0", "composite": true, diff --git a/packages/wallet-stamper/src/ethereum.ts b/packages/wallet-stamper/src/ethereum.ts index 01ab52f0f..c4f2aae6c 100644 --- a/packages/wallet-stamper/src/ethereum.ts +++ b/packages/wallet-stamper/src/ethereum.ts @@ -1,10 +1,10 @@ -import { EthereumWalletInterface, WalletType } from "./types"; +import { type EthereumWalletInterface, WalletType } from "./types"; import { recoverPublicKey, hashMessage, - Hex, - Address, - EIP1193Provider, + type Hex, + type Address, + type EIP1193Provider, } from "viem"; import "viem/window"; import { WalletStamperError } from "./errors"; @@ -116,7 +116,7 @@ export class EthereumWallet extends BaseEthereumWallet { export const getCompressedPublicKey = async ( signature: Hex, - message: string, + message: string ) => { const secp256k1PublicKey = await recoverPublicKey({ hash: hashMessage(message), diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1cf24612..3baf6bbda 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false overrides: + '@solana-mobile/wallet-standard-mobile>bs58': ^6.0.0 + '@solana-mobile/mobile-wallet-adapter-protocol>bs58': ^6.0.0 + '@solana-mobile/mobile-wallet-adapter-protocol-web3js>bs58': ^6.0.0 '@confio/ics23@0.6.8>protobufjs': '>=7.2.5' protobufjs@>=6.10.0 <7.2.5: '>=7.2.5' '@babel/traverse': '>=7.23.2' @@ -27,6 +30,8 @@ overrides: form-data: '>=4.0.4' sha.js: '>=2.4.12' +packageExtensionsChecksum: sha256-B61zvhvUzUFyKVnM571z+tS3QxAzZ0lrwktbCJfko30= + importers: .: @@ -53,8 +58,8 @@ importers: specifier: 5.1.1 version: 5.1.1(rollup@4.22.4) '@rollup/plugin-babel': - specifier: 5.3.0 - version: 5.3.0(@babel/core@7.27.3)(@types/babel__core@7.20.5)(rollup@4.22.4) + specifier: 6.0.4 + version: 6.0.4(@babel/core@7.28.4)(@types/babel__core@7.20.5)(rollup@4.22.4) '@rollup/plugin-node-resolve': specifier: 16.0.0 version: 16.0.0(rollup@4.22.4) @@ -64,9 +69,6 @@ importers: '@rollup/plugin-url': specifier: 8.0.2 version: 8.0.2(rollup@4.22.4) - '@tsconfig/node16-strictest': - specifier: 1.0.4 - version: 1.0.4 '@turnkey/jest-config': specifier: workspace:* version: link:internal/jest-config @@ -123,7 +125,7 @@ importers: version: 16.0.3 viem: specifier: 2.26.2 - version: 2.26.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 2.26.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) examples/deployer: dependencies: @@ -167,11 +169,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -179,8 +181,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -227,11 +229,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -239,8 +241,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -376,11 +378,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -389,7 +391,7 @@ importers: version: 0.13.0 next: specifier: 15.5.2 - version: 15.5.2(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) npm: specifier: 9.7.2 version: 9.7.2 @@ -430,11 +432,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -443,7 +445,7 @@ importers: version: 0.13.0 next: specifier: 15.5.2 - version: 15.5.2(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) npm: specifier: 9.7.2 version: 9.7.2 @@ -464,16 +466,16 @@ importers: dependencies: '@coinbase/onchainkit': specifier: 0.38.13 - version: 0.38.13(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(utf-8-validate@5.0.10)(zod@3.25.76) + version: 0.38.13(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(utf-8-validate@5.0.10)(zod@3.25.76) '@emotion/react': specifier: 11.13.3 - version: 11.13.3(@types/react@18.2.14)(react@18.2.0) + version: 11.13.3(@types/react@18.2.25)(react@18.2.0) '@emotion/styled': specifier: 11.13.0 - version: 11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) + version: 11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) '@hello-pangea/dnd': specifier: 17.0.0 - version: 17.0.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 17.0.0(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@moonpay/moonpay-js': specifier: 0.7.0 version: 0.7.0 @@ -482,16 +484,16 @@ importers: version: 1.10.1(react@18.2.0) '@mui/icons-material': specifier: 6.1.5 - version: 6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) + version: 6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) '@mui/material': specifier: 6.1.5 - version: 6.1.5(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 6.1.5(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@noble/hashes': specifier: 1.4.0 version: 1.4.0 '@solana/web3.js': - specifier: 1.95.8 - version: 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@turnkey/indexed-db-stamper': specifier: workspace:* version: link:../../packages/indexed-db-stamper @@ -514,8 +516,8 @@ importers: specifier: 20.3.1 version: 20.3.1 '@types/react': - specifier: 18.2.14 - version: 18.2.14 + specifier: 18.2.25 + version: 18.2.25 '@types/react-dom': specifier: 18.2.6 version: 18.2.6 @@ -529,11 +531,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -547,8 +549,8 @@ importers: specifier: 4.0.0 version: 4.0.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -577,38 +579,38 @@ importers: examples/react-wallet-kit: dependencies: '@fortawesome/fontawesome-svg-core': - specifier: ^6.7.2 - version: 6.7.2 + specifier: 7.0.1 + version: 7.0.1 '@fortawesome/free-brands-svg-icons': - specifier: ^6.7.2 - version: 6.7.2 + specifier: 7.0.1 + version: 7.0.1 '@fortawesome/free-solid-svg-icons': - specifier: ^6.7.2 - version: 6.7.2 + specifier: 7.0.1 + version: 7.0.1 '@fortawesome/react-fontawesome': - specifier: ^0.2.2 - version: 0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@18.2.0) + specifier: 3.0.2 + version: 3.0.2(@fortawesome/fontawesome-svg-core@7.0.1)(react@19.0.0) '@headlessui/react': - specifier: ^2.2.4 - version: 2.2.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 2.2.4 + version: 2.2.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@hello-pangea/dnd': - specifier: ^17.0.0 - version: 17.0.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 18.0.1 + version: 18.0.1(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@noble/hashes': specifier: 1.4.0 version: 1.4.0 '@react-three/drei': - specifier: ^10.6.1 - version: 10.7.4(@react-three/fiber@8.18.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(three@0.160.1))(@types/react@18.2.14)(@types/three@0.178.1)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(three@0.160.1) + specifier: 10.7.5 + version: 10.7.5(@react-three/fiber@9.3.0(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0))(@types/react@19.1.12)(@types/three@0.178.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0) '@react-three/fiber': - specifier: ^8.18.0 - version: 8.18.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(three@0.160.1) + specifier: 9.3.0 + version: 9.3.0(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0) '@solana/web3.js': - specifier: ^1.95.8 - version: 1.98.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.1.3)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@tailwindcss/postcss': - specifier: ^4.1.10 - version: 4.1.12 + specifier: 4.1.10 + version: 4.1.10 '@turnkey/react-wallet-kit': specifier: workspace:* version: link:../../packages/react-wallet-kit @@ -618,79 +620,79 @@ importers: '@types/node': specifier: 20.3.1 version: 20.3.1 - '@types/react': - specifier: 18.2.14 - version: 18.2.14 - '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 axios: specifier: '>1.8.2' version: 1.9.0 clsx: - specifier: ^2.1.1 + specifier: 2.1.1 version: 2.1.1 encoding: - specifier: ^0.1.13 + specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.1.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: - specifier: ^3.2.25 + specifier: 3.2.25 version: 3.2.25 ethers: - specifier: ^6.10.0 + specifier: 6.10.0 version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) install: - specifier: ^0.13.0 + specifier: 0.13.0 version: 0.13.0 maath: - specifier: ^0.10.8 - version: 0.10.8(@types/three@0.178.1)(three@0.160.1) + specifier: 0.10.8 + version: 0.10.8(@types/three@0.178.1)(three@0.160.0) next: - specifier: ^14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) npm: - specifier: ^9.7.2 + specifier: 9.7.2 version: 9.7.2 postcss: - specifier: ^8.5.6 + specifier: 8.5.6 version: 8.5.6 - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) react-hook-form: - specifier: ^7.45.1 - version: 7.45.1(react@18.2.0) + specifier: 7.62.0 + version: 7.62.0(react@19.0.0) react-toastify: - specifier: ^11.0.5 - version: 11.0.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 11.0.5 + version: 11.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tailwindcss: - specifier: ^4.1.11 - version: 4.1.12 + specifier: 4.1.11 + version: 4.1.11 three: - specifier: ^0.160.0 - version: 0.160.1 + specifier: 0.160.0 + version: 0.160.0 tweetnacl: - specifier: ^1.0.3 + specifier: 1.0.3 version: 1.0.3 typescript: - specifier: 5.1.3 - version: 5.1.3 + specifier: 5.4.3 + version: 5.4.3 viem: - specifier: ^2.33.2 - version: 2.34.0(bufferutil@4.0.9)(typescript@5.1.3)(utf-8-validate@5.0.10)(zod@3.25.76) + specifier: 2.33.2 + version: 2.33.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: + '@types/react': + specifier: 19.1.12 + version: 19.1.12 + '@types/react-dom': + specifier: 19.1.9 + version: 19.1.9(@types/react@19.1.12) '@types/three': - specifier: ^0.178.1 + specifier: 0.178.1 version: 0.178.1 + react: + specifier: 19.0.0 + version: 19.0.0 + react-dom: + specifier: 19.0.0 + version: 19.0.0(react@19.0.0) examples/rebalancer: dependencies: @@ -726,7 +728,7 @@ importers: version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) hardhat: specifier: 2.12.7 - version: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + version: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) prompts: specifier: 2.4.2 version: 2.4.2 @@ -754,7 +756,7 @@ importers: version: 1.0.1 '@uniswap/v3-sdk': specifier: 3.9.0 - version: 3.9.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + version: 3.9.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) dotenv: specifier: 16.0.3 version: 16.0.3 @@ -793,11 +795,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -805,8 +807,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -827,17 +829,17 @@ importers: specifier: 20.3.1 version: 20.3.1 '@types/react': - specifier: 18.2.14 - version: 18.2.14 + specifier: 18.3.24 + version: 18.3.24 '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 + specifier: 18.3.7 + version: 18.3.7(@types/react@18.3.24) examples/with-aave: dependencies: '@bgd-labs/aave-address-book': specifier: 4.28.2 - version: 4.28.2(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + version: 4.28.2(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)) '@turnkey/sdk-server': specifier: workspace:* version: link:../../packages/sdk-server @@ -849,7 +851,7 @@ importers: version: 16.0.3 viem: specifier: 2.24.2 - version: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) examples/with-aptos: dependencies: @@ -895,13 +897,13 @@ importers: dependencies: '@biconomy/account': specifier: 4.5.6 - version: 4.5.6(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) + version: 4.5.6(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) '@biconomy/sdk': specifier: 0.0.10 - version: 0.0.10(@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) + version: 0.0.10(@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) '@rhinestone/module-sdk': specifier: 0.1.28 - version: 0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + version: 0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)) '@turnkey/ethers': specifier: workspace:* version: link:../../packages/ethers @@ -922,7 +924,7 @@ importers: version: 2.4.2 viem: specifier: 2.24.2 - version: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: '@types/prompts': specifier: 2.4.2 @@ -987,25 +989,25 @@ importers: dependencies: '@radix-ui/react-dialog': specifier: 1.0.5 - version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-dropdown-menu': specifier: 2.0.6 - version: 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.0.6(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-icons': specifier: 1.3.0 version: 1.3.0(react@18.3.1) '@radix-ui/react-label': specifier: 2.0.2 - version: 2.0.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.0.2(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-select': specifier: 2.0.0 - version: 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.0.0(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-slot': specifier: 1.0.2 - version: 1.0.2(@types/react@18.3.3)(react@18.3.1) + version: 1.0.2(@types/react@18.3.24)(react@18.3.1) '@radix-ui/react-toast': specifier: 1.1.5 - version: 1.1.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.1.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@turnkey/api-key-stamper': specifier: workspace:* version: link:../../packages/api-key-stamper @@ -1034,8 +1036,8 @@ importers: specifier: 0.363.0 version: 0.363.0(react@18.3.1) next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: 0.3.0 version: 0.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1062,20 +1064,20 @@ importers: specifier: '20' version: 20.3.1 '@types/react': - specifier: '18' - version: 18.3.3 + specifier: ^18.3.24 + version: 18.3.24 '@types/react-dom': - specifier: '18' - version: 18.3.0 + specifier: ^18.3.7 + version: 18.3.7(@types/react@18.3.24) autoprefixer: specifier: 10.0.1 version: 10.0.1(postcss@8.5.6) eslint: - specifier: '8' - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) postcss: specifier: '8' version: 8.5.6 @@ -1131,11 +1133,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -1146,8 +1148,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -1231,11 +1233,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -1243,8 +1245,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -1265,7 +1267,7 @@ importers: dependencies: '@safe-global/protocol-kit': specifier: 3.0.1 - version: 3.0.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 3.0.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) '@safe-global/safe-core-sdk-types': specifier: 4.0.1 version: 4.0.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -1312,11 +1314,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.1.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -1324,8 +1326,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -1339,8 +1341,8 @@ importers: specifier: 7.45.1 version: 7.45.1(react@18.2.0) typescript: - specifier: 5.1.3 - version: 5.1.3 + specifier: 5.4.3 + version: 5.4.3 examples/with-morpho: dependencies: @@ -1355,7 +1357,7 @@ importers: version: 16.0.3 viem: specifier: 2.24.2 - version: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) examples/with-movement: dependencies: @@ -1437,13 +1439,13 @@ importers: specifier: 1.4.0 version: 1.4.0 '@react-oauth/google': - specifier: ^0.12.1 - version: 0.12.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 0.12.1 + version: 0.12.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/web3.js': - specifier: ^1.95.8 - version: 1.98.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.1.3)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@tailwindcss/postcss': - specifier: ^4.1.12 + specifier: 4.1.12 version: 4.1.12 '@turnkey/core': specifier: workspace:* @@ -1476,34 +1478,34 @@ importers: specifier: '>1.8.2' version: 1.9.0 encoding: - specifier: ^0.1.13 + specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.1.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: - specifier: ^3.2.25 + specifier: 3.2.25 version: 3.2.25 ethers: - specifier: ^6.10.0 + specifier: 6.10.0 version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) install: - specifier: ^0.13.0 + specifier: 0.13.0 version: 0.13.0 next: - specifier: ^14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: - specifier: ^9.7.2 + specifier: 9.7.2 version: 9.7.2 playwright-core: - specifier: ^1.55.0 + specifier: 1.55.0 version: 1.55.0 postcss: - specifier: ^8.5.6 + specifier: 8.5.6 version: 8.5.6 react: specifier: 18.2.0 @@ -1512,20 +1514,20 @@ importers: specifier: 18.2.0 version: 18.2.0(react@18.2.0) react-hook-form: - specifier: ^7.45.1 + specifier: 7.45.1 version: 7.45.1(react@18.2.0) tailwindcss: - specifier: ^4.1.12 + specifier: 4.1.12 version: 4.1.12 typescript: - specifier: 5.1.3 - version: 5.1.3 + specifier: 5.4.3 + version: 5.4.3 viem: specifier: 2.34.0 - version: 2.34.0(bufferutil@4.0.9)(typescript@5.1.3)(utf-8-validate@5.0.10)(zod@3.25.76) + version: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: '@playwright/test': - specifier: ^1.55.0 + specifier: 1.55.0 version: 1.55.0 examples/with-sdk-server: @@ -1538,13 +1540,13 @@ importers: dependencies: '@project-serum/anchor': specifier: 0.26.0 - version: 0.26.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 0.26.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) '@solana/spl-token': specifier: 0.4.8 - version: 0.4.8(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(utf-8-validate@5.0.10) + version: 0.4.8(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)(utf-8-validate@5.0.10) '@solana/web3.js': - specifier: 1.95.8 - version: 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) '@turnkey/api-key-stamper': specifier: workspace:* version: link:../../packages/api-key-stamper @@ -1616,11 +1618,11 @@ importers: specifier: 0.1.13 version: 0.1.13 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) esm: specifier: 3.2.25 version: 3.2.25 @@ -1628,8 +1630,8 @@ importers: specifier: 0.13.0 version: 0.13.0 next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) npm: specifier: 9.7.2 version: 9.7.2 @@ -1647,8 +1649,8 @@ importers: version: 5.4.3 devDependencies: '@solana/web3.js': - specifier: 1.95.8 - version: 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@types/node': specifier: 20.3.1 version: 20.3.1 @@ -1656,8 +1658,8 @@ importers: specifier: 18.2.25 version: 18.2.25 '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 + specifier: 18.3.7 + version: 18.3.7(@types/react@18.2.25) examples/with-stacks: dependencies: @@ -1783,7 +1785,7 @@ importers: devDependencies: ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + version: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) typescript: specifier: 5.4.3 version: 5.4.3 @@ -1804,7 +1806,7 @@ importers: version: 1.0.1 '@uniswap/v3-sdk': specifier: 3.9.0 - version: 3.9.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + version: 3.9.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) dotenv: specifier: 16.0.3 version: 16.0.3 @@ -1813,7 +1815,7 @@ importers: version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) hardhat: specifier: 2.12.7 - version: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + version: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) jsbi: specifier: 3.2.5 version: 3.2.5 @@ -1837,8 +1839,8 @@ importers: specifier: workspace:* version: link:../../packages/viem '@zerodev/sdk': - specifier: 5.4.32 - version: 5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + specifier: 5.4.41 + version: 5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)) dotenv: specifier: 16.0.3 version: 16.0.3 @@ -1852,15 +1854,15 @@ importers: specifier: 2.4.2 version: 2.4.2 viem: - specifier: 2.24.2 - version: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + specifier: 2.37.5 + version: 2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: '@types/prompts': specifier: 2.4.2 version: 2.4.2 typescript: - specifier: 5.4.3 - version: 5.4.3 + specifier: 5.9.2 + version: 5.9.2 examples/with-wallet-stamper: dependencies: @@ -1895,23 +1897,23 @@ importers: specifier: 1.1.0 version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@solana/wallet-adapter-base': - specifier: 0.9.23 - version: 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + specifier: 0.9.27 + version: 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-base-ui': - specifier: 0.1.2 - version: 0.1.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + specifier: 0.1.6 + version: 0.1.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) '@solana/wallet-adapter-react': - specifier: 0.15.35 - version: 0.15.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + specifier: 0.15.39 + version: 0.15.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) '@solana/wallet-adapter-react-ui': - specifier: 0.9.35 - version: 0.9.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + specifier: 0.9.39 + version: 0.9.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) '@solana/wallet-adapter-wallets': - specifier: 0.19.32 - version: 0.19.32(@babel/runtime@7.27.3)(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bs58@5.0.0)(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.23.8) + specifier: 0.19.37 + version: 0.19.37(@babel/runtime@7.28.4)(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bs58@6.0.0)(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.23.8) '@solana/web3.js': - specifier: 1.95.8 - version: 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + specifier: 1.98.4 + version: 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@t3-oss/env-nextjs': specifier: 0.11.0 version: 0.11.0(typescript@5.4.3)(zod@3.23.8) @@ -1936,6 +1938,9 @@ importers: '@turnkey/webauthn-stamper': specifier: workspace:* version: link:../../packages/webauthn-stamper + bs58: + specifier: ^6 + version: 6.0.0 class-variance-authority: specifier: 0.7.0 version: 0.7.0 @@ -1946,8 +1951,8 @@ importers: specifier: 0.426.0 version: 0.426.0(react@18.3.1) next: - specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 15.5.2 + version: 15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: 18.3.1 version: 18.3.1 @@ -1983,11 +1988,11 @@ importers: specifier: 18.3.0 version: 18.3.0 eslint: - specifier: '8' - version: 8.56.0 + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: - specifier: 14.2.25 - version: 14.2.25(eslint@8.56.0)(typescript@5.4.3) + specifier: 15.5.2 + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) pino-pretty: specifier: 11.2.2 version: 11.2.2 @@ -2005,7 +2010,7 @@ importers: dependencies: '@radix-ui/react-slot': specifier: 1.2.3 - version: 1.2.3(@types/react@18.2.14)(react@18.2.0) + version: 1.2.3(@types/react@18.3.24)(react@18.2.0) '@turnkey/crypto': specifier: workspace:* version: link:../../packages/crypto @@ -2035,7 +2040,7 @@ importers: version: 0.542.0(react@18.2.0) next: specifier: 14.2.25 - version: 14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + version: 14.2.25(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: 18.2.0 version: 18.2.0 @@ -2056,17 +2061,17 @@ importers: specifier: 20.3.1 version: 20.3.1 '@types/react': - specifier: 18.2.14 - version: 18.2.14 + specifier: 18.3.24 + version: 18.3.24 '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 + specifier: 18.3.7 + version: 18.3.7(@types/react@18.3.24) eslint: - specifier: '9' - version: 9.34.0(jiti@2.5.1) + specifier: 9.35.0 + version: 9.35.0(jiti@2.5.1) eslint-config-next: specifier: 15.5.2 - version: 15.5.2(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) + version: 15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) tailwindcss: specifier: '4' version: 4.1.12 @@ -2089,11 +2094,11 @@ importers: specifier: workspace:* version: link:../../packages/viem '@zerodev/ecdsa-validator': - specifier: 5.4.8 - version: 5.4.8(@zerodev/sdk@5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + specifier: 5.4.9 + version: 5.4.9(@zerodev/sdk@5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) '@zerodev/sdk': - specifier: 5.4.32 - version: 5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + specifier: 5.4.41 + version: 5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) dotenv: specifier: 16.0.3 version: 16.0.3 @@ -2101,8 +2106,8 @@ importers: specifier: 6.10.0 version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) permissionless: - specifier: 0.1.45 - version: 0.1.45(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + specifier: 0.2.57 + version: 0.2.57(ox@0.8.7(typescript@5.4.3)(zod@3.25.76))(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) prompts: specifier: 2.4.2 version: 2.4.2 @@ -2110,8 +2115,8 @@ importers: specifier: 5.4.3 version: 5.4.3 viem: - specifier: 2.24.2 - version: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + specifier: 2.37.5 + version: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: '@types/node': specifier: 22.7.7 @@ -2159,8 +2164,8 @@ importers: packages/core: dependencies: '@react-native-async-storage/async-storage': - specifier: ^2.2.0 - version: 2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)) + specifier: 1.24.0 + version: 1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)) '@turnkey/api-key-stamper': specifier: workspace:* version: link:../api-key-stamper @@ -2183,22 +2188,22 @@ importers: specifier: workspace:* version: link:../webauthn-stamper '@wallet-standard/app': - specifier: ^1.1.0 + specifier: 1.1.0 version: 1.1.0 '@wallet-standard/base': - specifier: ^1.1.0 + specifier: 1.1.0 version: 1.1.0 '@walletconnect/sign-client': - specifier: ^2.21.8 - version: 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + specifier: 2.21.8 + version: 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/types': - specifier: ^2.21.8 - version: 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) + specifier: 2.21.8 + version: 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) cross-fetch: - specifier: ^3.1.5 - version: 3.2.0(encoding@0.1.13) + specifier: 3.1.5 + version: 3.1.5(encoding@0.1.13) ethers: - specifier: ^6.10.0 + specifier: 6.10.0 version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) jwt-decode: specifier: 4.0.0 @@ -2207,15 +2212,21 @@ importers: specifier: ^8.1.0 || ^9.2.2 || ^10.0.0 version: 8.1.0 uuid: - specifier: ^11.1.0 + specifier: 11.1.0 version: 11.1.0 viem: - specifier: ^2.33.1 - version: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + specifier: 2.33.1 + version: 2.33.1(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) devDependencies: glob: - specifier: ^8.0.3 - version: 8.1.0 + specifier: 11.0.3 + version: 11.0.3 + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) typescript: specifier: 5.4.3 version: 5.4.3 @@ -2280,7 +2291,7 @@ importers: version: link:../http jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + version: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) packages/eip-1193-provider: dependencies: @@ -2302,7 +2313,7 @@ importers: devDependencies: hardhat: specifier: 2.22.2 - version: 2.22.2(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + version: 2.22.2(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) typescript: specifier: 5.4.3 version: 5.4.3 @@ -2336,28 +2347,28 @@ importers: devDependencies: '@nomicfoundation/hardhat-ethers': specifier: 3.0.5 - version: 3.0.5(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + version: 3.0.5(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10)) '@nomicfoundation/hardhat-network-helpers': specifier: 1.0.8 - version: 1.0.8(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + version: 1.0.8(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10)) '@openzeppelin/contracts': specifier: 4.9.0 version: 4.9.0 '@typechain/ethers-v6': specifier: 0.5.1 - version: 0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))(typescript@5.4.3) + version: 0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))(typescript@5.9.2) '@typechain/hardhat': specifier: 9.1.0 - version: 9.1.0(@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))(typescript@5.4.3))(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3)) + version: 9.1.0(@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))(typescript@5.9.2))(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2)) ethers: specifier: 6.10.0 version: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) hardhat: specifier: 2.19.4 - version: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + version: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10) typechain: specifier: 8.3.2 - version: 8.3.2(typescript@5.4.3) + version: 8.3.2(typescript@5.9.2) packages/http: dependencies: @@ -2390,10 +2401,10 @@ importers: version: 29.5.3 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + version: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) ts-jest: specifier: 29.3.1 - version: 29.3.1(@babel/core@7.27.3)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.27.3))(jest@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)))(typescript@5.4.3) + version: 29.3.1(@babel/core@7.28.4)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.4))(jest@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)))(typescript@5.9.2) packages/react-native-passkey-stamper: dependencies: @@ -2408,7 +2419,7 @@ importers: version: 6.0.3 react-native-passkey: specifier: 3.0.0 - version: 3.0.0(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0) + version: 3.0.0(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) sha256-uint8array: specifier: 0.10.7 version: 0.10.7 @@ -2417,8 +2428,14 @@ importers: specifier: 7.26.9 version: 7.26.9 '@rollup/plugin-babel': - specifier: 5.3.0 - version: 5.3.0(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0) + specifier: 6.0.4 + version: 6.0.4(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0) + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) packages/react-wallet-kit: dependencies: @@ -2433,13 +2450,13 @@ importers: version: 6.7.2 '@fortawesome/react-fontawesome': specifier: ^0.2.2 - version: 0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@18.3.1) + version: 0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@18.2.0) '@headlessui/react': specifier: ^2.2.6 - version: 2.2.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.2.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@lottiefiles/react-lottie-player': specifier: ^3.6.0 - version: 3.6.0(react@18.3.1) + version: 3.6.0(react@18.2.0) '@noble/hashes': specifier: ^1.8.0 version: 1.8.0 @@ -2463,14 +2480,14 @@ importers: version: 1.11.14 qrcode.react: specifier: ^4.2.0 - version: 4.2.0(react@18.3.1) + version: 4.2.0(react@18.2.0) react-international-phone: specifier: ^4.3.0 - version: 4.3.0(react@18.3.1) + version: 4.3.0(react@18.2.0) devDependencies: '@rollup/plugin-babel': - specifier: 5.3.0 - version: 5.3.0(@babel/core@7.27.3)(@types/babel__core@7.20.5)(rollup@4.49.0) + specifier: 6.0.4 + version: 6.0.4(@babel/core@7.28.4)(@types/babel__core@7.20.5)(rollup@4.49.0) '@rollup/plugin-node-resolve': specifier: 16.0.0 version: 16.0.0(rollup@4.49.0) @@ -2488,22 +2505,22 @@ importers: version: 18.3.0 autoprefixer: specifier: ^10.0.1 - version: 10.4.21(postcss@8.5.6) + version: 10.4.21(postcss@8.4.38) glob: - specifier: ^8.0.3 - version: 8.1.0 + specifier: 11.0.3 + version: 11.0.3 postcss: - specifier: ^8.4.38 - version: 8.5.6 + specifier: 8.4.38 + version: 8.4.38 react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: 18.2.0 + version: 18.2.0 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) tailwindcss: - specifier: ^4.1.10 - version: 4.1.12 + specifier: 4.1.10 + version: 4.1.10 typescript: specifier: 5.4.3 version: 5.4.3 @@ -2548,8 +2565,8 @@ importers: version: 1.2.7 devDependencies: glob: - specifier: 8.0.3 - version: 8.0.3 + specifier: 11.0.3 + version: 11.0.3 typescript: specifier: 5.4.3 version: 5.4.3 @@ -2558,25 +2575,25 @@ importers: dependencies: '@emotion/react': specifier: 11.13.3 - version: 11.13.3(@types/react@18.3.23)(react@19.0.0) + version: 11.13.3(@types/react@19.1.12)(react@18.3.1) '@emotion/styled': specifier: 11.13.0 - version: 11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) + version: 11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) '@icons-pack/react-simple-icons': - specifier: 10.1.0 - version: 10.1.0(react@19.0.0) + specifier: 13.7.0 + version: 13.7.0(react@18.3.1) '@mui/icons-material': - specifier: 6.1.5 - version: 6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) + specifier: 7.3.2 + version: 7.3.2(@mui/material@7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) '@mui/material': - specifier: 6.1.5 - version: 6.1.5(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.3.2 + version: 7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@noble/hashes': - specifier: 1.4.0 - version: 1.4.0 + specifier: 1.8.0 + version: 1.8.0 '@react-oauth/google': specifier: 0.12.1 - version: 0.12.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 0.12.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@turnkey/crypto': specifier: workspace:* version: link:../crypto @@ -2594,35 +2611,35 @@ importers: version: link:../wallet-stamper '@types/react': specifier: '>=18.2.0 <20' - version: 18.3.23 + version: 19.1.12 jwt-decode: specifier: 4.0.0 version: 4.0.0 libphonenumber-js: - specifier: 1.11.14 - version: 1.11.14 + specifier: 1.12.15 + version: 1.12.15 next: specifier: 15.2.3 - version: 15.2.3(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.2.3(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-apple-login: specifier: 1.1.6 - version: 1.1.6(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 1.1.6(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-international-phone: - specifier: 4.3.0 - version: 4.3.0(react@19.0.0) + specifier: 4.6.0 + version: 4.6.0(react@18.3.1) usehooks-ts: specifier: 3.1.1 - version: 3.1.1(react@19.0.0) + version: 3.1.1(react@18.3.1) devDependencies: postcss-import: specifier: 16.1.0 version: 16.1.0(postcss@8.5.6) react: - specifier: 19.0.0 - version: 19.0.0 + specifier: 18.3.1 + version: 18.3.1 react-dom: - specifier: 19.0.0 - version: 19.0.0(react@19.0.0) + specifier: 18.3.1 + version: 18.3.1(react@18.3.1) packages/sdk-react-native: dependencies: @@ -2664,8 +2681,8 @@ importers: specifier: 7.26.9 version: 7.26.9 '@rollup/plugin-babel': - specifier: 5.3.0 - version: 5.3.0(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0) + specifier: 6.0.4 + version: 6.0.4(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0) packages/sdk-server: dependencies: @@ -2689,8 +2706,8 @@ importers: specifier: 4.17.21 version: 4.17.21 glob: - specifier: 8.0.3 - version: 8.0.3 + specifier: 11.0.3 + version: 11.0.3 packages/sdk-types: devDependencies: @@ -2771,7 +2788,7 @@ importers: version: 29.5.3 jest: specifier: 29.3.1 - version: 29.3.1(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + version: 29.3.1(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) typescript: specifier: 5.4.3 version: 5.4.3 @@ -2852,18 +2869,26 @@ packages: resolution: {integrity: sha512-V42wFfx1ymFte+ecf6iXghnnP8kWTO+ZLXIyZq+1LAXHHvTZdVxicn4yiVYdYMGaCO3tmqub11AorKkv+iodqw==} engines: {node: '>=6.9.0'} + '@babel/compat-data@7.28.4': + resolution: {integrity: sha512-YsmSKC29MJwf0gF8Rjjrg5LQCmyh+j/nD8/eP7f+BeoQTKYqs9RoWbjGOdy0+1Ekr68RJZMUOPVQaQisnIo4Rw==} + engines: {node: '>=6.9.0'} + '@babel/core@7.26.9': resolution: {integrity: sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==} engines: {node: '>=6.9.0'} - '@babel/core@7.27.3': - resolution: {integrity: sha512-hyrN8ivxfvJ4i0fIJuV4EOlV0WDMz5Ui4StRTgVaAvWeiRCilXgwVvxJKtFQ3TKtHgJscB2YiXKGNJuVwhQMtA==} + '@babel/core@7.28.4': + resolution: {integrity: sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==} engines: {node: '>=6.9.0'} '@babel/generator@7.27.3': resolution: {integrity: sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q==} engines: {node: '>=6.9.0'} + '@babel/generator@7.28.3': + resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==} + engines: {node: '>=6.9.0'} + '@babel/helper-annotate-as-pure@7.27.3': resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==} engines: {node: '>=6.9.0'} @@ -2878,6 +2903,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0 + '@babel/helper-create-class-features-plugin@7.28.3': + resolution: {integrity: sha512-V9f6ZFIYSLNEbuGA/92uOvYsGCJNsuA8ESZ4ldc09bWk/j8H8TKiPw8Mk1eG6olpnO0ALHJmYfZvF4MEE4gajg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@babel/helper-create-regexp-features-plugin@7.27.1': resolution: {integrity: sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==} engines: {node: '>=6.9.0'} @@ -2889,8 +2920,8 @@ packages: peerDependencies: '@babel/core': ^7.4.0-0 - '@babel/helper-define-polyfill-provider@0.6.4': - resolution: {integrity: sha512-jljfR1rGnXXNWnmQg2K3+bvhkxB51Rl32QRaOTuwwjviGrHzIbSc8+x9CpraDtbT7mfyjXObULP4w/adunNwAw==} + '@babel/helper-define-polyfill-provider@0.6.5': + resolution: {integrity: sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -2898,6 +2929,10 @@ packages: resolution: {integrity: sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==} engines: {node: '>=6.9.0'} + '@babel/helper-globals@7.28.0': + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} + '@babel/helper-member-expression-to-functions@7.27.1': resolution: {integrity: sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==} engines: {node: '>=6.9.0'} @@ -2912,6 +2947,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0 + '@babel/helper-module-transforms@7.28.3': + resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@babel/helper-optimise-call-expression@7.27.1': resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==} engines: {node: '>=6.9.0'} @@ -2956,11 +2997,20 @@ packages: resolution: {integrity: sha512-h/eKy9agOya1IGuLaZ9tEUgz+uIRXcbtOhRtUyyMf8JFmn1iT13vnl/IGVWSkdOCG/pC57U4S1jnAabAavTMwg==} engines: {node: '>=6.9.0'} + '@babel/helpers@7.28.4': + resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==} + engines: {node: '>=6.9.0'} + '@babel/parser@7.27.3': resolution: {integrity: sha512-xyYxRj6+tLNDTWi0KCBcZ9V7yg3/lwL9DWh9Uwh/RIVlIfFidggcgxKX3GCXwCiswwcGRawBKbEg2LG/Y8eJhw==} engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.28.4': + resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1': resolution: {integrity: sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==} engines: {node: '>=6.9.0'} @@ -3209,8 +3259,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-async-generator-functions@7.27.1': - resolution: {integrity: sha512-eST9RrwlpaoJBDHShc+DS2SG4ATTi2MYNb4OxYkf3n+7eb49LWpnS+HSpVfW4x927qQwgk8A2hGNVaajAEw0EA==} + '@babel/plugin-transform-async-generator-functions@7.28.0': + resolution: {integrity: sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -3233,6 +3283,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-block-scoping@7.28.4': + resolution: {integrity: sha512-1yxmvN0MJHOhPVmAsmoW5liWwoILobu/d/ShymZmj867bAdxGbehIrew1DuLpw2Ukv+qDSSPQdYW1dLNE7t11A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-class-properties@7.27.1': resolution: {integrity: sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==} engines: {node: '>=6.9.0'} @@ -3245,6 +3301,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-classes@7.28.4': + resolution: {integrity: sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-computed-properties@7.27.1': resolution: {integrity: sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==} engines: {node: '>=6.9.0'} @@ -3257,6 +3319,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-destructuring@7.28.0': + resolution: {integrity: sha512-v1nrSMBiKcodhsyJ4Gf+Z0U/yawmJDBOTpEB3mcQY52r9RIyPneGyAS/yM6seP/8I+mWI3elOMtT5dB8GJVs+A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-dotall-regex@7.27.1': resolution: {integrity: sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==} engines: {node: '>=6.9.0'} @@ -3359,8 +3427,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-object-rest-spread@7.27.3': - resolution: {integrity: sha512-7ZZtznF9g4l2JCImCo5LNKFHB5eXnN39lLtLY5Tg+VkR0jwOt7TBciMckuiQIOIW7L5tkQOCh3bVGYeXgMx52Q==} + '@babel/plugin-transform-object-rest-spread@7.28.4': + resolution: {integrity: sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -3389,6 +3457,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-parameters@7.27.7': + resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-private-methods@7.27.1': resolution: {integrity: sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==} engines: {node: '>=6.9.0'} @@ -3413,6 +3487,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-react-display-name@7.28.0': + resolution: {integrity: sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-react-jsx-development@7.27.1': resolution: {integrity: sha512-ykDdF5yI4f1WrAolLqeF3hmYU12j9ntLQl/AOG1HAS21jxyg1Q0/J/tpREuYLfatGdGmXp/3yS0ZA76kOlVq9Q==} engines: {node: '>=6.9.0'} @@ -3449,14 +3529,20 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-regenerator@7.28.4': + resolution: {integrity: sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-reserved-words@7.27.1': resolution: {integrity: sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-runtime@7.27.3': - resolution: {integrity: sha512-bA9ZL5PW90YwNgGfjg6U+7Qh/k3zCEQJ06BFgAGRp/yMjw9hP9UGbGPtx3KSOkHGljEPCCxaE+PH4fUR2h1sDw==} + '@babel/plugin-transform-runtime@7.28.3': + resolution: {integrity: sha512-Y6ab1kGqZ0u42Zv/4a7l0l72n9DKP/MKoKWaUSBylrhNZO2prYuqFOLbn5aW5SIFXwSH93yfjbgllL8lxuGKLg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -3497,6 +3583,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-typescript@7.28.0': + resolution: {integrity: sha512-4AEiDEBPIZvLQaWlc9liCavE0xRM0dNca41WtBeM3jgFptfUOSG9z0uteLhq6+3rq+WB6jIvUwKDTpXEHPJ2Vg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-unicode-escapes@7.27.1': resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==} engines: {node: '>=6.9.0'} @@ -3521,6 +3613,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/preset-flow@7.27.1': + resolution: {integrity: sha512-ez3a2it5Fn6P54W8QkbfIyyIbxlXvcxyWHHvno1Wg0Ej5eiJY5hBb8ExttoIOJJk7V2dZE6prP7iby5q2aQ0Lg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/preset-modules@0.1.6': resolution: {integrity: sha512-ID2yj6K/4lKfhuU3+EX4UvNbIt7eACFbHmNUjzA+ep+B5971CknnA/9DEWKbRokfbbtblxxxXFJJrH47UEAMVg==} peerDependencies: @@ -3538,8 +3636,14 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/register@7.27.1': - resolution: {integrity: sha512-K13lQpoV54LATKkzBpBAEu1GGSIRzxR9f4IN4V8DCDgiUMo2UDGagEZr3lPeVNJPLkWUi5JE4hCHKneVTwQlYQ==} + '@babel/preset-typescript@7.27.1': + resolution: {integrity: sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/register@7.28.3': + resolution: {integrity: sha512-CieDOtd8u208eI49bYl4z1J22ySFw87IGwE+IswFEExH7e3rLgKb0WNQeumnacQ1+VoDJLYI5QFA3AJZuyZQfA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -3552,6 +3656,10 @@ packages: resolution: {integrity: sha512-7EYtGezsdiDMyY80+65EzwiGmcJqpmcZCojSXaRgdrBaGtWTgDZKq69cPIVped6MkIM78cTQ2GOiEYjwOlG4xw==} engines: {node: '>=6.9.0'} + '@babel/runtime@7.28.4': + resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==} + engines: {node: '>=6.9.0'} + '@babel/template@7.27.2': resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==} engines: {node: '>=6.9.0'} @@ -3560,10 +3668,18 @@ packages: resolution: {integrity: sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ==} engines: {node: '>=6.9.0'} + '@babel/traverse@7.28.4': + resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==} + engines: {node: '>=6.9.0'} + '@babel/types@7.27.3': resolution: {integrity: sha512-Y1GkI4ktrtvmawoSq+4FCVHNryea6uR+qUQy0AGxLSsjCX0nVmkYQMBLHDkXZuo5hGx7eYdnIaslsdBFm7zbUw==} engines: {node: '>=6.9.0'} + '@babel/types@7.28.4': + resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} + engines: {node: '>=6.9.0'} + '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -3944,8 +4060,8 @@ packages: cpu: [x64] os: [win32] - '@eslint-community/eslint-utils@4.7.0': - resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==} + '@eslint-community/eslint-utils@4.9.0': + resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 @@ -3966,20 +4082,12 @@ packages: resolution: {integrity: sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@eslint/eslintrc@3.3.1': resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@8.56.0': - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - '@eslint/js@9.34.0': - resolution: {integrity: sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==} + '@eslint/js@9.35.0': + resolution: {integrity: sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.6': @@ -3990,11 +4098,16 @@ packages: resolution: {integrity: sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ethereumjs/common@10.0.0': + resolution: {integrity: sha512-qb0M1DGdXzMAf3O6Zg5Wr5UDjoxBmplLPbQyC6DQ0LfgVDBRdqn0Pk+/hHm4q0McE22Of0MxbV4hhiDTkSgKag==} + '@ethereumjs/common@3.2.0': resolution: {integrity: sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==} - '@ethereumjs/common@4.4.0': - resolution: {integrity: sha512-Fy5hMqF6GsE6DpYTyqdDIJPJgUtDn4dL120zKw+Pswuo+iLyBsEYuSyzMw6NVzD2vDzcBG9fE4+qX4X2bPc97w==} + '@ethereumjs/rlp@10.0.0': + resolution: {integrity: sha512-h2SK6RxFBfN5ZGykbw8LTNNLckSXZeuUZ6xqnmtF22CzZbHflFMcIOyfVGdvyCVQqIoSbGMHtvyxMCWnOyB9RA==} + engines: {node: '>=18'} + hasBin: true '@ethereumjs/rlp@4.0.1': resolution: {integrity: sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==} @@ -4006,12 +4119,16 @@ packages: engines: {node: '>=18'} hasBin: true + '@ethereumjs/tx@10.0.0': + resolution: {integrity: sha512-DApm04kp2nbvaOuHy2Rkcz1ZeJkTVgW6oCuNnQf9bRtGc+LsvLrdULE3LoGtBItEoNEcgXLJqrV0foooWFX6jw==} + engines: {node: '>=18'} + '@ethereumjs/tx@4.2.0': resolution: {integrity: sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==} engines: {node: '>=14'} - '@ethereumjs/tx@5.4.0': - resolution: {integrity: sha512-SCHnK7m/AouZ7nyoR0MEXw1OO/tQojSbp88t8oxhwes5iZkZCtfFdUrJaiIb72qIpH2FVw6s1k1uP7LXuH7PsA==} + '@ethereumjs/util@10.0.0': + resolution: {integrity: sha512-lO23alM4uQsv8dp6/yEm4Xw4328+wIRjSeuBO1mRTToUWRcByEMTk87yzBpXgpixpgHrl+9LTn9KB2vvKKtOQQ==} engines: {node: '>=18'} '@ethereumjs/util@8.1.0': @@ -4220,24 +4337,47 @@ packages: resolution: {integrity: sha512-Zs+YeHUC5fkt7Mg1l6XTniei3k4bwG/yo3iFUtZWd/pMx9g3fdvkSK9E0FOC+++phXOka78uJcYb8JaFkW52Xg==} engines: {node: '>=6'} + '@fortawesome/fontawesome-common-types@7.0.1': + resolution: {integrity: sha512-0VpNtO5cNe1/HQWMkl4OdncYK/mv9hnBte0Ew0n6DMzmo3Q3WzDFABHm6LeNTipt5zAyhQ6Ugjiu8aLaEjh1gg==} + engines: {node: '>=6'} + '@fortawesome/fontawesome-svg-core@6.7.2': resolution: {integrity: sha512-yxtOBWDrdi5DD5o1pmVdq3WMCvnobT0LU6R8RyyVXPvFRd2o79/0NCuQoCjNTeZz9EzA9xS3JxNWfv54RIHFEA==} engines: {node: '>=6'} + '@fortawesome/fontawesome-svg-core@7.0.1': + resolution: {integrity: sha512-x0cR55ILVqFpUioSMf6ebpRCMXMcheGN743P05W2RB5uCNpJUqWIqW66Lap8PfL/lngvjTbZj0BNSUweIr/fHQ==} + engines: {node: '>=6'} + '@fortawesome/free-brands-svg-icons@6.7.2': resolution: {integrity: sha512-zu0evbcRTgjKfrr77/2XX+bU+kuGfjm0LbajJHVIgBWNIDzrhpRxiCPNT8DW5AdmSsq7Mcf9D1bH0aSeSUSM+Q==} engines: {node: '>=6'} + '@fortawesome/free-brands-svg-icons@7.0.1': + resolution: {integrity: sha512-6xPmn5SrND/GM0+W33E77x05+aDn6RpR02eWd8eLdN0IxY0vXa5yU/ugaAKloOVxiG9w2330TSRsbJYL6c57Ow==} + engines: {node: '>=6'} + '@fortawesome/free-solid-svg-icons@6.7.2': resolution: {integrity: sha512-GsBrnOzU8uj0LECDfD5zomZJIjrPhIlWU82AHwa2s40FKH+kcxQaBvBo3Z4TxyZHIyX8XTDxsyA33/Vx9eFuQA==} engines: {node: '>=6'} + '@fortawesome/free-solid-svg-icons@7.0.1': + resolution: {integrity: sha512-esKuSrl1WMOTMDLNt38i16VfLe/gRZt2ZAJ3Yw7slfs7sj583MKqNFqO57zmhknk1Sya6f9Wys89aCzIJkcqlg==} + engines: {node: '>=6'} + '@fortawesome/react-fontawesome@0.2.6': resolution: {integrity: sha512-mtBFIi1UsYQo7rYonYFkjgYKGoL8T+fEH6NGUpvuqtY3ytMsAoDaPo5rk25KuMtKDipY4bGYM/CkmCHA1N3FUg==} peerDependencies: '@fortawesome/fontawesome-svg-core': ~1 || ~6 || ~7 react: ^16.3 || ^17.0.0 || ^18.0.0 || ^19.0.0 + '@fortawesome/react-fontawesome@3.0.2': + resolution: {integrity: sha512-cmp/nT0pPC7HUALF8uc3+D5ECwEBWxYQbOIHwtGUWEu72sWtZc26k5onr920HWOViF0nYaC+Qzz6Ln56SQcaVg==} + engines: {node: '>=20'} + peerDependencies: + '@fortawesome/fontawesome-svg-core': ~6 || ~7 + react: ^18.0.0 || ^19.0.0 + '@fractalwagmi/popup-connection@1.1.1': resolution: {integrity: sha512-hYL+45iYwNbwjvP2DxP3YzVsrAGtj/RV9LOgMpJyCxsfNoyyOoi2+YrnywKkiANingiG2kJ1nKsizbu1Bd4zZw==} peerDependencies: @@ -4255,6 +4395,13 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + '@headlessui/react@2.2.4': + resolution: {integrity: sha512-lz+OGcAH1dK93rgSMzXmm1qKOJkBUqZf1L4M8TWLNplftQD3IkoEDdUFNfAn4ylsN6WOTVtWaLmvmaHOUk1dTA==} + engines: {node: '>=10'} + peerDependencies: + react: ^18 || ^19 || ^19.0.0-rc + react-dom: ^18 || ^19 || ^19.0.0-rc + '@headlessui/react@2.2.7': resolution: {integrity: sha512-WKdTymY8Y49H8/gUc/lIyYK1M+/6dq0Iywh4zTZVAaiTDprRfioxSgD0wnXTQTBpjpGJuTL1NO/mqEvc//5SSg==} engines: {node: '>=10'} @@ -4268,39 +4415,32 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 + '@hello-pangea/dnd@18.0.1': + resolution: {integrity: sha512-xojVWG8s/TGrKT1fC8K2tIWeejJYTAeJuj36zM//yEm/ZrnZUSFGS15BpO+jGZT1ybWvyXmeDJwPYb4dhWlbZQ==} + peerDependencies: + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + '@humanfs/core@0.19.1': resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} engines: {node: '>=18.18.0'} - '@humanfs/node@0.16.6': - resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} + '@humanfs/node@0.16.7': + resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} engines: {node: '>=18.18.0'} - '@humanwhocodes/config-array@0.11.14': - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead - '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.3': - resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead - - '@humanwhocodes/retry@0.3.1': - resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} - engines: {node: '>=18.18'} - '@humanwhocodes/retry@0.4.3': resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@icons-pack/react-simple-icons@10.1.0': - resolution: {integrity: sha512-sZ2oDkYaVAci7GuNL8okERJn4Ej0INbeCwtIDVuwWfO5zILW7j5frvKQbozTB+fLtZqEwAP9KkNp7oR8WeHaIg==} + '@icons-pack/react-simple-icons@13.7.0': + resolution: {integrity: sha512-Vx5mnIm/3gD/9dpCfw/EdCXwzCswmvWnvMjL6zUJTbpk2PuyCdx5zSfiX8KQKYszD/1Z2mfaiBtqCxlHuDcpuA==} peerDependencies: - react: ^16.13 || ^17 || ^18 + react: ^16.13 || ^17 || ^18 || ^19 '@img/sharp-darwin-arm64@0.33.5': resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==} @@ -4577,6 +4717,14 @@ packages: resolution: {integrity: sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==} engines: {node: '>=18'} + '@isaacs/balanced-match@4.0.1': + resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==} + engines: {node: 20 || >=22} + + '@isaacs/brace-expansion@5.0.0': + resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==} + engines: {node: 20 || >=22} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -4675,6 +4823,9 @@ packages: resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + '@jridgewell/gen-mapping@0.3.8': resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} engines: {node: '>=6.0.0'} @@ -4690,15 +4841,21 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - '@jridgewell/source-map@0.3.6': - resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@jridgewell/trace-mapping@0.3.30': + resolution: {integrity: sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==} + '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} @@ -4723,26 +4880,26 @@ packages: '@keystonehq/sol-keyring@0.20.0': resolution: {integrity: sha512-UBeMlecybTDQaFMI951LBEVRyZarqKHOcwWqqvphV+x7WquYz0SZ/wf/PhizV0MWoGTQwt2m5aqROzksi6svqw==} - '@ledgerhq/devices@8.4.5': - resolution: {integrity: sha512-wzfX7JRfTPXJl+4BUXxwUFUGghtqQA6V1I6xNxGfXKHjd51rjijL+9xcfZ1oj66dNNm9wiCBBZhMXXusYDUjWg==} + '@ledgerhq/devices@8.5.1': + resolution: {integrity: sha512-oW75YQQiP2muHveXTuwSAze6CBxJ7jOYILhFiJbsVzmgLPVqtdw4s0bJJlOBft4Aup67yNAjboFCIU7kTYQBFg==} - '@ledgerhq/errors@6.21.0': - resolution: {integrity: sha512-2k5veG9eu+1X5oBVhKSWzA6RE+TWOTSJnytjEhPBTZB6h2ixMrCUMWF5+OAWXiI1EiSNsvGGk19XO87qpZiVTw==} + '@ledgerhq/errors@6.25.0': + resolution: {integrity: sha512-9cU0dgUyq3Adb1bHAjJnbwl+r+4WBjuPq0k+/DbBNpuYHwcz2xKtRIjLimUJyACjHti3iWwRt1sFcbQDDdI08w==} - '@ledgerhq/hw-transport-webhid@6.30.1': - resolution: {integrity: sha512-1lBXfNOhtQNeS6kiBBbknlzN/DAOQheCPkVUBxZZyfO8057H53o1h8hyrRLz04wQoon+AXa4uZ16xBnsjUiKZA==} + '@ledgerhq/hw-transport-webhid@6.30.6': + resolution: {integrity: sha512-AOzjFv5n1OTMfvEInAZRfLO11G5zfG8pB5zhmjK5d/mVQfFNcKsLZNAC2h4OZZMBtUy8UTT3n03z93e6k6n4pQ==} - '@ledgerhq/hw-transport@6.31.5': - resolution: {integrity: sha512-P7nyHU2EnotdWfN9XUKvCw4sllbERNmzb7ruyljqyiBuUfdDvzLJVFgVhu6j+8Y9cGxPysf3i3QtImFsZwKkdQ==} + '@ledgerhq/hw-transport@6.31.10': + resolution: {integrity: sha512-ruNtkTPMO3rFCaSM+oPTOXXerzxWFZF43pAHVAHhsjiQGhLWzLSkMc7qBEpWIpZPubKRAbWSXR2zXBIJPNy8oQ==} - '@ledgerhq/logs@6.12.0': - resolution: {integrity: sha512-ExDoj1QV5eC6TEbMdLUMMk9cfvNKhhv5gXol4SmULRVCx/3iyCPhJ74nsb3S0Vb+/f+XujBEj3vQn5+cwS0fNA==} + '@ledgerhq/logs@6.13.0': + resolution: {integrity: sha512-4+qRW2Pc8V+btL0QEmdB2X+uyx0kOWMWE1/LWsq5sZy3Q5tpi4eItJS6mB0XL3wGW59RQ+8bchNQQ1OW/va8Og==} - '@lit-labs/ssr-dom-shim@1.3.0': - resolution: {integrity: sha512-nQIWonJ6eFAvUUrSlwyHDm/aE8PBDu5kRpL0vHMg6K8fK3Diq1xdPjTnsJSwxABhaZ+5eBi1btQB5ShUTKo4nQ==} + '@lit-labs/ssr-dom-shim@1.4.0': + resolution: {integrity: sha512-ficsEARKnmmW5njugNYKipTm4SFnbik7CXtoencDZzmzo/dQ+2Q0bgkzJuoJP20Aj0F+izzJjOqsnkd6F/o1bw==} - '@lit/reactive-element@2.1.0': - resolution: {integrity: sha512-L2qyoZSQClcBmq0qajBVbhYEcG6iK0XfLn66ifLe/RfC0/ihpc+pl0Wdn8bJ8o+hj38cG0fGXRgSS20MuXn7qA==} + '@lit/reactive-element@2.1.1': + resolution: {integrity: sha512-N+dm5PAYdQ8e6UlywyyrgI2t++wFGXfHx+dSJ1oBrg6FAxUj40jId++EaRm80MKX5JnlH1sBsyZ5h0bcZKemCg==} '@lottiefiles/react-lottie-player@3.6.0': resolution: {integrity: sha512-WK5TriLJT93VF3w4IjSVyveiedraZCnDhKzCPhpbeLgQeMi6zufxa3dXNc4HmAFRXq+LULPAy+Idv1rAfkReMA==} @@ -4861,6 +5018,9 @@ packages: '@mui/core-downloads-tracker@6.4.11': resolution: {integrity: sha512-CzAQs9CTzlwbsF9ZYB4o4lLwBv1/qNE264NjuYao+ctAXsmlPtYa8RtER4UsUXSMxNN9Qi+aQdYcKl2sUpnmAw==} + '@mui/core-downloads-tracker@7.3.2': + resolution: {integrity: sha512-AOyfHjyDKVPGJJFtxOlept3EYEdLoar/RvssBTWVAvDJGIE676dLi2oT/Kx+FoVXFoA/JdV7DEMq/BVWV3KHRw==} + '@mui/icons-material@6.1.5': resolution: {integrity: sha512-SbxFtO5I4cXfvhjAMgGib/t2lQUzcEzcDFYiRHRufZUeMMeXuoKaGsptfwAHTepYkv0VqcCwvxtvtWbpZLAbjQ==} engines: {node: '>=14.0.0'} @@ -4872,6 +5032,17 @@ packages: '@types/react': optional: true + '@mui/icons-material@7.3.2': + resolution: {integrity: sha512-TZWazBjWXBjR6iGcNkbKklnwodcwj0SrChCNHc9BhD9rBgET22J1eFhHsEmvSvru9+opDy3umqAimQjokhfJlQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@mui/material': ^7.3.2 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@mui/material@6.1.5': resolution: {integrity: sha512-rhaxC7LnlOG8zIVYv7BycNbWkC5dlm9A/tcDUp0CuwA7Zf9B9JP6M3rr50cNKxI7Z0GIUesAT86ceVm44quwnQ==} engines: {node: '>=14.0.0'} @@ -4892,6 +5063,26 @@ packages: '@types/react': optional: true + '@mui/material@7.3.2': + resolution: {integrity: sha512-qXvbnawQhqUVfH1LMgMaiytP+ZpGoYhnGl7yYq2x57GYzcFL/iPzSZ3L30tlbwEjSVKNYcbiKO8tANR1tadjUg==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@emotion/react': ^11.5.0 + '@emotion/styled': ^11.3.0 + '@mui/material-pigment-css': ^7.3.2 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@mui/material-pigment-css': + optional: true + '@types/react': + optional: true + '@mui/private-theming@6.4.9': resolution: {integrity: sha512-LktcVmI5X17/Q5SkwjCcdOLBzt1hXuc14jYa7NPShog0GBDCDvKtcnP0V7a2s6EiVRlv7BzbWEJzH6+l/zaCxw==} engines: {node: '>=14.0.0'} @@ -4902,6 +5093,16 @@ packages: '@types/react': optional: true + '@mui/private-theming@7.3.2': + resolution: {integrity: sha512-ha7mFoOyZGJr75xeiO9lugS3joRROjc8tG1u4P50dH0KR7bwhHznVMcYg7MouochUy0OxooJm/OOSpJ7gKcMvg==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@mui/styled-engine@6.4.11': resolution: {integrity: sha512-74AUmlHXaGNbyUqdK/+NwDJOZqgRQw6BcNvhoWYLq3LGbLTkE+khaJ7soz6cIabE4CPYqO2/QAIU1Z/HEjjpcw==} engines: {node: '>=14.0.0'} @@ -4915,6 +5116,19 @@ packages: '@emotion/styled': optional: true + '@mui/styled-engine@7.3.2': + resolution: {integrity: sha512-PkJzW+mTaek4e0nPYZ6qLnW5RGa0KN+eRTf5FA2nc7cFZTeM+qebmGibaTLrgQBy3UpcpemaqfzToBNkzuxqew==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@emotion/react': ^11.4.1 + '@emotion/styled': ^11.3.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@mui/system@6.4.11': resolution: {integrity: sha512-gibtsrZEwnDaT5+I/KloOj/yHluX5G8heknuxBpQOdEQ3Gc0avjSImn5hSeKp8D4thiwZiApuggIjZw1dQguUA==} engines: {node: '>=14.0.0'} @@ -4931,6 +5145,22 @@ packages: '@types/react': optional: true + '@mui/system@7.3.2': + resolution: {integrity: sha512-9d8JEvZW+H6cVkaZ+FK56R53vkJe3HsTpcjMUtH8v1xK6Y1TjzHdZ7Jck02mGXJsE6MQGWVs3ogRHTQmS9Q/rA==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@emotion/react': ^11.5.0 + '@emotion/styled': ^11.3.0 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@types/react': + optional: true + '@mui/types@7.2.24': resolution: {integrity: sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==} peerDependencies: @@ -4939,6 +5169,14 @@ packages: '@types/react': optional: true + '@mui/types@7.4.6': + resolution: {integrity: sha512-NVBbIw+4CDMMppNamVxyTccNv0WxtDb7motWDlMeSC8Oy95saj1TIZMGynPpFLePt3yOD8TskzumeqORCgRGWw==} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@mui/utils@6.4.9': resolution: {integrity: sha512-Y12Q9hbK9g+ZY0T3Rxrx9m2m10gaphDuUMgWxyV5kNJevVxXYCLclYUCC9vXaIk1/NdNDTcW2Yfr2OGvNFNmHg==} engines: {node: '>=14.0.0'} @@ -4949,6 +5187,16 @@ packages: '@types/react': optional: true + '@mui/utils@7.3.2': + resolution: {integrity: sha512-4DMWQGenOdLnM3y/SdFQFwKsCLM+mqxzvoWp9+x2XdEzXapkznauHLiXtSohHs/mc0+5/9UACt1GdugCX2te5g==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@mysten/bcs@0.7.3': resolution: {integrity: sha512-fbusBfsyc2MpTACi72H5edWJ670T84va+qn9jSPpb5BzZ+pzUM1Q0ApPrF5OT+mB1o5Ng+mxPQpBCZQkfiV2TA==} @@ -4969,9 +5217,6 @@ packages: '@next/env@15.5.2': resolution: {integrity: sha512-Qe06ew4zt12LeO6N7j8/nULSOe3fMXE4dM6xgpBQNvdzyK1sv5y4oAP3bq4LamrvGCZtmRYnW8URFCeX5nFgGg==} - '@next/eslint-plugin-next@14.2.25': - resolution: {integrity: sha512-L2jcdEEa0bTv1DhE67Cdx1kLLkL0iLL9ILdBYx0j7noi2AUJM7bwcqmcN8awGg+8uyKGAGof/OkFom50x+ZyZg==} - '@next/eslint-plugin-next@15.5.2': resolution: {integrity: sha512-lkLrRVxcftuOsJNhWatf1P2hNVfh98k/omQHrCEPPriUypR6RcS13IvLdIrEvkm9AH2Nu2YpR5vLqBuy6twH3Q==} @@ -5183,6 +5428,10 @@ packages: resolution: {integrity: sha512-GIKz/j99FRthB8icyJQA51E8Uk5hXmdyThjgQXRKiv9h0zeRlzSCLIzFw6K1LotZ3XuB7yzlf76qk7uBmTdFqA==} engines: {node: ^14.21.3 || >=16} + '@noble/curves@1.9.7': + resolution: {integrity: sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==} + engines: {node: ^14.21.3 || >=16} + '@noble/ed25519@2.1.0': resolution: {integrity: sha512-KM4qTyXPinyCgMzeYJH/UudpdL+paJXtY3CHtHYZQtBkS8MZoPr4rOikZllIutJe0d06QDQKisyn02gxZ8TcQA==} @@ -5243,64 +5492,64 @@ packages: resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==} engines: {node: '>=12.4.0'} - '@nomicfoundation/edr-darwin-arm64@0.11.0': - resolution: {integrity: sha512-aYTVdcSs27XG7ayTzvZ4Yn9z/ABSaUwicrtrYK2NR8IH0ik4N4bWzo/qH8rax6rewVLbHUkGyGYnsy5ZN4iiMw==} + '@nomicfoundation/edr-darwin-arm64@0.11.3': + resolution: {integrity: sha512-w0tksbdtSxz9nuzHKsfx4c2mwaD0+l5qKL2R290QdnN9gi9AV62p9DHkOgfBdyg6/a6ZlnQqnISi7C9avk/6VA==} engines: {node: '>= 18'} '@nomicfoundation/edr-darwin-arm64@0.3.8': resolution: {integrity: sha512-eB0leCexS8sQEmfyD72cdvLj9djkBzQGP4wSQw6SNf2I4Sw4Cnzb3d45caG2FqFFjbvfqL0t+badUUIceqQuMw==} engines: {node: '>= 18'} - '@nomicfoundation/edr-darwin-x64@0.11.0': - resolution: {integrity: sha512-RxX7UYgvJrfcyT/uHUn44Nsy1XaoW+Q1khKMdHKxeW7BrgIi+Lz+siz3bX5vhSoAnKilDPhIVLrnC8zxQhjR2A==} + '@nomicfoundation/edr-darwin-x64@0.11.3': + resolution: {integrity: sha512-QR4jAFrPbOcrO7O2z2ESg+eUeIZPe2bPIlQYgiJ04ltbSGW27FblOzdd5+S3RoOD/dsZGKAvvy6dadBEl0NgoA==} engines: {node: '>= 18'} '@nomicfoundation/edr-darwin-x64@0.3.8': resolution: {integrity: sha512-JksVCS1N5ClwVF14EvO25HCQ+Laljh/KRfHERMVAC9ZwPbTuAd/9BtKvToCBi29uCHWqsXMI4lxCApYQv2nznw==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-arm64-gnu@0.11.0': - resolution: {integrity: sha512-J0j+rs0s11FuSipt/ymqrFmpJ7c0FSz1/+FohCIlUXDxFv//+1R/8lkGPjEYFmy8DPpk/iO8mcpqHTGckREbqA==} + '@nomicfoundation/edr-linux-arm64-gnu@0.11.3': + resolution: {integrity: sha512-Ktjv89RZZiUmOFPspuSBVJ61mBZQ2+HuLmV67InNlh9TSUec/iDjGIwAn59dx0bF/LOSrM7qg5od3KKac4LJDQ==} engines: {node: '>= 18'} '@nomicfoundation/edr-linux-arm64-gnu@0.3.8': resolution: {integrity: sha512-raCE+fOeNXhVBLUo87cgsHSGvYYRB6arih4eG6B9KGACWK5Veebtm9xtKeiD8YCsdUlUfat6F7ibpeNm91fpsA==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-arm64-musl@0.11.0': - resolution: {integrity: sha512-4r32zkGMN7WT/CMEuW0VjbuEdIeCskHNDMW4SSgQSJOE/N9L1KSLJCSsAbPD3aYE+e4WRDTyOwmuLjeUTcLZKQ==} + '@nomicfoundation/edr-linux-arm64-musl@0.11.3': + resolution: {integrity: sha512-B3sLJx1rL2E9pfdD4mApiwOZSrX0a/KQSBWdlq1uAhFKqkl00yZaY4LejgZndsJAa4iKGQJlGnw4HCGeVt0+jA==} engines: {node: '>= 18'} '@nomicfoundation/edr-linux-arm64-musl@0.3.8': resolution: {integrity: sha512-PwiDp4wBZWMCIy29eKkv8moTKRrpiSDlrc+GQMSZLhOAm8T33JKKXPwD/2EbplbhCygJDGXZdtEKl9x9PaH66A==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-x64-gnu@0.11.0': - resolution: {integrity: sha512-SmdncQHLYtVNWLIMyGaY6LpAfamzTDe3fxjkirmJv3CWR5tcEyC6LMui/GsIVnJzXeNJBXAzwl8hTUAxHTM6kQ==} + '@nomicfoundation/edr-linux-x64-gnu@0.11.3': + resolution: {integrity: sha512-D/4cFKDXH6UYyKPu6J3Y8TzW11UzeQI0+wS9QcJzjlrrfKj0ENW7g9VihD1O2FvXkdkTjcCZYb6ai8MMTCsaVw==} engines: {node: '>= 18'} '@nomicfoundation/edr-linux-x64-gnu@0.3.8': resolution: {integrity: sha512-6AcvA/XKoipGap5jJmQ9Y6yT7Uf39D9lu2hBcDCXnXbMcXaDGw4mn1/L4R63D+9VGZyu1PqlcJixCUZlGGIWlg==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-x64-musl@0.11.0': - resolution: {integrity: sha512-w6hUqpn/trwiH6SRuRGysj37LsQVCX5XDCA3Xi81sbOaLhbHrNvK9TXWyZmcuzbdTKQQW6VNywcSxDdOiChcJg==} + '@nomicfoundation/edr-linux-x64-musl@0.11.3': + resolution: {integrity: sha512-ergXuIb4nIvmf+TqyiDX5tsE49311DrBky6+jNLgsGDTBaN1GS3OFwFS8I6Ri/GGn6xOaT8sKu3q7/m+WdlFzg==} engines: {node: '>= 18'} '@nomicfoundation/edr-linux-x64-musl@0.3.8': resolution: {integrity: sha512-cxb0sEmZjlwhYWO28sPsV64VDx31ekskhC1IsDXU1p9ntjHSJRmW4KEIqJ2O3QwJap/kLKfMS6TckvY10gjc6w==} engines: {node: '>= 18'} - '@nomicfoundation/edr-win32-x64-msvc@0.11.0': - resolution: {integrity: sha512-BLmULjRKoH9BsX+c4Na2ypV7NGeJ+M6Zpqj/faPOwleVscDdSr/IhriyPaXCe8dyfwbge7lWsbekiADtPSnB2Q==} + '@nomicfoundation/edr-win32-x64-msvc@0.11.3': + resolution: {integrity: sha512-snvEf+WB3OV0wj2A7kQ+ZQqBquMcrozSLXcdnMdEl7Tmn+KDCbmFKBt3Tk0X3qOU4RKQpLPnTxdM07TJNVtung==} engines: {node: '>= 18'} '@nomicfoundation/edr-win32-x64-msvc@0.3.8': resolution: {integrity: sha512-yVuVPqRRNLZk7TbBMkKw7lzCvI8XO8fNTPTYxymGadjr9rEGRuNTU1yBXjfJ59I1jJU/X2TSkRk1OFX0P5tpZQ==} engines: {node: '>= 18'} - '@nomicfoundation/edr@0.11.0': - resolution: {integrity: sha512-36WERf8ldvyHR6UAbcYsa+vpbW7tCrJGBwF4gXSsb8+STj1n66Hz85Y/O7B9+8AauX3PhglvV5dKl91tk43mWw==} + '@nomicfoundation/edr@0.11.3': + resolution: {integrity: sha512-kqILRkAd455Sd6v8mfP3C1/0tCOynJWY+Ir+k/9Boocu2kObCrsFgG+ZWB7fSBVdd9cPVSNrnhWS+V+PEo637g==} engines: {node: '>= 18'} '@nomicfoundation/edr@0.3.8': @@ -6159,11 +6408,6 @@ packages: peerDependencies: react-native: ^0.0.0-0 || >=0.60 <1.0 - '@react-native-async-storage/async-storage@2.2.0': - resolution: {integrity: sha512-gvRvjR5JAaUZF8tv2Kcq/Gbt3JHwbKFYfmb445rhOj6NUMx3qPLixmDx5pZAyb9at1bYvJ4/eTUipU5aki45xw==} - peerDependencies: - react-native: ^0.0.0-0 || >=0.65 <1.0 - '@react-native/assets-registry@0.76.5': resolution: {integrity: sha512-MN5dasWo37MirVcKWuysRkRr4BjNc81SXwUtJYstwbn8oEkfnwR9DaqdDTo/hHOnTdhafffLIa2xOOHcjDIGEw==} engines: {node: '>=18'} @@ -6235,12 +6479,6 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' - '@react-oauth/google@0.12.2': - resolution: {integrity: sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==} - peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' - '@react-stately/flags@3.1.2': resolution: {integrity: sha512-2HjFcZx1MyQXoPqcBGALwWWmgFVUk2TuKVIQxCbRq7fPyWXIl6VHcakCLurdtYC2Iks7zizvz0Idv48MQ38DWg==} @@ -6249,8 +6487,8 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1 - '@react-three/drei@10.7.4': - resolution: {integrity: sha512-awojw2DAwmQmAXawNNcBmVJnXzIhsuCRm8pELAdETzPVA6jIHj0Mlm4Ce8fjtJpFEIoTgLOaQ8iYROiOA2ZN6g==} + '@react-three/drei@10.7.5': + resolution: {integrity: sha512-gYZ1Cv9II4mCrsL5af0no5wVa1cCyKF5BAGfEUgYe8jmmMRt0C+JjaxutZT6nNQaIchLD0WyHviHL6n7UsHDGQ==} peerDependencies: '@react-three/fiber': ^9.0.0 react: ^19 @@ -6260,17 +6498,17 @@ packages: react-dom: optional: true - '@react-three/fiber@8.18.0': - resolution: {integrity: sha512-FYZZqD0UUHUswKz3LQl2Z7H24AhD14XGTsIRw3SJaXUxyfVMi+1yiZGmqTcPt/CkPpdU7rrxqcyQ1zJE5DjvIQ==} + '@react-three/fiber@9.3.0': + resolution: {integrity: sha512-myPe3YL/C8+Eq939/4qIVEPBW/uxV0iiUbmjfwrs9sGKYDG8ib8Dz3Okq7BQt8P+0k4igedONbjXMQy84aDFmQ==} peerDependencies: expo: '>=43.0' expo-asset: '>=8.4' expo-file-system: '>=11.0' expo-gl: '>=11.0' - react: '>=18 <19' - react-dom: '>=18 <19' - react-native: '>=0.64' - three: '>=0.133' + react: ^19.0.0 + react-dom: ^19.0.0 + react-native: '>=0.78' + three: '>=0.156' peerDependenciesMeta: expo: optional: true @@ -6356,16 +6594,18 @@ packages: rollup: optional: true - '@rollup/plugin-babel@5.3.0': - resolution: {integrity: sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==} - engines: {node: '>= 10.0.0'} + '@rollup/plugin-babel@6.0.4': + resolution: {integrity: sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==} + engines: {node: '>=14.0.0'} peerDependencies: '@babel/core': ^7.0.0 '@types/babel__core': ^7.1.9 - rollup: ^1.20.0||^2.0.0 + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 peerDependenciesMeta: '@types/babel__core': optional: true + rollup: + optional: true '@rollup/plugin-node-resolve@16.0.0': resolution: {integrity: sha512-0FPvAeVUT/zdWoO0jnb/V5BlBsUSNfkIOtFHzMO4H9MOklrmQFY6FduVHKucNb/aTFxvnGhj4MNj/T1oNdDfNg==} @@ -6407,12 +6647,6 @@ packages: rollup: optional: true - '@rollup/pluginutils@3.1.0': - resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -6422,6 +6656,15 @@ packages: rollup: optional: true + '@rollup/pluginutils@5.3.0': + resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/rollup-android-arm-eabi@4.22.4': resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} cpu: [arm] @@ -6752,28 +6995,26 @@ packages: '@socket.io/component-emitter@3.1.2': resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} - '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.0': - resolution: {integrity: sha512-EVMlls3vgxmc2jYstdzWYujQ0s+22lEUt5JlaWYhG3aC27YfQgDP6e2zfSpdnKrLyOqMoz7bYYcti+Bx/QQPyg==} + '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.3': + resolution: {integrity: sha512-EkhnBQGtYTV7f7l8mC//x9ZqPt2E+hJsRyCNq4VrlCbTMH9BItJcmz1agMqdVv1OpxYqC4i0yCAnPYkczeSCqw==} peerDependencies: '@solana/web3.js': ^1.58.0 - '@solana-mobile/mobile-wallet-adapter-protocol@2.2.1': - resolution: {integrity: sha512-fAT7Rzdw8dQH0CHOGNnwFjpNaHoQ0HJEjVK6iS6KXKlRjOm2y2BM8ZkNAyqIWKD+uGCBwDPZHWwZaME72k17kA==} + '@solana-mobile/mobile-wallet-adapter-protocol@2.2.3': + resolution: {integrity: sha512-gtBhVsb1U1zjvBAG1XwhQuN7420w4gqixJDZL77ydNCn43JODaLfAX4PLmS++SaO6pLV74tOUes5UnoyoxKe8A==} peerDependencies: react-native: '>0.69' - '@solana-mobile/wallet-adapter-mobile@2.2.0': - resolution: {integrity: sha512-7xcx+i6D9HlXuVgKrlDVpBYrdhM8JVzrrhuges3ATfZvlZ5zwEnNenEuQCsG5Al8vgTvMBqX6KJ1dUFill0+Nw==} + '@solana-mobile/wallet-adapter-mobile@2.2.3': + resolution: {integrity: sha512-O0z3IXPWaU/l9XJa9YSkAayIeDHKfuqDm5tznehO6+kADimCz81Rh5ADTEyGXZbaVGdijcTKc5k8Z5oE0E2pmg==} peerDependencies: '@solana/web3.js': ^1.58.0 - '@solana-mobile/wallet-standard-mobile@0.2.0': - resolution: {integrity: sha512-vAv95mID0682O8wLMzsbnMzfwL8EBtJVUOQiywjnwuTxMlYhSdjp0jJw05Otm/j9N1lbkZ9tbgANGHHL8wRmjw==} - peerDependencies: - '@solana/web3.js': ^1.58.0 + '@solana-mobile/wallet-standard-mobile@0.4.1': + resolution: {integrity: sha512-imsIgBxYwOB9q6XLUBM5daf6R6E62RBXs1cT9RkGHXvszx2ewa7eZNxSdgyhdcym8usgQw61AVSF/gKlAUSEdA==} - '@solana-program/compute-budget@0.7.0': - resolution: {integrity: sha512-/JJSE1fKO5zx7Z55Z2tLGWBDDi7tUE+xMlK8qqkHlY51KpqksMsIBzQMkG9Dqhoe2Cnn5/t3QK1nJKqW6eHzpg==} + '@solana-program/compute-budget@0.8.0': + resolution: {integrity: sha512-qPKxdxaEsFxebZ4K5RPuy7VQIm/tfJLa1+Nlt3KNA8EYQkz9Xm8htdoEaXVrer9kpgzzp9R3I3Bh6omwCM06tQ==} peerDependencies: '@solana/kit': ^2.1.0 @@ -6787,8 +7028,8 @@ packages: peerDependencies: '@solana/kit': ^2.1.0 - '@solana-program/token-2022@0.4.1': - resolution: {integrity: sha512-zIjdwUwirmvvF1nb95I/88+76d9HPCmAIcjjM4NpznDFjZpPItpfKIbTyp/uxeVOzi7d5LmvuvXRr373gpdGCg==} + '@solana-program/token-2022@0.4.2': + resolution: {integrity: sha512-zIpR5t4s9qEU3hZKupzIBxJ6nUV5/UVyIT400tu9vT1HMs5JHxaTTsb5GUhYjiiTvNwU0MQavbwc4Dl29L0Xvw==} peerDependencies: '@solana/kit': ^2.1.0 '@solana/sysvars': ^2.1.0 @@ -6798,20 +7039,20 @@ packages: peerDependencies: '@solana/kit': ^2.1.0 - '@solana/accounts@2.1.1': - resolution: {integrity: sha512-Q9mG0o/6oyiUSw1CXCkG50TWlYiODJr3ZilEDLIyXpYJzOstRZM4XOzbRACveX4PXFoufPzpR1sSVK6qfcUUCw==} + '@solana/accounts@2.3.0': + resolution: {integrity: sha512-QgQTj404Z6PXNOyzaOpSzjgMOuGwG8vC66jSDB+3zHaRcEPRVRd2sVSrd1U6sHtnV3aiaS6YyDuPQMheg4K2jw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/addresses@2.1.1': - resolution: {integrity: sha512-yX6+brBXFmirxXDJCBDNKDYbGZHMZHaZS4NJWZs31DTe5To3Ky3Y9g3wFEGAX242kfNyJcgg5OeoBuZ7vdFycQ==} + '@solana/addresses@2.3.0': + resolution: {integrity: sha512-ypTNkY2ZaRFpHLnHAgaW8a83N0/WoqdFvCqf4CQmnMdFsZSdC7qOwcbd7YzdaQn9dy+P2hybewzB+KP7LutxGA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/assertions@2.1.1': - resolution: {integrity: sha512-ln6dXkliyb9ybqLGFf5Gn+LJaPZGmer9KloIFfHiiSfYFdoAqOu6+pVY+323SKWXHG+hHl9VkwuZYpSp02OroA==} + '@solana/assertions@2.3.0': + resolution: {integrity: sha512-Ekoet3khNg3XFLN7MIz8W31wPQISpKUGDGTylLptI+JjCDWx3PIa88xjEMqFo02WJ8sBj2NLV64Xg1sBcsHjZQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6834,8 +7075,8 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-core@2.1.1': - resolution: {integrity: sha512-iPQW3UZ2Vi7QFBo2r9tw0NubtH8EdrhhmZulx6lC8V5a+qjaxovtM/q/UW2BTNpqqHLfO0tIcLyBLrNH4HTWPg==} + '@solana/codecs-core@2.3.0': + resolution: {integrity: sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6850,8 +7091,8 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-data-structures@2.1.1': - resolution: {integrity: sha512-OcR7FIhWDFqg6gEslbs2GVKeDstGcSDpkZo9SeV4bm2RLd1EZfxGhWW+yHZfHqOZiIkw9w+aY45bFgKrsLQmFw==} + '@solana/codecs-data-structures@2.3.0': + resolution: {integrity: sha512-qvU5LE5DqEdYMYgELRHv+HMOx73sSoV1ZZkwIrclwUmwTbTaH8QAJURBj0RhQ/zCne7VuLLOZFFGv6jGigWhSw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6866,8 +7107,8 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@2.1.1': - resolution: {integrity: sha512-m20IUPJhPUmPkHSlZ2iMAjJ7PaYUvlMtFhCQYzm9BEBSI6OCvXTG3GAPpAnSGRBfg5y+QNqqmKn4QHU3B6zzCQ==} + '@solana/codecs-numbers@2.3.0': + resolution: {integrity: sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6884,8 +7125,8 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs-strings@2.1.1': - resolution: {integrity: sha512-uhj+A7eT6IJn4nuoX8jDdvZa7pjyZyN+k64EZ8+aUtJGt5Ft4NjRM8Jl5LljwYBWKQCgouVuigZHtTO2yAWExA==} + '@solana/codecs-strings@2.3.0': + resolution: {integrity: sha512-y5pSBYwzVziXu521hh+VxqUtp0hYGTl1eWGoc1W+8mdvBdC1kTqm/X7aYQw33J42hw03JjryvYOvmGgk3Qz/Ug==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -6901,8 +7142,8 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs@2.1.1': - resolution: {integrity: sha512-89Fv22fZ5dNiXjOKh6I3U1D/lVO/dF/cPHexdiqjS5k5R5uKeK3506rhcnc4ciawQAoOkDwHzW+HitUumF2PJg==} + '@solana/codecs@2.3.0': + resolution: {integrity: sha512-JVqGPkzoeyU262hJGdH64kNLH0M+Oew2CIPOa/9tR3++q2pEd4jU2Rxdfye9sd0Ce3XJrR5AIa8ZfbyQXzjh+g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6919,45 +7160,45 @@ packages: peerDependencies: typescript: '>=5' - '@solana/errors@2.1.1': - resolution: {integrity: sha512-sj6DaWNbSJFvLzT8UZoabMefQUfSW/8tXK7NTiagsDmh+Q87eyQDDC9L3z+mNmx9b6dEf6z660MOIplDD2nfEw==} + '@solana/errors@2.3.0': + resolution: {integrity: sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: typescript: '>=5.3.3' - '@solana/fast-stable-stringify@2.1.1': - resolution: {integrity: sha512-+gyW8plyMOURMuO9iL6eQBb5wCRwMGLO5T6jBIDGws8KR4tOtIBlQnQnzk81nNepE6lbf8tLCxS8KdYgT/P+wQ==} + '@solana/fast-stable-stringify@2.3.0': + resolution: {integrity: sha512-KfJPrMEieUg6D3hfQACoPy0ukrAV8Kio883llt/8chPEG3FVTX9z/Zuf4O01a15xZmBbmQ7toil2Dp0sxMJSxw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/functional@2.1.1': - resolution: {integrity: sha512-HePJ49Cyz4Mb26zm5holPikm8bzsBH5zLR41+gIw9jJBmIteILNnk2OO1dVkb6aJnP42mdhWSXCo3VVEGT6aEw==} + '@solana/functional@2.3.0': + resolution: {integrity: sha512-AgsPh3W3tE+nK3eEw/W9qiSfTGwLYEvl0rWaxHht/lRcuDVwfKRzeSa5G79eioWFFqr+pTtoCr3D3OLkwKz02Q==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/instructions@2.1.1': - resolution: {integrity: sha512-Zx48hav9Lu+JuC+U0QJ8B7g7bXQZElXCjvxosIibU2C7ygDuq0ffOly0/irWJv2xmHYm6z8Hm1ILbZ5w0GhDQQ==} + '@solana/instructions@2.3.0': + resolution: {integrity: sha512-PLMsmaIKu7hEAzyElrk2T7JJx4D+9eRwebhFZpy2PXziNSmFF929eRHKUsKqBFM3cYR1Yy3m6roBZfA+bGE/oQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/keys@2.1.1': - resolution: {integrity: sha512-SXuhUz1c2mVnPnB+9Z9Yw6HPluIZbMlSByr+vPFLgaPYM356bRcNnu1pa28tONiQzRBFvl9qL08SL0OaYsmqPg==} + '@solana/keys@2.3.0': + resolution: {integrity: sha512-ZVVdga79pNH+2pVcm6fr2sWz9HTwfopDVhYb0Lh3dh+WBmJjwkabXEIHey2rUES7NjFa/G7sV8lrUn/v8LDCCQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/kit@2.1.1': - resolution: {integrity: sha512-vV0otDSO9HFWIkAv7lxfeR7W6ruS/kqFYzTeRI+EuaZCgKdueavZnx9ydbpMCXis3BZ4Ao+k/ebzVWXMVvz+Lw==} + '@solana/kit@2.3.0': + resolution: {integrity: sha512-sb6PgwoW2LjE5oTFu4lhlS/cGt/NB3YrShEyx7JgWFWysfgLdJnhwWThgwy/4HjNsmtMrQGWVls0yVBHcMvlMQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/nominal-types@2.1.1': - resolution: {integrity: sha512-EpdDhuoATsm9bmuduv6yoNm1EKCz2tlq13nAazaVyQvkMBHhVelyT/zq0ruUplQZbl7qyYr5hG7p1SfGgQbgSQ==} + '@solana/nominal-types@2.3.0': + resolution: {integrity: sha512-uKlMnlP4PWW5UTXlhKM8lcgIaNj8dvd8xO4Y9l+FVvh9RvW2TO0GwUO6JCo7JBzCB0PSqRJdWWaQ8pu1Ti/OkA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -6972,99 +7213,99 @@ packages: peerDependencies: typescript: '>=5' - '@solana/options@2.1.1': - resolution: {integrity: sha512-rnEExUGVOAV79kiFUEl/51gmSbBYxlcuw2VPnbAV/q53mIHoTgCwDD576N9A8wFftxaJHQFBdNuKiRrnU/fFHA==} + '@solana/options@2.3.0': + resolution: {integrity: sha512-PPnnZBRCWWoZQ11exPxf//DRzN2C6AoFsDI/u2AsQfYih434/7Kp4XLpfOMT/XESi+gdBMFNNfbES5zg3wAIkw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/programs@2.1.1': - resolution: {integrity: sha512-fVOA4SEijrIrpG7GoBWhid43w3pT7RTfmMYciVKMb17s2GcnLLcTDOahPf0mlIctLtbF8PgImtzUkXQyuFGr8Q==} + '@solana/programs@2.3.0': + resolution: {integrity: sha512-UXKujV71VCI5uPs+cFdwxybtHZAIZyQkqDiDnmK+DawtOO9mBn4Nimdb/6RjR2CXT78mzO9ZCZ3qfyX+ydcB7w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/promises@2.1.1': - resolution: {integrity: sha512-8M+QBgJAQD0nhHzaezwwHH4WWfJEBPiiPAjMNBbbbTHA8+oYFIGgY1HwDUePK8nrT1Q1dX3gC+epBCqBi/nnGg==} + '@solana/promises@2.3.0': + resolution: {integrity: sha512-GjVgutZKXVuojd9rWy1PuLnfcRfqsaCm7InCiZc8bqmJpoghlyluweNc7ml9Y5yQn1P2IOyzh9+p/77vIyNybQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-api@2.1.1': - resolution: {integrity: sha512-MTBuoRA9HtxW+CRpj1Ls5XVhDe00g8mW2Ib4/0k6ThFS0+cmjf+O78d8hgjQMqTtuzzSLZ4355+C7XEAuzSQ4g==} + '@solana/rpc-api@2.3.0': + resolution: {integrity: sha512-UUdiRfWoyYhJL9PPvFeJr4aJ554ob2jXcpn4vKmRVn9ire0sCbpQKYx6K8eEKHZWXKrDW8IDspgTl0gT/aJWVg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-parsed-types@2.1.1': - resolution: {integrity: sha512-+n1IWYYglevvNE1neMiLOH6W67EzmWj8GaRlwGxcyu6MwSc/8x1bd2hnEkgK6md+ObPOxoOBdxQXIY/xnZgLcw==} + '@solana/rpc-parsed-types@2.3.0': + resolution: {integrity: sha512-B5pHzyEIbBJf9KHej+zdr5ZNAdSvu7WLU2lOUPh81KHdHQs6dEb310LGxcpCc7HVE8IEdO20AbckewDiAN6OCg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-spec-types@2.1.1': - resolution: {integrity: sha512-3/G/MTi/c70TVZcB0DJjh5AGV7xqOYrjrpnIg+rLZuH65qHMimWiTHj0k8lxTzRMrN06Ed0+Q7SCw9hO/grTHA==} + '@solana/rpc-spec-types@2.3.0': + resolution: {integrity: sha512-xQsb65lahjr8Wc9dMtP7xa0ZmDS8dOE2ncYjlvfyw/h4mpdXTUdrSMi6RtFwX33/rGuztQ7Hwaid5xLNSLvsFQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-spec@2.1.1': - resolution: {integrity: sha512-3Hd21XpaKtW3tG0oXAUlc1k0hX7/eqHpf8Gg744sr9G3ib5gT7EopcZRsH5LdESgS0nbv/c75TznCXjaUyRi+g==} + '@solana/rpc-spec@2.3.0': + resolution: {integrity: sha512-fA2LMX4BMixCrNB2n6T83AvjZ3oUQTu7qyPLyt8gHQaoEAXs8k6GZmu6iYcr+FboQCjUmRPgMaABbcr9j2J9Sw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-subscriptions-api@2.1.1': - resolution: {integrity: sha512-b4JuVScYGaEgO3jszYf7LqXdJK4GoUIevXcyQWq4Zk+R7P41VxGQWa2kzdPX9LIi+UGBmCThdRBfgOYyyHRKDg==} + '@solana/rpc-subscriptions-api@2.3.0': + resolution: {integrity: sha512-9mCjVbum2Hg9KGX3LKsrI5Xs0KX390lS+Z8qB80bxhar6MJPugqIPH8uRgLhCW9GN3JprAfjRNl7our8CPvsPQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-subscriptions-channel-websocket@2.1.1': - resolution: {integrity: sha512-xEDnMXnwMtKDEpzmIXTkxxvLqGsxqlKILmyfGsQOMJ9RHYkHmz/8MarHcjnYhyZ5lrs2irN/wExUNlSZTegSEw==} + '@solana/rpc-subscriptions-channel-websocket@2.3.0': + resolution: {integrity: sha512-2oL6ceFwejIgeWzbNiUHI2tZZnaOxNTSerszcin7wYQwijxtpVgUHiuItM/Y70DQmH9sKhmikQp+dqeGalaJxw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' ws: '>=8.17.1' - '@solana/rpc-subscriptions-spec@2.1.1': - resolution: {integrity: sha512-ANT5Tub/ZqqewRtklz02km8iCUe0qwBGi3wsKTgiX7kRx3izHn6IHl90w1Y19wPd692mfZW8+Pk5PUrMSXhR3g==} + '@solana/rpc-subscriptions-spec@2.3.0': + resolution: {integrity: sha512-rdmVcl4PvNKQeA2l8DorIeALCgJEMSu7U8AXJS1PICeb2lQuMeaR+6cs/iowjvIB0lMVjYN2sFf6Q3dJPu6wWg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-subscriptions@2.1.1': - resolution: {integrity: sha512-xGLIuJHxg0oCNiS40NW/5BPxHM5RurLcEmBAN1VmVtINWTm8wSbEo85a5q7cbMlPP4Vu/28lD7IITjS5qb84UQ==} + '@solana/rpc-subscriptions@2.3.0': + resolution: {integrity: sha512-Uyr10nZKGVzvCOqwCZgwYrzuoDyUdwtgQRefh13pXIrdo4wYjVmoLykH49Omt6abwStB0a4UL5gX9V4mFdDJZg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-transformers@2.1.1': - resolution: {integrity: sha512-rBOCDQjOI1eQICkqYFV43SsiPdLcahgnrGuDNorS3uOe70pQRPs1PTuuEHqLBwuu9GRw89ifRy49aBNUNmX8uQ==} + '@solana/rpc-transformers@2.3.0': + resolution: {integrity: sha512-UuHYK3XEpo9nMXdjyGKkPCOr7WsZsxs7zLYDO1A5ELH3P3JoehvrDegYRAGzBS2VKsfApZ86ZpJToP0K3PhmMA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-transport-http@2.1.1': - resolution: {integrity: sha512-Wp7018VaPqhodQjQTDlCM7vTYlm3AdmRyvPZiwv5uzFgnC8B0xhEZW+ZSt1zkSXS6WrKqtufobuBFGtfG6v5KQ==} + '@solana/rpc-transport-http@2.3.0': + resolution: {integrity: sha512-HFKydmxGw8nAF5N+S0NLnPBDCe5oMDtI2RAmW8DMqP4U3Zxt2XWhvV1SNkAldT5tF0U1vP+is6fHxyhk4xqEvg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc-types@2.1.1': - resolution: {integrity: sha512-IaQKiWyTVvDoD0/3IlUxRY3OADj3cEjfLFCp1JvEdl0ANGReHp4jtqUqrYEeAdN/tGmGoiHt3n4x61wR0zFoJA==} + '@solana/rpc-types@2.3.0': + resolution: {integrity: sha512-O09YX2hED2QUyGxrMOxQ9GzH1LlEwwZWu69QbL4oYmIf6P5dzEEHcqRY6L1LsDVqc/dzAdEs/E1FaPrcIaIIPw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/rpc@2.1.1': - resolution: {integrity: sha512-X15xAx8U0ATznkoNGPUkGIuxTIOmdew1pjQRHAtPSKQTiPbAnO1sowpt4UT7V7bB6zKPu+xKvhFizUuon0PZxg==} + '@solana/rpc@2.3.0': + resolution: {integrity: sha512-ZWN76iNQAOCpYC7yKfb3UNLIMZf603JckLKOOLTHuy9MZnTN8XV6uwvDFhf42XvhglgUjGCEnbUqWtxQ9pa/pQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/signers@2.1.1': - resolution: {integrity: sha512-OfYEUgrJSrBDTC43kSQCz9A12A9+6xt2azmG8pP78yXN/bDzDmYF2i4nSzg/JzjjA5hBBYtDJ+15qpS/4cSgug==} + '@solana/signers@2.3.0': + resolution: {integrity: sha512-OSv6fGr/MFRx6J+ZChQMRqKNPGGmdjkqarKkRzkwmv7v8quWsIRnJT5EV8tBy3LI4DLO/A8vKiNSPzvm1TdaiQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' @@ -7091,288 +7332,282 @@ packages: resolution: {integrity: sha512-JBMGB0oR4lPttOZ5XiUGyvylwLQjt1CPJa6qQ5oM+MBCndfjz2TKKkw0eATlLLcYmq1jBVsNlJ2cD6ns2GR7lA==} engines: {node: '>=16'} - '@solana/subscribable@2.1.1': - resolution: {integrity: sha512-k6qe/Iu94nVtapap9Ei+3mm14gx1H+7YgB6n2bj9qJCdVN6z6ZN9nPtDY2ViIH4qAnxyh7pJKF7iCwNC/iALcw==} + '@solana/subscribable@2.3.0': + resolution: {integrity: sha512-DkgohEDbMkdTWiKAoatY02Njr56WXx9e/dKKfmne8/Ad6/2llUIrax78nCdlvZW9quXMaXPTxZvdQqo9N669Og==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/sysvars@2.1.1': - resolution: {integrity: sha512-bG7hNFpFqZm6qk763z5/P9g9Nxc0WXe+aYl6CQSptaPsmqUz1GhlBjAov9ePVFb29MmyMZ5bA+kmCTytiHK1fQ==} + '@solana/sysvars@2.3.0': + resolution: {integrity: sha512-LvjADZrpZ+CnhlHqfI5cmsRzX9Rpyb1Ox2dMHnbsRNzeKAMhu9w4ZBIaeTdO322zsTr509G1B+k2ABD3whvUBA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/transaction-confirmation@2.1.1': - resolution: {integrity: sha512-hXv0D80u1jNEq2/k1o9IBXXq7+JYg8x4tm0kVWjzvdJjYow8EkQay5quq5o0ciFfWqlOyFwYRC7AGrKc3imE7A==} + '@solana/transaction-confirmation@2.3.0': + resolution: {integrity: sha512-UiEuiHCfAAZEKdfne/XljFNJbsKAe701UQHKXEInYzIgBjRbvaeYZlBmkkqtxwcasgBTOmEaEKT44J14N9VZDw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/transaction-messages@2.1.1': - resolution: {integrity: sha512-sDf3OWV5X1C8huqsap+DyHIBAUenNJd3h7j/WI9MeIJZdGEtqxssGa2ixhecsMaevtUBKKJM9RqAvfTdRTAnLw==} + '@solana/transaction-messages@2.3.0': + resolution: {integrity: sha512-bgqvWuy3MqKS5JdNLH649q+ngiyOu5rGS3DizSnWwYUd76RxZl1kN6CoqHSrrMzFMvis6sck/yPGG3wqrMlAww==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/transactions@2.1.1': - resolution: {integrity: sha512-LX/7XfcHH9o0Kpv+tpnCl56IaatD/0sMWw9NnaeZ2f7pJyav9Jmeu5LJXvdHJw2jh277UEqc9bHwKruoMrtOTw==} + '@solana/transactions@2.3.0': + resolution: {integrity: sha512-LnTvdi8QnrQtuEZor5Msje61sDpPstTVwKg4y81tNxDhiyomjuvnSNLAq6QsB9gIxUqbNzPZgOG9IU4I4/Uaug==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/wallet-adapter-alpha@0.1.13': - resolution: {integrity: sha512-LYekz41uF40FtL0C38yIN36GqEV2iJe4JlVtha2WE4osrEzmKUyXgo1mqTxcDnWZkcFWBvI3mzfn17zW+iskew==} + '@solana/wallet-adapter-alpha@0.1.14': + resolution: {integrity: sha512-ZSEvQmTdkiXPeHWIHbvdU4yDC5PfyTqG/1ZKIf2Uo6c+HslMkYer7mf9HUqJJ80dU68XqBbzBlIv34LCDVWijw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-avana@0.1.16': - resolution: {integrity: sha512-GMEbEygfgdcXHqwpfnkFiPBxfEIJ7F6/cYglPoCRFWNF0UWELE8eLhvu7Bd/i7z7lubPR0jEqTI/sk8mip+23A==} + '@solana/wallet-adapter-avana@0.1.17': + resolution: {integrity: sha512-I3h+dPWVTEylOWoY2qxyI7mhcn3QNL+tkYLrZLi3+PBaoz79CVIVFi3Yb4NTKYDP+hz7/Skm/ZsomSY5SJua5A==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-base-ui@0.1.2': - resolution: {integrity: sha512-33l0WqY0mKKhcrNBbqS9anvT4MjzNnKewoF1VcdbI/uSlMOZtGy+9fr8ETVFI+ivr44QHpvbiZX9dmz2mTCGXw==} - engines: {node: '>=16'} + '@solana/wallet-adapter-base-ui@0.1.6': + resolution: {integrity: sha512-OuxLBOXA2z3dnmuGP0agEb7xhsT3+Nttd+gAkSLgJRX2vgNEAy3Fvw8IKPXv1EE2vRdw/U6Rq0Yjpp3McqVZhw==} + engines: {node: '>=20'} peerDependencies: - '@solana/web3.js': ^1.77.3 + '@solana/web3.js': ^1.98.0 react: '*' - '@solana/wallet-adapter-base@0.9.23': - resolution: {integrity: sha512-apqMuYwFp1jFi55NxDfvXUX2x1T0Zh07MxhZ/nCCTGys5raSfYUh82zen2BLv8BSDj/JxZ2P/s7jrQZGrX8uAw==} - engines: {node: '>=16'} - peerDependencies: - '@solana/web3.js': ^1.77.3 - - '@solana/wallet-adapter-base@0.9.26': - resolution: {integrity: sha512-1RcmfesJ8bTT+zfg4w+Z+wisj11HR+vWwl/pS6v/zwQPe0LSzWDpkXRv9JuDSCuTcmlglEfjEqFAW+5EubK/Jg==} + '@solana/wallet-adapter-base@0.9.27': + resolution: {integrity: sha512-kXjeNfNFVs/NE9GPmysBRKQ/nf+foSaq3kfVSeMcO/iVgigyRmB551OjU3WyAolLG/1jeEfKLqF9fKwMCRkUqg==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-bitkeep@0.3.23': - resolution: {integrity: sha512-rGH6XP288H3/uTU6ancgcZfuhtWlOnb/AcWCEcQiM1AjhO8sI9wHkgfPOMCJtiNK36DZrBA3gxBXvP1d7XOpZg==} + '@solana/wallet-adapter-bitkeep@0.3.24': + resolution: {integrity: sha512-LQvS9pr/Qm95w8XFAvxqgYKVndgifwlQYV1+Exc0XMnbxpw40blMTMKxSfiiPq78e3Zi2XWRApQyqtFUafOK5g==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-bitpie@0.5.21': - resolution: {integrity: sha512-lH+mxM1Tw1Yw1EG3JIoXvm/vGeaWa+uVtUz7W0zv39O6PnrnlZkFDoaxtVCE6Ch8xrjif29SAZJPNIg9I8zD2A==} + '@solana/wallet-adapter-bitpie@0.5.22': + resolution: {integrity: sha512-S1dSg041f8CKqzy7HQy/BPhY56ZZiZeanmdx4S6fMDpf717sgkCa7jBjLFtx8ugZzO/VpYQJtRXtKEtHpx0X0A==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-clover@0.4.22': - resolution: {integrity: sha512-9DJ742eWCfral0BtOHE1UPypaSs2wrq1b89iqD2OxHsnpMKvzEMB0KJAmARvO1azOHnoAHu2FV+tWfZN2buS8w==} + '@solana/wallet-adapter-clover@0.4.23': + resolution: {integrity: sha512-0PIAP0g1CmSLyphwXLHjePpKiB1dg+veWIbkziIdLHwSsLq6aBr2FimC/ljrbtqrduL1bH7sphNZOGE0IF0JtQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-coin98@0.5.23': - resolution: {integrity: sha512-PkUhE3+hLVMSfekm3dSGw1q5byPDKiBFCx16JQGk7hg1dhTItgQy8VpsLMyYiNnLVahFH1W2srqthm6KpT6/+A==} + '@solana/wallet-adapter-coin98@0.5.24': + resolution: {integrity: sha512-lEHk2L00PitymreyACv5ShGyyeG/NLhryohcke4r/8yDL3m2XTOeyzkhd1/6mDWavMhno1WNivHxByNHDSQhEw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-coinbase@0.1.22': - resolution: {integrity: sha512-BHnD4KCAorihHw+ywe04V6C9ixLhMiIK34R8r3pEJBmFoAcSYqxWyZZGw2OXkp09PgjuHfMTx6X/uNPEZMY/lA==} + '@solana/wallet-adapter-coinbase@0.1.23': + resolution: {integrity: sha512-vCJi/clbq1VVgydPFnHGAc2jdEhDAClYmhEAR4RJp9UHBg+MEQUl1WW8PVIREY5uOzJHma0qEiyummIfyt0b4A==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-coinhub@0.3.21': - resolution: {integrity: sha512-F4mBSmm2nJnGxs1pdv+jnPCGCxXyHje+3vN4F6WllzxoHG42Ziyqv4frRa+N28rRYJT0z0aI3mUpp6CG0L9IMA==} + '@solana/wallet-adapter-coinhub@0.3.22': + resolution: {integrity: sha512-an/0FyUIY5xWfPYcOxjaVV11IbCCeErURbw+nHyWV89kw/CuiaYwaWXxATGdj8XJjg/UPsPbiLAGyKkdOMjjfw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-fractal@0.1.11': - resolution: {integrity: sha512-BNWcqlsnqiMEiq9NXPXURBJBe9hFgSUquyAPa7SsliTm+g2/JVYefz3+uM8XZS2zg9tDPJ//Fg6m2pz/cFrKNw==} + '@solana/wallet-adapter-fractal@0.1.12': + resolution: {integrity: sha512-gu9deyHxwrRfBt6VqaCVIN7FmViZn47NwORuja4wc95OX2ZxsjGE6hEs1bJsfy7uf/CsUjwDe1V309r7PlKz8g==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-huobi@0.1.18': - resolution: {integrity: sha512-V5dB3udH+/yr5Ui7y+HcPU/H9f4GukLzhLtDDFLkWp4GQjz+dokutbfpUhhuesmsvPDe2oJES2/1kfFVriOyxg==} + '@solana/wallet-adapter-huobi@0.1.19': + resolution: {integrity: sha512-wLv2E/VEYhgVot7qyRop2adalHyw0Y+Rb1BG9RkFUa3paZUZEsIozBK3dBScTwSCJpmLCjzTVWZEvtHOfVLLSw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-hyperpay@0.1.17': - resolution: {integrity: sha512-JNZgJTkwJsWzJslnfHOqNnd3l0w7NybXFhg2FUgfu1i3ePduxobEHfa0JjO31bhri4YwuBCMWu6fJ4HZ5Io4eg==} + '@solana/wallet-adapter-hyperpay@0.1.18': + resolution: {integrity: sha512-On95zV7Dq5UTqYAtLFvttwDgPVz0a2iWl1XZ467YYXbvXPWSxkQmvPD0jHPUvHepGw60Hf5p0qkylyYANIAgoQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-keystone@0.1.18': - resolution: {integrity: sha512-fB2t71dHMzU+6LD1OOPptolZjXAzLHm8U19h6KTRYVjWTX/K3jWz/YEMkajBAc8H5hFyQ5sl1/no+rfwvCuUcg==} + '@solana/wallet-adapter-keystone@0.1.19': + resolution: {integrity: sha512-u7YmrQCrdZHI2hwJpX3rAiYuUdK0UIFX6m8+LSDOlA2bijlPJuTeH416aqqjueJTpvuZHowOPmV/no46PBqG0Q==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-krystal@0.1.15': - resolution: {integrity: sha512-2nFOl7VSPCYoSIGwc1mMKj4Geer7d7hqov4ZxpBpIGe7qWItRSkVFbM/jd+BtX3IeABUhn0cxKuxEUo0oF3JlA==} + '@solana/wallet-adapter-krystal@0.1.16': + resolution: {integrity: sha512-crAVzzPzMo63zIH0GTHDqYjIrjGFhrAjCntOV2hMjebMGSAmaUPTJKRi+vgju2Ons2Ktva7tRwiVaJxD8370DA==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-ledger@0.9.28': - resolution: {integrity: sha512-0Etw52wL/hKb+3UvYHTdkJpGZpY+JTInZdlX8dt99AdTZhGAUSO5PBjiO08Havs616q9EQu5MoQieKRS//TspQ==} + '@solana/wallet-adapter-ledger@0.9.29': + resolution: {integrity: sha512-1feOHQGdMOPtXtXBCuUuHlsoco2iqDNcUTbHW+Bj+3ItXGJctwMicSSWgfATEAFNUanvOB+kKZ4N3B1MQrP/9w==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-mathwallet@0.9.21': - resolution: {integrity: sha512-D0EOOaa2Eibl3VSAbGUHFdjhYO2hbKOCBvOo75g6180EB3znLzqVLH5ByqAQnU16QRZmAgpzyHywswypB6BlhQ==} + '@solana/wallet-adapter-mathwallet@0.9.22': + resolution: {integrity: sha512-5ePUe4lyTbwHlXQJwNrXRXDfyouAeIbfBTkJxcAWVivlVQcxcnE7BOwsCjImVaGNh4MumMLblxd2ywoSVDNf/g==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-neko@0.2.15': - resolution: {integrity: sha512-4JycOsuKIV9RFOtIkZVmJDhjupOpNnd7DLPR21HLjAGYpM39FHQOLc55wT2gKeaLfupnuLlGZbE0cTzNsLEIbA==} + '@solana/wallet-adapter-neko@0.2.16': + resolution: {integrity: sha512-0l/s+NJUGkyVm24nHF0aPsTMo9lsdw21PO+obDszJziZZmiKrI1l1WmhCDwYwAllY0nQjaxQ0tJBYy066pmnVg==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-nightly@0.1.19': - resolution: {integrity: sha512-tL14hgJ5YG43sJX56E5pwLB6G8ajRhd2SV/LJUwBD+xqGHFOFJ5QNlvJ1K0xsudOclU0ahJ7/PONVSJwqLypdQ==} + '@solana/wallet-adapter-nightly@0.1.20': + resolution: {integrity: sha512-37kRXzZ+54JhT21Cp3lC0O+hg9ZBC4epqkwNbev8piNnZUghKdsvsG5RjbsngVY6572jPlFGiuniDmb0vUSs3A==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-nufi@0.1.20': - resolution: {integrity: sha512-rIdgSyrvOXLIpqJ9FOKp7LXwUZqQEoZN2ed5lD0hx4/cvFqdxHIh3uxGUG4rXOX82SVHdbOj2qHCgJTb7LvbDg==} + '@solana/wallet-adapter-nufi@0.1.21': + resolution: {integrity: sha512-up9V4BfWl/oR0rIDQio1JD2oic+isHPk5DI4sUUxBPmWF/BYlpDVxwEfL7Xjg+jBfeiYGn0sVjTvaHY4/qUZAw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-onto@0.1.10': - resolution: {integrity: sha512-+aUi05TMlCHc80/k8+vB15OCWFqyh23H/W7HTngVDRL2lviuJGwMLoSD52q13Qzal85gRB+Rm7OMCpwwbsK9Ww==} + '@solana/wallet-adapter-onto@0.1.11': + resolution: {integrity: sha512-fyTJ5xFaYD8/Izu8q+oGD9iXZvg7ljLxi/JkVwN/HznVdac95ee1fvthkF3PPRmWGZeA7O/kYAxdQMXxlwy+xw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-particle@0.1.15': - resolution: {integrity: sha512-/pr32ZHqPJZq0G06a7q3+7JraqcYQl1tOcQl4a9B+D3VA+OseLKk7FlUHdXFejiw07CDR5xxkFeKzcreDIS3EA==} + '@solana/wallet-adapter-particle@0.1.16': + resolution: {integrity: sha512-uB2FFN2SqV0cJQTvQ+pyVL6OXwGMhbz5KuWU14pcZWqfrOxs+L4grksLwMCGw+yBw/+jydLGMTUWntuEm6r7ag==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-phantom@0.9.27': - resolution: {integrity: sha512-tJDVhzcBubIFHJpugZqVAwISTx52JxtTXE/vWhqUZVtwBQSsGkKoR5l7uoFHLgYa7shJTKk326Y9ZzlN5DKpWg==} + '@solana/wallet-adapter-phantom@0.9.28': + resolution: {integrity: sha512-g/hcuWwWjzo5l8I4vor9htniVhLxd/GhoVK52WSd0hy8IZ8/FBnV3u8ABVTheLqO13d0IVy+xTxoVBbDaMjLog==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-react-ui@0.9.35': - resolution: {integrity: sha512-SyHUavEAyzBL5zim5xAlYaqP5jF3bOtxi/02wgXzMpKXUYpG4EiXXY3DeGw5eUbcvvej45rQENtTHWEEH9fW+A==} - engines: {node: '>=16'} + '@solana/wallet-adapter-react-ui@0.9.39': + resolution: {integrity: sha512-B6GdOobwVuIgEX1qjcbTQEeo+0UGs3WPuBeUlR0dDCzQh9J3IAWRRyL/47FYSHYRp26LAu4ImWy4+M2TFD5OJg==} + engines: {node: '>=20'} peerDependencies: - '@solana/web3.js': ^1.77.3 + '@solana/web3.js': ^1.98.0 react: '*' react-dom: '*' - '@solana/wallet-adapter-react@0.15.35': - resolution: {integrity: sha512-i4hc/gNLTYNLMEt2LS+4lrrc0QAwa5SU2PtYMnZ2A3rsoKF5m1bv1h6cjLj2KBry4/zRGEBoqkiMOC5zHkLnRQ==} - engines: {node: '>=16'} + '@solana/wallet-adapter-react@0.15.39': + resolution: {integrity: sha512-WXtlo88ith5m22qB+qiGw301/Zb9r5pYr4QdXWmlXnRNqwST5MGmJWhG+/RVrzc+OG7kSb3z1gkVNv+2X/Y0Gg==} + engines: {node: '>=20'} peerDependencies: - '@solana/web3.js': ^1.77.3 + '@solana/web3.js': ^1.98.0 react: '*' - '@solana/wallet-adapter-safepal@0.5.21': - resolution: {integrity: sha512-H2fzsly2grNWb3rJHZJr5nm0tI4znbpAoycs3sU73uUAr5TR4Vauk1F+Sy4FYzfMTcPWHWCG+DRVKcDZi+vTgQ==} + '@solana/wallet-adapter-safepal@0.5.22': + resolution: {integrity: sha512-K1LlQIPoKgg3rdDIVUtMV218+uUM1kCtmuVKq2N+e+ZC8zK05cW3w7++nakDtU97AOmg+y4nsSFRCFsWBWmhTw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-saifu@0.1.18': - resolution: {integrity: sha512-fa+O6F0JcFGx//Vpq1hC/imViSNYp3Vd4dAlFf10lixRqoj+Z/LuOpjNIc2qPYtpjhrCamqi2mnUTkrBz1UCZA==} + '@solana/wallet-adapter-saifu@0.1.19': + resolution: {integrity: sha512-RWguxtKSXTZUNlc7XTUuMi78QBjy5rWcg7Fis3R8rfMtCBZIUZ/0nPb/wZbRfTk3OqpvnwRQl89TC9d2P7/SvA==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-salmon@0.1.17': - resolution: {integrity: sha512-PjrB+3dKA1SfAl7IdtR4xIT6zmzI/ZSHM6DwAqiGaY+4wNw+66gV/WmiYuTqlmC9hTaTgWdZSXdBboFkal7csA==} + '@solana/wallet-adapter-salmon@0.1.18': + resolution: {integrity: sha512-YN2/j5MsaurrlVIijlYA7SfyJU6IClxfmbUjQKEuygq0eP6S7mIAB/LK7qK2Ut3ll5vyTq/5q9Gejy6zQEaTMg==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-sky@0.1.18': - resolution: {integrity: sha512-QtE407XUu2yJsgF1/Rt8elckAIVkOjar1Zt9UKdJFdxFB19WpJubGW+oHP7BNcYUUrLdpHBMWwhBO0zd/dMzVg==} + '@solana/wallet-adapter-sky@0.1.19': + resolution: {integrity: sha512-jJBAg5TQLyPUSFtjne3AGxUgGV8cxMicJCdDFG6HalNK6N9jAB9eWfPxwsGRKv2RijXVtzo3/ejzcKrGp3oAuQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-solflare@0.6.31': - resolution: {integrity: sha512-upP0GGLKPz2fmdisy/mAJfexe0VrO6EVK6XF41xP83wBD/kM0LuRWMG7oOxzuD4Wc6bQOMVysW+PseZHphK6RQ==} + '@solana/wallet-adapter-solflare@0.6.32': + resolution: {integrity: sha512-FIqNyooif3yjPnw2gPNBZnsG6X9JYSrwCf1Oa0NN4/VxQcPjzGqvc+Tq1+js/nBOHju5roToeMFTbwNTdEOuZw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-solong@0.9.21': - resolution: {integrity: sha512-J+sseVVil0oe0FFWEXit/6nzmHISKSfA0/72hIk2hDKNNjj7q0xExhBIejN8tpGwUYWcHdGYaqDVNkxdWxeXZg==} + '@solana/wallet-adapter-solong@0.9.22': + resolution: {integrity: sha512-lGTwQmHQrSTQp3OkYUbfzeFCDGi60ScOpgfC0IOZNSfWl7jwG5tnRXAJ4A1RG9Val9XcVe5b2biur2hyEMJlSQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-spot@0.1.18': - resolution: {integrity: sha512-c882REN9b4PKL8B80MS8+3Fdd7HRJj8OOQiYg6X5NN5qqtmW5MbIEkYVO+Fc2OYe+IhKjnr4oY7LytmPu0eAbQ==} + '@solana/wallet-adapter-spot@0.1.19': + resolution: {integrity: sha512-p7UgT+4+2r82YIJ+NsniNrXKSaYNgrM43FHkjdVVmEw69ZGvSSXJ3x108bCE9pshy6ldl+sb7VhJGg+uQ/OF9g==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-tokenary@0.1.15': - resolution: {integrity: sha512-iq8+Le/n2G35N+wNLUWq13hYSjsulxswb1vC7lNT3gpIhl4JLR7BI6jCdeCKfNSDamzLXv6FMt8S0q/DYR0A5A==} + '@solana/wallet-adapter-tokenary@0.1.16': + resolution: {integrity: sha512-7FrDcRrXogCn13Ni2vwA1K/74RMLq+n37+j5fW0KtU2AEA6QVPqPgl/o0rRRgwdaG1q6EM3BXfgscYkmMTlxQQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-tokenpocket@0.4.22': - resolution: {integrity: sha512-u61lhRb9E37y/KbvhSMJWJWH4TdwR8yQf0JC+N9lFy8lvPXvaC7dpguXcgTlGOHTl7vhkv0/rn0X6XLBVFq85A==} + '@solana/wallet-adapter-tokenpocket@0.4.23': + resolution: {integrity: sha512-5/sgNj+WK0I+0+pMB8CmTPhRbImXJ8ZcqfO8+i2uHbmKwU+zddPFDT4Fin/Gm9AX/n//M+5bxhhN4FpnA9oM8w==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-torus@0.11.31': - resolution: {integrity: sha512-HgAgdTz6rUWVIg7kGJNwxV0HtN/O3V347D4VGOJPp++WIEbApz5kqrWU2PaygFTK8lG4FrpwguTIVcPh0jU9KQ==} + '@solana/wallet-adapter-torus@0.11.32': + resolution: {integrity: sha512-LHvCNIL3tvD3q3EVJ1VrcvqIz7JbLBJcvpi5+PwG6DQzrRLHJ7oxOHFwc1SUX41WwifQHKI+lXWlTrVpIOgDOA==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-trezor@0.1.5': - resolution: {integrity: sha512-DV4IJX06zth1uQ+6dUh5di8pC+uhRDd87cZo//bYiE3vQ6+CRJEJgkeFS5hoiEdj/119BtOegtSBqtLc77rWcg==} + '@solana/wallet-adapter-trezor@0.1.6': + resolution: {integrity: sha512-jItXhzaNq/UxSSPKVxgrUamx4mr2voMDjcEBHVUqOQhcujmzoPpBSahWKgpsDIegeX6zDCmuTAULnTpLs6YuzA==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-trust@0.1.16': - resolution: {integrity: sha512-pTdq6fycCSq94jsCjCatjyHMwIpUTOjwL/77/BiorLWT+1dTnxty/coCWMVqBi7IBE2rBDo5Zeaz67I3dMaOjg==} + '@solana/wallet-adapter-trust@0.1.17': + resolution: {integrity: sha512-raVtYoemFxrmsq8xtxhp3mD1Hke7CJuPqZsYr20zODjM1H2N+ty6zQa7z9ApJtosYNHAGek5S1/+n4/gnrC4nQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-unsafe-burner@0.1.10': - resolution: {integrity: sha512-I5ZTBManDZN1rrffTv6PaKEIOqqzuVlR09svKhnRbmGlOlp/532N/I/vEPnjVlhNKbjLqgkY2Cof6w7RNhjRLQ==} + '@solana/wallet-adapter-unsafe-burner@0.1.11': + resolution: {integrity: sha512-VyRQ2xRbVcpRSPTv+qyxOYFtWHxrVlLiH2nIuqIRCZcmGkFmxr+egwMjCCIURS6KCX7Ye3AbHK8IWJX6p9yuFQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-walletconnect@0.1.20': - resolution: {integrity: sha512-qix8jOWkTCGpZIDb8iDqriUWcDWjgy3Nw7K1XUpO4lTGU9qv7DxNBsvSZ6HzZEvfa1fKbvyeICIZa+HO7MFERA==} + '@solana/wallet-adapter-walletconnect@0.1.21': + resolution: {integrity: sha512-OE2ZZ60RbeobRsCa2gTD7IgXqofSa5B+jBLUu0DO8TVeRWro40JKYJuUedthALjO5oLelWSpcds+i7PRL+RQcQ==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-wallets@0.19.32': - resolution: {integrity: sha512-voZYQiIy1yXuKvm7x7YpnQ53eiJC7NpIYSQjzApOUiswiBRVeYcnPO4O/MMPUwsGkS7iZKqKZjo5CnOaN44n+g==} - engines: {node: '>=16'} + '@solana/wallet-adapter-wallets@0.19.37': + resolution: {integrity: sha512-LUHK2Zh6gELt0+kt+viIMxqc/bree65xZgTPXXBzjhbJNKJaV4D4wanYG2LM9O35/avehZ5BTLMHltbkibE+GA==} + engines: {node: '>=20'} peerDependencies: - '@solana/web3.js': ^1.77.3 + '@solana/web3.js': ^1.98.0 - '@solana/wallet-adapter-xdefi@0.1.10': - resolution: {integrity: sha512-QpHY/fU7CKaXR9B1tHCuE1N+hgpAC76qM+3pTVtuiDe01vTjKR2A2eijCgyC6dOR94xaymF/MflfzdY3kAVxkQ==} + '@solana/wallet-adapter-xdefi@0.1.11': + resolution: {integrity: sha512-WzhzhNtA4ECX9ZMyAyZV8TciuwvbW8VoJWwF+hdts5xHfnitRJDR/17Br6CQH0CFKkqymVHCMWOBIWEjmp+3Rw==} engines: {node: '>=20'} peerDependencies: '@solana/web3.js': ^1.98.0 @@ -7418,8 +7653,8 @@ packages: '@solana/web3.js@1.95.8': resolution: {integrity: sha512-sBHzNh7dHMrmNS5xPD1d0Xa2QffW/RXaxu/OysRXBfwTp+LYqGGmMtCYYwrHPrN5rjAmJCsQRNAwv4FM0t3B6g==} - '@solana/web3.js@1.98.2': - resolution: {integrity: sha512-BqVwEG+TaG2yCkBMbD3C4hdpustR4FpuUFRPUmqRZYYlPI9Hg4XMWxHWOWRzHE9Lkc9NDjzXFX7lDXSgzC7R1A==} + '@solana/web3.js@1.98.4': + resolution: {integrity: sha512-vv9lfnvjUsRiq//+j5pBdXig0IQdtzA0BRZ3bXEP4KaIyF1CcaydWqgyzQgfZMNIsWNWmG+AUHwPy4AHOD6gpw==} '@solflare-wallet/metamask-sdk@1.0.3': resolution: {integrity: sha512-os5Px5PTMYKGS5tzOoyjDxtOtj0jZKnbI1Uwt8+Jsw1HHIA+Ib2UACCGNhQ/un2f8sIbTfLD1WuucNMOy8KZpQ==} @@ -7440,6 +7675,17 @@ packages: '@stacks/transactions@7.1.0': resolution: {integrity: sha512-/4n5h+ka5N3mq16f1Zo0O0g2gyOYhaXFdGN8ifLz38NJmkjnCDXqi/ogB6NFNpSKGonyqyF5Vz1UPaQHwO8+IA==} + '@stellar/js-xdr@3.1.2': + resolution: {integrity: sha512-VVolPL5goVEIsvuGqDc5uiKxV03lzfWdvYg1KikvwheDmTBO68CKDji3bAZ/kppZrx5iTA8z3Ld5yuytcvhvOQ==} + + '@stellar/stellar-base@13.1.0': + resolution: {integrity: sha512-90EArG+eCCEzDGj3OJNoCtwpWDwxjv+rs/RNPhvg4bulpjN/CSRj+Ys/SalRcfM4/WRC5/qAfjzmJBAuquWhkA==} + engines: {node: '>=18.0.0'} + + '@stellar/stellar-sdk@13.3.0': + resolution: {integrity: sha512-8+GHcZLp+mdin8gSjcgfb/Lb6sSMYRX6Nf/0LcSJxvjLQR0XHpjGzOiRbYb2jSXo51EnA6kAV5j+4Pzh5OUKUg==} + engines: {node: '>=18.0.0'} + '@suchipi/femver@1.0.0': resolution: {integrity: sha512-bprE8+K5V+DPX7q2e2K57ImqNBdfGHDIWaGI5xHxZoxbKOuQZn4wzPiUxOAHnsUr3w3xHrWXwN7gnG/iIuEMIg==} @@ -7477,63 +7723,132 @@ packages: typescript: optional: true + '@tailwindcss/node@4.1.10': + resolution: {integrity: sha512-2ACf1znY5fpRBwRhMgj9ZXvb2XZW8qs+oTfotJ2C5xR0/WNL7UHZ7zXl6s+rUqedL1mNi+0O+WQr5awGowS3PQ==} + '@tailwindcss/node@4.1.12': resolution: {integrity: sha512-3hm9brwvQkZFe++SBt+oLjo4OLDtkvlE8q2WalaD/7QWaeM7KEJbAiY/LJZUaCs7Xa8aUu4xy3uoyX4q54UVdQ==} + '@tailwindcss/oxide-android-arm64@4.1.10': + resolution: {integrity: sha512-VGLazCoRQ7rtsCzThaI1UyDu/XRYVyH4/EWiaSX6tFglE+xZB5cvtC5Omt0OQ+FfiIVP98su16jDVHDEIuH4iQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + '@tailwindcss/oxide-android-arm64@4.1.12': resolution: {integrity: sha512-oNY5pq+1gc4T6QVTsZKwZaGpBb2N1H1fsc1GD4o7yinFySqIuRZ2E4NvGasWc6PhYJwGK2+5YT1f9Tp80zUQZQ==} engines: {node: '>= 10'} cpu: [arm64] os: [android] + '@tailwindcss/oxide-darwin-arm64@4.1.10': + resolution: {integrity: sha512-ZIFqvR1irX2yNjWJzKCqTCcHZbgkSkSkZKbRM3BPzhDL/18idA8uWCoopYA2CSDdSGFlDAxYdU2yBHwAwx8euQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + '@tailwindcss/oxide-darwin-arm64@4.1.12': resolution: {integrity: sha512-cq1qmq2HEtDV9HvZlTtrj671mCdGB93bVY6J29mwCyaMYCP/JaUBXxrQQQm7Qn33AXXASPUb2HFZlWiiHWFytw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] + '@tailwindcss/oxide-darwin-x64@4.1.10': + resolution: {integrity: sha512-eCA4zbIhWUFDXoamNztmS0MjXHSEJYlvATzWnRiTqJkcUteSjO94PoRHJy1Xbwp9bptjeIxxBHh+zBWFhttbrQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + '@tailwindcss/oxide-darwin-x64@4.1.12': resolution: {integrity: sha512-6UCsIeFUcBfpangqlXay9Ffty9XhFH1QuUFn0WV83W8lGdX8cD5/+2ONLluALJD5+yJ7k8mVtwy3zMZmzEfbLg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] + '@tailwindcss/oxide-freebsd-x64@4.1.10': + resolution: {integrity: sha512-8/392Xu12R0cc93DpiJvNpJ4wYVSiciUlkiOHOSOQNH3adq9Gi/dtySK7dVQjXIOzlpSHjeCL89RUUI8/GTI6g==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + '@tailwindcss/oxide-freebsd-x64@4.1.12': resolution: {integrity: sha512-JOH/f7j6+nYXIrHobRYCtoArJdMJh5zy5lr0FV0Qu47MID/vqJAY3r/OElPzx1C/wdT1uS7cPq+xdYYelny1ww==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.10': + resolution: {integrity: sha512-t9rhmLT6EqeuPT+MXhWhlRYIMSfh5LZ6kBrC4FS6/+M1yXwfCtp24UumgCWOAJVyjQwG+lYva6wWZxrfvB+NhQ==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.12': resolution: {integrity: sha512-v4Ghvi9AU1SYgGr3/j38PD8PEe6bRfTnNSUE3YCMIRrrNigCFtHZ2TCm8142X8fcSqHBZBceDx+JlFJEfNg5zQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] + '@tailwindcss/oxide-linux-arm64-gnu@4.1.10': + resolution: {integrity: sha512-3oWrlNlxLRxXejQ8zImzrVLuZ/9Z2SeKoLhtCu0hpo38hTO2iL86eFOu4sVR8cZc6n3z7eRXXqtHJECa6mFOvA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@tailwindcss/oxide-linux-arm64-gnu@4.1.12': resolution: {integrity: sha512-YP5s1LmetL9UsvVAKusHSyPlzSRqYyRB0f+Kl/xcYQSPLEw/BvGfxzbH+ihUciePDjiXwHh+p+qbSP3SlJw+6g==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@tailwindcss/oxide-linux-arm64-musl@4.1.10': + resolution: {integrity: sha512-saScU0cmWvg/Ez4gUmQWr9pvY9Kssxt+Xenfx1LG7LmqjcrvBnw4r9VjkFcqmbBb7GCBwYNcZi9X3/oMda9sqQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@tailwindcss/oxide-linux-arm64-musl@4.1.12': resolution: {integrity: sha512-V8pAM3s8gsrXcCv6kCHSuwyb/gPsd863iT+v1PGXC4fSL/OJqsKhfK//v8P+w9ThKIoqNbEnsZqNy+WDnwQqCA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@tailwindcss/oxide-linux-x64-gnu@4.1.10': + resolution: {integrity: sha512-/G3ao/ybV9YEEgAXeEg28dyH6gs1QG8tvdN9c2MNZdUXYBaIY/Gx0N6RlJzfLy/7Nkdok4kaxKPHKJUlAaoTdA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@tailwindcss/oxide-linux-x64-gnu@4.1.12': resolution: {integrity: sha512-xYfqYLjvm2UQ3TZggTGrwxjYaLB62b1Wiysw/YE3Yqbh86sOMoTn0feF98PonP7LtjsWOWcXEbGqDL7zv0uW8Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@tailwindcss/oxide-linux-x64-musl@4.1.10': + resolution: {integrity: sha512-LNr7X8fTiKGRtQGOerSayc2pWJp/9ptRYAa4G+U+cjw9kJZvkopav1AQc5HHD+U364f71tZv6XamaHKgrIoVzA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@tailwindcss/oxide-linux-x64-musl@4.1.12': resolution: {integrity: sha512-ha0pHPamN+fWZY7GCzz5rKunlv9L5R8kdh+YNvP5awe3LtuXb5nRi/H27GeL2U+TdhDOptU7T6Is7mdwh5Ar3A==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@tailwindcss/oxide-wasm32-wasi@4.1.10': + resolution: {integrity: sha512-d6ekQpopFQJAcIK2i7ZzWOYGZ+A6NzzvQ3ozBvWFdeyqfOZdYHU66g5yr+/HC4ipP1ZgWsqa80+ISNILk+ae/Q==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + bundledDependencies: + - '@napi-rs/wasm-runtime' + - '@emnapi/core' + - '@emnapi/runtime' + - '@tybys/wasm-util' + - '@emnapi/wasi-threads' + - tslib + '@tailwindcss/oxide-wasm32-wasi@4.1.12': resolution: {integrity: sha512-4tSyu3dW+ktzdEpuk6g49KdEangu3eCYoqPhWNsZgUhyegEda3M9rG0/j1GV/JjVVsj+lG7jWAyrTlLzd/WEBg==} engines: {node: '>=14.0.0'} @@ -7546,22 +7861,41 @@ packages: - '@emnapi/wasi-threads' - tslib + '@tailwindcss/oxide-win32-arm64-msvc@4.1.10': + resolution: {integrity: sha512-i1Iwg9gRbwNVOCYmnigWCCgow8nDWSFmeTUU5nbNx3rqbe4p0kRbEqLwLJbYZKmSSp23g4N6rCDmm7OuPBXhDA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + '@tailwindcss/oxide-win32-arm64-msvc@4.1.12': resolution: {integrity: sha512-iGLyD/cVP724+FGtMWslhcFyg4xyYyM+5F4hGvKA7eifPkXHRAUDFaimu53fpNg9X8dfP75pXx/zFt/jlNF+lg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] + '@tailwindcss/oxide-win32-x64-msvc@4.1.10': + resolution: {integrity: sha512-sGiJTjcBSfGq2DVRtaSljq5ZgZS2SDHSIfhOylkBvHVjwOsodBhnb3HdmiKkVuUGKD0I7G63abMOVaskj1KpOA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + '@tailwindcss/oxide-win32-x64-msvc@4.1.12': resolution: {integrity: sha512-NKIh5rzw6CpEodv/++r0hGLlfgT/gFN+5WNdZtvh6wpU2BpGNgdjvj6H2oFc8nCM839QM1YOhjpgbAONUb4IxA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] + '@tailwindcss/oxide@4.1.10': + resolution: {integrity: sha512-v0C43s7Pjw+B9w21htrQwuFObSkio2aV/qPx/mhrRldbqxbWJK6KizM+q7BF1/1CmuLqZqX3CeYF7s7P9fbA8Q==} + engines: {node: '>= 10'} + '@tailwindcss/oxide@4.1.12': resolution: {integrity: sha512-gM5EoKHW/ukmlEtphNwaGx45fGoEmP10v51t9unv55voWh6WrOL19hfuIdo2FjxIaZzw776/BUQg7Pck++cIVw==} engines: {node: '>= 10'} + '@tailwindcss/postcss@4.1.10': + resolution: {integrity: sha512-B+7r7ABZbkXJwpvt2VMnS6ujcDoR2OOcFaqrLIo1xbcdxje4Vf+VgJdBzNNbrAjBj/rLZ66/tlQ1knIGNLKOBQ==} + '@tailwindcss/postcss@4.1.12': resolution: {integrity: sha512-5PpLYhCAwf9SJEeIsSmCDLgyVfdBhdBpzX1OJ87anT9IVR0Z9pjM0FNixCAUAHGnMBGB8K99SwAheXrT0Kh6QQ==} @@ -7658,56 +7992,56 @@ packages: peerDependencies: '@babel/runtime': 7.x - '@trezor/analytics@1.3.5': - resolution: {integrity: sha512-/J91CkjYr3ilYnxQd/7iFx4l3p2nQmvsVbNQZUasTOBf9Z21EliDGtU/xAiDLXDyTsccGDBMs3VFSOXVwiNeKw==} + '@trezor/analytics@1.4.2': + resolution: {integrity: sha512-FgjJekuDvx1TjiDemvpnPiRck7Kp/v1ZeppsBYpQR3yGKyKzbG1pVpcl0RyI2237raXxbORaz7XV8tcyjq4BXg==} peerDependencies: tslib: ^2.6.2 - '@trezor/blockchain-link-types@1.3.5': - resolution: {integrity: sha512-85ZwXrAgBd9cHWkCo8hHCaqrrdTfEhAcP+QVPlcYbxdDKMNTGpIK9pRb7+om0k00pJTAN3JAsbG+W620k7gx3w==} + '@trezor/blockchain-link-types@1.4.2': + resolution: {integrity: sha512-KThBmGOFLJAFnmou9ThQhnjEVxfYPfEwMOaVTVNgJ+NAkt5rEMx0SKBBelCGZ63XtOLWdVPglFo83wtm+I9Vpg==} peerDependencies: tslib: ^2.6.2 - '@trezor/blockchain-link-utils@1.3.5': - resolution: {integrity: sha512-dOLt7t27tyhk6JDKL6zVdTWnuAPMeIOUcOLUJcbnaHEvp96CZEGssKPK71vBsEn8lKu5rBSQeA20lC9g92y3TQ==} + '@trezor/blockchain-link-utils@1.4.2': + resolution: {integrity: sha512-PBEBrdtHn0dn/c9roW6vjdHI/CucMywJm5gthETZAZmzBOtg6ZDpLTn+qL8+jZGIbwcAkItrQ3iHrHhR6xTP5g==} peerDependencies: tslib: ^2.6.2 - '@trezor/blockchain-link@2.4.5': - resolution: {integrity: sha512-k24tPIZpDkSaUiP12bLG/P9HrAR0Dy1XgBGZzcQvBAeKAE2mjI/0R0VmiEwa9VdGGdl1AZidvNVVevGrwXdLzw==} + '@trezor/blockchain-link@2.5.2': + resolution: {integrity: sha512-/egUnIt/fR57QY33ejnkPMhZwRvVRS/pUCoqdVIGitN1Q7QZsdopoR4hw37hdK/Ux/q1ZLH6LZz7U2UFahjppw==} peerDependencies: tslib: ^2.6.2 - '@trezor/connect-analytics@1.3.3': - resolution: {integrity: sha512-QcSuPV30gUdD3vL2ktiq/lnlwCp/f0IScYJSbtHZKBuSNR0iCTKIz9e8pl/vEvEctNodlupvjoy5kZlqXwfZow==} + '@trezor/connect-analytics@1.3.5': + resolution: {integrity: sha512-Aoi+EITpZZycnELQJEp9XV0mHFfaCQ6JE0Ka5mWuHtOny3nJdFLBrih4ipcEXJdJbww6pBxRJB09sJ19cTyacA==} peerDependencies: tslib: ^2.6.2 - '@trezor/connect-common@0.3.5': - resolution: {integrity: sha512-hq9CnDcVHt78rxM2RQDt9z7rQ1v1ZdvU4avwVIU/Ze90FgA9BWZNxpuDqvk0aXVaV0XVQFhikBLpLDQMDTFrlg==} + '@trezor/connect-common@0.4.2': + resolution: {integrity: sha512-ND5TTjrTPnJdfl8Wlhl9YtFWnY2u6FHM1dsPkNYCmyUKIMoflJ5cLn95Xabl6l1btHERYn3wTUvgEYQG7r8OVQ==} peerDependencies: tslib: ^2.6.2 - '@trezor/connect-web@9.5.5': - resolution: {integrity: sha512-E7q2S0hTebWwYUgpU1DqZ5Wr/6f+bT7NS9/Po1YTpZG5pQ2lu4GxT+MRydbMsRBu/r+g9RYI9rPvy0G7ArqGQQ==} + '@trezor/connect-web@9.6.2': + resolution: {integrity: sha512-QGuCjX8Bx9aCq1Pg52KifbbzYn00FQu9mCTDSgCVGH/HAzbxhcRkDKc86kFwW8z9NdJxw+XeVJq5Ky/js3iEDA==} peerDependencies: tslib: ^2.6.2 - '@trezor/connect@9.5.5': - resolution: {integrity: sha512-gvAVAfFS4UVvSYUaIw3HtbkWMiTvbORlcN4mKiEvNcQ9TVSZdCnuRiFlHEbxIDjN+SA60ubXgK6A02Vt6F26fw==} + '@trezor/connect@9.6.2': + resolution: {integrity: sha512-XsSERBK+KnF6FPsATuhB9AEM0frekVLwAwFo35MRV9I4P+mdv6tnUiZUq8O8aoPbfJwDjtNJSYv+PMsKuRH6rg==} peerDependencies: tslib: ^2.6.2 - '@trezor/crypto-utils@1.1.3': - resolution: {integrity: sha512-KVJSQrJc8TW+HXOaPfj4GGrjJqWAQ7UeBLzIR6NorTtulykJn1TdwGwpVm248Bq1Ndgd+jjF2QH9UMSLX1VUGQ==} + '@trezor/crypto-utils@1.1.4': + resolution: {integrity: sha512-Y6VziniqMPoMi70IyowEuXKqRvBYQzgPAekJaUZTHhR+grtYNRKRH2HJCvuZ8MGmSKUFSYfa7y8AvwALA8mQmA==} peerDependencies: tslib: ^2.6.2 - '@trezor/device-utils@1.0.3': - resolution: {integrity: sha512-HcfiAxVypjJUEzE/QAIdDf0ZRZmY5Mb7ZY9xIy4P0NWuyZFspgyuBolk8vvKCQrR+XR2E7DNYKmAhkl2cJw+2w==} + '@trezor/device-utils@1.1.2': + resolution: {integrity: sha512-R3AJvAo+a3wYVmcGZO2VNl9PZOmDEzCZIlmCJn0BlSRWWd8G9u1qyo/fL9zOwij/YhCaJyokmSHmIEmbY9qpgw==} - '@trezor/env-utils@1.3.4': - resolution: {integrity: sha512-L+cytJM0z9j8yI1Lh6AFtmfUdFOPxhcmDvzC5UgyeUsdkgrrnXFDSyaXc8a+ItukoX/CTfZBsmWRYu5BLUuLJQ==} + '@trezor/env-utils@1.4.2': + resolution: {integrity: sha512-lQvrqcNK5I4dy2MuiLyMuEm0KzY59RIu2GLtc9GsvqyxSPZkADqVzGeLJjXj/vI2ajL8leSpMvmN4zPw3EK8AA==} peerDependencies: expo-constants: '*' expo-localization: '*' @@ -7721,41 +8055,41 @@ packages: react-native: optional: true - '@trezor/protobuf@1.3.5': - resolution: {integrity: sha512-6o67avkSvlApF18Vohizdt3HKbbj+wfcyx433Yam99yHnusNM1yAbyCPyJiRtfuoLM98+IkFm/RduxGul3PXjw==} + '@trezor/protobuf@1.4.2': + resolution: {integrity: sha512-AeIYKCgKcE9cWflggGL8T9gD+IZLSGrwkzqCk3wpIiODd5dUCgEgA4OPBufR6OMu3RWu/Tgu2xviHunijG3LXQ==} peerDependencies: tslib: ^2.6.2 - '@trezor/protocol@1.2.6': - resolution: {integrity: sha512-kEgJk436ow1faDhjo+YfOAJSLr1vAlRTj+fH1D3waeOcGdHK0VzhXu35I1XmSSdvilO9+fXLjIhweRMk/1PMlQ==} + '@trezor/protocol@1.2.8': + resolution: {integrity: sha512-8EH+EU4Z1j9X4Ljczjbl9G7vVgcUz41qXcdE+6FOG3BFvMDK4KUVvaOtWqD+1dFpeo5yvWSTEKdhgXMPFprWYQ==} peerDependencies: tslib: ^2.6.2 - '@trezor/schema-utils@1.3.3': - resolution: {integrity: sha512-HxA69ZnBU0po66uaDxEmHOrNxgrF5zp8q8/OajnIfgN76iTJ+eMI8iBhzUdJxndhXDTMsCMN4u/xD05zetJpIA==} + '@trezor/schema-utils@1.3.4': + resolution: {integrity: sha512-guP5TKjQEWe6c5HGx+7rhM0SAdEL5gylpkvk9XmJXjZDnl1Ew81nmLHUs2ghf8Od3pKBe4qjBIMBHUQNaOqWUg==} peerDependencies: tslib: ^2.6.2 - '@trezor/transport@1.4.5': - resolution: {integrity: sha512-g2qTZhstvgGgvE37lafZNw87jzc76RJzDMPW0KHlainzjBUJdWW0MX/lGOZtbqc8+Q1w8lt957J05HI4ttWmdw==} + '@trezor/transport@1.5.2': + resolution: {integrity: sha512-rYP87zdVll2bNBtsD3VxJq0yjaNvIClcgszZjQwVTQxpKGFPkx8bLSpAGI05R9qfxusZJCfYarjX3qki9nHYPw==} peerDependencies: tslib: ^2.6.2 - '@trezor/type-utils@1.1.6': - resolution: {integrity: sha512-ASmizaFLyIXTWoSyFRgZjreJo977NVV9pZ3J3wOb0+Dz3PJNtcvoyCW8dVaJsv2qOPGjQ0X7hfNgcmtQf1kTMQ==} + '@trezor/type-utils@1.1.8': + resolution: {integrity: sha512-VtvkPXpwtMtTX9caZWYlMMTmhjUeDq4/1LGn0pSdjd4OuL/vQyuPWXCT/0RtlnRraW6R2dZF7rX2UON2kQIMTQ==} - '@trezor/utils@9.3.5': - resolution: {integrity: sha512-lx8ERXHLw29MLA1CrEswc5RQkQWK1s311ldUpBWqNC3ycwRmmpj+yziovlB5wUIUJCGukuT2izi5jlfImk6oug==} + '@trezor/utils@9.4.2': + resolution: {integrity: sha512-Fm3m2gmfXsgv4chqn5HX8e8dElEr2ibBJSJ7HE3bsHh/1OSQcDdzsSioAK04Fo9ws/v7n6lt+QBZ6fGmwyIkZQ==} peerDependencies: tslib: ^2.6.2 - '@trezor/utxo-lib@2.3.5': - resolution: {integrity: sha512-WEXVHM0r5exyTpkGD/n1ReFPh5FjA8xb9/SCd7BZnVwiwn6EdbYzF/YrVMS1xsHA4MljOaMrKbfOkT/Fldivmw==} + '@trezor/utxo-lib@2.4.2': + resolution: {integrity: sha512-dTXfBg/cEKnmHM5CLG5+0qrp6fqOfwxqe8YPACdKeM7g1XJKCGDAuFpDUVeT3lrcUsTh6bEMHM06z4H3gZp5MQ==} peerDependencies: tslib: ^2.6.2 - '@trezor/websocket-client@1.1.5': - resolution: {integrity: sha512-sKOq3ZxGvd7/Il+8F/PkFATHQ3e3ufEoDg/RrPrn2TXvYhSLa6Ak+QLzqLk19KXMt5RrEHQIheLyaWP/4CUO4w==} + '@trezor/websocket-client@1.2.2': + resolution: {integrity: sha512-vu9L1V/5yh8LHQCmsGC9scCnihELsVuR5Tri1IvW3CdgTUFFcfjsEgXsFqFME3HlxuUmx6qokw0Gx/o0/hzaSQ==} peerDependencies: tslib: ^2.6.2 @@ -7772,10 +8106,6 @@ packages: '@tsconfig/node14@1.0.3': resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - '@tsconfig/node16-strictest@1.0.4': - resolution: {integrity: sha512-kp6/DuAoKzHVv5U+p0uOesYbjrEvrYVNdQMl163a+yXXUv9twabvkCGEn3pmVxKXB45JU5MPGolDDWnONZL5ZQ==} - deprecated: TypeScript 5.0 supports combining TSConfigs using array syntax in extends - '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} @@ -7824,6 +8154,9 @@ packages: '@types/bn.js@5.1.6': resolution: {integrity: sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==} + '@types/bn.js@5.2.0': + resolution: {integrity: sha512-DLbJ1BPqxvQhIGbeu8VbUC1DiAiahHtAYvA0ZEAa4P31F7IaArc8z3C3BRQdWX4mtLQuABG4yzp76ZrS02Ui1Q==} + '@types/body-parser@1.19.5': resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} @@ -7839,9 +8172,6 @@ packages: '@types/draco3d@1.4.10': resolution: {integrity: sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==} - '@types/estree@0.0.39': - resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} - '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -7923,11 +8253,8 @@ packages: '@types/mute-stream@0.0.4': resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} - '@types/node-fetch@2.6.12': - resolution: {integrity: sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==} - - '@types/node-forge@1.3.11': - resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + '@types/node-forge@1.3.14': + resolution: {integrity: sha512-mhVF2BnD4BO+jtOp7z1CdzaK4mbuK0LLQYAvdOLqHTavxFNq4zA1EmYkpnFjP8HOUzedfQkRnp0E2ulSAYSzAw==} '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} @@ -7944,15 +8271,15 @@ packages: '@types/node@20.3.1': resolution: {integrity: sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==} - '@types/node@22.15.24': - resolution: {integrity: sha512-w9CZGm9RDjzTh/D+hFwlBJ3ziUaVw7oufKA3vOFSOZlzmW9AkZnfjPb+DLnrV6qtgL/LNmP0/2zBNCFHL3F0ng==} - '@types/node@22.7.5': resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} '@types/node@22.7.7': resolution: {integrity: sha512-SRxCrrg9CL/y54aiMCG3edPKdprgMVGDXjA3gB8UmmBW5TcXzRUYAh8EWzTnSJFAd1rgImPELza+A3bJ+qxz8Q==} + '@types/node@24.3.1': + resolution: {integrity: sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -7974,6 +8301,9 @@ packages: '@types/prop-types@15.7.14': resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} + '@types/prop-types@15.7.15': + resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==} + '@types/qs@6.14.0': resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} @@ -7986,14 +8316,26 @@ packages: '@types/react-dom@18.3.0': resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - '@types/react-reconciler@0.26.7': - resolution: {integrity: sha512-mBDYl8x+oyPX/VBb3E638N0B7xG+SPk/EAMcVPeexqus/5aTpTphQi0curhhshOqRrc9t6OPoJfEUkbymse/lQ==} + '@types/react-dom@18.3.7': + resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==} + peerDependencies: + '@types/react': ^18.0.0 + + '@types/react-dom@19.1.9': + resolution: {integrity: sha512-qXRuZaOsAdXKFyOhRBg6Lqqc0yay13vN7KrIg4L7N4aaHN68ma9OK3NE1BoDFgFOTfM7zg+3/8+2n8rLUH3OKQ==} + peerDependencies: + '@types/react': ^19.0.0 '@types/react-reconciler@0.28.9': resolution: {integrity: sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==} peerDependencies: '@types/react': '*' + '@types/react-reconciler@0.32.1': + resolution: {integrity: sha512-RsqPttsBQ+6af0nATFXJJpemYQH7kL9+xLNm1z+0MjQFDKBZDM2R6SBrjdvRmHu9i9fM6povACj57Ft+pKRNOA==} + peerDependencies: + '@types/react': '*' + '@types/react-transition-group@4.4.12': resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==} peerDependencies: @@ -8008,9 +8350,15 @@ packages: '@types/react@18.3.23': resolution: {integrity: sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==} + '@types/react@18.3.24': + resolution: {integrity: sha512-0dLEBsA1kI3OezMBF8nSsb7Nk19ZnsyE1LLhB8r27KbgU5H4pvuqZLdtE+aUkJVoXgTVuA+iLIwmZ0TuK4tx6A==} + '@types/react@18.3.3': resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} + '@types/react@19.1.12': + resolution: {integrity: sha512-cMoR+FoAf/Jyq6+Df2/Z41jISvGZZ2eTlnsaJRptmZ76Caldwy1odD4xTr/gNV9VLj0AWgg/nmkevIyUfIIq5w==} + '@types/readable-stream@2.3.15': resolution: {integrity: sha512-oM5JSKQCcICF1wvGgmecmHldZ48OZamtMxcGGVICOJA8o8cahXC1zEVAif8iwoc5j8etxFaRFnf095+CDsuoFQ==} @@ -8062,8 +8410,8 @@ packages: '@types/uuid@8.3.4': resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} - '@types/w3c-web-usb@1.0.10': - resolution: {integrity: sha512-CHgUI5kTc/QLMP8hODUHhge0D4vx+9UiAwIGiT0sTy/B2XpdX1U5rJt6JSISgr6ikRT7vxV9EVAFeYZqUnl1gQ==} + '@types/w3c-web-usb@1.0.12': + resolution: {integrity: sha512-GD9XFhJZFtCbspsB3t1vD3SgkWVInIMoL1g1CcE0p3DD7abgLrQ2Ws22RS38CXPUCQXgyKjUAGKdy5d0CLT5jw==} '@types/web@0.0.197': resolution: {integrity: sha512-V4sOroWDADFx9dLodWpKm298NOJ1VJ6zoDVgaP+WBb/utWxqQ6gnMzd9lvVDAr/F3ibiKaxH9i45eS0gQPSTaQ==} @@ -8146,9 +8494,6 @@ packages: resolution: {integrity: sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@ungap/structured-clone@1.3.0': - resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} - '@uniswap/lib@4.0.1-alpha': resolution: {integrity: sha512-f6UIliwBbRsgVLxIaBANF6w09tYqc6Y/qXdsrbEmXHyFA7ILiKrIwRFXe1yOg8M3cksgVsO9N7yuL2DdCGQKBA==} engines: {node: '>=10'} @@ -8472,17 +8817,17 @@ packages: resolution: {integrity: sha512-0bIpgx8PDjYdrLFeC3csF305QQ1L7sxaWnL5y71mCvhenZzJgku9QsA+9QCXBC1eNYtxWO/xR91zrXJy2T/ixg==} engines: {node: '>=16.0.0'} - '@xrplf/secret-numbers@1.0.0': - resolution: {integrity: sha512-qsCLGyqe1zaq9j7PZJopK+iGTGRbk6akkg6iZXJJgxKwck0C5x5Gnwlb1HKYGOwPKyrXWpV6a2YmcpNpUFctGg==} + '@xrplf/secret-numbers@2.0.0': + resolution: {integrity: sha512-z3AOibRTE9E8MbjgzxqMpG1RNaBhQ1jnfhNCa1cGf2reZUJzPMYs4TggQTc7j8+0WyV3cr7y/U8Oz99SXIkN5Q==} - '@zerodev/ecdsa-validator@5.4.8': - resolution: {integrity: sha512-EqDj304KP9PNupY0pUL/VSmhRn9B29pxHkZW+jn7nndn763CNDO3t0fEwReUr+qahg/gV/8TWWWMI8igc3ZJ9g==} + '@zerodev/ecdsa-validator@5.4.9': + resolution: {integrity: sha512-9NVE8/sQIKRo42UOoYKkNdmmHJY8VlT4t+2MHD2ipLg21cpbY9fS17TGZh61+Bl3qlqc8pP23I6f89z9im7kuA==} peerDependencies: '@zerodev/sdk': ^5.4.13 viem: ^2.28.0 - '@zerodev/sdk@5.4.32': - resolution: {integrity: sha512-kAmFazTOXwdORTr/SqkZMSxzIhT39pOKbhm2iOfgP5P4v9oBdlI5KnkX9YPnCs252cMtYcgbURwN0o65TGHydw==} + '@zerodev/sdk@5.4.41': + resolution: {integrity: sha512-YNXLYq4PXdC8u6NVzKNDnN42MKnXignehs0eAgyTb1Er57C4ueClR3ShR64QQ0oCL20NRtzMt/dJ+Yi+sVXndA==} peerDependencies: viem: ^2.28.0 @@ -8543,6 +8888,17 @@ packages: zod: optional: true + abitype@1.1.0: + resolution: {integrity: sha512-6Vh4HcRxNMLA0puzPjM5GBgT4aAcFGKZzSgAXvuZ27shJP6NEpielTuqbBmZILR5/xd0PizkBGy5hReKz9jl5A==} + peerDependencies: + typescript: '>=5.0.4' + zod: ^3.22.0 || ^4.0.0 + peerDependenciesMeta: + typescript: + optional: true + zod: + optional: true + abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -8567,11 +8923,6 @@ packages: resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} engines: {node: '>=0.4.0'} - acorn@8.14.1: - resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.15.0: resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} engines: {node: '>=0.4.0'} @@ -8591,8 +8942,8 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} - agent-base@7.1.3: - resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} engines: {node: '>= 14'} agentkeepalive@4.6.0: @@ -8802,6 +9153,9 @@ packages: resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==} engines: {node: '>=4'} + axios@1.11.0: + resolution: {integrity: sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==} + axios@1.9.0: resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==} @@ -8843,13 +9197,13 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - babel-plugin-polyfill-corejs2@0.4.13: - resolution: {integrity: sha512-3sX/eOms8kd3q2KZ6DAhKPc0dgm525Gqq5NtWKZ7QYYZEv57OQ54KtblzJzH1lQF/eQxO8KjWGIK9IPUJNus5g==} + babel-plugin-polyfill-corejs2@0.4.14: + resolution: {integrity: sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - babel-plugin-polyfill-corejs3@0.11.1: - resolution: {integrity: sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==} + babel-plugin-polyfill-corejs3@0.13.0: + resolution: {integrity: sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -8863,8 +9217,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - babel-plugin-polyfill-regenerator@0.6.4: - resolution: {integrity: sha512-7gD3pRadPrbjhjLyxebmx/WrFYcuSjZ0XbdUujQMZ/fcE9oeewk2U/7PCvez84UeuK3oSjmPZ0Ch0dlupQvGzw==} + babel-plugin-polyfill-regenerator@0.6.5: + resolution: {integrity: sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -8891,15 +9245,48 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - base-x@3.0.11: - resolution: {integrity: sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==} - - base-x@4.0.1: - resolution: {integrity: sha512-uAZ8x6r6S3aUM9rbHGVOIsR15U/ZSc82b3ymnCPsT45Gk1DDvhDPdIgB5MrhirZWt+5K0EEPQH985kNqZgNPFw==} + bare-addon-resolve@1.9.4: + resolution: {integrity: sha512-unn6Vy/Yke6F99vg/7tcrvM2KUvIhTNniaSqDbam4AWkd4NhvDVSrQiRYVlNzUV2P7SPobkCK7JFVxrJk9btCg==} + peerDependencies: + bare-url: '*' + peerDependenciesMeta: + bare-url: + optional: true + + bare-module-resolve@1.11.1: + resolution: {integrity: sha512-DCxeT9i8sTs3vUMA3w321OX/oXtNEu5EjObQOnTmCdNp5RXHBAvAaBDHvAi9ta0q/948QPz+co6SsGi6aQMYRg==} + peerDependencies: + bare-url: '*' + peerDependenciesMeta: + bare-url: + optional: true + + bare-os@3.6.2: + resolution: {integrity: sha512-T+V1+1srU2qYNBmJCXZkUY5vQ0B4FSlL3QDROnKQYOqeiQR8UbjNHlPa+TIbM4cuidiN9GaTaOZgSEgsvPbh5A==} + engines: {bare: '>=1.14.0'} + + bare-path@3.0.0: + resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==} + + bare-semver@1.0.1: + resolution: {integrity: sha512-UtggzHLiTrmFOC/ogQ+Hy7VfoKoIwrP1UFcYtTxoCUdLtsIErT8+SWtOC2DH/snT9h+xDrcBEPcwKei1mzemgg==} + + bare-url@2.2.2: + resolution: {integrity: sha512-g+ueNGKkrjMazDG3elZO1pNs3HY5+mMmOet1jtKyhOaCnkLzitxf26z7hoAEkDNgdNmnc1KIlt/dw6Po6xZMpA==} + + base-x@3.0.11: + resolution: {integrity: sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==} + + base-x@4.0.1: + resolution: {integrity: sha512-uAZ8x6r6S3aUM9rbHGVOIsR15U/ZSc82b3ymnCPsT45Gk1DDvhDPdIgB5MrhirZWt+5K0EEPQH985kNqZgNPFw==} base-x@5.0.1: resolution: {integrity: sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==} + base32.js@0.1.0: + resolution: {integrity: sha512-n3TkB02ixgBOhTvANakDb4xaMXnYUVkNoRFJjQflcqMQhyEKxEHdj3E6N8t8sUQ0mjH/3/JxzlXuz3ul/J90pQ==} + engines: {node: '>=0.12.0'} + base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -8951,6 +9338,9 @@ packages: bignumber.js@9.3.0: resolution: {integrity: sha512-EM7aMFTXbptt/wZdMlBv2t8IViwQL+h6SLHosp8Yf0dqJMTnY6iL32opnAB6kAdL0SZPuvcAzFr31o0c/R3/RA==} + bignumber.js@9.3.1: + resolution: {integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==} + binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -9008,6 +9398,9 @@ packages: bowser@2.11.0: resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==} + bowser@2.12.1: + resolution: {integrity: sha512-z4rE2Gxh7tvshQ4hluIT7XcFrgLIQaw9X3A+kTTRdovCz5PMukm/0QC/BKSYPj3omF5Qfypn9O/c5kgpmvYUCw==} + boxen@5.1.2: resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==} engines: {node: '>=10'} @@ -9056,6 +9449,11 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + browserslist@4.25.4: + resolution: {integrity: sha512-4jYpcjabC606xJ3kw2QwGEZKX0Aw7sgQdZCvIK9dhVSPh76BKo+C+btT1RRofH7B+8iNpEbgGNVWiLki5q93yg==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} @@ -9081,6 +9479,9 @@ packages: bser@2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + buffer-equal-constant-time@1.0.1: + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -9180,6 +9581,9 @@ packages: caniuse-lite@1.0.30001718: resolution: {integrity: sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==} + caniuse-lite@1.0.30001741: + resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==} + case@1.6.3: resolution: {integrity: sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==} engines: {node: '>= 0.8.0'} @@ -9202,8 +9606,8 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.4.1: - resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} + chalk@5.6.2: + resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} char-regex@1.0.2: @@ -9378,6 +9782,10 @@ packages: resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} engines: {node: '>=18'} + commander@14.0.0: + resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==} + engines: {node: '>=20'} + commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -9425,6 +9833,9 @@ packages: core-js-compat@3.42.0: resolution: {integrity: sha512-bQasjMfyDGyaeWKBIu33lHh9qlSR0MFE/Nmc6nMjf/iU9b3rSMdAYz1Baxrv4lPdGUsTqZudHA4jIGSJy0SWZQ==} + core-js-compat@3.45.1: + resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==} + core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -9475,9 +9886,6 @@ packages: cross-fetch@3.1.5: resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==} - cross-fetch@3.2.0: - resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==} - cross-fetch@4.0.0: resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} @@ -9787,10 +10195,6 @@ packages: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} @@ -9843,6 +10247,9 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + ecdsa-sig-formatter@1.0.11: + resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} + eciesjs@0.4.15: resolution: {integrity: sha512-r6kEJXDKecVOCj2nLMuXK/FCPeurW33+3JRpfXVbjLja3XUYFfD9I/JBreH6sUyzcm3G/YQboBjMla6poKeSdA==} engines: {bun: '>=1', deno: '>=2', node: '>=16'} @@ -9862,6 +10269,9 @@ packages: electron-to-chromium@1.5.160: resolution: {integrity: sha512-8yQk54/CoCQT8GX3zuxqPBwMAQuIr6dWI/qO8Aah/JAZwB5XmCbEElsqb1n4pzc2vpkTdfc/kbyNPJOjswfbgg==} + electron-to-chromium@1.5.215: + resolution: {integrity: sha512-TIvGp57UpeNetj/wV/xpFNpWGb0b/ROw372lHPx5Aafx02gjTBtWnEEcaSX3W2dLM3OSdGGyHX/cHl01JQsLaQ==} + elliptic@6.6.1: resolution: {integrity: sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==} @@ -9895,6 +10305,9 @@ packages: end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + end-of-stream@1.4.5: + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + engine.io-client@6.6.3: resolution: {integrity: sha512-T0iLjnyNWahNyv/lcjS2y4oE358tVS/SYQNxYXGAJ9/GLgH4VCvOQ/mhTjqU88mLZCQgiG8RIegFHYCdVC+j5w==} @@ -10004,15 +10417,6 @@ packages: engines: {node: '>=6.0'} hasBin: true - eslint-config-next@14.2.25: - resolution: {integrity: sha512-BwuRQJeqw4xP/fkul/WWjivwbaLs8AjvuMzQCC+nJI65ZVhnVolWs6tk5VSD92xPHu96gSTahfaSkQjIRtJ3ag==} - peerDependencies: - eslint: ^7.23.0 || ^8.0.0 - typescript: '>=3.3.1' - peerDependenciesMeta: - typescript: - optional: true - eslint-config-next@15.5.2: resolution: {integrity: sha512-3hPZghsLupMxxZ2ggjIIrat/bPniM2yRpsVPVM40rp8ZMzKWOJp2CGWn7+EzoV2ddkUr5fxNfHpF+wU1hGt/3g==} peerDependencies: @@ -10075,12 +10479,6 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 - eslint-plugin-react-hooks@5.0.0-canary-7118f5dd7-20230705: - resolution: {integrity: sha512-AZYbMo/NW9chdL7vk6HQzQhT+PvTAEVqWk9ziruUoW2kAOcN5qNyelv70e0F1VNQAbvutOC9oc+xfWycI9FxDw==} - engines: {node: '>=10'} - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react-hooks@5.2.0: resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==} engines: {node: '>=10'} @@ -10093,10 +10491,6 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-scope@8.4.0: resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -10105,22 +10499,12 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true - - eslint@9.34.0: - resolution: {integrity: sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==} + eslint@9.35.0: + resolution: {integrity: sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -10137,10 +10521,6 @@ packages: resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} @@ -10161,9 +10541,6 @@ packages: estree-walker@0.6.1: resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} - estree-walker@1.0.1: - resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} - estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} @@ -10198,6 +10575,10 @@ packages: ethereum-cryptography@2.2.1: resolution: {integrity: sha512-r/W8lkHSiTLxUxW8Rf3u4HGB0xQweG2RyETjywylKZSzLWoWAijRz8WCuOtJ6wah+avllXBqZuk29HCCvhEIRg==} + ethereum-cryptography@3.2.0: + resolution: {integrity: sha512-Urr5YVsalH+Jo0sYkTkv1MyI9bLYZwW8BENZCeE1QYaTHETEYx0Nv/SVsWkSqpYrzweg6d8KMY1wTjH/1m/BIg==} + engines: {node: ^14.21.3 || >=16, npm: '>=9'} + ethereumjs-abi@0.6.8: resolution: {integrity: sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA==} deprecated: This library has been deprecated and usage is discouraged. @@ -10244,6 +10625,10 @@ packages: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} + eventsource@2.0.2: + resolution: {integrity: sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==} + engines: {node: '>=12.0.0'} + evp_bytestokey@1.0.3: resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} @@ -10319,14 +10704,18 @@ packages: fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} - fdir@6.4.5: - resolution: {integrity: sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==} + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} peerDependencies: picomatch: ^3 || ^4 peerDependenciesMeta: picomatch: optional: true + feaxios@0.0.23: + resolution: {integrity: sha512-eghR0A21fvbkcQBgZuMfQhrXxJzC0GNUGC9fXhBge33D+mFDTwl0aJ35zoQQn575BhyjQitRc5N4f+L4cP708g==} + fetch@1.1.0: resolution: {integrity: sha512-5O8TwrGzoNblBG/jtK4NFuZwNCkZX6s5GfRNOaGtm+QGJEuNakSC/i2RW0R93KX6E0jVjNXm6O3CRN4Ql3K+yA==} @@ -10340,10 +10729,6 @@ packages: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -10396,10 +10781,6 @@ packages: find-yarn-workspace-root2@1.2.16: resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} - flat-cache@4.0.1: resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} engines: {node: '>=16'} @@ -10414,10 +10795,19 @@ packages: flow-enums-runtime@0.0.6: resolution: {integrity: sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==} - flow-parser@0.272.1: - resolution: {integrity: sha512-rQjypovSgZ739VukA3G1bC+9TtQPBX+T3SiuEOoH/voGegTCfGvCx6/TrLbUn1ptNhQ469hdBrqzwIojKT0YXQ==} + flow-parser@0.281.0: + resolution: {integrity: sha512-T97TugUp9nRqpkTTHhdOQWGKCpt5Ym49Cn6HVLJib6kn47jv3KZAXtyFWnQm51E+VFigUIcH7EyRFQKUeTWwYQ==} engines: {node: '>=0.4.0'} + follow-redirects@1.15.11: + resolution: {integrity: sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + follow-redirects@1.15.9: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} engines: {node: '>=4.0'} @@ -10543,15 +10933,15 @@ packages: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} - glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true + glob@11.0.3: + resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==} + engines: {node: 20 || >=22} + hasBin: true + glob@7.1.7: resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} deprecated: Glob versions prior to v9 are no longer supported @@ -10564,11 +10954,6 @@ packages: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported - glob@8.0.3: - resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==} - engines: {node: '>=12'} - deprecated: Glob versions prior to v9 are no longer supported - glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} @@ -10578,10 +10963,6 @@ packages: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} - globals@14.0.0: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} @@ -10755,8 +11136,8 @@ packages: hermes-parser@0.25.1: resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} - hls.js@1.6.11: - resolution: {integrity: sha512-tdDwOAgPGXohSiNE4oxGr3CI9Hx9lsGLFe6TULUvRk2TfHS+w1tSAJntrvxsHaxvjtr6BXsDZM7NOqJFhU4mmg==} + hls.js@1.6.12: + resolution: {integrity: sha512-Pz+7IzvkbAht/zXvwLzA/stUHNqztqKvlLbfpq6ZYU68+gZ+CZMlsbQBPUviRap+3IQ41E39ke7Ia+yvhsehEQ==} hmac-drbg@1.0.1: resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} @@ -10905,8 +11286,8 @@ packages: io-ts@1.10.4: resolution: {integrity: sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==} - ip-address@9.0.5: - resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==} + ip-address@10.0.1: + resolution: {integrity: sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==} engines: {node: '>= 12'} iron-webcrypto@1.2.1: @@ -11021,10 +11402,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-plain-obj@1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} @@ -11051,6 +11428,10 @@ packages: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} + is-retry-allowed@3.0.0: + resolution: {integrity: sha512-9xH0xvoggby+u0uGF7cZXdrutWiBiaFG8ZT4YFPXL8NzkyAwX3AKGLeFQLvzDpM430+nDFBZ1LHkie/8ocL06A==} + engines: {node: '>=12'} + is-set@2.0.3: resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} engines: {node: '>= 0.4'} @@ -11180,18 +11561,18 @@ packages: resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==} engines: {node: '>= 0.4'} - its-fine@1.2.5: - resolution: {integrity: sha512-fXtDA0X0t0eBYAGLVM5YsgJGsJ5jEmqZEPrGbzdf5awjv0xE7nqv3TVnvtUF060Tkes15DbDAKW/I48vsb6SyA==} + its-fine@2.0.0: + resolution: {integrity: sha512-KLViCmWx94zOvpLwSlsx6yOCeMhZYaxrJV87Po5k/FoZzcPSahvK5qJ7fYhS61sZi5ikmh2S3Hz55A2l3U69ng==} peerDependencies: - react: '>=18.0' - - jackspeak@2.3.6: - resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} - engines: {node: '>=14'} + react: ^19.0.0 jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + jackspeak@4.1.1: + resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==} + engines: {node: 20 || >=22} + jake@10.9.2: resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} engines: {node: '>=10'} @@ -11382,6 +11763,9 @@ packages: js-base64@3.7.7: resolution: {integrity: sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==} + js-base64@3.7.8: + resolution: {integrity: sha512-hNngCeKxIUQiEUN3GPJOkz4wF/YvdUdbNL9hsBcMQTkKzboD7T/q3OYOuuPZLUE6dBxSGpwhk5mwuDud7JVAow==} + js-sdsl@4.4.2: resolution: {integrity: sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==} @@ -11405,9 +11789,6 @@ packages: jsbi@3.2.5: resolution: {integrity: sha512-aBE4n43IPvjaddScbvWRA2YlTzKEynHzu7MqOyTipdHucf/VxS63ViCjxYRg86M8Rxwbt/GfzHl1kKERkt45fQ==} - jsbn@1.1.0: - resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==} - jsc-android@250231.0.0: resolution: {integrity: sha512-rS46PvsjYmdmuz1OAWXY/1kCYG7pnf1TBqeTiOJr1iDz7s5DLxxC9n/ZMknLDxzYzNVfI7R95MH10emSSG1Wuw==} @@ -11506,6 +11887,12 @@ packages: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} + jwa@2.0.1: + resolution: {integrity: sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==} + + jws@4.0.0: + resolution: {integrity: sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==} + jwt-decode@4.0.0: resolution: {integrity: sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==} engines: {node: '>=18'} @@ -11568,6 +11955,9 @@ packages: libphonenumber-js@1.11.14: resolution: {integrity: sha512-sexvAfwcW1Lqws4zFp8heAtAEXbEDnvkYCEGzvOoMgZR7JhXo/IkE9MkkGACgBed5fWqh3ShBGnJBdDnU9N8EQ==} + libphonenumber-js@1.12.15: + resolution: {integrity: sha512-TMDCtIhWUDHh91wRC+wFuGlIzKdPzaTUHHVrIZ3vPUEoNaXFLrsIQ1ZpAeZeXApIF6rvDksMTvjrIQlLKaYxqQ==} + libsodium-sumo@0.7.15: resolution: {integrity: sha512-5tPmqPmq8T8Nikpm1Nqj0hBHvsLFCXvdhBFV7SGOitQPZAA6jso8XoL0r4L7vmfKXr486fiQInvErHtEvizFMw==} @@ -11658,11 +12048,11 @@ packages: linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} - lit-element@4.2.0: - resolution: {integrity: sha512-MGrXJVAI5x+Bfth/pU9Kst1iWID6GHDLEzFEnyULB/sFiRLgkd8NPK/PeeXxktA3T6EIIaq8U3KcbTU5XFcP2Q==} + lit-element@4.2.1: + resolution: {integrity: sha512-WGAWRGzirAgyphK2urmYOV72tlvnxw7YfyLDgQ+OZnM9vQQBQnumQ7jUJe6unEzwGU3ahFOjuz1iz1jjrpCPuw==} - lit-html@3.3.0: - resolution: {integrity: sha512-RHoswrFAxY2d8Cf2mm4OZ1DgzCoBKUKSPvA1fhtSELxUERq2aQQ2h05pO9j81gS1o7RIRJ+CePLogfyahwmynw==} + lit-html@3.3.1: + resolution: {integrity: sha512-S9hbyDu/vs1qNrithiNyeyv64c9yqiW9l+DBgI18fL+MTvOtWoFR0FWiyq1TxaYef5wNlpEmzlXoBlZEO+WjoA==} lit@3.1.0: resolution: {integrity: sha512-rzo/hmUqX8zmOdamDAeydfjsGXbbdtAFqMhmocnh2j9aDYqbu0fjXygjCa0T99Od9VQ/2itwaGrjZz/ZELVl7w==} @@ -11753,6 +12143,10 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + lru-cache@11.2.1: + resolution: {integrity: sha512-r8LA6i4LP4EeWOhqBaZZjDWwehd1xUJPCJd9Sv300H0ZmcUER4+JPh7bqqZeqs1o5pgtgvXm+d9UGrB5zZGDiQ==} + engines: {node: 20 || >=22} + lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -11992,6 +12386,10 @@ packages: minimalistic-crypto-utils@1.0.1: resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} + minimatch@10.0.3: + resolution: {integrity: sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==} + engines: {node: 20 || >=22} + minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -12173,8 +12571,8 @@ packages: node-addon-api@5.1.0: resolution: {integrity: sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==} - node-addon-api@8.3.1: - resolution: {integrity: sha512-lytcDEdxKjGJPTLEfW4mYMigRezMlyJY8W4wxJK8zE533Jlb8L8dRuObJFWg2P+AuOIxoCgKF+2Oq4d4Zd0OUA==} + node-addon-api@8.5.0: + resolution: {integrity: sha512-/bRZty2mXUIFY/xU5HLvveNHlswNJej+RnxBjOMkidWfwZzgTbPG1E3K5TOxRLOR+5hX7bSofy8yf1hZevMS8A==} engines: {node: ^18 || ^20 || >= 21} node-dir@0.1.17: @@ -12219,6 +12617,9 @@ packages: node-releases@2.0.19: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + node-releases@2.0.20: + resolution: {integrity: sha512-7gK6zSXEH6neM212JgfYFXe+GmZQM+fia5SsusuBIUgnPheLFBmIPhtFoAQRj8/7wASYQnbDlHPVwY0BefoFgA==} + normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -12456,6 +12857,22 @@ packages: typescript: optional: true + ox@0.8.1: + resolution: {integrity: sha512-e+z5epnzV+Zuz91YYujecW8cF01mzmrUtWotJ0oEPym/G82uccs7q0WDHTYL3eiONbTUEvcZrptAKLgTBD3u2A==} + peerDependencies: + typescript: '>=5.4.0' + peerDependenciesMeta: + typescript: + optional: true + + ox@0.8.6: + resolution: {integrity: sha512-eiKcgiVVEGDtEpEdFi1EGoVVI48j6icXHce9nFwCNM7CKG3uoCXKdr4TPhS00Iy1TR2aWSF1ltPD0x/YgqIL9w==} + peerDependencies: + typescript: '>=5.4.0' + peerDependenciesMeta: + typescript: + optional: true + ox@0.8.7: resolution: {integrity: sha512-W1f0FiMf9NZqtHPEDEAEkyzZDwbIKfmH2qmQx8NNiQ/9JhxrSblmtLJsSfTtQG5YKowLOnBlLVguCyxm/7ztxw==} peerDependencies: @@ -12464,6 +12881,14 @@ packages: typescript: optional: true + ox@0.9.3: + resolution: {integrity: sha512-KzyJP+fPV4uhuuqrTZyok4DC7vFzi7HLUFiUNEmpbyh59htKWkOC98IONC1zgXJPbHAhQgqs6B0Z6StCGhmQvg==} + peerDependencies: + typescript: '>=5.4.0' + peerDependenciesMeta: + typescript: + optional: true + p-cancelable@2.1.1: resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} engines: {node: '>=8'} @@ -12580,6 +13005,10 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} + path-scurry@2.0.0: + resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} + engines: {node: 20 || >=22} + path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -12591,10 +13020,14 @@ packages: resolution: {integrity: sha512-wfRLBZ0feWRhCIkoMB6ete7czJcnNnqRpcoWQBLqatqXXmelSRqfdDK4F3u9T2s2cXas/hQJcryI/4lAL+XTlA==} engines: {node: '>=0.12'} - permissionless@0.1.45: - resolution: {integrity: sha512-YJJrNFeP3T7mmfXExZsGz0J8SfOPgYzT3fyRIJtImFcUI2UmnyBQLrFt+BaiIXNogzAQuBvOSi6KKtyBePJ2/Q==} + permissionless@0.2.57: + resolution: {integrity: sha512-QrzAoQGYPV/NJ2x5Sj18h7qed6f+kCyQAojrncN091UPiGqHjFNjgdsgreiv8pxlQgF4UcpuJUvsHLpOEBd6cQ==} peerDependencies: - viem: '>=2.14.1 <2.18.0' + ox: ^0.8.0 + viem: ^2.28.1 + peerDependenciesMeta: + ox: + optional: true picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -12607,6 +13040,10 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} + picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} @@ -12939,6 +13376,10 @@ packages: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.38: + resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} + engines: {node: ^10 || ^12 || >=14} + postcss@8.5.6: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} @@ -12949,6 +13390,9 @@ packages: preact@10.26.7: resolution: {integrity: sha512-43xS+QYc1X1IPbw03faSgY6I6OYWcLrJRv3hU0+qMOfh/XCHcP0MX2CVjNARYR2cC/guu975sta4OcjlczxD7g==} + preact@10.27.1: + resolution: {integrity: sha512-V79raXEWch/rbqoNc7nT9E4ep7lu+mI3+sBmfRD4i1M73R3WLYcCtdI0ibxGVf4eQL8ZIz2nFacqEC+rmnOORQ==} + preferred-pm@3.1.4: resolution: {integrity: sha512-lEHd+yEm22jXdCphDrkvIJQU66EuLojPPtvZkpKIkiD+l0DMThF/niqZKJSoU8Vl7iuvtmzyMhir9LdVy5WMnA==} engines: {node: '>=10'} @@ -13017,6 +13461,9 @@ packages: pump@3.0.2: resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==} + pump@3.0.3: + resolution: {integrity: sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==} + punycode.js@2.3.1: resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} engines: {node: '>=6'} @@ -13138,11 +13585,22 @@ packages: peerDependencies: react: ^16.8.0 || ^17 || ^18 + react-hook-form@7.62.0: + resolution: {integrity: sha512-7KWFejc98xqG/F4bAxpL41NB3o1nnvQO1RWZT3TqRZYL8RryQETGfEdVnJN2fy1crCiBLLjkRBVK05j24FxJGA==} + engines: {node: '>=18.0.0'} + peerDependencies: + react: ^16.8.0 || ^17 || ^18 || ^19 + react-international-phone@4.3.0: resolution: {integrity: sha512-lIntIkwq2j0m3j4RsRiGJl/buHMLBd+mQ9S9RfiX3KbiUCUtbawoPCV2r8BvyeRMZI0cDtovoukBCuZ+70QzJA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-international-phone@4.6.0: + resolution: {integrity: sha512-lzj5fLfACRKeaitggFIHWl6LM69aO2uivJbEVyVBjAe0+kkvZjToduqnK2/dm9Zu+l8XfVjd+Fn1ZAyG/t8XAg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -13152,6 +13610,9 @@ packages: react-is@19.1.0: resolution: {integrity: sha512-Oe56aUPnkHyyDxxkvqtd7KkdQP5uIUfHxd5XTb3wE9d/kRnZLmKbDB0GWk919tdQ+mxxPtG6EAs6RMT6i1qtHg==} + react-is@19.1.1: + resolution: {integrity: sha512-tr41fA15Vn8p4X9ntI+yCyeGSf1TlYaY5vlTZfQmeLBrFo3psOPX6HhTDnFNL9uj3EhP0KAQ80cugCl4b4BERA==} + react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} @@ -13192,11 +13653,11 @@ packages: react: ~16 react-dom: ~16 - react-reconciler@0.27.0: - resolution: {integrity: sha512-HmMDKciQjYmBRGuuhIaKA1ba/7a+UsM5FzOZsMO2JYHt9Jh8reCb7j1eDC95NOyUlKM9KRyvdx0flBuDvYSBoA==} + react-reconciler@0.31.0: + resolution: {integrity: sha512-7Ob7Z+URmesIsIVRjnLoDGwBEG/tVitidU0nMsqX/eeJaLY89RISO/10ERe0MqmzuKUUB1rmY+h1itMbUHg9BQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: ^18.0.0 + react: ^19.0.0 react-redux@9.2.0: resolution: {integrity: sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g==} @@ -13277,10 +13738,6 @@ packages: resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} - react@19.1.0: - resolution: {integrity: sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==} - engines: {node: '>=0.10.0'} - read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -13372,6 +13829,10 @@ packages: resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==} hasBin: true + require-addon@1.1.0: + resolution: {integrity: sha512-KbXAD5q2+v1GJnkzd8zzbOxchTkStSyJZ9QwoCq3QwEXAaIlG3wDYRZGzVD357jmwaGY7hr5VaoEAL0BkF0Kvg==} + engines: {bare: '>=1.10.0'} + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -13455,8 +13916,8 @@ packages: resolution: {integrity: sha512-de7osLRH/pt5HX2xw2TRJtbdLLWHu0RXirpQaEeCnWKY5DYHykh3ETSkofvm0aX0LJiV7kwkegJxQkmbO94gWw==} engines: {node: '>= 16'} - ripple-binary-codec@2.3.0: - resolution: {integrity: sha512-CPMzkknXlgO9Ow5Qa5iqQm0vOIlJyN8M1bc8etyhLw2Xfrer6bPzLA8/apuKlGQ+XdznYSKPBz5LAhwYjaDAcA==} + ripple-binary-codec@2.5.0: + resolution: {integrity: sha512-n2EPs3YRX0/XE6zO8Mav/XFmI1wWmWraCRyCSb0fQ0Fkpv4kJ1tMhQXfX9E/DbLtyXbeogcoxYsQZtAmG8u+Ww==} engines: {node: '>= 18'} ripple-keypairs@2.0.0: @@ -13504,6 +13965,9 @@ packages: rpc-websockets@9.1.1: resolution: {integrity: sha512-1IXGM/TfPT6nfYMIXkJdzn+L4JEsmb0FL1O2OBjaH03V3yuUDdKFulGLMFG6ErV+8pZ5HVC0limve01RyO+saA==} + rpc-websockets@9.1.3: + resolution: {integrity: sha512-I+kNjW0udB4Fetr3vvtRuYZJS0PcSPyyvBcH5sDdoV8DFs5E4W2pTr7aiMlKfPxANTClP9RlqCPolj9dd5MsEA==} + rtcpeerconnection-shim@1.2.15: resolution: {integrity: sha512-C6DxhXt7bssQ1nHb154lqeL0SXz5Dx4RczXZu2Aa/L1NJFnEVDxFwCBo3fqtuljhHIGceg5JKBV4XJ0gW5JKyw==} engines: {node: '>=6.0.0', npm: '>=3.10.0'} @@ -13565,9 +14029,6 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.21.0: - resolution: {integrity: sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ==} - scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} @@ -13663,8 +14124,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shell-quote@1.8.2: - resolution: {integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==} + shell-quote@1.8.3: + resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==} engines: {node: '>= 0.4'} side-channel-list@1.0.0: @@ -13724,10 +14185,13 @@ packages: resolution: {integrity: sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==} engines: {node: '>= 14'} - socks@2.8.4: - resolution: {integrity: sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==} + socks@2.8.7: + resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==} engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} + sodium-native@4.3.3: + resolution: {integrity: sha512-OnxSlN3uyY8D0EsLHpmm2HOFmKddQVvEMmsakCrXUzSd8kjjbzL413t4ZNF3n0UxSwNgwTyUvkmZHTfuCeiYSw==} + solady@0.0.235: resolution: {integrity: sha512-JUEXLDG7ag3HmqUnrDG7ilhafH6R9bFPpwV63O2kH4UbnS2+gRGEOqqy4k01O7tHjo3MWkDD0cpG+UY9pjy/fQ==} @@ -13805,9 +14269,6 @@ packages: sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - sprintf-js@1.1.3: - resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} - stable-hash@0.0.5: resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==} @@ -13920,8 +14381,8 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + strip-ansi@7.1.2: + resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==} engines: {node: '>=12'} strip-bom@3.0.0: @@ -14071,6 +14532,12 @@ packages: engines: {node: '>=14.0.0'} hasBin: true + tailwindcss@4.1.10: + resolution: {integrity: sha512-P3nr6WkvKV/ONsTzj6Gb57sWPMX29EPNPopo7+FcpkQaNsrNpZ1pv8QmrYI2RqEKD7mlGqLnGovlcYnBK0IqUA==} + + tailwindcss@4.1.11: + resolution: {integrity: sha512-2E9TBm6MDD/xKYe+dvJZAmg3yxIEDNRc0jwlNyDg/4Fil2QcSLjFKGVff0lAf1jjeaArlG/M75Ey/EYr/OJtBA==} + tailwindcss@4.1.12: resolution: {integrity: sha512-DzFtxOi+7NsFf7DBtI3BJsynR+0Yp6etH+nRPTbpWnS2pZBaSksv/JGctNwSWzbFjp0vxSqknaUylseZqMDGrA==} @@ -14090,8 +14557,8 @@ packages: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} - terser@5.40.0: - resolution: {integrity: sha512-cfeKl/jjwSR5ar7d0FGmave9hFGJT8obyo0z+CrQOylLDbk7X81nPU6vq9VORa5jU30SkDnT2FXjLbR8HLP+xA==} + terser@5.44.0: + resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==} engines: {node: '>=10'} hasBin: true @@ -14105,9 +14572,6 @@ packages: text-encoding-utf-8@1.0.2: resolution: {integrity: sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -14128,8 +14592,8 @@ packages: peerDependencies: three: '>=0.128.0' - three@0.160.1: - resolution: {integrity: sha512-Bgl2wPJypDOZ1stAxwfWAcJ0WQf7QzlptsxkjYiURPz+n5k4RBDLsq+6f9Y75TYxn6aHLcWz+JNmwTOXWrQTBQ==} + three@0.160.0: + resolution: {integrity: sha512-DLU8lc0zNIPkM7rH5/e1Ks1Z8tWCGRq6g8mPowdDJpw1CFBJMU7UoJjC6PefXW7z//SSl0b2+GCw14LB+uDhng==} throat@5.0.0: resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} @@ -14141,11 +14605,15 @@ packages: resolution: {integrity: sha512-SGcL07SxcPN2nGKHTCvRMkQLYPSoeFcvArUSCYtjVARiFAWU44cCIqYS0mYAU6nY7XfvwURuTIGo2Omt3ZQr0Q==} engines: {node: '>=14.0.0'} + tiny-secp256k1@2.2.4: + resolution: {integrity: sha512-FoDTcToPqZE454Q04hH9o2EhxWsm7pOSpicyHkgTwKhdKWdsTUuqfP5MLq3g+VjAtl2vSx6JpXGdwA2qpYkI0Q==} + engines: {node: '>=14.0.0'} + tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} - tinyglobby@0.2.14: - resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} + tinyglobby@0.2.15: + resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} engines: {node: '>=12.0.0'} tmp@0.0.33: @@ -14417,13 +14885,13 @@ packages: typeforce@1.18.0: resolution: {integrity: sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==} - typescript@5.1.3: - resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==} + typescript@5.4.3: + resolution: {integrity: sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==} engines: {node: '>=14.17'} hasBin: true - typescript@5.4.3: - resolution: {integrity: sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==} + typescript@5.9.2: + resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==} engines: {node: '>=14.17'} hasBin: true @@ -14438,8 +14906,8 @@ packages: ua-is-frozen@0.1.2: resolution: {integrity: sha512-RwKDW2p3iyWn4UbaxpP2+VxwqXh0jpvdxsYpZ5j/MLLiQOfbsV5shpgQiw93+KMYQPcteeMQ289MaAFzs3G9pw==} - ua-parser-js@2.0.3: - resolution: {integrity: sha512-LZyXZdNttONW8LjzEH3Z8+6TE7RfrEiJqDKyh0R11p/kxvrV2o9DrT2FGZO+KVNs3k+drcIQ6C3En6wLnzJGpw==} + ua-parser-js@2.0.5: + resolution: {integrity: sha512-sZErtx3rhpvZQanWW5umau4o/snfoLqRcQwQIZ54377WtRzIecnIKvjpkd5JwPcSUMglGnbIgcsQBGAbdi3S9Q==} hasBin: true uc.micro@2.1.0: @@ -14472,16 +14940,20 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - undici-types@6.21.0: - resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - undici-types@7.10.0: resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==} + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + undici@5.29.0: resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==} engines: {node: '>=14.0'} + undici@7.16.0: + resolution: {integrity: sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g==} + engines: {node: '>=20.18.1'} + unicode-canonical-property-names-ecmascript@2.0.1: resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} engines: {node: '>=4'} @@ -14591,11 +15063,14 @@ packages: uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + urijs@1.19.11: + resolution: {integrity: sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==} + url-parse@1.5.10: resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - usb@2.15.0: - resolution: {integrity: sha512-BA9r7PFxyYp99wps1N70lIqdPb2Utcl2KkWohDtWUmhDBeM5hDH1Zl/L/CZvWxd5W3RUCNm1g+b+DEKZ6cHzqg==} + usb@2.16.0: + resolution: {integrity: sha512-jD88fvzDViMDH5KmmNJgzMBDj/95bDTt6+kBNaNxP4G98xUTnDMiLUY2CYmToba6JAFhM9VkcaQuxCNRLGR7zg==} engines: {node: '>=12.22.0 <13.0 || >=14.17.0'} use-callback-ref@1.3.3: @@ -14785,6 +15260,22 @@ packages: typescript: optional: true + viem@2.33.1: + resolution: {integrity: sha512-++Dkj8HvSOLPMKEs+ZBNNcWbBRlUHcXNWktjIU22hgr6YmbUldV1sPTGLZa6BYRm06WViMjXj6HIsHt8rD+ZKQ==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + + viem@2.33.2: + resolution: {integrity: sha512-/720OaM4dHWs8vXwNpyet+PRERhPaW+n/1UVSCzyb9jkmwwVfaiy/R6YfCFb4v+XXbo8s3Fapa3DM5yCRSkulA==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + viem@2.34.0: resolution: {integrity: sha512-HJZG9Wt0DLX042MG0PK17tpataxtdAEhpta9/Q44FqKwy3xZMI5Lx4jF+zZPuXFuYjZ68R0PXqRwlswHs6r4gA==} peerDependencies: @@ -14793,6 +15284,14 @@ packages: typescript: optional: true + viem@2.37.5: + resolution: {integrity: sha512-bLKvKgLcge6KWBMLk8iP9weu5tHNr0hkxPNwQd+YQrHEgek7ogTBBeE10T0V6blwBMYmeZFZHLnMhDmPjp63/A==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + viem@2.7.19: resolution: {integrity: sha512-UOMeqy+8p2709ra2j9HEOL1NfjsXZzlJ8gwR6YO/zXH8KIZvyzW07t4iQARF5+ShVZ/7+/1ec8oPjVi1M//33A==} peerDependencies: @@ -15042,6 +15541,18 @@ packages: utf-8-validate: optional: true + ws@8.18.3: + resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} @@ -15053,8 +15564,8 @@ packages: resolution: {integrity: sha512-TEU+nJVUUnA4CYJFLvK5X9AOeH4KvDvhIfm0vV1GaQRtchnG0hgK5p8hw/xjv8cunWYCsiPCSDzObPyhEwq3KQ==} engines: {node: '>=0.4.0'} - xrpl@4.2.5: - resolution: {integrity: sha512-QIpsqvhaRiVvlq7px7lC+lhrxESDMN1vd8mW0SfTgY5WgzP9RLiDoVywOOvSZqDDjPs0EGfhxzYjREW1gGu0Ng==} + xrpl@4.4.1: + resolution: {integrity: sha512-zTEGYdbNQo36qhWqwr0B0ufq7tezRbqThmXLZ0D/+OiKAD8v9wtKhEbJwWzL+0KVrbqOsDADFG7p95898RC4lA==} engines: {node: '>=18.0.0'} xstream@11.14.0: @@ -15132,15 +15643,6 @@ packages: zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} - zustand@3.7.2: - resolution: {integrity: sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==} - engines: {node: '>=12.7.0'} - peerDependencies: - react: '>=16.8' - peerDependenciesMeta: - react: - optional: true - zustand@4.5.7: resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} engines: {node: '>=12.7.0'} @@ -15222,6 +15724,8 @@ snapshots: '@babel/compat-data@7.27.3': {} + '@babel/compat-data@7.28.4': {} + '@babel/core@7.26.9': dependencies: '@ampproject/remapping': 2.3.0 @@ -15242,18 +15746,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/core@7.27.3': + '@babel/core@7.28.4': dependencies: - '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.27.1 - '@babel/generator': 7.27.3 + '@babel/generator': 7.28.3 '@babel/helper-compilation-targets': 7.27.2 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.3) - '@babel/helpers': 7.27.3 - '@babel/parser': 7.27.3 + '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.4) + '@babel/helpers': 7.28.4 + '@babel/parser': 7.28.4 '@babel/template': 7.27.2 - '@babel/traverse': 7.27.3 - '@babel/types': 7.27.3 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 + '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 debug: 4.4.1(supports-color@8.1.1) gensync: 1.0.0-beta.2 @@ -15270,6 +15774,14 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 + '@babel/generator@7.28.3': + dependencies: + '@babel/parser': 7.28.4 + '@babel/types': 7.28.4 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.30 + jsesc: 3.1.0 + '@babel/helper-annotate-as-pure@7.27.3': dependencies: '@babel/types': 7.27.3 @@ -15295,19 +15807,45 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-create-class-features-plugin@7.27.1(@babel/core@7.27.3)': + '@babel/helper-create-class-features-plugin@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-member-expression-to-functions': 7.27.1 '@babel/helper-optimise-call-expression': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.3) + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 '@babel/traverse': 7.27.3 semver: 7.7.2 transitivePeerDependencies: - supports-color + '@babel/helper-create-class-features-plugin@7.28.3(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-member-expression-to-functions': 7.27.1 + '@babel/helper-optimise-call-expression': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.26.9) + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/traverse': 7.28.4 + semver: 7.7.2 + transitivePeerDependencies: + - supports-color + + '@babel/helper-create-class-features-plugin@7.28.3(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-member-expression-to-functions': 7.27.1 + '@babel/helper-optimise-call-expression': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/traverse': 7.28.4 + semver: 7.7.2 + transitivePeerDependencies: + - supports-color + '@babel/helper-create-regexp-features-plugin@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 @@ -15315,9 +15853,9 @@ snapshots: regexpu-core: 6.2.0 semver: 7.7.2 - '@babel/helper-create-regexp-features-plugin@7.27.1(@babel/core@7.27.3)': + '@babel/helper-create-regexp-features-plugin@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 regexpu-core: 6.2.0 semver: 7.7.2 @@ -15334,9 +15872,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.27.3)': + '@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 debug: 4.4.1(supports-color@8.1.1) @@ -15346,7 +15884,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.26.9)': + '@babel/helper-define-polyfill-provider@0.6.5(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-compilation-targets': 7.27.2 @@ -15357,9 +15895,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.27.3)': + '@babel/helper-define-polyfill-provider@0.6.5(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 debug: 4.4.1(supports-color@8.1.1) @@ -15372,6 +15910,8 @@ snapshots: dependencies: '@babel/types': 7.27.3 + '@babel/helper-globals@7.28.0': {} + '@babel/helper-member-expression-to-functions@7.27.1': dependencies: '@babel/traverse': 7.27.3 @@ -15381,8 +15921,8 @@ snapshots: '@babel/helper-module-imports@7.27.1': dependencies: - '@babel/traverse': 7.27.3 - '@babel/types': 7.27.3 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 transitivePeerDependencies: - supports-color @@ -15395,15 +15935,24 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.27.3(@babel/core@7.27.3)': + '@babel/helper-module-transforms@7.27.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 '@babel/traverse': 7.27.3 transitivePeerDependencies: - supports-color + '@babel/helper-module-transforms@7.28.3(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-module-imports': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color + '@babel/helper-optimise-call-expression@7.27.1': dependencies: '@babel/types': 7.27.3 @@ -15419,9 +15968,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-remap-async-to-generator@7.27.1(@babel/core@7.27.3)': + '@babel/helper-remap-async-to-generator@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-wrap-function': 7.27.1 '@babel/traverse': 7.27.3 @@ -15437,9 +15986,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-replace-supers@7.27.1(@babel/core@7.27.3)': + '@babel/helper-replace-supers@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-member-expression-to-functions': 7.27.1 '@babel/helper-optimise-call-expression': 7.27.1 '@babel/traverse': 7.27.3 @@ -15472,18 +16021,27 @@ snapshots: '@babel/template': 7.27.2 '@babel/types': 7.27.3 + '@babel/helpers@7.28.4': + dependencies: + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 + '@babel/parser@7.27.3': dependencies: '@babel/types': 7.27.3 + '@babel/parser@7.28.4': + dependencies: + '@babel/types': 7.28.4 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.26.9)': @@ -15495,12 +16053,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -15514,13 +16072,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.27.3)': + '@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.27.3) + '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -15532,10 +16090,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -15549,12 +16107,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.27.3)': + '@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.27.3) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -15564,20 +16122,20 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.26.9) - '@babel/plugin-proposal-dynamic-import@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-dynamic-import@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.28.4) '@babel/plugin-proposal-export-default-from@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-proposal-export-default-from@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-proposal-export-default-from@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.26.9)': @@ -15586,11 +16144,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.26.9) - '@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.27.3)': + '@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.28.4) '@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.26.9)': dependencies: @@ -15598,11 +16156,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.26.9) - '@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.28.4) '@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.26.9)': dependencies: @@ -15610,11 +16168,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.26.9) - '@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.27.3)': + '@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.27.3) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.28.4) '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.26.9)': dependencies: @@ -15622,11 +16180,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.9) - '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.28.4) '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.26.9)': dependencies: @@ -15634,11 +16192,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.26.9) - '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.27.3) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.28.4) '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.26.9)': dependencies: @@ -15649,14 +16207,14 @@ snapshots: '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.9) '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.27.3)': + '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.28.4)': dependencies: '@babel/compat-data': 7.27.3 - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.28.4) '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.26.9)': dependencies: @@ -15664,11 +16222,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.26.9) - '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.28.4) '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.26.9)': dependencies: @@ -15679,12 +16237,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.27.3)': + '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.27.3) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -15696,10 +16254,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -15714,13 +16272,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-private-property-in-object@7.21.11(@babel/core@7.27.3)': + '@babel/plugin-proposal-private-property-in-object@7.21.11(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.27.3) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -15730,10 +16288,10 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.27.3)': + '@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.9)': @@ -15741,9 +16299,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.27.3)': + '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.9)': @@ -15751,9 +16309,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.9)': @@ -15761,9 +16319,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.27.3)': + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.9)': @@ -15771,9 +16329,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.27.3)': + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.26.9)': @@ -15781,9 +16339,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-export-default-from@7.27.1(@babel/core@7.26.9)': @@ -15791,9 +16349,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-export-default-from@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-export-default-from@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.26.9)': @@ -15801,9 +16359,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.26.9)': @@ -15811,9 +16369,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.26.9)': @@ -15821,9 +16379,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.26.9)': @@ -15831,9 +16389,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.9)': @@ -15841,9 +16399,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.27.3)': + '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.9)': @@ -15851,9 +16409,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.26.9)': @@ -15861,9 +16419,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.9)': @@ -15871,9 +16429,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.27.3)': + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.9)': @@ -15881,9 +16439,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.9)': @@ -15891,9 +16449,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.27.3)': + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.9)': @@ -15901,9 +16459,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.9)': @@ -15911,9 +16469,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.9)': @@ -15921,9 +16479,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.27.3)': + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.9)': @@ -15931,9 +16489,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.27.3)': + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.9)': @@ -15941,9 +16499,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.27.3)': + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-typescript@7.27.1(@babel/core@7.26.9)': @@ -15951,9 +16509,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-typescript@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-syntax-typescript@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.26.9)': @@ -15961,26 +16519,26 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-async-generator-functions@7.27.1(@babel/core@7.26.9)': + '@babel/plugin-transform-async-generator-functions@7.28.0(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.26.9) - '@babel/traverse': 7.27.3 + '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-async-generator-functions@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-async-generator-functions@7.28.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.3) - '@babel/traverse': 7.27.3 + '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.28.4) + '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color @@ -15993,12 +16551,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-async-to-generator@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-async-to-generator@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.3) + '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -16007,9 +16565,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-block-scoping@7.27.3(@babel/core@7.26.9)': @@ -16017,23 +16575,33 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-block-scoping@7.27.3(@babel/core@7.27.3)': + '@babel/plugin-transform-block-scoping@7.27.3(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-block-scoping@7.28.4(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-block-scoping@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.26.9) + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16050,50 +16618,90 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-classes@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-classes@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.3) + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) '@babel/traverse': 7.27.3 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.26.9)': + '@babel/plugin-transform-classes@7.28.4(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-globals': 7.28.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/template': 7.27.2 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.26.9) + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color - '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-classes@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-globals': 7.28.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/template': 7.27.2 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color - '@babel/plugin-transform-destructuring@7.27.3(@babel/core@7.26.9)': + '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 + '@babel/template': 7.27.2 - '@babel/plugin-transform-destructuring@7.27.3(@babel/core@7.27.3)': + '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 + '@babel/template': 7.27.2 - '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.26.9)': + '@babel/plugin-transform-destructuring@7.27.3(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-destructuring@7.27.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-destructuring@7.28.0(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-destructuring@7.28.0(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.26.9) + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.26.9)': @@ -16101,9 +16709,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-exponentiation-operator@7.27.1(@babel/core@7.26.9)': @@ -16111,9 +16719,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-exponentiation-operator@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-exponentiation-operator@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-flow-strip-types@7.27.1(@babel/core@7.26.9)': @@ -16122,11 +16730,11 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-flow-strip-types@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-flow-strip-types@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.4) '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.26.9)': dependencies: @@ -16136,9 +16744,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: @@ -16153,9 +16761,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 '@babel/traverse': 7.27.3 @@ -16167,9 +16775,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-literals@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-logical-assignment-operators@7.27.1(@babel/core@7.26.9)': @@ -16177,9 +16785,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-logical-assignment-operators@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-logical-assignment-operators@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.26.9)': @@ -16187,9 +16795,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.26.9)': @@ -16200,10 +16808,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16216,10 +16824,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16234,10 +16842,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-systemjs@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-modules-systemjs@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 '@babel/traverse': 7.27.3 @@ -16252,10 +16860,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-umd@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-modules-umd@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16266,10 +16874,10 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-named-capturing-groups-regex@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-named-capturing-groups-regex@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-new-target@7.27.1(@babel/core@7.26.9)': @@ -16277,9 +16885,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-new-target@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-new-target@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.26.9)': @@ -16287,9 +16895,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.26.9)': @@ -16297,26 +16905,32 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-object-rest-spread@7.27.3(@babel/core@7.26.9)': + '@babel/plugin-transform-object-rest-spread@7.28.4(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.26.9) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.26.9) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.26.9) + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color - '@babel/plugin-transform-object-rest-spread@7.27.3(@babel/core@7.27.3)': + '@babel/plugin-transform-object-rest-spread@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.4) + '@babel/traverse': 7.28.4 + transitivePeerDependencies: + - supports-color '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.26.9)': dependencies: @@ -16326,11 +16940,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.3) + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -16339,9 +16953,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-optional-catch-binding@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-optional-catch-binding@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.26.9)': @@ -16352,9 +16966,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: @@ -16365,23 +16979,33 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-parameters@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-parameters@7.27.1(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-parameters@7.27.7(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-parameters@7.27.7(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.26.9) + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16390,16 +17014,16 @@ snapshots: dependencies: '@babel/core': 7.26.9 '@babel/helper-annotate-as-pure': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.26.9) + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-private-property-in-object@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-private-property-in-object@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color @@ -16409,9 +17033,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-react-display-name@7.27.1(@babel/core@7.26.9)': @@ -16419,9 +17043,14 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-display-name@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-react-display-name@7.28.0(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-react-display-name@7.28.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-react-jsx-development@7.27.1(@babel/core@7.26.9)': @@ -16436,9 +17065,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.26.9)': @@ -16446,9 +17075,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-react-jsx@7.27.1(@babel/core@7.26.9)': @@ -16462,13 +17091,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-react-jsx@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-react-jsx@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-module-imports': 7.27.1 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.4) '@babel/types': 7.27.3 transitivePeerDependencies: - supports-color @@ -16484,9 +17113,19 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-regenerator@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-regenerator@7.27.1(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-regenerator@7.28.4(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-plugin-utils': 7.27.1 + + '@babel/plugin-transform-regenerator@7.28.4(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.26.9)': @@ -16494,31 +17133,31 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-runtime@7.27.3(@babel/core@7.26.9)': + '@babel/plugin-transform-runtime@7.28.3(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 '@babel/helper-module-imports': 7.27.1 '@babel/helper-plugin-utils': 7.27.1 - babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.26.9) - babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.26.9) - babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.26.9) + babel-plugin-polyfill-corejs2: 0.4.14(@babel/core@7.26.9) + babel-plugin-polyfill-corejs3: 0.13.0(@babel/core@7.26.9) + babel-plugin-polyfill-regenerator: 0.6.5(@babel/core@7.26.9) semver: 7.7.2 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-runtime@7.27.3(@babel/core@7.27.3)': + '@babel/plugin-transform-runtime@7.28.3(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 '@babel/helper-plugin-utils': 7.27.1 - babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.27.3) - babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.27.3) - babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.27.3) + babel-plugin-polyfill-corejs2: 0.4.14(@babel/core@7.28.4) + babel-plugin-polyfill-corejs3: 0.13.0(@babel/core@7.28.4) + babel-plugin-polyfill-regenerator: 0.6.5(@babel/core@7.28.4) semver: 7.7.2 transitivePeerDependencies: - supports-color @@ -16528,9 +17167,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-spread@7.27.1(@babel/core@7.26.9)': @@ -16541,9 +17180,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-spread@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-spread@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: @@ -16554,9 +17193,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-sticky-regex@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-sticky-regex@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.26.9)': @@ -16564,9 +17203,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.26.9)': @@ -16574,9 +17213,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-typescript@7.27.1(@babel/core@7.26.9)': @@ -16590,14 +17229,25 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-typescript@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-typescript@7.28.0(@babel/core@7.26.9)': + dependencies: + '@babel/core': 7.26.9 + '@babel/helper-annotate-as-pure': 7.27.3 + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.26.9) + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.26.9) + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-typescript@7.28.0(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-annotate-as-pure': 7.27.3 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -16606,9 +17256,9 @@ snapshots: '@babel/core': 7.26.9 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-escapes@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-unicode-escapes@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.26.9)': @@ -16617,10 +17267,10 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.26.9) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.27.3)': + '@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.28.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/preset-env@7.20.2(@babel/core@7.26.9)': @@ -16704,82 +17354,82 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/preset-env@7.20.2(@babel/core@7.27.3)': + '@babel/preset-env@7.20.2(@babel/core@7.28.4)': dependencies: '@babel/compat-data': 7.27.3 - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-validator-option': 7.27.1 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.27.3) - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-class-static-block': 7.21.0(@babel/core@7.27.3) - '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-export-namespace-from': 7.18.9(@babel/core@7.27.3) - '@babel/plugin-proposal-json-strings': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-logical-assignment-operators': 7.20.7(@babel/core@7.27.3) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.27.3) - '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.27.3) - '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-proposal-private-property-in-object': 7.21.11(@babel/core@7.27.3) - '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.27.3) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.27.3) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.27.3) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.27.3) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.27.3) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.27.3) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.27.3) - '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-block-scoping': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-exponentiation-operator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-modules-amd': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-modules-umd': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-new-target': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-reserved-words': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.27.3) - '@babel/preset-modules': 0.1.6(@babel/core@7.27.3) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.28.4) + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-class-static-block': 7.21.0(@babel/core@7.28.4) + '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-export-namespace-from': 7.18.9(@babel/core@7.28.4) + '@babel/plugin-proposal-json-strings': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-logical-assignment-operators': 7.20.7(@babel/core@7.28.4) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.28.4) + '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.28.4) + '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-private-property-in-object': 7.21.11(@babel/core@7.28.4) + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.28.4) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.28.4) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.28.4) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.28.4) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.28.4) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.28.4) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.28.4) + '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-block-scoping': 7.27.3(@babel/core@7.28.4) + '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.28.4) + '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-exponentiation-operator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-amd': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-umd': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-new-target': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-reserved-words': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.28.4) + '@babel/preset-modules': 0.1.6(@babel/core@7.28.4) '@babel/types': 7.27.3 - babel-plugin-polyfill-corejs2: 0.3.3(@babel/core@7.27.3) - babel-plugin-polyfill-corejs3: 0.6.0(@babel/core@7.27.3) - babel-plugin-polyfill-regenerator: 0.4.1(@babel/core@7.27.3) + babel-plugin-polyfill-corejs2: 0.3.3(@babel/core@7.28.4) + babel-plugin-polyfill-corejs3: 0.6.0(@babel/core@7.28.4) + babel-plugin-polyfill-regenerator: 0.4.1(@babel/core@7.28.4) core-js-compat: 3.42.0 semver: 7.7.2 transitivePeerDependencies: @@ -16792,6 +17442,13 @@ snapshots: '@babel/helper-validator-option': 7.27.1 '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.26.9) + '@babel/preset-flow@7.27.1(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-validator-option': 7.27.1 + '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.28.4) + '@babel/preset-modules@0.1.6(@babel/core@7.26.9)': dependencies: '@babel/core': 7.26.9 @@ -16801,12 +17458,12 @@ snapshots: '@babel/types': 7.27.3 esutils: 2.0.3 - '@babel/preset-modules@0.1.6(@babel/core@7.27.3)': + '@babel/preset-modules@0.1.6(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.27.3) - '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.28.4) '@babel/types': 7.27.3 esutils: 2.0.3 @@ -16831,9 +17488,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/register@7.27.1(@babel/core@7.26.9)': + '@babel/preset-typescript@7.27.1(@babel/core@7.28.4)': dependencies: - '@babel/core': 7.26.9 + '@babel/core': 7.28.4 + '@babel/helper-plugin-utils': 7.27.1 + '@babel/helper-validator-option': 7.27.1 + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.28.4) + transitivePeerDependencies: + - supports-color + + '@babel/register@7.28.3(@babel/core@7.28.4)': + dependencies: + '@babel/core': 7.28.4 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -16846,6 +17514,8 @@ snapshots: '@babel/runtime@7.27.3': {} + '@babel/runtime@7.28.4': {} + '@babel/template@7.27.2': dependencies: '@babel/code-frame': 7.27.1 @@ -16864,16 +17534,33 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/traverse@7.28.4': + dependencies: + '@babel/code-frame': 7.27.1 + '@babel/generator': 7.28.3 + '@babel/helper-globals': 7.28.0 + '@babel/parser': 7.28.4 + '@babel/template': 7.27.2 + '@babel/types': 7.28.4 + debug: 4.4.1(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + '@babel/types@7.27.3': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 + '@babel/types@7.28.4': + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.27.1 + '@bcoe/v8-coverage@0.2.3': {} - '@bgd-labs/aave-address-book@4.28.2(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@bgd-labs/aave-address-book@4.28.2(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) '@biconomy/account@4.5.6(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.23.13(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': dependencies: @@ -16886,23 +17573,23 @@ snapshots: - utf-8-validate - zod - '@biconomy/account@4.5.6(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': + '@biconomy/account@4.5.6(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': dependencies: - '@silencelaboratories/walletprovider-sdk': 0.1.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@silencelaboratories/walletprovider-sdk': 0.1.0(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) merkletreejs: 0.4.1 - typescript: 5.4.3 - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + typescript: 5.9.2 + viem: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - utf-8-validate - zod - '@biconomy/sdk@0.0.10(@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': + '@biconomy/sdk@0.0.10(@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': dependencies: - '@rhinestone/module-sdk': 0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) - '@silencelaboratories/walletprovider-sdk': 0.3.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - typescript: 5.4.3 - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@rhinestone/module-sdk': 0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@silencelaboratories/walletprovider-sdk': 0.3.0(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + typescript: 5.9.2 + viem: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -17091,12 +17778,12 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 - '@coinbase/onchainkit@0.38.13(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(utf-8-validate@5.0.10)(zod@3.25.76)': + '@coinbase/onchainkit@0.38.13(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@farcaster/frame-sdk': 0.0.28(typescript@5.4.3)(zod@3.25.76) - '@farcaster/frame-wagmi-connector': 0.0.16(@farcaster/frame-sdk@0.0.28(typescript@5.4.3)(zod@3.25.76))(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@farcaster/frame-wagmi-connector': 0.0.16(@farcaster/frame-sdk@0.0.28(typescript@5.4.3)(zod@3.25.76))(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) '@tanstack/react-query': 5.77.2(react@18.2.0) - '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) clsx: 2.1.1 graphql: 16.11.0 graphql-request: 6.1.0(encoding@0.1.13)(graphql@16.11.0) @@ -17104,8 +17791,8 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) tailwind-merge: 2.6.0 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - wagmi: 2.15.4(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@tanstack/react-query@5.77.2(react@18.2.0))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) + viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + wagmi: 2.15.4(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@tanstack/react-query@5.77.2(react@18.2.0))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -17145,7 +17832,7 @@ snapshots: eth-json-rpc-filters: 6.0.1 eventemitter3: 5.0.1 keccak: 3.0.4 - preact: 10.26.7 + preact: 10.27.1 sha.js: 2.4.12 transitivePeerDependencies: - supports-color @@ -17157,9 +17844,9 @@ snapshots: eventemitter3: 5.0.1 preact: 10.26.7 - '@coral-xyz/borsh@0.26.0(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@coral-xyz/borsh@0.26.0(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))': dependencies: - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) bn.js: 5.2.2 buffer-layout: 1.2.2 @@ -17223,8 +17910,8 @@ snapshots: '@cosmjs/socket@0.33.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)': dependencies: '@cosmjs/stream': 0.33.1 - isomorphic-ws: 4.0.1(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isomorphic-ws: 4.0.1(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) xstream: 11.14.0 transitivePeerDependencies: - bufferutil @@ -17326,7 +18013,7 @@ snapshots: '@emotion/memoize@0.9.0': {} - '@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0)': + '@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 '@emotion/babel-plugin': 11.13.5 @@ -17338,23 +18025,23 @@ snapshots: hoist-non-react-statics: 3.3.2 react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 transitivePeerDependencies: - supports-color - '@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0)': + '@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@emotion/babel-plugin': 11.13.5 '@emotion/cache': 11.14.0 '@emotion/serialize': 1.3.3 - '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.0.0) + '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1) '@emotion/utils': 1.4.2 '@emotion/weak-memoize': 0.4.0 hoist-non-react-statics: 3.3.2 - react: 19.0.0 + react: 18.3.1 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 transitivePeerDependencies: - supports-color @@ -17368,33 +18055,33 @@ snapshots: '@emotion/sheet@1.4.0': {} - '@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0)': + '@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 '@emotion/babel-plugin': 11.13.5 '@emotion/is-prop-valid': 1.3.1 - '@emotion/react': 11.13.3(@types/react@18.2.14)(react@18.2.0) + '@emotion/react': 11.13.3(@types/react@18.2.25)(react@18.2.0) '@emotion/serialize': 1.3.3 '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.2.0) '@emotion/utils': 1.4.2 react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 transitivePeerDependencies: - supports-color - '@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0)': + '@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@emotion/babel-plugin': 11.13.5 '@emotion/is-prop-valid': 1.3.1 - '@emotion/react': 11.13.3(@types/react@18.3.23)(react@19.0.0) + '@emotion/react': 11.13.3(@types/react@19.1.12)(react@18.3.1) '@emotion/serialize': 1.3.3 - '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.0.0) + '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1) '@emotion/utils': 1.4.2 - react: 19.0.0 + react: 18.3.1 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 transitivePeerDependencies: - supports-color @@ -17404,9 +18091,9 @@ snapshots: dependencies: react: 18.2.0 - '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@19.0.0)': + '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@18.3.1)': dependencies: - react: 19.0.0 + react: 18.3.1 '@emotion/utils@1.4.2': {} @@ -17497,14 +18184,9 @@ snapshots: '@esbuild/win32-x64@0.18.20': optional: true - '@eslint-community/eslint-utils@4.7.0(eslint@8.56.0)': + '@eslint-community/eslint-utils@4.9.0(eslint@9.35.0(jiti@2.5.1))': dependencies: - eslint: 8.56.0 - eslint-visitor-keys: 3.4.3 - - '@eslint-community/eslint-utils@4.7.0(eslint@9.34.0(jiti@2.5.1))': - dependencies: - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} @@ -17523,20 +18205,6 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 - '@eslint/eslintrc@2.1.4': - dependencies: - ajv: 6.12.6 - debug: 4.4.1(supports-color@8.1.1) - espree: 9.6.1 - globals: 13.24.0 - ignore: 5.3.2 - import-fresh: 3.3.1 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - '@eslint/eslintrc@3.3.1': dependencies: ajv: 6.12.6 @@ -17551,9 +18219,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.56.0': {} - - '@eslint/js@9.34.0': {} + '@eslint/js@9.35.0': {} '@eslint/object-schema@2.1.6': {} @@ -17562,19 +18228,29 @@ snapshots: '@eslint/core': 0.15.2 levn: 0.4.1 + '@ethereumjs/common@10.0.0': + dependencies: + '@ethereumjs/util': 10.0.0 + eventemitter3: 5.0.1 + '@ethereumjs/common@3.2.0': dependencies: '@ethereumjs/util': 8.1.0 crc-32: 1.2.2 - '@ethereumjs/common@4.4.0': - dependencies: - '@ethereumjs/util': 9.1.0 + '@ethereumjs/rlp@10.0.0': {} '@ethereumjs/rlp@4.0.1': {} '@ethereumjs/rlp@5.0.2': {} + '@ethereumjs/tx@10.0.0': + dependencies: + '@ethereumjs/common': 10.0.0 + '@ethereumjs/rlp': 10.0.0 + '@ethereumjs/util': 10.0.0 + ethereum-cryptography: 3.2.0 + '@ethereumjs/tx@4.2.0': dependencies: '@ethereumjs/common': 3.2.0 @@ -17582,12 +18258,10 @@ snapshots: '@ethereumjs/util': 8.1.0 ethereum-cryptography: 2.2.1 - '@ethereumjs/tx@5.4.0': + '@ethereumjs/util@10.0.0': dependencies: - '@ethereumjs/common': 4.4.0 - '@ethereumjs/rlp': 5.0.2 - '@ethereumjs/util': 9.1.0 - ethereum-cryptography: 2.2.1 + '@ethereumjs/rlp': 10.0.0 + ethereum-cryptography: 3.2.0 '@ethereumjs/util@8.1.0': dependencies: @@ -17854,7 +18528,7 @@ snapshots: '@ethersproject/transactions': 5.8.0 '@ethersproject/web': 5.8.0 bech32: 1.1.4 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -18023,11 +18697,11 @@ snapshots: - typescript - zod - '@farcaster/frame-wagmi-connector@0.0.16(@farcaster/frame-sdk@0.0.28(typescript@5.4.3)(zod@3.25.76))(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@farcaster/frame-wagmi-connector@0.0.16(@farcaster/frame-sdk@0.0.28(typescript@5.4.3)(zod@3.25.76))(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: '@farcaster/frame-sdk': 0.0.28(typescript@5.4.3)(zod@3.25.76) - '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@fastify/busboy@2.1.1': {} @@ -18057,6 +18731,12 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react-dom@2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + dependencies: + '@floating-ui/dom': 1.7.0 + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + '@floating-ui/react@0.26.28(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@floating-ui/react-dom': 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -18065,51 +18745,64 @@ snapshots: react-dom: 18.2.0(react@18.2.0) tabbable: 6.2.0 - '@floating-ui/react@0.26.28(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react@0.26.28(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@floating-ui/utils': 0.2.9 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tabbable: 6.2.0 '@floating-ui/utils@0.2.9': {} '@fortawesome/fontawesome-common-types@6.7.2': {} + '@fortawesome/fontawesome-common-types@7.0.1': {} + '@fortawesome/fontawesome-svg-core@6.7.2': dependencies: '@fortawesome/fontawesome-common-types': 6.7.2 + '@fortawesome/fontawesome-svg-core@7.0.1': + dependencies: + '@fortawesome/fontawesome-common-types': 7.0.1 + '@fortawesome/free-brands-svg-icons@6.7.2': dependencies: '@fortawesome/fontawesome-common-types': 6.7.2 + '@fortawesome/free-brands-svg-icons@7.0.1': + dependencies: + '@fortawesome/fontawesome-common-types': 7.0.1 + '@fortawesome/free-solid-svg-icons@6.7.2': dependencies: '@fortawesome/fontawesome-common-types': 6.7.2 + '@fortawesome/free-solid-svg-icons@7.0.1': + dependencies: + '@fortawesome/fontawesome-common-types': 7.0.1 + '@fortawesome/react-fontawesome@0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@18.2.0)': dependencies: '@fortawesome/fontawesome-svg-core': 6.7.2 prop-types: 15.8.1 react: 18.2.0 - '@fortawesome/react-fontawesome@0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@18.3.1)': + '@fortawesome/react-fontawesome@3.0.2(@fortawesome/fontawesome-svg-core@7.0.1)(react@19.0.0)': dependencies: - '@fortawesome/fontawesome-svg-core': 6.7.2 - prop-types: 15.8.1 - react: 18.3.1 + '@fortawesome/fontawesome-svg-core': 7.0.1 + react: 19.0.0 '@fractalwagmi/popup-connection@1.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@fractalwagmi/solana-wallet-adapter@0.1.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@fractalwagmi/solana-wallet-adapter@0.1.1(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@fractalwagmi/popup-connection': 1.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) bs58: 5.0.0 transitivePeerDependencies: - '@solana/web3.js' @@ -18128,6 +18821,16 @@ snapshots: dependencies: graphql: 16.11.0 + '@headlessui/react@2.2.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + dependencies: + '@floating-ui/react': 0.26.28(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@react-aria/focus': 3.21.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@react-aria/interactions': 3.25.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@tanstack/react-virtual': 3.13.12(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + use-sync-external-store: 1.5.0(react@19.0.0) + '@headlessui/react@2.2.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@floating-ui/react': 0.26.28(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -18138,56 +18841,46 @@ snapshots: react-dom: 18.2.0(react@18.2.0) use-sync-external-store: 1.5.0(react@18.2.0) - '@headlessui/react@2.2.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@hello-pangea/dnd@17.0.0(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: - '@floating-ui/react': 0.26.28(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@react-aria/focus': 3.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@react-aria/interactions': 3.25.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/react-virtual': 3.13.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - use-sync-external-store: 1.5.0(react@18.3.1) - - '@hello-pangea/dnd@17.0.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 css-box-model: 1.2.1 memoize-one: 6.0.0 raf-schd: 4.0.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-redux: 9.2.0(@types/react@18.2.14)(react@18.2.0)(redux@5.0.1) + react-redux: 9.2.0(@types/react@18.2.25)(react@18.2.0)(redux@5.0.1) redux: 5.0.1 use-memo-one: 1.1.3(react@18.2.0) transitivePeerDependencies: - '@types/react' + '@hello-pangea/dnd@18.0.1(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + dependencies: + '@babel/runtime': 7.28.4 + css-box-model: 1.2.1 + raf-schd: 4.0.3 + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-redux: 9.2.0(@types/react@19.1.12)(react@19.0.0)(redux@5.0.1) + redux: 5.0.1 + transitivePeerDependencies: + - '@types/react' + '@humanfs/core@0.19.1': {} - '@humanfs/node@0.16.6': + '@humanfs/node@0.16.7': dependencies: '@humanfs/core': 0.19.1 - '@humanwhocodes/retry': 0.3.1 - - '@humanwhocodes/config-array@0.11.14': - dependencies: - '@humanwhocodes/object-schema': 2.0.3 - debug: 4.4.1(supports-color@8.1.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color + '@humanwhocodes/retry': 0.4.3 '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@2.0.3': {} - - '@humanwhocodes/retry@0.3.1': {} - '@humanwhocodes/retry@0.4.3': {} - '@icons-pack/react-simple-icons@10.1.0(react@19.0.0)': + '@icons-pack/react-simple-icons@13.7.0(react@18.3.1)': dependencies: - react: 19.0.0 + react: 18.3.1 '@img/sharp-darwin-arm64@0.33.5': optionalDependencies: @@ -18455,11 +19148,17 @@ snapshots: dependencies: mute-stream: 1.0.0 + '@isaacs/balanced-match@4.0.1': {} + + '@isaacs/brace-expansion@5.0.0': + dependencies: + '@isaacs/balanced-match': 4.0.1 + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 strip-ansi-cjs: strip-ansi@6.0.1 wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 @@ -18524,7 +19223,42 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2))': + dependencies: + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.3.1 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + ci-info: 3.9.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 + micromatch: 4.0.8 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-ansi: 6.0.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + - ts-node + + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -18538,7 +19272,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -18559,7 +19293,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -18573,7 +19307,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -18734,6 +19468,11 @@ snapshots: '@types/yargs': 17.0.33 chalk: 4.1.2 + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.30 + '@jridgewell/gen-mapping@0.3.8': dependencies: '@jridgewell/set-array': 1.2.1 @@ -18749,18 +19488,25 @@ snapshots: '@jridgewell/set-array@1.2.1': {} - '@jridgewell/source-map@0.3.6': + '@jridgewell/source-map@0.3.11': dependencies: - '@jridgewell/gen-mapping': 0.3.8 - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.30 '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/sourcemap-codec@1.5.5': {} + '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping@0.3.30': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping@0.3.9': dependencies: '@jridgewell/resolve-uri': 3.1.2 @@ -18796,12 +19542,12 @@ snapshots: react-qr-reader: 2.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rxjs: 6.6.7 - '@keystonehq/sol-keyring@0.20.0(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10)': + '@keystonehq/sol-keyring@0.20.0(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)': dependencies: '@keystonehq/bc-ur-registry': 0.5.4 '@keystonehq/bc-ur-registry-sol': 0.9.5 '@keystonehq/sdk': 0.19.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) bs58: 5.0.0 uuid: 8.3.2 transitivePeerDependencies: @@ -18809,54 +19555,55 @@ snapshots: - encoding - react - react-dom + - typescript - utf-8-validate - '@ledgerhq/devices@8.4.5': + '@ledgerhq/devices@8.5.1': dependencies: - '@ledgerhq/errors': 6.21.0 - '@ledgerhq/logs': 6.12.0 + '@ledgerhq/errors': 6.25.0 + '@ledgerhq/logs': 6.13.0 rxjs: 7.8.2 semver: 7.7.2 - '@ledgerhq/errors@6.21.0': {} + '@ledgerhq/errors@6.25.0': {} - '@ledgerhq/hw-transport-webhid@6.30.1': + '@ledgerhq/hw-transport-webhid@6.30.6': dependencies: - '@ledgerhq/devices': 8.4.5 - '@ledgerhq/errors': 6.21.0 - '@ledgerhq/hw-transport': 6.31.5 - '@ledgerhq/logs': 6.12.0 + '@ledgerhq/devices': 8.5.1 + '@ledgerhq/errors': 6.25.0 + '@ledgerhq/hw-transport': 6.31.10 + '@ledgerhq/logs': 6.13.0 - '@ledgerhq/hw-transport@6.31.5': + '@ledgerhq/hw-transport@6.31.10': dependencies: - '@ledgerhq/devices': 8.4.5 - '@ledgerhq/errors': 6.21.0 - '@ledgerhq/logs': 6.12.0 + '@ledgerhq/devices': 8.5.1 + '@ledgerhq/errors': 6.25.0 + '@ledgerhq/logs': 6.13.0 events: 3.3.0 - '@ledgerhq/logs@6.12.0': {} + '@ledgerhq/logs@6.13.0': {} - '@lit-labs/ssr-dom-shim@1.3.0': {} + '@lit-labs/ssr-dom-shim@1.4.0': {} - '@lit/reactive-element@2.1.0': + '@lit/reactive-element@2.1.1': dependencies: - '@lit-labs/ssr-dom-shim': 1.3.0 + '@lit-labs/ssr-dom-shim': 1.4.0 - '@lottiefiles/react-lottie-player@3.6.0(react@18.3.1)': + '@lottiefiles/react-lottie-player@3.6.0(react@18.2.0)': dependencies: lottie-web: 5.13.0 - react: 18.3.1 + react: 18.2.0 '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -18964,7 +19711,7 @@ snapshots: '@metamask/sdk@0.32.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@metamask/onboarding': 1.0.1 '@metamask/providers': 16.1.0 '@metamask/sdk-communication-layer': 0.32.0(cross-fetch@4.0.0(encoding@0.1.13))(eciesjs@0.4.15)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -18977,7 +19724,7 @@ snapshots: eth-rpc-errors: 4.0.3 eventemitter2: 6.4.9 obj-multiplex: 1.0.0 - pump: 3.0.2 + pump: 3.0.3 readable-stream: 3.6.2 socket.io-client: 4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) tslib: 2.8.0 @@ -19040,10 +19787,10 @@ snapshots: '@mobily/ts-belt@3.13.1': {} - '@monogrid/gainmap-js@3.1.0(three@0.160.1)': + '@monogrid/gainmap-js@3.1.0(three@0.160.0)': dependencies: promise-worker-transferable: 1.0.4 - three: 0.160.1 + three: 0.160.0 '@moonpay/moonpay-js@0.7.0': {} @@ -19055,31 +19802,33 @@ snapshots: '@mui/core-downloads-tracker@6.4.11': {} - '@mui/icons-material@6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.14)(react@18.2.0)': + '@mui/core-downloads-tracker@7.3.2': {} + + '@mui/icons-material@6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 - '@mui/material': 6.1.5(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@mui/material': 6.1.5(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 - '@mui/icons-material@6.1.5(@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@types/react@18.3.23)(react@19.0.0)': + '@mui/icons-material@7.3.2(@mui/material@7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@19.1.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 - '@mui/material': 6.1.5(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react: 19.0.0 + '@babel/runtime': 7.28.4 + '@mui/material': 7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 - '@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 '@mui/core-downloads-tracker': 6.4.11 - '@mui/system': 6.4.11(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) - '@mui/types': 7.2.24(@types/react@18.2.14) - '@mui/utils': 6.4.9(@types/react@18.2.14)(react@18.2.0) + '@mui/system': 6.4.11(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) + '@mui/types': 7.2.24(@types/react@18.2.25) + '@mui/utils': 6.4.9(@types/react@18.2.25)(react@18.2.0) '@popperjs/core': 2.11.8 - '@types/react-transition-group': 4.4.12(@types/react@18.2.14) + '@types/react-transition-group': 4.4.12(@types/react@18.2.25) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 @@ -19088,50 +19837,50 @@ snapshots: react-is: 18.3.1 react-transition-group: 4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.2.14)(react@18.2.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) - '@types/react': 18.2.14 + '@emotion/react': 11.13.3(@types/react@18.2.25)(react@18.2.0) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) + '@types/react': 18.2.25 - '@mui/material@6.1.5(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mui/material@7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 - '@mui/core-downloads-tracker': 6.4.11 - '@mui/system': 6.4.11(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) - '@mui/types': 7.2.24(@types/react@18.3.23) - '@mui/utils': 6.4.9(@types/react@18.3.23)(react@19.0.0) + '@babel/runtime': 7.28.4 + '@mui/core-downloads-tracker': 7.3.2 + '@mui/system': 7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) + '@mui/types': 7.4.6(@types/react@19.1.12) + '@mui/utils': 7.3.2(@types/react@19.1.12)(react@18.3.1) '@popperjs/core': 2.11.8 - '@types/react-transition-group': 4.4.12(@types/react@18.3.23) + '@types/react-transition-group': 4.4.12(@types/react@19.1.12) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - react-is: 18.3.1 - react-transition-group: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-is: 19.1.1 + react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.3.23)(react@19.0.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) - '@types/react': 18.3.23 + '@emotion/react': 11.13.3(@types/react@19.1.12)(react@18.3.1) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) + '@types/react': 19.1.12 - '@mui/private-theming@6.4.9(@types/react@18.2.14)(react@18.2.0)': + '@mui/private-theming@6.4.9(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 - '@mui/utils': 6.4.9(@types/react@18.2.14)(react@18.2.0) + '@mui/utils': 6.4.9(@types/react@18.2.25)(react@18.2.0) prop-types: 15.8.1 react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 - '@mui/private-theming@6.4.9(@types/react@18.3.23)(react@19.0.0)': + '@mui/private-theming@7.3.2(@types/react@19.1.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 - '@mui/utils': 6.4.9(@types/react@18.3.23)(react@19.0.0) + '@babel/runtime': 7.28.4 + '@mui/utils': 7.3.2(@types/react@19.1.12)(react@18.3.1) prop-types: 15.8.1 - react: 19.0.0 + react: 18.3.1 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 - '@mui/styled-engine@6.4.11(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(react@18.2.0)': + '@mui/styled-engine@6.4.11(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 '@emotion/cache': 11.14.0 @@ -19141,85 +19890,87 @@ snapshots: prop-types: 15.8.1 react: 18.2.0 optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.2.14)(react@18.2.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) + '@emotion/react': 11.13.3(@types/react@18.2.25)(react@18.2.0) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) - '@mui/styled-engine@6.4.11(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(react@19.0.0)': + '@mui/styled-engine@7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@emotion/cache': 11.14.0 '@emotion/serialize': 1.3.3 '@emotion/sheet': 1.4.0 csstype: 3.1.3 prop-types: 15.8.1 - react: 19.0.0 + react: 18.3.1 optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.3.23)(react@19.0.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) + '@emotion/react': 11.13.3(@types/react@19.1.12)(react@18.3.1) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) - '@mui/system@6.4.11(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0)': + '@mui/system@6.4.11(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 - '@mui/private-theming': 6.4.9(@types/react@18.2.14)(react@18.2.0) - '@mui/styled-engine': 6.4.11(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0))(react@18.2.0) - '@mui/types': 7.2.24(@types/react@18.2.14) - '@mui/utils': 6.4.9(@types/react@18.2.14)(react@18.2.0) + '@mui/private-theming': 6.4.9(@types/react@18.2.25)(react@18.2.0) + '@mui/styled-engine': 6.4.11(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0))(react@18.2.0) + '@mui/types': 7.2.24(@types/react@18.2.25) + '@mui/utils': 6.4.9(@types/react@18.2.25)(react@18.2.0) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.2.14)(react@18.2.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.14)(react@18.2.0))(@types/react@18.2.14)(react@18.2.0) - '@types/react': 18.2.14 + '@emotion/react': 11.13.3(@types/react@18.2.25)(react@18.2.0) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.2.25)(react@18.2.0))(@types/react@18.2.25)(react@18.2.0) + '@types/react': 18.2.25 - '@mui/system@6.4.11(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0)': + '@mui/system@7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 - '@mui/private-theming': 6.4.9(@types/react@18.3.23)(react@19.0.0) - '@mui/styled-engine': 6.4.11(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0))(react@19.0.0) - '@mui/types': 7.2.24(@types/react@18.3.23) - '@mui/utils': 6.4.9(@types/react@18.3.23)(react@19.0.0) + '@babel/runtime': 7.28.4 + '@mui/private-theming': 7.3.2(@types/react@19.1.12)(react@18.3.1) + '@mui/styled-engine': 7.3.2(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1))(react@18.3.1) + '@mui/types': 7.4.6(@types/react@19.1.12) + '@mui/utils': 7.3.2(@types/react@19.1.12)(react@18.3.1) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 - react: 19.0.0 + react: 18.3.1 optionalDependencies: - '@emotion/react': 11.13.3(@types/react@18.3.23)(react@19.0.0) - '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.23)(react@19.0.0))(@types/react@18.3.23)(react@19.0.0) - '@types/react': 18.3.23 + '@emotion/react': 11.13.3(@types/react@19.1.12)(react@18.3.1) + '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@19.1.12)(react@18.3.1))(@types/react@19.1.12)(react@18.3.1) + '@types/react': 19.1.12 - '@mui/types@7.2.24(@types/react@18.2.14)': + '@mui/types@7.2.24(@types/react@18.2.25)': optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 - '@mui/types@7.2.24(@types/react@18.3.23)': + '@mui/types@7.4.6(@types/react@19.1.12)': + dependencies: + '@babel/runtime': 7.28.4 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 - '@mui/utils@6.4.9(@types/react@18.2.14)(react@18.2.0)': + '@mui/utils@6.4.9(@types/react@18.2.25)(react@18.2.0)': dependencies: '@babel/runtime': 7.27.3 - '@mui/types': 7.2.24(@types/react@18.2.14) + '@mui/types': 7.2.24(@types/react@18.2.25) '@types/prop-types': 15.7.14 clsx: 2.1.1 prop-types: 15.8.1 react: 18.2.0 react-is: 19.1.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 - '@mui/utils@6.4.9(@types/react@18.3.23)(react@19.0.0)': + '@mui/utils@7.3.2(@types/react@19.1.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.27.3 - '@mui/types': 7.2.24(@types/react@18.3.23) - '@types/prop-types': 15.7.14 + '@babel/runtime': 7.28.4 + '@mui/types': 7.4.6(@types/react@19.1.12) + '@types/prop-types': 15.7.15 clsx: 2.1.1 prop-types: 15.8.1 - react: 19.0.0 - react-is: 19.1.0 + react: 18.3.1 + react-is: 19.1.1 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 '@mysten/bcs@0.7.3': dependencies: @@ -19255,10 +20006,6 @@ snapshots: '@next/env@15.5.2': {} - '@next/eslint-plugin-next@14.2.25': - dependencies: - glob: 10.3.10 - '@next/eslint-plugin-next@15.5.2': dependencies: fast-glob: 3.3.1 @@ -19342,7 +20089,7 @@ snapshots: dependencies: '@keystonehq/alias-sampling': 0.1.2 assert: 2.1.0 - bignumber.js: 9.3.0 + bignumber.js: 9.3.1 cbor-sync: 1.0.4 crc: 3.8.0 jsbi: 3.2.5 @@ -19402,7 +20149,11 @@ snapshots: dependencies: '@noble/hashes': 1.8.0 - '@noble/ed25519@2.1.0': {} + '@noble/curves@1.9.7': + dependencies: + '@noble/hashes': 1.8.0 + + '@noble/ed25519@2.1.0': {} '@noble/hashes@1.1.5': {} @@ -19440,43 +20191,43 @@ snapshots: '@nolyfill/is-core-module@1.0.39': {} - '@nomicfoundation/edr-darwin-arm64@0.11.0': {} + '@nomicfoundation/edr-darwin-arm64@0.11.3': {} '@nomicfoundation/edr-darwin-arm64@0.3.8': {} - '@nomicfoundation/edr-darwin-x64@0.11.0': {} + '@nomicfoundation/edr-darwin-x64@0.11.3': {} '@nomicfoundation/edr-darwin-x64@0.3.8': {} - '@nomicfoundation/edr-linux-arm64-gnu@0.11.0': {} + '@nomicfoundation/edr-linux-arm64-gnu@0.11.3': {} '@nomicfoundation/edr-linux-arm64-gnu@0.3.8': {} - '@nomicfoundation/edr-linux-arm64-musl@0.11.0': {} + '@nomicfoundation/edr-linux-arm64-musl@0.11.3': {} '@nomicfoundation/edr-linux-arm64-musl@0.3.8': {} - '@nomicfoundation/edr-linux-x64-gnu@0.11.0': {} + '@nomicfoundation/edr-linux-x64-gnu@0.11.3': {} '@nomicfoundation/edr-linux-x64-gnu@0.3.8': {} - '@nomicfoundation/edr-linux-x64-musl@0.11.0': {} + '@nomicfoundation/edr-linux-x64-musl@0.11.3': {} '@nomicfoundation/edr-linux-x64-musl@0.3.8': {} - '@nomicfoundation/edr-win32-x64-msvc@0.11.0': {} + '@nomicfoundation/edr-win32-x64-msvc@0.11.3': {} '@nomicfoundation/edr-win32-x64-msvc@0.3.8': {} - '@nomicfoundation/edr@0.11.0': + '@nomicfoundation/edr@0.11.3': dependencies: - '@nomicfoundation/edr-darwin-arm64': 0.11.0 - '@nomicfoundation/edr-darwin-x64': 0.11.0 - '@nomicfoundation/edr-linux-arm64-gnu': 0.11.0 - '@nomicfoundation/edr-linux-arm64-musl': 0.11.0 - '@nomicfoundation/edr-linux-x64-gnu': 0.11.0 - '@nomicfoundation/edr-linux-x64-musl': 0.11.0 - '@nomicfoundation/edr-win32-x64-msvc': 0.11.0 + '@nomicfoundation/edr-darwin-arm64': 0.11.3 + '@nomicfoundation/edr-darwin-x64': 0.11.3 + '@nomicfoundation/edr-linux-arm64-gnu': 0.11.3 + '@nomicfoundation/edr-linux-arm64-musl': 0.11.3 + '@nomicfoundation/edr-linux-x64-gnu': 0.11.3 + '@nomicfoundation/edr-linux-x64-musl': 0.11.3 + '@nomicfoundation/edr-win32-x64-msvc': 0.11.3 '@nomicfoundation/edr@0.3.8': dependencies: @@ -19741,19 +20492,19 @@ snapshots: - supports-color - utf-8-validate - '@nomicfoundation/hardhat-ethers@3.0.5(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@nomicfoundation/hardhat-ethers@3.0.5(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10))': dependencies: debug: 4.4.1(supports-color@8.1.1) ethers: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10) lodash.isequal: 4.5.0 transitivePeerDependencies: - supports-color - '@nomicfoundation/hardhat-network-helpers@1.0.8(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@nomicfoundation/hardhat-network-helpers@1.0.8(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10))': dependencies: ethereumjs-util: 7.1.5 - hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10) '@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2': optional: true @@ -19789,9 +20540,9 @@ snapshots: '@open-rpc/client-js@1.8.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: isomorphic-fetch: 3.0.0(encoding@0.1.13) - isomorphic-ws: 5.0.0(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isomorphic-ws: 5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) strict-event-emitter-types: 2.0.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding @@ -19826,11 +20577,11 @@ snapshots: crypto-js: 4.2.0 uuidv4: 6.2.13 - '@particle-network/solana-wallet@1.3.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)': + '@particle-network/solana-wallet@1.3.2(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)': dependencies: '@particle-network/auth': 1.3.1 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - bs58: 5.0.0 + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + bs58: 6.0.0 '@paulmillr/qr@0.2.1': {} @@ -19861,10 +20612,10 @@ snapshots: '@popperjs/core@2.11.8': {} - '@project-serum/anchor@0.26.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@project-serum/anchor@0.26.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)': dependencies: - '@coral-xyz/borsh': 0.26.0(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@coral-xyz/borsh': 0.26.0(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) base64-js: 1.5.1 bn.js: 5.2.2 bs58: 4.0.1 @@ -19881,11 +20632,12 @@ snapshots: transitivePeerDependencies: - bufferutil - encoding + - typescript - utf-8-validate - '@project-serum/sol-wallet-adapter@0.2.6(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@project-serum/sol-wallet-adapter@0.2.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) bs58: 4.0.1 eventemitter3: 4.0.7 @@ -19932,6 +20684,16 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -19945,6 +20707,19 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -19957,6 +20732,13 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -19970,11 +20752,18 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@radix-ui/react-compose-refs@1.1.2(@types/react@18.2.14)(react@18.2.0)': + '@radix-ui/react-compose-refs@1.1.2(@types/react@18.3.24)(react@18.2.0)': dependencies: react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.3.24 + + '@radix-ui/react-context@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 '@radix-ui/react-context@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: @@ -20012,6 +20801,36 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-dialog@1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/primitive': 1.0.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.24)(react@18.3.1) + aria-hidden: 1.2.6 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.24)(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + + '@radix-ui/react-direction@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-direction@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20039,21 +20858,42 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.24)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.3 - '@types/react-dom': 18.3.0 + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + + '@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/primitive': 1.0.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + + '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: @@ -20074,10 +20914,30 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-icons@1.3.0(react@18.3.1)': dependencies: react: 18.3.1 + '@radix-ui/react-id@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-id@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20103,32 +20963,42 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@radix-ui/react-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-label@2.0.2(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + + '@radix-ui/react-menu@2.0.6(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) aria-hidden: 1.2.6 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.24)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.3 - '@types/react-dom': 18.3.0 + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) '@radix-ui/react-popper@1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -20149,6 +21019,25 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-popper@1.1.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/rect': 1.0.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20159,6 +21048,16 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20170,6 +21069,17 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-presence@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -20190,6 +21100,16 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-slot': 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -20217,23 +21137,23 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.24)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.3 - '@types/react-dom': 18.3.0 + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) '@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -20282,6 +21202,36 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-select@2.0.0(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/number': 1.0.1 + '@radix-ui/primitive': 1.0.1 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + aria-hidden: 1.2.6 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.24)(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/react-separator@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -20291,6 +21241,14 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-slot@1.0.2(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-slot@1.0.2(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20306,12 +21264,12 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@radix-ui/react-slot@1.2.3(@types/react@18.2.14)(react@18.2.0)': + '@radix-ui/react-slot@1.2.3(@types/react@18.3.24)(react@18.2.0)': dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.2.14)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.1.2(@types/react@18.3.24)(react@18.2.0) react: 18.2.0 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.3.24 '@radix-ui/react-tabs@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -20329,26 +21287,26 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@radix-ui/react-toast@1.1.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-toast@1.1.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.3 - '@types/react-dom': 18.3.0 + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) '@radix-ui/react-toggle-group@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -20376,6 +21334,13 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20389,6 +21354,14 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20404,6 +21377,14 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20412,6 +21393,13 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20425,6 +21413,13 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-previous@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-previous@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20438,6 +21433,14 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-rect@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/rect': 1.0.1 + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-rect@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20446,6 +21449,14 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + '@radix-ui/react-use-size@1.0.1(@types/react@18.3.24)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.24)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.3.24 + '@radix-ui/react-use-size@1.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.27.3 @@ -20471,6 +21482,16 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 + '@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.27.3 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.7(@types/react@18.3.24))(@types/react@18.3.24)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + '@types/react-dom': 18.3.7(@types/react@18.3.24) + '@radix-ui/rect@1.0.1': dependencies: '@babel/runtime': 7.27.3 @@ -20485,15 +21506,15 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@react-aria/focus@3.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@react-aria/focus@3.21.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@react-aria/interactions': 3.25.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@react-aria/utils': 3.30.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@react-types/shared': 3.32.0(react@18.3.1) + '@react-aria/interactions': 3.25.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@react-aria/utils': 3.30.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@react-types/shared': 3.32.0(react@19.0.0) '@swc/helpers': 0.5.17 clsx: 2.1.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@react-aria/interactions@3.25.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: @@ -20505,25 +21526,25 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@react-aria/interactions@3.25.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@react-aria/interactions@3.25.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@react-aria/ssr': 3.9.10(react@18.3.1) - '@react-aria/utils': 3.30.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@react-aria/ssr': 3.9.10(react@19.0.0) + '@react-aria/utils': 3.30.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@react-stately/flags': 3.1.2 - '@react-types/shared': 3.32.0(react@18.3.1) + '@react-types/shared': 3.32.0(react@19.0.0) '@swc/helpers': 0.5.17 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@react-aria/ssr@3.9.10(react@18.2.0)': dependencies: '@swc/helpers': 0.5.17 react: 18.2.0 - '@react-aria/ssr@3.9.10(react@18.3.1)': + '@react-aria/ssr@3.9.10(react@19.0.0)': dependencies: '@swc/helpers': 0.5.17 - react: 18.3.1 + react: 19.0.0 '@react-aria/utils@3.30.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: @@ -20536,33 +21557,33 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@react-aria/utils@3.30.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@react-aria/utils@3.30.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@react-aria/ssr': 3.9.10(react@18.3.1) + '@react-aria/ssr': 3.9.10(react@19.0.0) '@react-stately/flags': 3.1.2 - '@react-stately/utils': 3.10.8(react@18.3.1) - '@react-types/shared': 3.32.0(react@18.3.1) + '@react-stately/utils': 3.10.8(react@19.0.0) + '@react-types/shared': 3.32.0(react@19.0.0) '@swc/helpers': 0.5.17 clsx: 2.1.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))': + '@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: merge-options: 3.0.4 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) optional: true - '@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))': + '@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: merge-options: 3.0.4 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) - optional: true + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) - '@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))': + '@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))': dependencies: merge-options: 3.0.4 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10) + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) + optional: true '@react-native/assets-registry@0.76.5': {} @@ -20573,9 +21594,9 @@ snapshots: - '@babel/preset-env' - supports-color - '@react-native/babel-plugin-codegen@0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3))': + '@react-native/babel-plugin-codegen@0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4))': dependencies: - '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3)) + '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4)) transitivePeerDependencies: - '@babel/preset-env' - supports-color @@ -20589,13 +21610,13 @@ snapshots: '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.9) '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-async-generator-functions': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-async-generator-functions': 7.28.0(@babel/core@7.26.9) '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-block-scoping': 7.27.3(@babel/core@7.26.9) + '@babel/plugin-transform-block-scoping': 7.28.4(@babel/core@7.26.9) '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-classes': 7.28.4(@babel/core@7.26.9) '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.26.9) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.26.9) '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.26.9) @@ -20605,22 +21626,22 @@ snapshots: '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-object-rest-spread': 7.27.3(@babel/core@7.26.9) + '@babel/plugin-transform-object-rest-spread': 7.28.4(@babel/core@7.26.9) '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.26.9) '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-react-display-name': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-react-display-name': 7.28.0(@babel/core@7.26.9) '@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-runtime': 7.27.3(@babel/core@7.26.9) + '@babel/plugin-transform-regenerator': 7.28.4(@babel/core@7.26.9) + '@babel/plugin-transform-runtime': 7.28.3(@babel/core@7.26.9) '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.26.9) '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.26.9) - '@babel/plugin-transform-typescript': 7.27.1(@babel/core@7.26.9) + '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.26.9) '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.26.9) '@babel/template': 7.27.2 '@react-native/babel-plugin-codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.26.9)) @@ -20631,52 +21652,52 @@ snapshots: - '@babel/preset-env' - supports-color - '@react-native/babel-preset@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))': - dependencies: - '@babel/core': 7.27.3 - '@babel/plugin-proposal-export-default-from': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-export-default-from': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-async-generator-functions': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-block-scoping': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-destructuring': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-object-rest-spread': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-react-display-name': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-runtime': 7.27.3(@babel/core@7.27.3) - '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-typescript': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.27.3) + '@react-native/babel-preset@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))': + dependencies: + '@babel/core': 7.28.4 + '@babel/plugin-proposal-export-default-from': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-export-default-from': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-async-generator-functions': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-block-scoping': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-classes': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-object-rest-spread': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.4) + '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-react-display-name': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-react-jsx': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-regenerator': 7.28.4(@babel/core@7.28.4) + '@babel/plugin-transform-runtime': 7.28.3(@babel/core@7.28.4) + '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.28.4) + '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.28.4) '@babel/template': 7.27.2 - '@react-native/babel-plugin-codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3)) + '@react-native/babel-plugin-codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4)) babel-plugin-syntax-hermes-parser: 0.25.1 - babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.27.3) + babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.28.4) react-refresh: 0.14.2 transitivePeerDependencies: - '@babel/preset-env' @@ -20684,7 +21705,7 @@ snapshots: '@react-native/codegen@0.76.5(@babel/preset-env@7.20.2(@babel/core@7.26.9))': dependencies: - '@babel/parser': 7.27.3 + '@babel/parser': 7.28.4 '@babel/preset-env': 7.20.2(@babel/core@7.26.9) glob: 7.2.3 hermes-parser: 0.23.1 @@ -20696,14 +21717,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@react-native/codegen@0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3))': + '@react-native/codegen@0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4))': dependencies: - '@babel/parser': 7.27.3 - '@babel/preset-env': 7.20.2(@babel/core@7.27.3) + '@babel/parser': 7.28.4 + '@babel/preset-env': 7.20.2(@babel/core@7.28.4) glob: 7.2.3 hermes-parser: 0.23.1 invariant: 2.2.4 - jscodeshift: 0.14.0(@babel/preset-env@7.20.2(@babel/core@7.27.3)) + jscodeshift: 0.14.0(@babel/preset-env@7.20.2(@babel/core@7.28.4)) mkdirp: 0.5.6 nullthrows: 1.1.1 yargs: 17.7.2 @@ -20731,10 +21752,10 @@ snapshots: - supports-color - utf-8-validate - '@react-native/community-cli-plugin@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@react-native/community-cli-plugin@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@react-native/dev-middleware': 0.76.5(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@react-native/metro-babel-transformer': 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3)) + '@react-native/metro-babel-transformer': 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4)) chalk: 4.1.2 execa: 5.1.1 invariant: 2.2.4 @@ -20766,7 +21787,7 @@ snapshots: open: 7.4.2 selfsigned: 2.4.1 serve-static: 1.16.2 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - supports-color @@ -20786,10 +21807,10 @@ snapshots: - '@babel/preset-env' - supports-color - '@react-native/metro-babel-transformer@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))': + '@react-native/metro-babel-transformer@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))': dependencies: - '@babel/core': 7.27.3 - '@react-native/babel-preset': 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3)) + '@babel/core': 7.28.4 + '@react-native/babel-preset': 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4)) hermes-parser: 0.23.1 nullthrows: 1.1.1 transitivePeerDependencies: @@ -20798,14 +21819,14 @@ snapshots: '@react-native/normalize-colors@0.76.5': {} - '@react-native/virtualized-lists@0.76.5(@types/react@18.2.14)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)': + '@react-native/virtualized-lists@0.76.5(@types/react@18.2.25)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 18.2.0 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 optional: true '@react-native/virtualized-lists@0.76.5(@types/react@18.3.23)(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': @@ -20817,48 +21838,43 @@ snapshots: optionalDependencies: '@types/react': 18.3.23 - '@react-native/virtualized-lists@0.76.5(@types/react@18.3.23)(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0)': + '@react-native/virtualized-lists@0.76.5(@types/react@18.3.24)(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 - react: 19.1.0 - react-native: 0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10) + react: 18.2.0 + react-native: 0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 18.3.24 - '@react-native/virtualized-lists@0.76.5(@types/react@18.3.23)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0)': + '@react-native/virtualized-lists@0.76.5(@types/react@18.3.24)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 - react: 19.1.0 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10) + react: 18.2.0 + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 18.3.24 - '@react-native/virtualized-lists@0.76.5(@types/react@18.3.3)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@react-native/virtualized-lists@0.76.5(@types/react@18.3.3)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 18.3.1 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) optionalDependencies: '@types/react': 18.3.3 + '@react-oauth/google@0.12.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + '@react-oauth/google@0.12.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@react-oauth/google@0.12.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': - dependencies: - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - - '@react-oauth/google@0.12.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': - dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - '@react-stately/flags@3.1.2': dependencies: '@swc/helpers': 0.5.17 @@ -20868,78 +21884,79 @@ snapshots: '@swc/helpers': 0.5.17 react: 18.2.0 - '@react-stately/utils@3.10.8(react@18.3.1)': + '@react-stately/utils@3.10.8(react@19.0.0)': dependencies: '@swc/helpers': 0.5.17 - react: 18.3.1 + react: 19.0.0 - '@react-three/drei@10.7.4(@react-three/fiber@8.18.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(three@0.160.1))(@types/react@18.2.14)(@types/three@0.178.1)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(three@0.160.1)': + '@react-three/drei@10.7.5(@react-three/fiber@9.3.0(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0))(@types/react@19.1.12)(@types/three@0.178.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@mediapipe/tasks-vision': 0.10.17 - '@monogrid/gainmap-js': 3.1.0(three@0.160.1) - '@react-three/fiber': 8.18.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(three@0.160.1) - '@use-gesture/react': 10.3.1(react@18.2.0) - camera-controls: 3.1.0(three@0.160.1) + '@monogrid/gainmap-js': 3.1.0(three@0.160.0) + '@react-three/fiber': 9.3.0(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0) + '@use-gesture/react': 10.3.1(react@19.0.0) + camera-controls: 3.1.0(three@0.160.0) cross-env: 7.0.3 detect-gpu: 5.0.70 glsl-noise: 0.0.0 - hls.js: 1.6.11 - maath: 0.10.8(@types/three@0.178.1)(three@0.160.1) - meshline: 3.3.1(three@0.160.1) - react: 18.2.0 - stats-gl: 2.4.2(@types/three@0.178.1)(three@0.160.1) + hls.js: 1.6.12 + maath: 0.10.8(@types/three@0.178.1)(three@0.160.0) + meshline: 3.3.1(three@0.160.0) + react: 19.0.0 + stats-gl: 2.4.2(@types/three@0.178.1)(three@0.160.0) stats.js: 0.17.0 - suspend-react: 0.1.3(react@18.2.0) - three: 0.160.1 - three-mesh-bvh: 0.8.3(three@0.160.1) - three-stdlib: 2.36.0(three@0.160.1) - troika-three-text: 0.52.4(three@0.160.1) - tunnel-rat: 0.1.2(@types/react@18.2.14)(react@18.2.0) - use-sync-external-store: 1.5.0(react@18.2.0) + suspend-react: 0.1.3(react@19.0.0) + three: 0.160.0 + three-mesh-bvh: 0.8.3(three@0.160.0) + three-stdlib: 2.36.0(three@0.160.0) + troika-three-text: 0.52.4(three@0.160.0) + tunnel-rat: 0.1.2(@types/react@19.1.12)(react@19.0.0) + use-sync-external-store: 1.5.0(react@19.0.0) utility-types: 3.11.0 - zustand: 5.0.8(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)) + zustand: 5.0.8(@types/react@19.1.12)(react@19.0.0)(use-sync-external-store@1.5.0(react@19.0.0)) optionalDependencies: - react-dom: 18.2.0(react@18.2.0) + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - '@types/react' - '@types/three' - immer - '@react-three/fiber@8.18.0(@types/react@18.2.14)(react-dom@18.2.0(react@18.2.0))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(three@0.160.1)': + '@react-three/fiber@9.3.0(@types/react@19.1.12)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(three@0.160.0)': dependencies: - '@babel/runtime': 7.27.3 - '@types/react-reconciler': 0.26.7 + '@babel/runtime': 7.28.4 + '@types/react-reconciler': 0.32.1(@types/react@19.1.12) '@types/webxr': 0.5.23 base64-js: 1.5.1 buffer: 6.0.3 - its-fine: 1.2.5(@types/react@18.2.14)(react@18.2.0) - react: 18.2.0 - react-reconciler: 0.27.0(react@18.2.0) - react-use-measure: 2.1.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - scheduler: 0.21.0 - suspend-react: 0.1.3(react@18.2.0) - three: 0.160.1 - zustand: 3.7.2(react@18.2.0) + its-fine: 2.0.0(@types/react@19.1.12)(react@19.0.0) + react: 19.0.0 + react-reconciler: 0.31.0(react@19.0.0) + react-use-measure: 2.1.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + scheduler: 0.25.0 + suspend-react: 0.1.3(react@19.0.0) + three: 0.160.0 + use-sync-external-store: 1.5.0(react@19.0.0) + zustand: 5.0.8(@types/react@19.1.12)(react@19.0.0)(use-sync-external-store@1.5.0(react@19.0.0)) optionalDependencies: - react-dom: 18.2.0(react@18.2.0) - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - '@types/react' + - immer '@react-types/shared@3.32.0(react@18.2.0)': dependencies: react: 18.2.0 - '@react-types/shared@3.32.0(react@18.3.1)': + '@react-types/shared@3.32.0(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 '@reown/appkit-common@1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4)': dependencies: big.js: 6.2.2 dayjs: 1.11.13 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4) transitivePeerDependencies: - bufferutil - typescript @@ -20950,7 +21967,7 @@ snapshots: dependencies: big.js: 6.2.2 dayjs: 1.11.13 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: - bufferutil - typescript @@ -20961,7 +21978,7 @@ snapshots: dependencies: big.js: 6.2.2 dayjs: 1.11.13 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4) transitivePeerDependencies: - bufferutil - typescript @@ -20972,20 +21989,20 @@ snapshots: dependencies: big.js: 6.2.2 dayjs: 1.11.13 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - typescript - utf-8-validate - zod - '@reown/appkit-controllers@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@reown/appkit-controllers@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@reown/appkit-common': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@reown/appkit-wallet': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) valtio: 1.13.2(@types/react@18.3.3)(react@18.3.1) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21013,13 +22030,13 @@ snapshots: - utf-8-validate - zod - '@reown/appkit-controllers@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@reown/appkit-controllers@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@reown/appkit-common': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@reown/appkit-wallet': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - valtio: 1.13.2(@types/react@18.2.14)(react@18.2.0) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + valtio: 1.13.2(@types/react@18.2.25)(react@18.2.0) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21055,12 +22072,12 @@ snapshots: dependencies: buffer: 6.0.3 - '@reown/appkit-scaffold-ui@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8)': + '@reown/appkit-scaffold-ui@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8)': dependencies: '@reown/appkit-common': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-utils': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) + '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-utils': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) '@reown/appkit-wallet': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) lit: 3.1.0 transitivePeerDependencies: @@ -21091,12 +22108,12 @@ snapshots: - valtio - zod - '@reown/appkit-scaffold-ui@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0))(zod@3.25.76)': + '@reown/appkit-scaffold-ui@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0))(zod@3.25.76)': dependencies: '@reown/appkit-common': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-utils': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0))(zod@3.25.76) + '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-utils': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0))(zod@3.25.76) '@reown/appkit-wallet': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) lit: 3.1.0 transitivePeerDependencies: @@ -21127,10 +22144,10 @@ snapshots: - valtio - zod - '@reown/appkit-ui@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@reown/appkit-ui@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@reown/appkit-common': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@reown/appkit-wallet': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) lit: 3.1.0 qrcode: 1.5.3 @@ -21161,10 +22178,10 @@ snapshots: - utf-8-validate - zod - '@reown/appkit-ui@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@reown/appkit-ui@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@reown/appkit-common': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@reown/appkit-wallet': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) lit: 3.1.0 qrcode: 1.5.3 @@ -21195,16 +22212,16 @@ snapshots: - utf-8-validate - zod - '@reown/appkit-utils@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8)': + '@reown/appkit-utils@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8)': dependencies: '@reown/appkit-common': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@reown/appkit-polyfills': 1.7.2 '@reown/appkit-wallet': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) '@walletconnect/logger': 2.1.2 - '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) valtio: 1.13.2(@types/react@18.3.3)(react@18.3.1) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21232,16 +22249,16 @@ snapshots: - utf-8-validate - zod - '@reown/appkit-utils@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0))(zod@3.25.76)': + '@reown/appkit-utils@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0))(zod@3.25.76)': dependencies: '@reown/appkit-common': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@reown/appkit-polyfills': 1.7.3 '@reown/appkit-wallet': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) '@walletconnect/logger': 2.1.2 - '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - valtio: 1.13.2(@types/react@18.2.14)(react@18.2.0) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + valtio: 1.13.2(@types/react@18.2.25)(react@18.2.0) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21291,20 +22308,20 @@ snapshots: - typescript - utf-8-validate - '@reown/appkit@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@reown/appkit@1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@reown/appkit-common': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-controllers': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@reown/appkit-polyfills': 1.7.2 - '@reown/appkit-scaffold-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) - '@reown/appkit-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@reown/appkit-utils': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) + '@reown/appkit-scaffold-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) + '@reown/appkit-ui': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit-utils': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1))(zod@3.23.8) '@reown/appkit-wallet': 1.7.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/universal-provider': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) bs58: 6.0.0 valtio: 1.13.2(@types/react@18.3.3)(react@18.3.1) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21332,20 +22349,20 @@ snapshots: - utf-8-validate - zod - '@reown/appkit@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@reown/appkit@1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@reown/appkit-common': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-controllers': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@reown/appkit-polyfills': 1.7.3 - '@reown/appkit-scaffold-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0))(zod@3.25.76) - '@reown/appkit-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@reown/appkit-utils': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0))(zod@3.25.76) + '@reown/appkit-scaffold-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0))(zod@3.25.76) + '@reown/appkit-ui': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit-utils': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0))(zod@3.25.76) '@reown/appkit-wallet': 1.7.3(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/universal-provider': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) bs58: 6.0.0 - valtio: 1.13.2(@types/react@18.2.14)(react@18.2.0) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + valtio: 1.13.2(@types/react@18.2.25)(react@18.2.0) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -21373,46 +22390,46 @@ snapshots: - utf-8-validate - zod - '@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@rhinestone/module-sdk@0.1.28(viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: solady: 0.0.235 tslib: 2.8.0 - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) '@rollup/plugin-alias@5.1.1(rollup@4.22.4)': optionalDependencies: rollup: 4.22.4 - '@rollup/plugin-babel@5.3.0(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0)': + '@rollup/plugin-babel@6.0.4(@babel/core@7.26.9)(@types/babel__core@7.20.5)(rollup@4.49.0)': dependencies: '@babel/core': 7.26.9 '@babel/helper-module-imports': 7.27.1 - '@rollup/pluginutils': 3.1.0(rollup@4.49.0) - rollup: 4.49.0 + '@rollup/pluginutils': 5.3.0(rollup@4.49.0) optionalDependencies: '@types/babel__core': 7.20.5 + rollup: 4.49.0 transitivePeerDependencies: - supports-color - '@rollup/plugin-babel@5.3.0(@babel/core@7.27.3)(@types/babel__core@7.20.5)(rollup@4.22.4)': + '@rollup/plugin-babel@6.0.4(@babel/core@7.28.4)(@types/babel__core@7.20.5)(rollup@4.22.4)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 - '@rollup/pluginutils': 3.1.0(rollup@4.22.4) - rollup: 4.22.4 + '@rollup/pluginutils': 5.3.0(rollup@4.22.4) optionalDependencies: '@types/babel__core': 7.20.5 + rollup: 4.22.4 transitivePeerDependencies: - supports-color - '@rollup/plugin-babel@5.3.0(@babel/core@7.27.3)(@types/babel__core@7.20.5)(rollup@4.49.0)': + '@rollup/plugin-babel@6.0.4(@babel/core@7.28.4)(@types/babel__core@7.20.5)(rollup@4.49.0)': dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 - '@rollup/pluginutils': 3.1.0(rollup@4.49.0) - rollup: 4.49.0 + '@rollup/pluginutils': 5.3.0(rollup@4.49.0) optionalDependencies: '@types/babel__core': 7.20.5 + rollup: 4.49.0 transitivePeerDependencies: - supports-color @@ -21461,20 +22478,6 @@ snapshots: optionalDependencies: rollup: 4.22.4 - '@rollup/pluginutils@3.1.0(rollup@4.22.4)': - dependencies: - '@types/estree': 0.0.39 - estree-walker: 1.0.1 - picomatch: 2.3.1 - rollup: 4.22.4 - - '@rollup/pluginutils@3.1.0(rollup@4.49.0)': - dependencies: - '@types/estree': 0.0.39 - estree-walker: 1.0.1 - picomatch: 2.3.1 - rollup: 4.49.0 - '@rollup/pluginutils@5.1.4(rollup@4.22.4)': dependencies: '@types/estree': 1.0.7 @@ -21491,6 +22494,22 @@ snapshots: optionalDependencies: rollup: 4.49.0 + '@rollup/pluginutils@5.3.0(rollup@4.22.4)': + dependencies: + '@types/estree': 1.0.8 + estree-walker: 2.0.2 + picomatch: 4.0.3 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/pluginutils@5.3.0(rollup@4.49.0)': + dependencies: + '@types/estree': 1.0.8 + estree-walker: 2.0.2 + picomatch: 4.0.3 + optionalDependencies: + rollup: 4.49.0 + '@rollup/rollup-android-arm-eabi@4.22.4': optional: true @@ -21603,14 +22622,14 @@ snapshots: '@rushstack/eslint-patch@1.11.0': {} - '@safe-global/protocol-kit@3.0.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@safe-global/protocol-kit@3.0.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@noble/hashes': 1.8.0 '@safe-global/safe-deployments': 1.37.32 ethereumjs-util: 7.1.5 ethers: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) semver: 7.7.2 - web3: 4.16.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + web3: 4.16.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-utils: 4.3.3 transitivePeerDependencies: @@ -21633,7 +22652,7 @@ snapshots: '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.23.1 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - typescript @@ -21709,7 +22728,7 @@ snapshots: '@scure/bip32@1.4.0': dependencies: - '@noble/curves': 1.4.2 + '@noble/curves': 1.4.0 '@noble/hashes': 1.4.0 '@scure/base': 1.1.9 @@ -21721,15 +22740,15 @@ snapshots: '@scure/bip32@1.6.2': dependencies: - '@noble/curves': 1.8.2 + '@noble/curves': 1.8.1 '@noble/hashes': 1.7.2 '@scure/base': 1.2.6 '@scure/bip32@1.7.0': dependencies: - '@noble/curves': 1.9.0 + '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 - '@scure/base': 1.2.5 + '@scure/base': 1.2.6 '@scure/bip39@1.1.1': dependencies: @@ -21759,7 +22778,7 @@ snapshots: '@scure/bip39@1.6.0': dependencies: '@noble/hashes': 1.8.0 - '@scure/base': 1.2.5 + '@scure/base': 1.2.6 '@sentry/core@5.30.0': dependencies: @@ -21832,19 +22851,29 @@ snapshots: '@silencelaboratories/walletprovider-sdk@0.1.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@noble/curves': 1.9.0 - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@noble/curves': 1.9.7 + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - typescript - utf-8-validate - zod - '@silencelaboratories/walletprovider-sdk@0.3.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@silencelaboratories/walletprovider-sdk@0.1.0(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@noble/curves': 1.9.0 + '@noble/curves': 1.9.7 + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + transitivePeerDependencies: + - bufferutil + - typescript + - utf-8-validate + - zod + + '@silencelaboratories/walletprovider-sdk@0.3.0(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76)': + dependencies: + '@noble/curves': 1.9.7 js-base64: 3.7.7 - viem: 2.21.32(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.21.32(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) transitivePeerDependencies: - bufferutil - typescript @@ -21867,532 +22896,533 @@ snapshots: '@socket.io/component-emitter@3.1.2': {} - '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.3(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana-mobile/mobile-wallet-adapter-protocol': 2.2.1(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - bs58: 5.0.0 - js-base64: 3.7.7 + '@solana-mobile/mobile-wallet-adapter-protocol': 2.2.3(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + bs58: 6.0.0 + js-base64: 3.7.8 transitivePeerDependencies: - '@solana/wallet-adapter-base' - react - react-native - '@solana-mobile/mobile-wallet-adapter-protocol@2.2.1(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana-mobile/mobile-wallet-adapter-protocol@2.2.3(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana/wallet-standard': 1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1) + '@solana/wallet-standard': 1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1) '@solana/wallet-standard-util': 1.1.2 '@wallet-standard/core': 1.1.1 - js-base64: 3.7.7 - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) + js-base64: 3.7.8 + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@solana/wallet-adapter-base' - '@solana/web3.js' - bs58 - react - '@solana-mobile/wallet-adapter-mobile@2.2.0(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana-mobile/wallet-adapter-mobile@2.2.3(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana-mobile/mobile-wallet-adapter-protocol-web3js': 2.2.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana-mobile/wallet-standard-mobile': 0.2.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana-mobile/mobile-wallet-adapter-protocol-web3js': 2.2.3(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana-mobile/wallet-standard-mobile': 0.4.1(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@solana/wallet-standard-features': 1.3.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - js-base64: 3.7.7 + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + js-base64: 3.7.8 optionalDependencies: - '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)) + '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)) transitivePeerDependencies: - react - react-native - '@solana-mobile/wallet-standard-mobile@0.2.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana-mobile/wallet-standard-mobile@0.4.1(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana-mobile/mobile-wallet-adapter-protocol-web3js': 2.2.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana-mobile/mobile-wallet-adapter-protocol': 2.2.3(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) '@solana/wallet-standard-chains': 1.1.1 '@solana/wallet-standard-features': 1.3.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) '@wallet-standard/base': 1.1.0 '@wallet-standard/features': 1.1.0 - bs58: 5.0.0 - js-base64: 3.7.7 + bs58: 6.0.0 + js-base64: 3.7.8 qrcode: 1.5.4 transitivePeerDependencies: - '@solana/wallet-adapter-base' + - '@solana/web3.js' - react - react-native - '@solana-program/compute-budget@0.7.0(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': + '@solana-program/compute-budget@0.8.0(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': dependencies: - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana-program/stake@0.2.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': + '@solana-program/stake@0.2.1(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': dependencies: - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana-program/system@0.7.0(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': + '@solana-program/system@0.7.0(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': dependencies: - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana-program/token-2022@0.4.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))': + '@solana-program/token-2022@0.4.2(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))': dependencies: - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/sysvars': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/sysvars': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana-program/token@0.5.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': + '@solana-program/token@0.5.1(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))': dependencies: - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/accounts@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/accounts@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/addresses@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/assertions': 2.1.1(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) + '@solana/assertions': 2.3.0(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.1.1(typescript@5.4.3)': + '@solana/assertions@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) bigint-buffer: 1.1.5 bignumber.js: 9.3.0 transitivePeerDependencies: - bufferutil - encoding + - typescript - utf-8-validate '@solana/buffer-layout@4.0.1': dependencies: buffer: 6.0.3 - '@solana/codecs-core@2.0.0-preview.4(typescript@5.4.3)': + '@solana/codecs-core@2.0.0-preview.4(typescript@5.9.2)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.4.3) - typescript: 5.4.3 + '@solana/errors': 2.0.0-preview.4(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-core@2.0.0-rc.1(typescript@5.4.3)': + '@solana/codecs-core@2.0.0-rc.1(typescript@5.9.2)': dependencies: - '@solana/errors': 2.0.0-rc.1(typescript@5.4.3) - typescript: 5.4.3 + '@solana/errors': 2.0.0-rc.1(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-core@2.1.1(typescript@5.1.3)': + '@solana/codecs-core@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.1.3) - typescript: 5.1.3 - - '@solana/codecs-core@2.1.1(typescript@5.4.3)': - dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/codecs-data-structures@2.0.0-preview.4(typescript@5.4.3)': + '@solana/codecs-core@2.3.0(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.4.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.4.3) - typescript: 5.4.3 + '@solana/errors': 2.3.0(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-data-structures@2.0.0-rc.1(typescript@5.4.3)': + '@solana/codecs-data-structures@2.0.0-preview.4(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.4.3) - '@solana/errors': 2.0.0-rc.1(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.9.2) + '@solana/errors': 2.0.0-preview.4(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-data-structures@2.1.1(typescript@5.4.3)': + '@solana/codecs-data-structures@2.0.0-rc.1(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.9.2) + '@solana/errors': 2.0.0-rc.1(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.4.3)': + '@solana/codecs-data-structures@2.3.0(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.4.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/codecs-numbers@2.0.0-rc.1(typescript@5.4.3)': + '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.4.3) - '@solana/errors': 2.0.0-rc.1(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.9.2) + '@solana/errors': 2.0.0-preview.4(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-numbers@2.1.1(typescript@5.1.3)': + '@solana/codecs-numbers@2.0.0-rc.1(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.1.3) - '@solana/errors': 2.1.1(typescript@5.1.3) - typescript: 5.1.3 + '@solana/codecs-core': 2.0.0-rc.1(typescript@5.9.2) + '@solana/errors': 2.0.0-rc.1(typescript@5.9.2) + typescript: 5.9.2 - '@solana/codecs-numbers@2.1.1(typescript@5.4.3)': + '@solana/codecs-numbers@2.3.0(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs-numbers@2.3.0(typescript@5.9.2)': + dependencies: + '@solana/codecs-core': 2.3.0(typescript@5.9.2) + '@solana/errors': 2.3.0(typescript@5.9.2) + typescript: 5.9.2 + + '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.4.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.4.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.9.2) + '@solana/errors': 2.0.0-preview.4(typescript@5.9.2) fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.4.3 + typescript: 5.9.2 - '@solana/codecs-strings@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs-strings@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.4.3) - '@solana/errors': 2.0.0-rc.1(typescript@5.4.3) + '@solana/codecs-core': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.9.2) + '@solana/errors': 2.0.0-rc.1(typescript@5.9.2) fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.4.3 + typescript: 5.9.2 - '@solana/codecs-strings@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs-strings@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.4.3 - '@solana/codecs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/options': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/options': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/codecs@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/options': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-data-structures': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/options': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/codecs@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/codecs@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/options': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-data-structures': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/options': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@2.0.0-preview.4(typescript@5.4.3)': + '@solana/errors@2.0.0-preview.4(typescript@5.9.2)': dependencies: - chalk: 5.4.1 + chalk: 5.6.2 commander: 12.1.0 - typescript: 5.4.3 + typescript: 5.9.2 - '@solana/errors@2.0.0-rc.1(typescript@5.4.3)': + '@solana/errors@2.0.0-rc.1(typescript@5.9.2)': dependencies: - chalk: 5.4.1 + chalk: 5.6.2 commander: 12.1.0 - typescript: 5.4.3 + typescript: 5.9.2 - '@solana/errors@2.1.1(typescript@5.1.3)': + '@solana/errors@2.3.0(typescript@5.4.3)': dependencies: - chalk: 5.4.1 - commander: 13.1.0 - typescript: 5.1.3 + chalk: 5.6.2 + commander: 14.0.0 + typescript: 5.4.3 - '@solana/errors@2.1.1(typescript@5.4.3)': + '@solana/errors@2.3.0(typescript@5.9.2)': dependencies: - chalk: 5.4.1 - commander: 13.1.0 - typescript: 5.4.3 + chalk: 5.6.2 + commander: 14.0.0 + typescript: 5.9.2 - '@solana/fast-stable-stringify@2.1.1(typescript@5.4.3)': + '@solana/fast-stable-stringify@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/functional@2.1.1(typescript@5.4.3)': + '@solana/functional@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/instructions@2.1.1(typescript@5.4.3)': + '@solana/instructions@2.3.0(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/keys@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/keys@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/assertions': 2.1.1(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) + '@solana/assertions': 2.3.0(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': - dependencies: - '@solana/accounts': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/instructions': 2.1.1(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/programs': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-parsed-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-subscriptions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/signers': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/sysvars': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transaction-confirmation': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transactions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + dependencies: + '@solana/accounts': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/instructions': 2.3.0(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/programs': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-parsed-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-subscriptions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/signers': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/sysvars': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-confirmation': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/nominal-types@2.1.1(typescript@5.4.3)': + '@solana/nominal-types@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/options@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/options@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.4.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.9.2) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/errors': 2.0.0-preview.4(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/options@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/options@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.4.3) - '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.0.0-rc.1(typescript@5.4.3) - typescript: 5.4.3 + '@solana/codecs-core': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-data-structures': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.9.2) + '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/errors': 2.0.0-rc.1(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/options@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/options@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-data-structures': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/programs@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/promises@2.1.1(typescript@5.4.3)': + '@solana/promises@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/rpc-api@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': - dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-parsed-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-transformers': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transactions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-api@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + dependencies: + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-parsed-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-transformers': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@2.1.1(typescript@5.4.3)': + '@solana/rpc-parsed-types@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/rpc-spec-types@2.1.1(typescript@5.4.3)': + '@solana/rpc-spec-types@2.3.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@solana/rpc-spec@2.1.1(typescript@5.4.3)': + '@solana/rpc-spec@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/rpc-subscriptions-api@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/rpc-subscriptions-api@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-subscriptions-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-transformers': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transactions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-subscriptions-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-transformers': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-channel-websocket@2.1.1(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + '@solana/rpc-subscriptions-channel-websocket@2.3.0(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/rpc-subscriptions-spec': 2.1.1(typescript@5.4.3) - '@solana/subscribable': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/rpc-subscriptions-spec': 2.3.0(typescript@5.4.3) + '@solana/subscribable': 2.3.0(typescript@5.4.3) typescript: 5.4.3 ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@solana/rpc-subscriptions-spec@2.1.1(typescript@5.4.3)': + '@solana/rpc-subscriptions-spec@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/promises': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) - '@solana/subscribable': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/promises': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) + '@solana/subscribable': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/rpc-subscriptions@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': - dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/fast-stable-stringify': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/promises': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-subscriptions-api': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-subscriptions-channel-websocket': 2.1.1(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/rpc-subscriptions-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-transformers': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/subscribable': 2.1.1(typescript@5.4.3) + '@solana/rpc-subscriptions@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + dependencies: + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/fast-stable-stringify': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/promises': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-subscriptions-api': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-subscriptions-channel-websocket': 2.3.0(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/rpc-subscriptions-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-transformers': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/subscribable': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/rpc-transformers@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/rpc-transformers@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-transport-http@2.1.1(typescript@5.4.3)': + '@solana/rpc-transport-http@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - undici-types: 7.10.0 + undici-types: 7.16.0 - '@solana/rpc-types@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/rpc-types@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': - dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/fast-stable-stringify': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/rpc-api': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-spec': 2.1.1(typescript@5.4.3) - '@solana/rpc-spec-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-transformers': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-transport-http': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + dependencies: + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/fast-stable-stringify': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/rpc-api': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-spec': 2.3.0(typescript@5.4.3) + '@solana/rpc-spec-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-transformers': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-transport-http': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/signers@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/instructions': 2.1.1(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transactions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/instructions': 2.3.0(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/spl-token-group@0.0.5(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/spl-token-group@0.0.5(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) '@solana/spl-type-length-value': 0.1.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript - '@solana/spl-token-metadata@0.1.6(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/spl-token-metadata@0.1.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: - '@solana/codecs': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/codecs': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript - '@solana/spl-token@0.4.8(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(utf-8-validate@5.0.10)': + '@solana/spl-token@0.4.8(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 - '@solana/buffer-layout-utils': 0.2.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/spl-token-group': 0.0.5(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/spl-token-metadata': 0.1.6(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/buffer-layout-utils': 0.2.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) + '@solana/spl-token-group': 0.0.5(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/spl-token-metadata': 0.1.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10))(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10) buffer: 6.0.3 transitivePeerDependencies: - bufferutil @@ -22405,300 +23435,293 @@ snapshots: dependencies: buffer: 6.0.3 - '@solana/subscribable@2.1.1(typescript@5.4.3)': + '@solana/subscribable@2.3.0(typescript@5.4.3)': dependencies: - '@solana/errors': 2.1.1(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) typescript: 5.4.3 - '@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + '@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': dependencies: - '@solana/accounts': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/accounts': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': - dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/promises': 2.1.1(typescript@5.4.3) - '@solana/rpc': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/rpc-subscriptions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transactions': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-confirmation@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + dependencies: + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/promises': 2.3.0(typescript@5.4.3) + '@solana/rpc': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/rpc-subscriptions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/transaction-messages@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': - dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/instructions': 2.1.1(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-messages@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + dependencies: + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-data-structures': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/instructions': 2.3.0(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': - dependencies: - '@solana/addresses': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/codecs-core': 2.1.1(typescript@5.4.3) - '@solana/codecs-data-structures': 2.1.1(typescript@5.4.3) - '@solana/codecs-numbers': 2.1.1(typescript@5.4.3) - '@solana/codecs-strings': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/errors': 2.1.1(typescript@5.4.3) - '@solana/functional': 2.1.1(typescript@5.4.3) - '@solana/instructions': 2.1.1(typescript@5.4.3) - '@solana/keys': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/nominal-types': 2.1.1(typescript@5.4.3) - '@solana/rpc-types': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) - '@solana/transaction-messages': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transactions@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)': + dependencies: + '@solana/addresses': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/codecs-core': 2.3.0(typescript@5.4.3) + '@solana/codecs-data-structures': 2.3.0(typescript@5.4.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/errors': 2.3.0(typescript@5.4.3) + '@solana/functional': 2.3.0(typescript@5.4.3) + '@solana/instructions': 2.3.0(typescript@5.4.3) + '@solana/keys': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/nominal-types': 2.3.0(typescript@5.4.3) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@solana/transaction-messages': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/wallet-adapter-alpha@0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-alpha@0.1.14(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-avana@0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-avana@0.1.17(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-base-ui@0.1.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana/wallet-adapter-base-ui@0.1.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana/wallet-adapter-react': 0.15.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-react': 0.15.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) react: 18.3.1 transitivePeerDependencies: - bs58 - react-native - '@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': - dependencies: - '@solana/wallet-standard-features': 1.3.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@wallet-standard/base': 1.1.0 - '@wallet-standard/features': 1.1.0 - eventemitter3: 4.0.7 - - '@solana/wallet-adapter-base@0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-standard-features': 1.3.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@wallet-standard/base': 1.1.0 '@wallet-standard/features': 1.1.0 eventemitter3: 5.0.1 - '@solana/wallet-adapter-bitkeep@0.3.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-bitkeep@0.3.24(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-bitpie@0.5.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-bitpie@0.5.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-clover@0.4.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-clover@0.4.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-coin98@0.5.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-coin98@0.5.24(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) bs58: 6.0.0 buffer: 6.0.3 - '@solana/wallet-adapter-coinbase@0.1.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-coinbase@0.1.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-coinhub@0.3.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-coinhub@0.3.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-fractal@0.1.11(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@solana/wallet-adapter-fractal@0.1.12(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@fractalwagmi/solana-wallet-adapter': 0.1.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@fractalwagmi/solana-wallet-adapter': 0.1.1(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - react - react-dom - '@solana/wallet-adapter-huobi@0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-huobi@0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-hyperpay@0.1.17(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-hyperpay@0.1.18(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-keystone@0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10)': + '@solana/wallet-adapter-keystone@0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)': dependencies: - '@keystonehq/sol-keyring': 0.20.0(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@keystonehq/sol-keyring': 0.20.0(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) buffer: 6.0.3 transitivePeerDependencies: - bufferutil - encoding - react - react-dom + - typescript - utf-8-validate - '@solana/wallet-adapter-krystal@0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-krystal@0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-ledger@0.9.28(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-ledger@0.9.29(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@ledgerhq/devices': 8.4.5 - '@ledgerhq/hw-transport': 6.31.5 - '@ledgerhq/hw-transport-webhid': 6.30.1 - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@ledgerhq/devices': 8.5.1 + '@ledgerhq/hw-transport': 6.31.10 + '@ledgerhq/hw-transport-webhid': 6.30.6 + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) buffer: 6.0.3 - '@solana/wallet-adapter-mathwallet@0.9.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-mathwallet@0.9.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-neko@0.2.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-neko@0.2.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-nightly@0.1.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-nightly@0.1.20(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-nufi@0.1.20(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-nufi@0.1.21(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-onto@0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-onto@0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-particle@0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)': + '@solana/wallet-adapter-particle@0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)': dependencies: - '@particle-network/solana-wallet': 1.3.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0) - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@particle-network/solana-wallet': 1.3.2(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bs58 - '@solana/wallet-adapter-phantom@0.9.27(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-phantom@0.9.28(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-react-ui@0.9.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana/wallet-adapter-react-ui@0.9.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-base-ui': 0.1.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/wallet-adapter-react': 0.15.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base-ui': 0.1.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/wallet-adapter-react': 0.15.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) transitivePeerDependencies: - bs58 - react-native - '@solana/wallet-adapter-react@0.15.35(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + '@solana/wallet-adapter-react@0.15.39(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: - '@solana-mobile/wallet-adapter-mobile': 2.2.0(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-standard-wallet-adapter-react': 1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana-mobile/wallet-adapter-mobile': 2.2.3(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-standard-wallet-adapter-react': 1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) react: 18.3.1 transitivePeerDependencies: - bs58 - react-native - '@solana/wallet-adapter-safepal@0.5.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-safepal@0.5.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-saifu@0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-saifu@0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-salmon@0.1.17(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-salmon@0.1.18(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - salmon-adapter-sdk: 1.1.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + salmon-adapter-sdk: 1.1.1(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-sky@0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-sky@0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-solflare@0.6.31(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-solflare@0.6.32(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@solana/wallet-standard-chains': 1.1.1 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solflare-wallet/metamask-sdk': 1.0.3(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solflare-wallet/sdk': 1.4.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@solflare-wallet/metamask-sdk': 1.0.3(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solflare-wallet/sdk': 1.4.2(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@wallet-standard/wallet': 1.1.0 - '@solana/wallet-adapter-solong@0.9.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-solong@0.9.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-spot@0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-spot@0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-tokenary@0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-tokenary@0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-tokenpocket@0.4.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-tokenpocket@0.4.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-torus@0.11.31(@babel/runtime@7.27.3)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@solana/wallet-adapter-torus@0.11.32(@babel/runtime@7.28.4)(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@toruslabs/solana-embed': 2.1.0(@babel/runtime@7.27.3)(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@toruslabs/solana-embed': 2.1.0(@babel/runtime@7.28.4)(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) assert: 2.1.0 crypto-browserify: 3.12.1 process: 0.11.10 @@ -22709,17 +23732,19 @@ snapshots: - bufferutil - encoding - supports-color + - typescript - utf-8-validate - '@solana/wallet-adapter-trezor@0.1.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-trezor@0.1.6(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@trezor/connect-web': 9.5.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@trezor/connect-web': 9.6.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) buffer: 6.0.3 transitivePeerDependencies: - '@solana/sysvars' - bufferutil + - debug - encoding - expo-constants - expo-localization @@ -22731,24 +23756,24 @@ snapshots: - utf-8-validate - ws - '@solana/wallet-adapter-trust@0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-trust@0.1.17(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-unsafe-burner@0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-unsafe-burner@0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@noble/curves': 1.9.0 - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@noble/curves': 1.9.7 + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@solana/wallet-standard-features': 1.3.0 '@solana/wallet-standard-util': 1.1.2 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-walletconnect@0.1.20(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@solana/wallet-adapter-walletconnect@0.1.21(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@walletconnect/solana-adapter': 0.0.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/wallet-adapter-base@0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@walletconnect/solana-adapter': 0.0.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -22776,45 +23801,45 @@ snapshots: - utf-8-validate - zod - '@solana/wallet-adapter-wallets@0.19.32(@babel/runtime@7.27.3)(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bs58@5.0.0)(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.23.8)': - dependencies: - '@solana/wallet-adapter-alpha': 0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-avana': 0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-bitkeep': 0.3.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-bitpie': 0.5.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-clover': 0.4.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coin98': 0.5.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coinbase': 0.1.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coinhub': 0.3.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-fractal': 0.1.11(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@solana/wallet-adapter-huobi': 0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-hyperpay': 0.1.17(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-keystone': 0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-krystal': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-ledger': 0.9.28(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-mathwallet': 0.9.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-neko': 0.2.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-nightly': 0.1.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-nufi': 0.1.20(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-onto': 0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-particle': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0) - '@solana/wallet-adapter-phantom': 0.9.27(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-safepal': 0.5.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-saifu': 0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-salmon': 0.1.17(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-sky': 0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-solflare': 0.6.31(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-solong': 0.9.21(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-spot': 0.1.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-tokenary': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-tokenpocket': 0.4.22(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-torus': 0.11.31(@babel/runtime@7.27.3)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trezor': 0.1.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-trust': 0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-unsafe-burner': 0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-walletconnect': 0.1.20(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@solana/wallet-adapter-xdefi': 0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-wallets@0.19.37(@babel/runtime@7.28.4)(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bs58@6.0.0)(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-dom@18.3.1(react@18.3.1))(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.23.8)': + dependencies: + '@solana/wallet-adapter-alpha': 0.1.14(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-avana': 0.1.17(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitkeep': 0.3.24(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitpie': 0.5.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-clover': 0.4.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coin98': 0.5.24(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinbase': 0.1.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinhub': 0.3.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-fractal': 0.1.12(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@solana/wallet-adapter-huobi': 0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-hyperpay': 0.1.18(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-keystone': 0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-krystal': 0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-ledger': 0.9.29(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-mathwallet': 0.9.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-neko': 0.2.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nightly': 0.1.20(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nufi': 0.1.21(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-onto': 0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-particle': 0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0) + '@solana/wallet-adapter-phantom': 0.9.28(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-safepal': 0.5.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-saifu': 0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-salmon': 0.1.18(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-sky': 0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solflare': 0.6.32(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solong': 0.9.22(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-spot': 0.1.19(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenary': 0.1.16(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenpocket': 0.4.23(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-torus': 0.11.32(@babel/runtime@7.28.4)(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.6(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-trust': 0.1.17(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-unsafe-burner': 0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-walletconnect': 0.1.21(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@solana/wallet-adapter-xdefi': 0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -22838,6 +23863,7 @@ snapshots: - bs58 - bufferutil - db0 + - debug - encoding - expo-constants - expo-localization @@ -22854,10 +23880,10 @@ snapshots: - ws - zod - '@solana/wallet-adapter-xdefi@0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/wallet-adapter-xdefi@0.1.11(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@solana/wallet-standard-chains@1.1.1': dependencies: @@ -22880,23 +23906,23 @@ snapshots: '@solana/wallet-standard-chains': 1.1.1 '@solana/wallet-standard-features': 1.3.0 - '@solana/wallet-standard-wallet-adapter-base@1.1.4(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)': + '@solana/wallet-standard-wallet-adapter-base@1.1.4(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)': dependencies: - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) '@solana/wallet-standard-chains': 1.1.1 '@solana/wallet-standard-features': 1.3.0 '@solana/wallet-standard-util': 1.1.2 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@wallet-standard/app': 1.1.0 '@wallet-standard/base': 1.1.0 '@wallet-standard/features': 1.1.0 '@wallet-standard/wallet': 1.1.0 - bs58: 5.0.0 + bs58: 6.0.0 - '@solana/wallet-standard-wallet-adapter-react@1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1)': + '@solana/wallet-standard-wallet-adapter-react@1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1)': dependencies: - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/wallet-standard-wallet-adapter-base': 1.1.4(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/wallet-standard-wallet-adapter-base': 1.1.4(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0) '@wallet-standard/app': 1.1.0 '@wallet-standard/base': 1.1.0 react: 18.3.1 @@ -22904,20 +23930,20 @@ snapshots: - '@solana/web3.js' - bs58 - '@solana/wallet-standard-wallet-adapter@1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1)': + '@solana/wallet-standard-wallet-adapter@1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1)': dependencies: - '@solana/wallet-standard-wallet-adapter-base': 1.1.4(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0) - '@solana/wallet-standard-wallet-adapter-react': 1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1) + '@solana/wallet-standard-wallet-adapter-base': 1.1.4(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0) + '@solana/wallet-standard-wallet-adapter-react': 1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1) transitivePeerDependencies: - '@solana/wallet-adapter-base' - '@solana/web3.js' - bs58 - react - '@solana/wallet-standard@1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1)': + '@solana/wallet-standard@1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1)': dependencies: '@solana/wallet-standard-core': 1.1.2 - '@solana/wallet-standard-wallet-adapter': 1.1.4(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.3.1) + '@solana/wallet-standard-wallet-adapter': 1.1.4(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(bs58@6.0.0)(react@18.3.1) transitivePeerDependencies: - '@solana/wallet-adapter-base' - '@solana/web3.js' @@ -22946,13 +23972,13 @@ snapshots: - encoding - utf-8-validate - '@solana/web3.js@1.98.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.1.3)(utf-8-validate@5.0.10)': + '@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.27.3 - '@noble/curves': 1.8.0 + '@babel/runtime': 7.28.4 + '@noble/curves': 1.9.7 '@noble/hashes': 1.4.0 '@solana/buffer-layout': 4.0.1 - '@solana/codecs-numbers': 2.1.1(typescript@5.1.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.4.3) agentkeepalive: 4.6.0 bn.js: 5.2.2 borsh: 0.7.0 @@ -22961,7 +23987,7 @@ snapshots: fast-stable-stringify: 1.0.0 jayson: 4.2.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) node-fetch: 2.7.0(encoding@0.1.13) - rpc-websockets: 9.1.1 + rpc-websockets: 9.1.3 superstruct: 2.0.2 transitivePeerDependencies: - bufferutil @@ -22969,18 +23995,41 @@ snapshots: - typescript - utf-8-validate - '@solflare-wallet/metamask-sdk@1.0.3(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)': + dependencies: + '@babel/runtime': 7.28.4 + '@noble/curves': 1.9.7 + '@noble/hashes': 1.4.0 + '@solana/buffer-layout': 4.0.1 + '@solana/codecs-numbers': 2.3.0(typescript@5.9.2) + agentkeepalive: 4.6.0 + bn.js: 5.2.2 + borsh: 0.7.0 + bs58: 4.0.1 + buffer: 6.0.3 + fast-stable-stringify: 1.0.0 + jayson: 4.2.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + node-fetch: 2.7.0(encoding@0.1.13) + rpc-websockets: 9.1.3 + superstruct: 2.0.2 + transitivePeerDependencies: + - bufferutil + - encoding + - typescript + - utf-8-validate + + '@solflare-wallet/metamask-sdk@1.0.3(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-standard-features': 1.3.0 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) '@wallet-standard/base': 1.1.0 bs58: 5.0.0 eventemitter3: 5.0.1 uuid: 9.0.1 - '@solflare-wallet/sdk@1.4.2(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))': + '@solflare-wallet/sdk@1.4.2(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) bs58: 5.0.0 eventemitter3: 5.0.1 uuid: 9.0.1 @@ -23005,6 +24054,32 @@ snapshots: transitivePeerDependencies: - encoding + '@stellar/js-xdr@3.1.2': {} + + '@stellar/stellar-base@13.1.0': + dependencies: + '@stellar/js-xdr': 3.1.2 + base32.js: 0.1.0 + bignumber.js: 9.3.1 + buffer: 6.0.3 + sha.js: 2.4.12 + tweetnacl: 1.0.3 + optionalDependencies: + sodium-native: 4.3.3 + + '@stellar/stellar-sdk@13.3.0': + dependencies: + '@stellar/stellar-base': 13.1.0 + axios: 1.11.0 + bignumber.js: 9.3.1 + eventsource: 2.0.2 + feaxios: 0.0.23 + randombytes: 2.1.0 + toml: 3.0.0 + urijs: 1.19.11 + transitivePeerDependencies: + - debug + '@suchipi/femver@1.0.0': {} '@swc/counter@0.1.3': {} @@ -23039,6 +24114,16 @@ snapshots: optionalDependencies: typescript: 5.4.3 + '@tailwindcss/node@4.1.10': + dependencies: + '@ampproject/remapping': 2.3.0 + enhanced-resolve: 5.18.3 + jiti: 2.5.1 + lightningcss: 1.30.1 + magic-string: 0.30.17 + source-map-js: 1.2.1 + tailwindcss: 4.1.10 + '@tailwindcss/node@4.1.12': dependencies: '@jridgewell/remapping': 2.3.5 @@ -23049,42 +24134,96 @@ snapshots: source-map-js: 1.2.1 tailwindcss: 4.1.12 + '@tailwindcss/oxide-android-arm64@4.1.10': + optional: true + '@tailwindcss/oxide-android-arm64@4.1.12': optional: true + '@tailwindcss/oxide-darwin-arm64@4.1.10': + optional: true + '@tailwindcss/oxide-darwin-arm64@4.1.12': optional: true + '@tailwindcss/oxide-darwin-x64@4.1.10': + optional: true + '@tailwindcss/oxide-darwin-x64@4.1.12': optional: true + '@tailwindcss/oxide-freebsd-x64@4.1.10': + optional: true + '@tailwindcss/oxide-freebsd-x64@4.1.12': optional: true + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.10': + optional: true + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.12': optional: true + '@tailwindcss/oxide-linux-arm64-gnu@4.1.10': + optional: true + '@tailwindcss/oxide-linux-arm64-gnu@4.1.12': optional: true + '@tailwindcss/oxide-linux-arm64-musl@4.1.10': + optional: true + '@tailwindcss/oxide-linux-arm64-musl@4.1.12': optional: true + '@tailwindcss/oxide-linux-x64-gnu@4.1.10': + optional: true + '@tailwindcss/oxide-linux-x64-gnu@4.1.12': optional: true + '@tailwindcss/oxide-linux-x64-musl@4.1.10': + optional: true + '@tailwindcss/oxide-linux-x64-musl@4.1.12': optional: true + '@tailwindcss/oxide-wasm32-wasi@4.1.10': + optional: true + '@tailwindcss/oxide-wasm32-wasi@4.1.12': optional: true + '@tailwindcss/oxide-win32-arm64-msvc@4.1.10': + optional: true + '@tailwindcss/oxide-win32-arm64-msvc@4.1.12': optional: true + '@tailwindcss/oxide-win32-x64-msvc@4.1.10': + optional: true + '@tailwindcss/oxide-win32-x64-msvc@4.1.12': optional: true + '@tailwindcss/oxide@4.1.10': + dependencies: + detect-libc: 2.0.4 + tar: 7.4.3 + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.1.10 + '@tailwindcss/oxide-darwin-arm64': 4.1.10 + '@tailwindcss/oxide-darwin-x64': 4.1.10 + '@tailwindcss/oxide-freebsd-x64': 4.1.10 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.10 + '@tailwindcss/oxide-linux-arm64-gnu': 4.1.10 + '@tailwindcss/oxide-linux-arm64-musl': 4.1.10 + '@tailwindcss/oxide-linux-x64-gnu': 4.1.10 + '@tailwindcss/oxide-linux-x64-musl': 4.1.10 + '@tailwindcss/oxide-wasm32-wasi': 4.1.10 + '@tailwindcss/oxide-win32-arm64-msvc': 4.1.10 + '@tailwindcss/oxide-win32-x64-msvc': 4.1.10 + '@tailwindcss/oxide@4.1.12': dependencies: detect-libc: 2.0.4 @@ -23103,6 +24242,14 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.1.12 '@tailwindcss/oxide-win32-x64-msvc': 4.1.12 + '@tailwindcss/postcss@4.1.10': + dependencies: + '@alloc/quick-lru': 5.2.0 + '@tailwindcss/node': 4.1.10 + '@tailwindcss/oxide': 4.1.10 + postcss: 8.5.6 + tailwindcss: 4.1.10 + '@tailwindcss/postcss@4.1.12': dependencies: '@alloc/quick-lru': 5.2.0 @@ -23124,11 +24271,11 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@tanstack/react-virtual@3.13.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-virtual@3.13.12(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/virtual-core': 3.13.12 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@tanstack/virtual-core@3.13.12': {} @@ -23161,17 +24308,17 @@ snapshots: '@tootallnate/once@2.0.0': {} - '@toruslabs/base-controllers@5.11.0(@babel/runtime@7.27.3)(bufferutil@4.0.9)(utf-8-validate@5.0.10)': + '@toruslabs/base-controllers@5.11.0(@babel/runtime@7.28.4)(bufferutil@4.0.9)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@ethereumjs/util': 9.1.0 '@toruslabs/broadcast-channel': 10.0.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.27.3) - '@toruslabs/openlogin-jrpc': 8.3.0(@babel/runtime@7.27.3) - '@toruslabs/openlogin-utils': 8.2.1(@babel/runtime@7.27.3) + '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.28.4) + '@toruslabs/openlogin-jrpc': 8.3.0(@babel/runtime@7.28.4) + '@toruslabs/openlogin-utils': 8.2.1(@babel/runtime@7.28.4) async-mutex: 0.5.0 - bignumber.js: 9.3.0 - bowser: 2.11.0 + bignumber.js: 9.3.1 + bowser: 2.12.1 jwt-decode: 4.0.0 loglevel: 1.9.2 transitivePeerDependencies: @@ -23182,9 +24329,9 @@ snapshots: '@toruslabs/broadcast-channel@10.0.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/metadata-helpers': 5.1.0(@babel/runtime@7.27.3) + '@toruslabs/metadata-helpers': 5.1.0(@babel/runtime@7.28.4) loglevel: 1.9.2 oblivious-set: 1.4.0 socket.io-client: 4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -23195,119 +24342,122 @@ snapshots: - supports-color - utf-8-validate - '@toruslabs/constants@13.4.0(@babel/runtime@7.27.3)': + '@toruslabs/constants@13.4.0(@babel/runtime@7.28.4)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@toruslabs/eccrypto@4.0.0': dependencies: elliptic: 6.6.1 - '@toruslabs/http-helpers@6.1.1(@babel/runtime@7.27.3)': + '@toruslabs/http-helpers@6.1.1(@babel/runtime@7.28.4)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 lodash.merge: 4.6.2 loglevel: 1.9.2 - '@toruslabs/metadata-helpers@5.1.0(@babel/runtime@7.27.3)': + '@toruslabs/metadata-helpers@5.1.0(@babel/runtime@7.28.4)': dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.27.3) + '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.28.4) elliptic: 6.6.1 ethereum-cryptography: 2.2.1 json-stable-stringify: 1.3.0 transitivePeerDependencies: - '@sentry/types' - '@toruslabs/openlogin-jrpc@8.3.0(@babel/runtime@7.27.3)': + '@toruslabs/openlogin-jrpc@8.3.0(@babel/runtime@7.28.4)': dependencies: - '@babel/runtime': 7.27.3 - end-of-stream: 1.4.4 + '@babel/runtime': 7.28.4 + end-of-stream: 1.4.5 events: 3.3.0 fast-safe-stringify: 2.1.1 once: 1.4.0 - pump: 3.0.2 + pump: 3.0.3 readable-stream: 4.7.0 - '@toruslabs/openlogin-utils@8.2.1(@babel/runtime@7.27.3)': + '@toruslabs/openlogin-utils@8.2.1(@babel/runtime@7.28.4)': dependencies: - '@babel/runtime': 7.27.3 - '@toruslabs/constants': 13.4.0(@babel/runtime@7.27.3) + '@babel/runtime': 7.28.4 + '@toruslabs/constants': 13.4.0(@babel/runtime@7.28.4) base64url: 3.0.1 color: 4.2.3 - '@toruslabs/solana-embed@2.1.0(@babel/runtime@7.27.3)(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@toruslabs/solana-embed@2.1.0(@babel/runtime@7.28.4)(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.27.3 - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@toruslabs/base-controllers': 5.11.0(@babel/runtime@7.27.3)(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.27.3) - '@toruslabs/openlogin-jrpc': 8.3.0(@babel/runtime@7.27.3) + '@babel/runtime': 7.28.4 + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@toruslabs/base-controllers': 5.11.0(@babel/runtime@7.28.4)(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@toruslabs/http-helpers': 6.1.1(@babel/runtime@7.28.4) + '@toruslabs/openlogin-jrpc': 8.3.0(@babel/runtime@7.28.4) eth-rpc-errors: 4.0.3 fast-deep-equal: 3.1.3 lodash-es: 4.17.21 loglevel: 1.9.2 - pump: 3.0.2 + pump: 3.0.3 transitivePeerDependencies: - '@sentry/types' - bufferutil - encoding - supports-color + - typescript - utf-8-validate - '@trezor/analytics@1.3.5(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + '@trezor/analytics@1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: - '@trezor/env-utils': 1.3.4(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/env-utils': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) tslib: 2.8.1 transitivePeerDependencies: - - encoding - expo-constants - expo-localization - react-native - '@trezor/blockchain-link-types@1.3.5(tslib@2.8.1)': + '@trezor/blockchain-link-types@1.4.2(tslib@2.8.1)': dependencies: - '@trezor/utxo-lib': 2.3.5(tslib@2.8.1) + '@trezor/utxo-lib': 2.4.2(tslib@2.8.1) tslib: 2.8.1 - '@trezor/blockchain-link-utils@1.3.5(bufferutil@4.0.9)(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + '@trezor/blockchain-link-utils@1.4.2(bufferutil@4.0.9)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@mobily/ts-belt': 3.13.1 - '@trezor/env-utils': 1.3.4(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@stellar/stellar-sdk': 13.3.0 + '@trezor/env-utils': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) tslib: 2.8.1 - xrpl: 4.2.5(bufferutil@4.0.9)(utf-8-validate@5.0.10) + xrpl: 4.4.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - - encoding + - debug - expo-constants - expo-localization - react-native - utf-8-validate - '@trezor/blockchain-link@2.4.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': - dependencies: - '@solana-program/stake': 0.2.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - '@solana-program/token': 0.5.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - '@solana-program/token-2022': 0.4.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)) - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@trezor/blockchain-link-types': 1.3.5(tslib@2.8.1) - '@trezor/blockchain-link-utils': 1.3.5(bufferutil@4.0.9)(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) - '@trezor/env-utils': 1.3.4(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) - '@trezor/utxo-lib': 2.3.5(tslib@2.8.1) - '@trezor/websocket-client': 1.1.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/blockchain-link@2.5.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + dependencies: + '@solana-program/stake': 0.2.1(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) + '@solana-program/token': 0.5.1(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) + '@solana-program/token-2022': 0.4.2(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/rpc-types': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3) + '@stellar/stellar-sdk': 13.3.0 + '@trezor/blockchain-link-types': 1.4.2(tslib@2.8.1) + '@trezor/blockchain-link-utils': 1.4.2(bufferutil@4.0.9)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/env-utils': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) + '@trezor/utxo-lib': 2.4.2(tslib@2.8.1) + '@trezor/websocket-client': 1.2.2(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) '@types/web': 0.0.197 events: 3.3.0 socks-proxy-agent: 8.0.5 tslib: 2.8.1 - xrpl: 4.2.5(bufferutil@4.0.9)(utf-8-validate@5.0.10) + xrpl: 4.4.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@solana/sysvars' - bufferutil - - encoding + - debug - expo-constants - expo-localization - fastestsmallesttextencoderdecoder @@ -23317,36 +24467,36 @@ snapshots: - utf-8-validate - ws - '@trezor/connect-analytics@1.3.3(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + '@trezor/connect-analytics@1.3.5(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: - '@trezor/analytics': 1.3.5(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/analytics': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) tslib: 2.8.1 transitivePeerDependencies: - - encoding - expo-constants - expo-localization - react-native - '@trezor/connect-common@0.3.5(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + '@trezor/connect-common@0.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: - '@trezor/env-utils': 1.3.4(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/env-utils': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) tslib: 2.8.1 transitivePeerDependencies: - - encoding - expo-constants - expo-localization - react-native - '@trezor/connect-web@9.5.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + '@trezor/connect-web@9.6.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: - '@trezor/connect': 9.5.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@trezor/connect-common': 0.3.5(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/connect': 9.6.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@trezor/connect-common': 0.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) + '@trezor/websocket-client': 1.2.2(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) tslib: 2.8.1 transitivePeerDependencies: - '@solana/sysvars' - bufferutil + - debug - encoding - expo-constants - expo-localization @@ -23357,41 +24507,44 @@ snapshots: - utf-8-validate - ws - '@trezor/connect@9.5.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + '@trezor/connect@9.6.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: - '@ethereumjs/common': 4.4.0 - '@ethereumjs/tx': 5.4.0 + '@ethereumjs/common': 10.0.0 + '@ethereumjs/tx': 10.0.0 '@fivebinaries/coin-selection': 3.0.0 '@mobily/ts-belt': 3.13.1 '@noble/hashes': 1.8.0 '@scure/bip39': 1.6.0 - '@solana-program/compute-budget': 0.7.0(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - '@solana-program/system': 0.7.0(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - '@solana-program/token': 0.5.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - '@solana-program/token-2022': 0.4.1(@solana/kit@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)) - '@solana/kit': 2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@trezor/blockchain-link': 2.4.5(@solana/sysvars@2.1.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(encoding@0.1.13)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@trezor/blockchain-link-types': 1.3.5(tslib@2.8.1) - '@trezor/blockchain-link-utils': 1.3.5(bufferutil@4.0.9)(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) - '@trezor/connect-analytics': 1.3.3(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/connect-common': 0.3.5(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) - '@trezor/crypto-utils': 1.1.3(tslib@2.8.1) - '@trezor/device-utils': 1.0.3 - '@trezor/protobuf': 1.3.5(tslib@2.8.1) - '@trezor/protocol': 1.2.6(tslib@2.8.1) - '@trezor/schema-utils': 1.3.3(tslib@2.8.1) - '@trezor/transport': 1.4.5(encoding@0.1.13)(tslib@2.8.1) - '@trezor/type-utils': 1.1.6 - '@trezor/utils': 9.3.5(tslib@2.8.1) - '@trezor/utxo-lib': 2.3.5(tslib@2.8.1) + '@solana-program/compute-budget': 0.8.0(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) + '@solana-program/system': 0.7.0(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) + '@solana-program/token': 0.5.1(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10))) + '@solana-program/token-2022': 0.4.2(@solana/kit@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)) + '@solana/kit': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@trezor/blockchain-link': 2.5.2(@solana/sysvars@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.3))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@trezor/blockchain-link-types': 1.4.2(tslib@2.8.1) + '@trezor/blockchain-link-utils': 1.4.2(bufferutil@4.0.9)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.3.5(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/connect-common': 0.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/crypto-utils': 1.1.4(tslib@2.8.1) + '@trezor/device-utils': 1.1.2 + '@trezor/env-utils': 1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/protobuf': 1.4.2(tslib@2.8.1) + '@trezor/protocol': 1.2.8(tslib@2.8.1) + '@trezor/schema-utils': 1.3.4(tslib@2.8.1) + '@trezor/transport': 1.5.2(encoding@0.1.13)(tslib@2.8.1) + '@trezor/type-utils': 1.1.8 + '@trezor/utils': 9.4.2(tslib@2.8.1) + '@trezor/utxo-lib': 2.4.2(tslib@2.8.1) blakejs: 1.2.1 bs58: 6.0.0 bs58check: 4.0.0 cross-fetch: 4.0.0(encoding@0.1.13) + jws: 4.0.0 tslib: 2.8.1 transitivePeerDependencies: - '@solana/sysvars' - bufferutil + - debug - encoding - expo-constants - expo-localization @@ -23402,59 +24555,58 @@ snapshots: - utf-8-validate - ws - '@trezor/crypto-utils@1.1.3(tslib@2.8.1)': + '@trezor/crypto-utils@1.1.4(tslib@2.8.1)': dependencies: tslib: 2.8.1 - '@trezor/device-utils@1.0.3': {} + '@trezor/device-utils@1.1.2': {} - '@trezor/env-utils@1.3.4(encoding@0.1.13)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + '@trezor/env-utils@1.4.2(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: tslib: 2.8.1 - ua-parser-js: 2.0.3(encoding@0.1.13) + ua-parser-js: 2.0.5 optionalDependencies: - react-native: 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - encoding + react-native: 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) - '@trezor/protobuf@1.3.5(tslib@2.8.1)': + '@trezor/protobuf@1.4.2(tslib@2.8.1)': dependencies: - '@trezor/schema-utils': 1.3.3(tslib@2.8.1) + '@trezor/schema-utils': 1.3.4(tslib@2.8.1) long: 5.2.5 protobufjs: 7.4.0 tslib: 2.8.1 - '@trezor/protocol@1.2.6(tslib@2.8.1)': + '@trezor/protocol@1.2.8(tslib@2.8.1)': dependencies: tslib: 2.8.1 - '@trezor/schema-utils@1.3.3(tslib@2.8.1)': + '@trezor/schema-utils@1.3.4(tslib@2.8.1)': dependencies: '@sinclair/typebox': 0.33.22 ts-mixer: 6.0.4 tslib: 2.8.1 - '@trezor/transport@1.4.5(encoding@0.1.13)(tslib@2.8.1)': + '@trezor/transport@1.5.2(encoding@0.1.13)(tslib@2.8.1)': dependencies: - '@trezor/protobuf': 1.3.5(tslib@2.8.1) - '@trezor/protocol': 1.2.6(tslib@2.8.1) - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/protobuf': 1.4.2(tslib@2.8.1) + '@trezor/protocol': 1.2.8(tslib@2.8.1) + '@trezor/type-utils': 1.1.8 + '@trezor/utils': 9.4.2(tslib@2.8.1) cross-fetch: 4.0.0(encoding@0.1.13) tslib: 2.8.1 - usb: 2.15.0 + usb: 2.16.0 transitivePeerDependencies: - encoding - '@trezor/type-utils@1.1.6': {} + '@trezor/type-utils@1.1.8': {} - '@trezor/utils@9.3.5(tslib@2.8.1)': + '@trezor/utils@9.4.2(tslib@2.8.1)': dependencies: - bignumber.js: 9.3.0 + bignumber.js: 9.3.1 tslib: 2.8.1 - '@trezor/utxo-lib@2.3.5(tslib@2.8.1)': + '@trezor/utxo-lib@2.4.2(tslib@2.8.1)': dependencies: - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) bchaddrjs: 0.5.2 bech32: 2.0.0 bip66: 2.0.0 @@ -23467,17 +24619,17 @@ snapshots: create-hmac: 1.1.7 int64-buffer: 1.1.0 pushdata-bitcoin: 1.0.1 - tiny-secp256k1: 2.2.3 + tiny-secp256k1: 2.2.4 tslib: 2.8.1 typeforce: 1.18.0 varuint-bitcoin: 2.0.0 wif: 5.0.0 - '@trezor/websocket-client@1.1.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10)': + '@trezor/websocket-client@1.2.2(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: - '@trezor/utils': 9.3.5(tslib@2.8.1) + '@trezor/utils': 9.4.2(tslib@2.8.1) tslib: 2.8.1 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -23490,8 +24642,6 @@ snapshots: '@tsconfig/node14@1.0.3': {} - '@tsconfig/node16-strictest@1.0.4': {} - '@tsconfig/node16@1.0.4': {} '@tweenjs/tween.js@23.1.3': {} @@ -23501,21 +24651,21 @@ snapshots: tslib: 2.8.0 optional: true - '@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))(typescript@5.4.3)': + '@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))(typescript@5.9.2)': dependencies: ethers: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) lodash: 4.17.21 - ts-essentials: 7.0.3(typescript@5.4.3) - typechain: 8.3.2(typescript@5.4.3) - typescript: 5.4.3 + ts-essentials: 7.0.3(typescript@5.9.2) + typechain: 8.3.2(typescript@5.9.2) + typescript: 5.9.2 - '@typechain/hardhat@9.1.0(@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))(typescript@5.4.3))(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))': + '@typechain/hardhat@9.1.0(@typechain/ethers-v6@0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))(typescript@5.9.2))(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))': dependencies: - '@typechain/ethers-v6': 0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.4.3))(typescript@5.4.3) + '@typechain/ethers-v6': 0.5.1(ethers@6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(typechain@8.3.2(typescript@5.9.2))(typescript@5.9.2) ethers: 6.10.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) fs-extra: 9.1.0 - hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) - typechain: 8.3.2(typescript@5.4.3) + hardhat: 2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10) + typechain: 8.3.2(typescript@5.9.2) '@types/async-eventemitter@0.2.4': dependencies: @@ -23554,6 +24704,10 @@ snapshots: dependencies: '@types/node': 20.3.1 + '@types/bn.js@5.2.0': + dependencies: + '@types/node': 20.3.1 + '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 @@ -23576,8 +24730,6 @@ snapshots: '@types/draco3d@1.4.10': {} - '@types/estree@0.0.39': {} - '@types/estree@1.0.5': {} '@types/estree@1.0.7': {} @@ -23668,12 +24820,7 @@ snapshots: dependencies: '@types/node': 20.3.1 - '@types/node-fetch@2.6.12': - dependencies: - '@types/node': 20.3.1 - form-data: 4.0.4 - - '@types/node-forge@1.3.11': + '@types/node-forge@1.3.14': dependencies: '@types/node': 20.3.1 @@ -23689,10 +24836,6 @@ snapshots: '@types/node@20.3.1': {} - '@types/node@22.15.24': - dependencies: - undici-types: 6.21.0 - '@types/node@22.7.5': dependencies: undici-types: 6.19.8 @@ -23701,6 +24844,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@24.3.1': + dependencies: + undici-types: 7.10.0 + '@types/normalize-package-data@2.4.4': {} '@types/offscreencanvas@2019.7.3': {} @@ -23720,33 +24867,47 @@ snapshots: '@types/prop-types@15.7.14': {} + '@types/prop-types@15.7.15': {} + '@types/qs@6.14.0': {} '@types/range-parser@1.2.7': {} '@types/react-dom@18.2.6': dependencies: - '@types/react': 18.3.23 + '@types/react': 18.3.24 '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.3 + '@types/react': 18.3.24 - '@types/react-reconciler@0.26.7': + '@types/react-dom@18.3.7(@types/react@18.2.25)': dependencies: - '@types/react': 18.3.23 + '@types/react': 18.2.25 - '@types/react-reconciler@0.28.9(@types/react@18.2.14)': + '@types/react-dom@18.3.7(@types/react@18.3.24)': dependencies: - '@types/react': 18.2.14 + '@types/react': 18.3.24 - '@types/react-transition-group@4.4.12(@types/react@18.2.14)': + '@types/react-dom@19.1.9(@types/react@19.1.12)': dependencies: - '@types/react': 18.2.14 + '@types/react': 19.1.12 - '@types/react-transition-group@4.4.12(@types/react@18.3.23)': + '@types/react-reconciler@0.28.9(@types/react@19.1.12)': dependencies: - '@types/react': 18.3.23 + '@types/react': 19.1.12 + + '@types/react-reconciler@0.32.1(@types/react@19.1.12)': + dependencies: + '@types/react': 19.1.12 + + '@types/react-transition-group@4.4.12(@types/react@18.2.25)': + dependencies: + '@types/react': 18.2.25 + + '@types/react-transition-group@4.4.12(@types/react@19.1.12)': + dependencies: + '@types/react': 19.1.12 '@types/react@18.2.14': dependencies: @@ -23756,7 +24917,7 @@ snapshots: '@types/react@18.2.25': dependencies: - '@types/prop-types': 15.7.14 + '@types/prop-types': 15.7.15 '@types/scheduler': 0.26.0 csstype: 3.1.3 @@ -23765,9 +24926,18 @@ snapshots: '@types/prop-types': 15.7.14 csstype: 3.1.3 + '@types/react@18.3.24': + dependencies: + '@types/prop-types': 15.7.15 + csstype: 3.1.3 + '@types/react@18.3.3': dependencies: - '@types/prop-types': 15.7.14 + '@types/prop-types': 15.7.15 + csstype: 3.1.3 + + '@types/react@19.1.12': + dependencies: csstype: 3.1.3 '@types/readable-stream@2.3.15': @@ -23826,7 +24996,7 @@ snapshots: '@types/uuid@8.3.4': {} - '@types/w3c-web-usb@1.0.10': {} + '@types/w3c-web-usb@1.0.12': {} '@types/web@0.0.197': {} @@ -23844,57 +25014,23 @@ snapshots: '@types/ws@8.5.3': dependencies: - '@types/node': 20.3.1 - - '@types/yargs-parser@21.0.3': {} - - '@types/yargs@17.0.33': - dependencies: - '@types/yargs-parser': 21.0.3 - - '@typescript-eslint/eslint-plugin@8.33.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint@8.56.0)(typescript@5.1.3)': - dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/type-utils': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - '@typescript-eslint/utils': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - '@typescript-eslint/visitor-keys': 8.33.0 - eslint: 8.56.0 - graphemer: 1.4.0 - ignore: 7.0.4 - natural-compare: 1.4.0 - ts-api-utils: 2.1.0(typescript@5.1.3) - typescript: 5.1.3 - transitivePeerDependencies: - - supports-color + '@types/node': 20.3.1 + + '@types/yargs-parser@21.0.3': {} - '@typescript-eslint/eslint-plugin@8.33.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint@8.56.0)(typescript@5.4.3)': + '@types/yargs@17.0.33': dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/type-utils': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - '@typescript-eslint/utils': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - '@typescript-eslint/visitor-keys': 8.33.0 - eslint: 8.56.0 - graphemer: 1.4.0 - ignore: 7.0.4 - natural-compare: 1.4.0 - ts-api-utils: 2.1.0(typescript@5.4.3) - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color + '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.33.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3)': + '@typescript-eslint/eslint-plugin@8.33.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/parser': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/type-utils': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) - '@typescript-eslint/utils': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/type-utils': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/utils': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) '@typescript-eslint/visitor-keys': 8.33.0 - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) graphemer: 1.4.0 ignore: 7.0.4 natural-compare: 1.4.0 @@ -23903,51 +25039,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3)': - dependencies: - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/types': 8.33.0 - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.1.3) - '@typescript-eslint/visitor-keys': 8.33.0 - debug: 4.4.1(supports-color@8.1.1) - eslint: 8.56.0 - typescript: 5.1.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3)': - dependencies: - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/types': 8.33.0 - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) - '@typescript-eslint/visitor-keys': 8.33.0 - debug: 4.4.1(supports-color@8.1.1) - eslint: 8.56.0 - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3)': + '@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3)': dependencies: '@typescript-eslint/scope-manager': 8.33.0 '@typescript-eslint/types': 8.33.0 '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) '@typescript-eslint/visitor-keys': 8.33.0 debug: 4.4.1(supports-color@8.1.1) - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) typescript: 5.4.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.33.0(typescript@5.1.3)': - dependencies: - '@typescript-eslint/tsconfig-utils': 8.33.0(typescript@5.1.3) - '@typescript-eslint/types': 8.33.0 - debug: 4.4.1(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/project-service@8.33.0(typescript@5.4.3)': dependencies: '@typescript-eslint/tsconfig-utils': 8.33.0(typescript@5.4.3) @@ -23962,42 +25065,16 @@ snapshots: '@typescript-eslint/types': 8.33.0 '@typescript-eslint/visitor-keys': 8.33.0 - '@typescript-eslint/tsconfig-utils@8.33.0(typescript@5.1.3)': - dependencies: - typescript: 5.1.3 - '@typescript-eslint/tsconfig-utils@8.33.0(typescript@5.4.3)': dependencies: typescript: 5.4.3 - '@typescript-eslint/type-utils@8.33.0(eslint@8.56.0)(typescript@5.1.3)': - dependencies: - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.1.3) - '@typescript-eslint/utils': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - debug: 4.4.1(supports-color@8.1.1) - eslint: 8.56.0 - ts-api-utils: 2.1.0(typescript@5.1.3) - typescript: 5.1.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/type-utils@8.33.0(eslint@8.56.0)(typescript@5.4.3)': - dependencies: - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) - '@typescript-eslint/utils': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - debug: 4.4.1(supports-color@8.1.1) - eslint: 8.56.0 - ts-api-utils: 2.1.0(typescript@5.4.3) - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/type-utils@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3)': + '@typescript-eslint/type-utils@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3)': dependencies: '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) - '@typescript-eslint/utils': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/utils': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) debug: 4.4.1(supports-color@8.1.1) - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) ts-api-utils: 2.1.0(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: @@ -24005,22 +25082,6 @@ snapshots: '@typescript-eslint/types@8.33.0': {} - '@typescript-eslint/typescript-estree@8.33.0(typescript@5.1.3)': - dependencies: - '@typescript-eslint/project-service': 8.33.0(typescript@5.1.3) - '@typescript-eslint/tsconfig-utils': 8.33.0(typescript@5.1.3) - '@typescript-eslint/types': 8.33.0 - '@typescript-eslint/visitor-keys': 8.33.0 - debug: 4.4.1(supports-color@8.1.1) - fast-glob: 3.3.3 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.7.2 - ts-api-utils: 2.1.0(typescript@5.1.3) - typescript: 5.1.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.33.0(typescript@5.4.3)': dependencies: '@typescript-eslint/project-service': 8.33.0(typescript@5.4.3) @@ -24037,35 +25098,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.33.0(eslint@8.56.0)(typescript@5.1.3)': - dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@8.56.0) - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/types': 8.33.0 - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.1.3) - eslint: 8.56.0 - typescript: 5.1.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/utils@8.33.0(eslint@8.56.0)(typescript@5.4.3)': - dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@8.56.0) - '@typescript-eslint/scope-manager': 8.33.0 - '@typescript-eslint/types': 8.33.0 - '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) - eslint: 8.56.0 - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/utils@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3)': + '@typescript-eslint/utils@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3)': dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@9.34.0(jiti@2.5.1)) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.35.0(jiti@2.5.1)) '@typescript-eslint/scope-manager': 8.33.0 '@typescript-eslint/types': 8.33.0 '@typescript-eslint/typescript-estree': 8.33.0(typescript@5.4.3) - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) typescript: 5.4.3 transitivePeerDependencies: - supports-color @@ -24073,9 +25112,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.33.0': dependencies: '@typescript-eslint/types': 8.33.0 - eslint-visitor-keys: 4.2.0 - - '@ungap/structured-clone@1.3.0': {} + eslint-visitor-keys: 4.2.1 '@uniswap/lib@4.0.1-alpha': {} @@ -24088,25 +25125,25 @@ snapshots: tiny-invariant: 1.3.3 toformat: 2.0.0 - '@uniswap/swap-router-contracts@1.3.1(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@uniswap/swap-router-contracts@1.3.1(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@openzeppelin/contracts': 3.4.2-solc-0.7 '@uniswap/v2-core': 1.0.1 '@uniswap/v3-core': 1.0.1 '@uniswap/v3-periphery': 1.4.4 dotenv: 14.3.2 - hardhat-watcher: 2.5.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + hardhat-watcher: 2.5.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) transitivePeerDependencies: - hardhat - '@uniswap/swap-router-contracts@1.3.1(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@uniswap/swap-router-contracts@1.3.1(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@openzeppelin/contracts': 3.4.2-solc-0.7 '@uniswap/v2-core': 1.0.1 '@uniswap/v3-core': 1.0.1 '@uniswap/v3-periphery': 1.4.4 dotenv: 14.3.2 - hardhat-watcher: 2.5.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + hardhat-watcher: 2.5.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) transitivePeerDependencies: - hardhat @@ -24124,12 +25161,12 @@ snapshots: '@uniswap/v3-core': 1.0.1 base64-sol: 1.0.1 - '@uniswap/v3-sdk@3.9.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@uniswap/v3-sdk@3.9.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@ethersproject/abi': 5.8.0 '@ethersproject/solidity': 5.8.0 '@uniswap/sdk-core': 3.1.1 - '@uniswap/swap-router-contracts': 1.3.1(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@uniswap/swap-router-contracts': 1.3.1(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) '@uniswap/v3-periphery': 1.4.4 '@uniswap/v3-staker': 1.0.0 tiny-invariant: 1.3.3 @@ -24137,12 +25174,12 @@ snapshots: transitivePeerDependencies: - hardhat - '@uniswap/v3-sdk@3.9.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': + '@uniswap/v3-sdk@3.9.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10))': dependencies: '@ethersproject/abi': 5.8.0 '@ethersproject/solidity': 5.8.0 '@uniswap/sdk-core': 3.1.1 - '@uniswap/swap-router-contracts': 1.3.1(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@uniswap/swap-router-contracts': 1.3.1(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)) '@uniswap/v3-periphery': 1.4.4 '@uniswap/v3-staker': 1.0.0 tiny-invariant: 1.3.3 @@ -24211,21 +25248,21 @@ snapshots: '@use-gesture/core@10.3.1': {} - '@use-gesture/react@10.3.1(react@18.2.0)': + '@use-gesture/react@10.3.1(react@19.0.0)': dependencies: '@use-gesture/core': 10.3.1 - react: 18.2.0 + react: 19.0.0 - '@wagmi/connectors@5.8.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': + '@wagmi/connectors@5.8.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76)': dependencies: '@coinbase/wallet-sdk': 4.3.0 '@metamask/sdk': 0.32.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) '@safe-global/safe-apps-provider': 0.18.6(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) - '@walletconnect/ethereum-provider': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@walletconnect/ethereum-provider': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -24255,12 +25292,12 @@ snapshots: - utf-8-validate - zod - '@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.4.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.4.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.4.3) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - zustand: 5.0.0(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.4.0(react@18.2.0)) + viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + zustand: 5.0.0(@types/react@18.2.25)(react@18.2.0)(use-sync-external-store@1.4.0(react@18.2.0)) optionalDependencies: '@tanstack/query-core': 5.77.2 typescript: 5.4.3 @@ -24270,12 +25307,12 @@ snapshots: - react - use-sync-external-store - '@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.4.3) viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - zustand: 5.0.0(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)) + zustand: 5.0.0(@types/react@18.2.25)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)) optionalDependencies: '@tanstack/query-core': 5.77.2 typescript: 5.4.3 @@ -24301,7 +25338,7 @@ snapshots: '@wallet-standard/errors@0.1.1': dependencies: - chalk: 5.4.1 + chalk: 5.6.2 commander: 13.1.0 '@wallet-standard/features@1.1.0': @@ -24312,21 +25349,21 @@ snapshots: dependencies: '@wallet-standard/base': 1.1.0 - '@walletconnect/core@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/core@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.16(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@walletconnect/window-getters': 1.0.1 events: 3.3.0 lodash.isequal: 4.5.0 @@ -24355,21 +25392,21 @@ snapshots: - utf-8-validate - zod - '@walletconnect/core@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/core@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.16(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@walletconnect/window-getters': 1.0.1 es-toolkit: 1.33.0 events: 3.3.0 @@ -24398,21 +25435,21 @@ snapshots: - utf-8-validate - zod - '@walletconnect/core@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/core@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.16(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/window-getters': 1.0.1 es-toolkit: 1.33.0 events: 3.3.0 @@ -24441,21 +25478,21 @@ snapshots: - utf-8-validate - zod - '@walletconnect/core@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/core@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.16(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/window-getters': 1.0.1 es-toolkit: 1.33.0 events: 3.3.0 @@ -24484,21 +25521,21 @@ snapshots: - utf-8-validate - zod - '@walletconnect/core@2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/core@2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.16(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/window-getters': 1.0.1 es-toolkit: 1.39.3 events: 3.3.0 @@ -24531,18 +25568,18 @@ snapshots: dependencies: tslib: 1.14.1 - '@walletconnect/ethereum-provider@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/ethereum-provider@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@reown/appkit': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@reown/appkit': 1.7.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/sign-client': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/universal-provider': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/sign-client': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/universal-provider': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24613,18 +25650,18 @@ snapshots: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 events: 3.3.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate - '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': + '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/safe-json': 1.0.2 idb-keyval: 6.2.2 unstorage: 1.16.0(idb-keyval@6.2.2) optionalDependencies: - '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)) + '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -24644,13 +25681,13 @@ snapshots: - ioredis - uploadthing - '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': + '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/safe-json': 1.0.2 idb-keyval: 6.2.2 unstorage: 1.16.0(idb-keyval@6.2.2) optionalDependencies: - '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)) + '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -24670,13 +25707,13 @@ snapshots: - ioredis - uploadthing - '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))': + '@walletconnect/keyvaluestorage@1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/safe-json': 1.0.2 idb-keyval: 6.2.2 unstorage: 1.16.0(idb-keyval@6.2.2) optionalDependencies: - '@react-native-async-storage/async-storage': 2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)) + '@react-native-async-storage/async-storage': 1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -24717,16 +25754,16 @@ snapshots: dependencies: tslib: 1.14.1 - '@walletconnect/sign-client@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/sign-client@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: - '@walletconnect/core': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/core': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24752,16 +25789,16 @@ snapshots: - utf-8-validate - zod - '@walletconnect/sign-client@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/sign-client@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: - '@walletconnect/core': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/core': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24787,16 +25824,16 @@ snapshots: - utf-8-validate - zod - '@walletconnect/sign-client@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/sign-client@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@walletconnect/core': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/core': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24822,16 +25859,16 @@ snapshots: - utf-8-validate - zod - '@walletconnect/sign-client@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/sign-client@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@walletconnect/core': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/core': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24857,16 +25894,16 @@ snapshots: - utf-8-validate - zod - '@walletconnect/sign-client@2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/sign-client@2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: - '@walletconnect/core': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/core': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24892,13 +25929,13 @@ snapshots: - utf-8-validate - zod - '@walletconnect/solana-adapter@0.0.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/wallet-adapter-base@0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)))(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/solana-adapter@0.0.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@solana/wallet-adapter-base@0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)))(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: - '@reown/appkit': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@solana/wallet-adapter-base': 0.9.26(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@walletconnect/universal-provider': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@reown/appkit': 1.7.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@solana/wallet-adapter-base': 0.9.27(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) + '@walletconnect/universal-provider': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) bs58: 6.0.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -24931,12 +25968,12 @@ snapshots: dependencies: tslib: 1.14.1 - '@walletconnect/types@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': + '@walletconnect/types@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 events: 3.3.0 transitivePeerDependencies: @@ -24959,12 +25996,12 @@ snapshots: - ioredis - uploadthing - '@walletconnect/types@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': + '@walletconnect/types@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 events: 3.3.0 transitivePeerDependencies: @@ -24987,12 +26024,12 @@ snapshots: - ioredis - uploadthing - '@walletconnect/types@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': + '@walletconnect/types@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 events: 3.3.0 transitivePeerDependencies: @@ -25015,12 +26052,12 @@ snapshots: - ioredis - uploadthing - '@walletconnect/types@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': + '@walletconnect/types@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 events: 3.3.0 transitivePeerDependencies: @@ -25043,12 +26080,12 @@ snapshots: - ioredis - uploadthing - '@walletconnect/types@2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))': + '@walletconnect/types@2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 events: 3.3.0 transitivePeerDependencies: @@ -25071,18 +26108,18 @@ snapshots: - ioredis - uploadthing - '@walletconnect/universal-provider@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/universal-provider@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/sign-client': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) events: 3.3.0 lodash: 4.17.21 transitivePeerDependencies: @@ -25110,18 +26147,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/universal-provider@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/universal-provider@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/sign-client': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) + '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8) es-toolkit: 1.33.0 events: 3.3.0 transitivePeerDependencies: @@ -25149,18 +26186,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/universal-provider@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/universal-provider@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/sign-client': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) es-toolkit: 1.33.0 events: 3.3.0 transitivePeerDependencies: @@ -25188,18 +26225,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/universal-provider@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/universal-provider@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) - '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/sign-client': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/utils': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) es-toolkit: 1.33.0 events: 3.3.0 transitivePeerDependencies: @@ -25227,18 +26264,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/utils@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/utils@2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@noble/ciphers': 1.2.1 '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/types': 2.19.0(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -25270,18 +26307,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/utils@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@walletconnect/utils@2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@noble/ciphers': 1.2.1 '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) + '@walletconnect/types': 2.19.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 bs58: 6.0.0 @@ -25314,18 +26351,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/utils@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/utils@2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@noble/ciphers': 1.2.1 '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/types': 2.19.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 bs58: 6.0.0 @@ -25357,18 +26394,18 @@ snapshots: - utf-8-validate - zod - '@walletconnect/utils@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/utils@2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@noble/ciphers': 1.2.1 '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) + '@walletconnect/types': 2.20.2(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 bs58: 6.0.0 @@ -25400,7 +26437,7 @@ snapshots: - utf-8-validate - zod - '@walletconnect/utils@2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': + '@walletconnect/utils@2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)': dependencies: '@msgpack/msgpack': 3.1.2 '@noble/ciphers': 1.3.0 @@ -25408,12 +26445,12 @@ snapshots: '@noble/hashes': 1.8.0 '@scure/base': 1.2.6 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.1.0 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@2.2.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))) + '@walletconnect/types': 2.21.8(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 blakejs: 1.2.1 @@ -25461,12 +26498,12 @@ snapshots: dependencies: '@noble/hashes': 1.8.0 eventemitter3: 5.0.1 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate - '@xrplf/secret-numbers@1.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)': + '@xrplf/secret-numbers@2.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)': dependencies: '@xrplf/isomorphic': 1.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) ripple-keypairs: 2.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -25474,21 +26511,26 @@ snapshots: - bufferutil - utf-8-validate - '@zerodev/ecdsa-validator@5.4.8(@zerodev/sdk@5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@zerodev/ecdsa-validator@5.4.9(@zerodev/sdk@5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: - '@zerodev/sdk': 5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + '@zerodev/sdk': 5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - '@zerodev/sdk@5.4.32(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': + '@zerodev/sdk@5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))': dependencies: semver: 7.7.2 - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + + '@zerodev/sdk@5.4.41(viem@2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76))': + dependencies: + semver: 7.7.2 + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) abab@2.0.6: {} - abitype@0.7.1(typescript@5.4.3)(zod@3.25.76): + abitype@0.7.1(typescript@5.9.2)(zod@3.25.76): dependencies: - typescript: 5.4.3 + typescript: 5.9.2 optionalDependencies: zod: 3.25.76 @@ -25506,27 +26548,48 @@ snapshots: optionalDependencies: typescript: 5.4.3 zod: 3.25.76 + optional: true + + abitype@1.0.6(typescript@5.9.2)(zod@3.25.76): + optionalDependencies: + typescript: 5.9.2 + zod: 3.25.76 + + abitype@1.0.8(typescript@5.4.3)(zod@3.23.8): + optionalDependencies: + typescript: 5.4.3 + zod: 3.23.8 + + abitype@1.0.8(typescript@5.4.3)(zod@3.25.76): + optionalDependencies: + typescript: 5.4.3 + zod: 3.25.76 - abitype@1.0.8(typescript@5.1.3)(zod@3.25.76): + abitype@1.0.8(typescript@5.9.2)(zod@3.25.76): optionalDependencies: - typescript: 5.1.3 + typescript: 5.9.2 zod: 3.25.76 - abitype@1.0.8(typescript@5.4.3)(zod@3.22.4): + abitype@1.1.0(typescript@5.4.3)(zod@3.22.4): optionalDependencies: typescript: 5.4.3 zod: 3.22.4 - abitype@1.0.8(typescript@5.4.3)(zod@3.23.8): + abitype@1.1.0(typescript@5.4.3)(zod@3.23.8): optionalDependencies: typescript: 5.4.3 zod: 3.23.8 - abitype@1.0.8(typescript@5.4.3)(zod@3.25.76): + abitype@1.1.0(typescript@5.4.3)(zod@3.25.76): optionalDependencies: typescript: 5.4.3 zod: 3.25.76 + abitype@1.1.0(typescript@5.9.2)(zod@3.25.76): + optionalDependencies: + typescript: 5.9.2 + zod: 3.25.76 + abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -25551,10 +26614,6 @@ snapshots: acorn: 8.15.0 acorn-walk: 8.3.4 - acorn-jsx@5.3.2(acorn@8.14.1): - dependencies: - acorn: 8.14.1 - acorn-jsx@5.3.2(acorn@8.15.0): dependencies: acorn: 8.15.0 @@ -25563,8 +26622,6 @@ snapshots: dependencies: acorn: 8.15.0 - acorn@8.14.1: {} - acorn@8.15.0: {} adm-zip@0.4.16: {} @@ -25579,7 +26636,7 @@ snapshots: transitivePeerDependencies: - supports-color - agent-base@7.1.3: {} + agent-base@7.1.4: {} agentkeepalive@4.6.0: dependencies: @@ -25807,14 +26864,14 @@ snapshots: postcss: 8.5.6 postcss-value-parser: 4.2.0 - autoprefixer@10.4.21(postcss@8.5.6): + autoprefixer@10.4.21(postcss@8.4.38): dependencies: browserslist: 4.24.5 caniuse-lite: 1.0.30001718 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 - postcss: 8.5.6 + postcss: 8.4.38 postcss-value-parser: 4.2.0 available-typed-arrays@1.0.7: @@ -25823,6 +26880,14 @@ snapshots: axe-core@4.10.3: {} + axios@1.11.0: + dependencies: + follow-redirects: 1.15.11(debug@4.4.1) + form-data: 4.0.4 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + axios@1.9.0: dependencies: follow-redirects: 1.15.9(debug@4.4.1) @@ -25833,9 +26898,9 @@ snapshots: axobject-query@4.1.0: {} - babel-core@7.0.0-bridge.0(@babel/core@7.26.9): + babel-core@7.0.0-bridge.0(@babel/core@7.28.4): dependencies: - '@babel/core': 7.26.9 + '@babel/core': 7.28.4 babel-jest@29.4.3(@babel/core@7.26.9): dependencies: @@ -25863,13 +26928,13 @@ snapshots: transitivePeerDependencies: - supports-color - babel-jest@29.7.0(@babel/core@7.27.3): + babel-jest@29.7.0(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.27.3) + babel-preset-jest: 29.6.3(@babel/core@7.28.4) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -25908,46 +26973,46 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.27.3): + babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.28.4): dependencies: '@babel/compat-data': 7.27.3 - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.28.4) semver: 7.7.2 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.26.9): + babel-plugin-polyfill-corejs2@0.4.14(@babel/core@7.26.9): dependencies: - '@babel/compat-data': 7.27.3 + '@babel/compat-data': 7.28.4 '@babel/core': 7.26.9 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.9) + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.26.9) semver: 7.7.2 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.27.3): + babel-plugin-polyfill-corejs2@0.4.14(@babel/core@7.28.4): dependencies: - '@babel/compat-data': 7.27.3 - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.3) + '@babel/compat-data': 7.28.4 + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.4) semver: 7.7.2 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.26.9): + babel-plugin-polyfill-corejs3@0.13.0(@babel/core@7.26.9): dependencies: '@babel/core': 7.26.9 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.9) - core-js-compat: 3.42.0 + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.26.9) + core-js-compat: 3.45.1 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.27.3): + babel-plugin-polyfill-corejs3@0.13.0(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.3) - core-js-compat: 3.42.0 + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.4) + core-js-compat: 3.45.1 transitivePeerDependencies: - supports-color @@ -25959,10 +27024,10 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.27.3): + babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.28.4) core-js-compat: 3.42.0 transitivePeerDependencies: - supports-color @@ -25974,24 +27039,24 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.4.1(@babel/core@7.27.3): + babel-plugin-polyfill-regenerator@0.4.1(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.28.4) transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.26.9): + babel-plugin-polyfill-regenerator@0.6.5(@babel/core@7.26.9): dependencies: '@babel/core': 7.26.9 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.9) + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.26.9) transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.27.3): + babel-plugin-polyfill-regenerator@0.6.5(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.3) + '@babel/core': 7.28.4 + '@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.4) transitivePeerDependencies: - supports-color @@ -26009,9 +27074,9 @@ snapshots: transitivePeerDependencies: - '@babel/core' - babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.27.3): + babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.28.4): dependencies: - '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.27.3) + '@babel/plugin-syntax-flow': 7.27.1(@babel/core@7.28.4) transitivePeerDependencies: - '@babel/core' @@ -26034,24 +27099,24 @@ snapshots: '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.26.9) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.26.9) - babel-preset-current-node-syntax@1.1.0(@babel/core@7.27.3): - dependencies: - '@babel/core': 7.27.3 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.27.3) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.27.3) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.27.3) - '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.27.3) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.27.3) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.27.3) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.27.3) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.27.3) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.27.3) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.27.3) + babel-preset-current-node-syntax@1.1.0(@babel/core@7.28.4): + dependencies: + '@babel/core': 7.28.4 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.28.4) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.28.4) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.28.4) + '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.28.4) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.28.4) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.28.4) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.28.4) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.28.4) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.28.4) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.28.4) babel-preset-jest@29.6.3(@babel/core@7.26.9): dependencies: @@ -26059,14 +27124,45 @@ snapshots: babel-plugin-jest-hoist: 29.6.3 babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.9) - babel-preset-jest@29.6.3(@babel/core@7.27.3): + babel-preset-jest@29.6.3(@babel/core@7.28.4): dependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.27.3) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.28.4) balanced-match@1.0.2: {} + bare-addon-resolve@1.9.4(bare-url@2.2.2): + dependencies: + bare-module-resolve: 1.11.1(bare-url@2.2.2) + bare-semver: 1.0.1 + optionalDependencies: + bare-url: 2.2.2 + optional: true + + bare-module-resolve@1.11.1(bare-url@2.2.2): + dependencies: + bare-semver: 1.0.1 + optionalDependencies: + bare-url: 2.2.2 + optional: true + + bare-os@3.6.2: + optional: true + + bare-path@3.0.0: + dependencies: + bare-os: 3.6.2 + optional: true + + bare-semver@1.0.1: + optional: true + + bare-url@2.2.2: + dependencies: + bare-path: 3.0.0 + optional: true + base-x@3.0.11: dependencies: safe-buffer: 5.2.1 @@ -26075,6 +27171,8 @@ snapshots: base-x@5.0.1: {} + base32.js@0.1.0: {} + base64-js@1.5.1: {} base64-sol@1.0.1: {} @@ -26116,6 +27214,8 @@ snapshots: bignumber.js@9.3.0: {} + bignumber.js@9.3.1: {} + binary-extensions@2.3.0: {} bindings@1.5.0: @@ -26176,6 +27276,8 @@ snapshots: bowser@2.11.0: {} + bowser@2.12.1: {} + boxen@5.1.2: dependencies: ansi-align: 3.0.1 @@ -26263,6 +27365,13 @@ snapshots: node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.24.5) + browserslist@4.25.4: + dependencies: + caniuse-lite: 1.0.30001741 + electron-to-chromium: 1.5.215 + node-releases: 2.0.20 + update-browserslist-db: 1.1.3(browserslist@4.25.4) + bs-logger@0.2.6: dependencies: fast-json-stable-stringify: 2.1.0 @@ -26299,6 +27408,8 @@ snapshots: dependencies: node-int64: 0.4.0 + buffer-equal-constant-time@1.0.1: {} + buffer-from@1.1.2: {} buffer-layout@1.2.2: {} @@ -26385,9 +27496,9 @@ snapshots: camelcase@6.3.0: {} - camera-controls@3.1.0(three@0.160.1): + camera-controls@3.1.0(three@0.160.0): dependencies: - three: 0.160.1 + three: 0.160.0 caniuse-api@3.0.0: dependencies: @@ -26398,6 +27509,8 @@ snapshots: caniuse-lite@1.0.30001718: {} + caniuse-lite@1.0.30001741: {} + case@1.6.3: {} cashaddrjs@0.4.4: @@ -26419,7 +27532,7 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.4.1: {} + chalk@5.6.2: {} char-regex@1.0.2: {} @@ -26598,6 +27711,8 @@ snapshots: commander@13.1.0: {} + commander@14.0.0: {} + commander@2.20.3: {} commander@3.0.2: {} @@ -26637,6 +27752,10 @@ snapshots: dependencies: browserslist: 4.24.5 + core-js-compat@3.45.1: + dependencies: + browserslist: 4.25.4 + core-util-is@1.0.3: {} cosmiconfig@5.2.1: @@ -26671,7 +27790,7 @@ snapshots: dependencies: cipher-base: 1.0.6 inherits: 2.0.4 - ripemd160: 2.0.2 + ripemd160: 2.0.1 sha.js: 2.4.12 create-hash@1.2.0: @@ -26706,13 +27825,28 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)): + create-jest@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)): + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + + create-jest@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -26721,13 +27855,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + create-jest@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -26748,12 +27882,6 @@ snapshots: transitivePeerDependencies: - encoding - cross-fetch@3.2.0(encoding@0.1.13): - dependencies: - node-fetch: 2.7.0(encoding@0.1.13) - transitivePeerDependencies: - - encoding - cross-fetch@4.0.0(encoding@0.1.13): dependencies: node-fetch: 2.7.0(encoding@0.1.13) @@ -26917,7 +28045,7 @@ snapshots: date-fns@2.30.0: dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 dateformat@4.6.3: {} @@ -26996,9 +28124,9 @@ snapshots: depd@2.0.0: {} - derive-valtio@0.1.0(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0)): + derive-valtio@0.1.0(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0)): dependencies: - valtio: 1.13.2(@types/react@18.2.14)(react@18.2.0) + valtio: 1.13.2(@types/react@18.2.25)(react@18.2.0) derive-valtio@0.1.0(valtio@1.13.2(@types/react@18.3.3)(react@18.3.1)): dependencies: @@ -27055,13 +28183,9 @@ snapshots: dependencies: esutils: 2.0.3 - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dom-helpers@5.2.1: dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 csstype: 3.1.3 dom-serializer@1.4.1: @@ -27112,18 +28236,22 @@ snapshots: duplexify@4.1.3: dependencies: - end-of-stream: 1.4.4 + end-of-stream: 1.4.5 inherits: 2.0.4 readable-stream: 3.6.2 stream-shift: 1.0.3 eastasianwidth@0.2.0: {} + ecdsa-sig-formatter@1.0.11: + dependencies: + safe-buffer: 5.2.1 + eciesjs@0.4.15: dependencies: '@ecies/ciphers': 0.2.3(@noble/ciphers@1.3.0) '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.7 '@noble/hashes': 1.8.0 ecpair@2.1.0: @@ -27140,6 +28268,8 @@ snapshots: electron-to-chromium@1.5.160: {} + electron-to-chromium@1.5.215: {} + elliptic@6.6.1: dependencies: bn.js: 4.12.2 @@ -27174,12 +28304,16 @@ snapshots: dependencies: once: 1.4.0 + end-of-stream@1.4.5: + dependencies: + once: 1.4.0 + engine.io-client@6.6.3(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@socket.io/component-emitter': 3.1.2 debug: 4.3.7 engine.io-parser: 5.2.3 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) xmlhttprequest-ssl: 2.1.2 transitivePeerDependencies: - bufferutil @@ -27365,196 +28499,61 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-config-next@14.2.25(eslint@8.56.0)(typescript@5.1.3): - dependencies: - '@next/eslint-plugin-next': 14.2.25 - '@rushstack/eslint-patch': 1.11.0 - '@typescript-eslint/eslint-plugin': 8.33.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint@8.56.0)(typescript@5.1.3) - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - eslint: 8.56.0 - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@8.56.0) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0) - eslint-plugin-jsx-a11y: 6.10.2(eslint@8.56.0) - eslint-plugin-react: 7.37.5(eslint@8.56.0) - eslint-plugin-react-hooks: 5.0.0-canary-7118f5dd7-20230705(eslint@8.56.0) - optionalDependencies: - typescript: 5.1.3 - transitivePeerDependencies: - - eslint-import-resolver-webpack - - eslint-plugin-import-x - - supports-color - - eslint-config-next@14.2.25(eslint@8.56.0)(typescript@5.4.3): - dependencies: - '@next/eslint-plugin-next': 14.2.25 - '@rushstack/eslint-patch': 1.11.0 - '@typescript-eslint/eslint-plugin': 8.33.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint@8.56.0)(typescript@5.4.3) - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - eslint: 8.56.0 - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@8.56.0) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0) - eslint-plugin-jsx-a11y: 6.10.2(eslint@8.56.0) - eslint-plugin-react: 7.37.5(eslint@8.56.0) - eslint-plugin-react-hooks: 5.0.0-canary-7118f5dd7-20230705(eslint@8.56.0) - optionalDependencies: - typescript: 5.4.3 - transitivePeerDependencies: - - eslint-import-resolver-webpack - - eslint-plugin-import-x - - supports-color - - eslint-config-next@15.5.2(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3): - dependencies: - '@next/eslint-plugin-next': 15.5.2 - '@rushstack/eslint-patch': 1.11.0 - '@typescript-eslint/eslint-plugin': 8.33.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) - '@typescript-eslint/parser': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) - eslint: 9.34.0(jiti@2.5.1) - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@9.34.0(jiti@2.5.1)) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.34.0(jiti@2.5.1)) - eslint-plugin-jsx-a11y: 6.10.2(eslint@9.34.0(jiti@2.5.1)) - eslint-plugin-react: 7.37.5(eslint@9.34.0(jiti@2.5.1)) - eslint-plugin-react-hooks: 5.2.0(eslint@9.34.0(jiti@2.5.1)) - optionalDependencies: - typescript: 5.4.3 - transitivePeerDependencies: - - eslint-import-resolver-webpack - - eslint-plugin-import-x - - supports-color - - eslint-import-resolver-node@0.3.9: - dependencies: - debug: 3.2.7 - is-core-module: 2.16.1 - resolve: 1.22.10 - transitivePeerDependencies: - - supports-color - - eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.31.0)(eslint@8.56.0): - dependencies: - '@nolyfill/is-core-module': 1.0.39 - debug: 4.4.1(supports-color@8.1.1) - eslint: 8.56.0 - get-tsconfig: 4.10.1 - is-bun-module: 2.0.0 - stable-hash: 0.0.5 - tinyglobby: 0.2.14 - unrs-resolver: 1.7.6 - optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0) - transitivePeerDependencies: - - supports-color - - eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.31.0)(eslint@9.34.0(jiti@2.5.1)): - dependencies: - '@nolyfill/is-core-module': 1.0.39 - debug: 4.4.1(supports-color@8.1.1) - eslint: 9.34.0(jiti@2.5.1) - get-tsconfig: 4.10.1 - is-bun-module: 2.0.0 - stable-hash: 0.0.5 - tinyglobby: 0.2.14 - unrs-resolver: 1.7.6 - optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.34.0(jiti@2.5.1)) - transitivePeerDependencies: - - supports-color - - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0): - dependencies: - debug: 3.2.7 - optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.1.3) - eslint: 8.56.0 - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@8.56.0) - transitivePeerDependencies: - - supports-color - - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0): + eslint-config-next@15.5.2(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3): dependencies: - debug: 3.2.7 - optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.4.3) - eslint: 8.56.0 + '@next/eslint-plugin-next': 15.5.2 + '@rushstack/eslint-patch': 1.11.0 + '@typescript-eslint/eslint-plugin': 8.33.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/parser': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) + eslint: 9.35.0(jiti@2.5.1) eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@8.56.0) + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@9.35.0(jiti@2.5.1)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.35.0(jiti@2.5.1)) + eslint-plugin-jsx-a11y: 6.10.2(eslint@9.35.0(jiti@2.5.1)) + eslint-plugin-react: 7.37.5(eslint@9.35.0(jiti@2.5.1)) + eslint-plugin-react-hooks: 5.2.0(eslint@9.35.0(jiti@2.5.1)) + optionalDependencies: + typescript: 5.4.3 transitivePeerDependencies: + - eslint-import-resolver-webpack + - eslint-plugin-import-x - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.34.0(jiti@2.5.1)): + eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7 - optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) - eslint: 9.34.0(jiti@2.5.1) - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@9.34.0(jiti@2.5.1)) + is-core-module: 2.16.1 + resolve: 1.22.10 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0): + eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.31.0)(eslint@9.35.0(jiti@2.5.1)): dependencies: - '@rtsao/scc': 1.1.0 - array-includes: 3.1.8 - array.prototype.findlastindex: 1.2.6 - array.prototype.flat: 1.3.3 - array.prototype.flatmap: 1.3.3 - debug: 3.2.7 - doctrine: 2.1.0 - eslint: 8.56.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.1.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0) - hasown: 2.0.2 - is-core-module: 2.16.1 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.fromentries: 2.0.8 - object.groupby: 1.0.3 - object.values: 1.2.1 - semver: 7.7.2 - string.prototype.trimend: 1.0.9 - tsconfig-paths: 3.15.0 + '@nolyfill/is-core-module': 1.0.39 + debug: 4.4.1(supports-color@8.1.1) + eslint: 9.35.0(jiti@2.5.1) + get-tsconfig: 4.10.1 + is-bun-module: 2.0.0 + stable-hash: 0.0.5 + tinyglobby: 0.2.15 + unrs-resolver: 1.7.6 optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.1.3) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.35.0(jiti@2.5.1)) transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.35.0(jiti@2.5.1)): dependencies: - '@rtsao/scc': 1.1.0 - array-includes: 3.1.8 - array.prototype.findlastindex: 1.2.6 - array.prototype.flat: 1.3.3 - array.prototype.flatmap: 1.3.3 debug: 3.2.7 - doctrine: 2.1.0 - eslint: 8.56.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.33.0(eslint@8.56.0)(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.56.0) - hasown: 2.0.2 - is-core-module: 2.16.1 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.fromentries: 2.0.8 - object.groupby: 1.0.3 - object.values: 1.2.1 - semver: 7.7.2 - string.prototype.trimend: 1.0.9 - tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@8.56.0)(typescript@5.4.3) + '@typescript-eslint/parser': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) + eslint: 9.35.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@9.35.0(jiti@2.5.1)) transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.34.0(jiti@2.5.1)): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.35.0(jiti@2.5.1)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -27563,9 +28562,9 @@ snapshots: array.prototype.flatmap: 1.3.3 debug: 3.2.7 doctrine: 2.1.0 - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.34.0(jiti@2.5.1)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.35.0(jiti@2.5.1)) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -27577,32 +28576,13 @@ snapshots: string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.33.0(eslint@9.34.0(jiti@2.5.1))(typescript@5.4.3) + '@typescript-eslint/parser': 8.33.0(eslint@9.35.0(jiti@2.5.1))(typescript@5.4.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jsx-a11y@6.10.2(eslint@8.56.0): - dependencies: - aria-query: 5.3.2 - array-includes: 3.1.8 - array.prototype.flatmap: 1.3.3 - ast-types-flow: 0.0.8 - axe-core: 4.10.3 - axobject-query: 4.1.0 - damerau-levenshtein: 1.0.8 - emoji-regex: 9.2.2 - eslint: 8.56.0 - hasown: 2.0.2 - jsx-ast-utils: 3.3.5 - language-tags: 1.0.9 - minimatch: 3.1.2 - object.fromentries: 2.0.8 - safe-regex-test: 1.1.0 - string.prototype.includes: 2.0.1 - - eslint-plugin-jsx-a11y@6.10.2(eslint@9.34.0(jiti@2.5.1)): + eslint-plugin-jsx-a11y@6.10.2(eslint@9.35.0(jiti@2.5.1)): dependencies: aria-query: 5.3.2 array-includes: 3.1.8 @@ -27612,7 +28592,7 @@ snapshots: axobject-query: 4.1.0 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) hasown: 2.0.2 jsx-ast-utils: 3.3.5 language-tags: 1.0.9 @@ -27621,37 +28601,11 @@ snapshots: safe-regex-test: 1.1.0 string.prototype.includes: 2.0.1 - eslint-plugin-react-hooks@5.0.0-canary-7118f5dd7-20230705(eslint@8.56.0): - dependencies: - eslint: 8.56.0 - - eslint-plugin-react-hooks@5.2.0(eslint@9.34.0(jiti@2.5.1)): - dependencies: - eslint: 9.34.0(jiti@2.5.1) - - eslint-plugin-react@7.37.5(eslint@8.56.0): + eslint-plugin-react-hooks@5.2.0(eslint@9.35.0(jiti@2.5.1)): dependencies: - array-includes: 3.1.8 - array.prototype.findlast: 1.2.5 - array.prototype.flatmap: 1.3.3 - array.prototype.tosorted: 1.1.4 - doctrine: 2.1.0 - es-iterator-helpers: 1.2.1 - eslint: 8.56.0 - estraverse: 5.3.0 - hasown: 2.0.2 - jsx-ast-utils: 3.3.5 - minimatch: 3.1.2 - object.entries: 1.1.9 - object.fromentries: 2.0.8 - object.values: 1.2.1 - prop-types: 15.8.1 - resolve: 2.0.0-next.5 - semver: 7.7.2 - string.prototype.matchall: 4.0.12 - string.prototype.repeat: 1.0.0 + eslint: 9.35.0(jiti@2.5.1) - eslint-plugin-react@7.37.5(eslint@9.34.0(jiti@2.5.1)): + eslint-plugin-react@7.37.5(eslint@9.35.0(jiti@2.5.1)): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 @@ -27659,7 +28613,7 @@ snapshots: array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 es-iterator-helpers: 1.2.1 - eslint: 9.34.0(jiti@2.5.1) + eslint: 9.35.0(jiti@2.5.1) estraverse: 5.3.0 hasown: 2.0.2 jsx-ast-utils: 3.3.5 @@ -27673,11 +28627,6 @@ snapshots: string.prototype.matchall: 4.0.12 string.prototype.repeat: 1.0.0 - eslint-scope@7.2.2: - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - eslint-scope@8.4.0: dependencies: esrecurse: 4.3.0 @@ -27685,64 +28634,19 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} - eslint@8.56.0: - dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@8.56.0) - '@eslint-community/regexpp': 4.12.1 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 - '@humanwhocodes/config-array': 0.11.14 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.3.0 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.6 - debug: 4.4.1(supports-color@8.1.1) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.6.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 - ignore: 5.3.2 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.4 - strip-ansi: 6.0.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - - eslint@9.34.0(jiti@2.5.1): + eslint@9.35.0(jiti@2.5.1): dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@9.34.0(jiti@2.5.1)) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.35.0(jiti@2.5.1)) '@eslint-community/regexpp': 4.12.1 '@eslint/config-array': 0.21.0 '@eslint/config-helpers': 0.3.1 '@eslint/core': 0.15.2 '@eslint/eslintrc': 3.3.1 - '@eslint/js': 9.34.0 + '@eslint/js': 9.35.0 '@eslint/plugin-kit': 0.3.5 - '@humanfs/node': 0.16.6 + '@humanfs/node': 0.16.7 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.4.3 '@types/estree': 1.0.8 @@ -27782,12 +28686,6 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.15.0) eslint-visitor-keys: 4.2.1 - espree@9.6.1: - dependencies: - acorn: 8.14.1 - acorn-jsx: 5.3.2(acorn@8.14.1) - eslint-visitor-keys: 3.4.3 - esprima@4.0.1: {} esquery@1.6.0: @@ -27802,8 +28700,6 @@ snapshots: estree-walker@0.6.1: {} - estree-walker@1.0.1: {} - estree-walker@2.0.2: {} esutils@2.0.3: {} @@ -27869,6 +28765,14 @@ snapshots: '@scure/bip32': 1.4.0 '@scure/bip39': 1.3.0 + ethereum-cryptography@3.2.0: + dependencies: + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.0 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + ethereumjs-abi@0.6.8: dependencies: bn.js: 4.12.2 @@ -27936,7 +28840,7 @@ snapshots: '@types/node': 18.15.13 aes-js: 4.0.0-beta.5 tslib: 2.4.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -27949,7 +28853,7 @@ snapshots: '@types/node': 22.7.5 aes-js: 4.0.0-beta.5 tslib: 2.7.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -27971,6 +28875,8 @@ snapshots: events@3.3.0: {} + eventsource@2.0.2: {} + evp_bytestokey@1.0.3: dependencies: md5.js: 1.3.5 @@ -28006,7 +28912,7 @@ snapshots: extension-port-stream@3.0.0: dependencies: - readable-stream: 4.7.0 + readable-stream: 3.6.2 webextension-polyfill: 0.10.0 external-editor@3.1.0: @@ -28057,9 +28963,13 @@ snapshots: dependencies: bser: 2.1.1 - fdir@6.4.5(picomatch@4.0.2): + fdir@6.5.0(picomatch@4.0.3): optionalDependencies: - picomatch: 4.0.2 + picomatch: 4.0.3 + + feaxios@0.0.23: + dependencies: + is-retry-allowed: 3.0.0 fetch@1.1.0: dependencies: @@ -28074,10 +28984,6 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - file-entry-cache@6.0.1: - dependencies: - flat-cache: 3.2.0 - file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -28141,12 +29047,6 @@ snapshots: micromatch: 4.0.8 pkg-dir: 4.2.0 - flat-cache@3.2.0: - dependencies: - flatted: 3.3.3 - keyv: 4.5.4 - rimraf: 3.0.2 - flat-cache@4.0.1: dependencies: flatted: 3.3.3 @@ -28158,7 +29058,11 @@ snapshots: flow-enums-runtime@0.0.6: {} - flow-parser@0.272.1: {} + flow-parser@0.281.0: {} + + follow-redirects@1.15.11(debug@4.4.1): + optionalDependencies: + debug: 4.4.1(supports-color@8.1.1) follow-redirects@1.15.9(debug@4.4.1): optionalDependencies: @@ -28271,7 +29175,7 @@ snapshots: get-stream@5.2.0: dependencies: - pump: 3.0.2 + pump: 3.0.3 get-stream@6.0.1: {} @@ -28293,22 +29197,23 @@ snapshots: dependencies: is-glob: 4.0.3 - glob@10.3.10: + glob@10.4.5: dependencies: foreground-child: 3.3.1 - jackspeak: 2.3.6 + jackspeak: 3.4.3 minimatch: 9.0.5 minipass: 7.1.2 + package-json-from-dist: 1.0.1 path-scurry: 1.11.1 - glob@10.4.5: + glob@11.0.3: dependencies: foreground-child: 3.3.1 - jackspeak: 3.4.3 - minimatch: 9.0.5 + jackspeak: 4.1.1 + minimatch: 10.0.3 minipass: 7.1.2 package-json-from-dist: 1.0.1 - path-scurry: 1.11.1 + path-scurry: 2.0.0 glob@7.1.7: dependencies: @@ -28337,14 +29242,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - glob@8.0.3: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 5.1.6 - once: 1.4.0 - glob@8.1.0: dependencies: fs.realpath: 1.0.0 @@ -28355,10 +29252,6 @@ snapshots: globals@11.12.0: {} - globals@13.24.0: - dependencies: - type-fest: 0.20.2 - globals@14.0.0: {} globalthis@1.0.4: @@ -28436,17 +29329,17 @@ snapshots: hard-rejection@2.1.0: {} - hardhat-watcher@2.5.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)): + hardhat-watcher@2.5.0(hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)): dependencies: chokidar: 3.6.0 - hardhat: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + hardhat: 2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) - hardhat-watcher@2.5.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)): + hardhat-watcher@2.5.0(hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10)): dependencies: chokidar: 3.6.0 - hardhat: 2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) + hardhat: 2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10) - hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): + hardhat@2.12.7(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): dependencies: '@ethersproject/abi': 5.8.0 '@metamask/eth-sig-util': 4.0.1 @@ -28499,14 +29392,14 @@ snapshots: uuid: 8.3.2 ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): + hardhat@2.19.4(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2))(typescript@5.9.2)(utf-8-validate@5.0.10): dependencies: '@ethersproject/abi': 5.8.0 '@metamask/eth-sig-util': 4.0.1 @@ -28557,14 +29450,14 @@ snapshots: uuid: 8.3.2 ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) - typescript: 5.4.3 + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - hardhat@2.22.2(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): + hardhat@2.22.2(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): dependencies: '@ethersproject/abi': 5.8.0 '@metamask/eth-sig-util': 4.0.1 @@ -28610,7 +29503,7 @@ snapshots: uuid: 8.3.2 ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - bufferutil @@ -28618,14 +29511,14 @@ snapshots: - supports-color - utf-8-validate - hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): + hardhat@2.24.1(bufferutil@4.0.9)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3))(typescript@5.4.3)(utf-8-validate@5.0.10): dependencies: '@ethereumjs/util': 9.1.0 '@ethersproject/abi': 5.8.0 - '@nomicfoundation/edr': 0.11.0 + '@nomicfoundation/edr': 0.11.3 '@nomicfoundation/solidity-analyzer': 0.1.2 '@sentry/node': 5.30.0 - '@types/bn.js': 5.1.6 + '@types/bn.js': 5.2.0 '@types/lru-cache': 5.1.1 adm-zip: 0.4.16 aggregate-error: 3.1.0 @@ -28656,13 +29549,13 @@ snapshots: solc: 0.8.26(debug@4.4.1) source-map-support: 0.5.21 stacktrace-parser: 0.1.11 - tinyglobby: 0.2.14 + tinyglobby: 0.2.15 tsort: 0.0.1 undici: 5.29.0 uuid: 8.3.2 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) typescript: 5.4.3 transitivePeerDependencies: - bufferutil @@ -28729,7 +29622,7 @@ snapshots: dependencies: hermes-estree: 0.25.1 - hls.js@1.6.11: {} + hls.js@1.6.12: {} hmac-drbg@1.0.1: dependencies: @@ -28875,10 +29768,7 @@ snapshots: dependencies: fp-ts: 1.19.3 - ip-address@9.0.5: - dependencies: - jsbn: 1.1.0 - sprintf-js: 1.1.3 + ip-address@10.0.1: {} iron-webcrypto@1.2.1: {} @@ -28984,8 +29874,6 @@ snapshots: is-number@7.0.0: {} - is-path-inside@3.0.3: {} - is-plain-obj@1.1.0: {} is-plain-obj@2.1.0: {} @@ -29007,6 +29895,8 @@ snapshots: has-tostringtag: 1.0.2 hasown: 2.0.2 + is-retry-allowed@3.0.0: {} + is-set@2.0.3: {} is-shared-array-buffer@1.0.4: @@ -29070,13 +29960,13 @@ snapshots: transitivePeerDependencies: - encoding - isomorphic-ws@4.0.1(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + isomorphic-ws@4.0.1(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): dependencies: - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) - isomorphic-ws@5.0.0(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + isomorphic-ws@5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): dependencies: - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) isows@1.0.3(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)): dependencies: @@ -29090,10 +29980,18 @@ snapshots: dependencies: ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isows@1.0.6(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + dependencies: + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isows@1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)): dependencies: ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + isows@1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)): + dependencies: + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + istanbul-lib-coverage@3.2.2: {} istanbul-lib-instrument@5.2.1: @@ -29144,24 +30042,22 @@ snapshots: has-symbols: 1.1.0 set-function-name: 2.0.2 - its-fine@1.2.5(@types/react@18.2.14)(react@18.2.0): + its-fine@2.0.0(@types/react@19.1.12)(react@19.0.0): dependencies: - '@types/react-reconciler': 0.28.9(@types/react@18.2.14) - react: 18.2.0 + '@types/react-reconciler': 0.28.9(@types/react@19.1.12) + react: 19.0.0 transitivePeerDependencies: - '@types/react' - jackspeak@2.3.6: + jackspeak@3.4.3: dependencies: '@isaacs/cliui': 8.0.2 optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jackspeak@3.4.3: + jackspeak@4.1.1: dependencies: '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 jake@10.9.2: dependencies: @@ -29179,11 +30075,11 @@ snapshots: delay: 5.0.0 es6-promisify: 5.0.0 eyes: 0.1.8 - isomorphic-ws: 4.0.1(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isomorphic-ws: 4.0.1(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) json-stringify-safe: 5.0.1 stream-json: 1.9.1 uuid: 8.3.2 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -29239,45 +30135,126 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)): + jest-cli@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)): + dependencies: + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) + exit: 0.1.2 + import-local: 3.2.0 + jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + + jest-cli@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)): + dependencies: + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) + exit: 0.1.2 + import-local: 3.2.0 + jest-config: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + + jest-cli@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + create-jest: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + jest-config: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 transitivePeerDependencies: - - '@types/node' + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + + jest-config@29.7.0(@types/node@18.18.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@18.18.2)(typescript@5.4.3)): + dependencies: + '@babel/core': 7.26.9 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.9) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0(babel-plugin-macros@3.1.0) + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 18.18.2 + ts-node: 10.9.2(@types/node@18.18.2)(typescript@5.4.3) + transitivePeerDependencies: - babel-plugin-macros - supports-color - - ts-node - jest-cli@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@18.18.2)(typescript@5.4.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) - '@jest/test-result': 29.7.0 + '@babel/core': 7.26.9 + '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.9) chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) - exit: 0.1.2 - import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0(babel-plugin-macros@3.1.0) + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - yargs: 17.7.2 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.3.1 + ts-node: 10.9.2(@types/node@18.18.2)(typescript@5.4.3) transitivePeerDependencies: - - '@types/node' - babel-plugin-macros - supports-color - - ts-node - jest-config@29.7.0(@types/node@18.18.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@18.18.2)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)): dependencies: '@babel/core': 7.26.9 '@jest/test-sequencer': 29.7.0 @@ -29302,13 +30279,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 18.18.2 - ts-node: 10.9.2(@types/node@18.18.2)(typescript@5.4.3) + '@types/node': 20.3.1 + ts-node: 10.9.2(@types/node@20.3.1)(typescript@5.9.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@18.18.2)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)): dependencies: '@babel/core': 7.26.9 '@jest/test-sequencer': 29.7.0 @@ -29334,12 +30311,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.3.1 - ts-node: 10.9.2(@types/node@18.18.2)(typescript@5.4.3) + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)): dependencies: '@babel/core': 7.26.9 '@jest/test-sequencer': 29.7.0 @@ -29365,12 +30342,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.3.1 - ts-node: 10.9.2(@types/node@20.3.1)(typescript@5.4.3) + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.9.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)): dependencies: '@babel/core': 7.26.9 '@jest/test-sequencer': 29.7.0 @@ -29395,13 +30372,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.3.1 - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + '@types/node': 24.3.1 + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.4.3) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + jest-config@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)): dependencies: '@babel/core': 7.26.9 '@jest/test-sequencer': 29.7.0 @@ -29426,8 +30403,8 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.15.24 - ts-node: 10.9.2(@types/node@22.15.24)(typescript@5.4.3) + '@types/node': 24.3.1 + ts-node: 10.9.2(@types/node@24.3.1)(typescript@5.9.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -29664,12 +30641,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.3.1(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + jest@29.3.1(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) '@jest/types': 29.4.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + jest-cli: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -29688,24 +30665,24 @@ snapshots: - supports-color - ts-node - jest@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)): + jest@29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.4.3)) + jest-cli: 29.7.0(@types/node@20.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros - supports-color - ts-node - jest@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)): + jest@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + jest-cli: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -29722,6 +30699,8 @@ snapshots: js-base64@3.7.7: {} + js-base64@3.7.8: {} + js-sdsl@4.4.2: {} js-sha256@0.9.0: {} @@ -29741,27 +30720,25 @@ snapshots: jsbi@3.2.5: {} - jsbn@1.1.0: {} - jsc-android@250231.0.0: {} jsc-safe-url@0.2.4: {} jscodeshift@0.14.0(@babel/preset-env@7.20.2(@babel/core@7.26.9)): dependencies: - '@babel/core': 7.26.9 - '@babel/parser': 7.27.3 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.9) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.26.9) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.26.9) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.26.9) + '@babel/core': 7.28.4 + '@babel/parser': 7.28.4 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) '@babel/preset-env': 7.20.2(@babel/core@7.26.9) - '@babel/preset-flow': 7.23.3(@babel/core@7.26.9) - '@babel/preset-typescript': 7.18.6(@babel/core@7.26.9) - '@babel/register': 7.27.1(@babel/core@7.26.9) - babel-core: 7.0.0-bridge.0(@babel/core@7.26.9) + '@babel/preset-flow': 7.27.1(@babel/core@7.28.4) + '@babel/preset-typescript': 7.27.1(@babel/core@7.28.4) + '@babel/register': 7.28.3(@babel/core@7.28.4) + babel-core: 7.0.0-bridge.0(@babel/core@7.28.4) chalk: 4.1.2 - flow-parser: 0.272.1 + flow-parser: 0.281.0 graceful-fs: 4.2.11 micromatch: 4.0.8 neo-async: 2.6.2 @@ -29772,21 +30749,21 @@ snapshots: transitivePeerDependencies: - supports-color - jscodeshift@0.14.0(@babel/preset-env@7.20.2(@babel/core@7.27.3)): - dependencies: - '@babel/core': 7.26.9 - '@babel/parser': 7.27.3 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.9) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.26.9) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.26.9) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.26.9) - '@babel/preset-env': 7.20.2(@babel/core@7.27.3) - '@babel/preset-flow': 7.23.3(@babel/core@7.26.9) - '@babel/preset-typescript': 7.18.6(@babel/core@7.26.9) - '@babel/register': 7.27.1(@babel/core@7.26.9) - babel-core: 7.0.0-bridge.0(@babel/core@7.26.9) + jscodeshift@0.14.0(@babel/preset-env@7.20.2(@babel/core@7.28.4)): + dependencies: + '@babel/core': 7.28.4 + '@babel/parser': 7.28.4 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.28.4) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.28.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) + '@babel/preset-env': 7.20.2(@babel/core@7.28.4) + '@babel/preset-flow': 7.27.1(@babel/core@7.28.4) + '@babel/preset-typescript': 7.27.1(@babel/core@7.28.4) + '@babel/register': 7.28.3(@babel/core@7.28.4) + babel-core: 7.0.0-bridge.0(@babel/core@7.28.4) chalk: 4.1.2 - flow-parser: 0.272.1 + flow-parser: 0.281.0 graceful-fs: 4.2.11 micromatch: 4.0.8 neo-async: 2.6.2 @@ -29823,7 +30800,7 @@ snapshots: whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil @@ -29898,6 +30875,17 @@ snapshots: object.assign: 4.1.7 object.values: 1.2.1 + jwa@2.0.1: + dependencies: + buffer-equal-constant-time: 1.0.1 + ecdsa-sig-formatter: 1.0.11 + safe-buffer: 5.2.1 + + jws@4.0.0: + dependencies: + jwa: 2.0.1 + safe-buffer: 5.2.1 + jwt-decode@4.0.0: {} keccak@3.0.4: @@ -29952,6 +30940,8 @@ snapshots: libphonenumber-js@1.11.14: {} + libphonenumber-js@1.12.15: {} + libsodium-sumo@0.7.15: {} libsodium-wrappers-sumo@0.7.15: @@ -30024,21 +31014,21 @@ snapshots: dependencies: uc.micro: 2.1.0 - lit-element@4.2.0: + lit-element@4.2.1: dependencies: - '@lit-labs/ssr-dom-shim': 1.3.0 - '@lit/reactive-element': 2.1.0 - lit-html: 3.3.0 + '@lit-labs/ssr-dom-shim': 1.4.0 + '@lit/reactive-element': 2.1.1 + lit-html: 3.3.1 - lit-html@3.3.0: + lit-html@3.3.1: dependencies: '@types/trusted-types': 2.0.7 lit@3.1.0: dependencies: - '@lit/reactive-element': 2.1.0 - lit-element: 4.2.0 - lit-html: 3.3.0 + '@lit/reactive-element': 2.1.1 + lit-element: 4.2.1 + lit-html: 3.3.1 load-yaml-file@0.2.0: dependencies: @@ -30112,6 +31102,8 @@ snapshots: lru-cache@10.4.3: {} + lru-cache@11.2.1: {} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -30132,10 +31124,10 @@ snapshots: lunr@2.3.9: {} - maath@0.10.8(@types/three@0.178.1)(three@0.160.1): + maath@0.10.8(@types/three@0.178.1)(three@0.160.0): dependencies: '@types/three': 0.178.1 - three: 0.160.1 + three: 0.160.0 magic-string@0.30.17: dependencies: @@ -30229,15 +31221,15 @@ snapshots: crypto-js: 4.2.0 treeify: 1.1.0 - meshline@3.3.1(three@0.160.1): + meshline@3.3.1(three@0.160.0): dependencies: - three: 0.160.1 + three: 0.160.0 meshoptimizer@0.18.1: {} metro-babel-transformer@0.81.5: dependencies: - '@babel/core': 7.26.9 + '@babel/core': 7.28.4 flow-enums-runtime: 0.0.6 hermes-parser: 0.25.1 nullthrows: 1.1.1 @@ -30292,7 +31284,7 @@ snapshots: metro-minify-terser@0.81.5: dependencies: flow-enums-runtime: 0.0.6 - terser: 5.40.0 + terser: 5.44.0 metro-resolver@0.81.5: dependencies: @@ -30300,14 +31292,14 @@ snapshots: metro-runtime@0.81.5: dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 flow-enums-runtime: 0.0.6 metro-source-map@0.81.5: dependencies: - '@babel/traverse': 7.27.3 - '@babel/traverse--for-generate-function-map': '@babel/traverse@7.27.3' - '@babel/types': 7.27.3 + '@babel/traverse': 7.28.4 + '@babel/traverse--for-generate-function-map': '@babel/traverse@7.28.4' + '@babel/types': 7.28.4 flow-enums-runtime: 0.0.6 invariant: 2.2.4 metro-symbolicate: 0.81.5 @@ -30331,10 +31323,10 @@ snapshots: metro-transform-plugins@0.81.5: dependencies: - '@babel/core': 7.26.9 - '@babel/generator': 7.27.3 + '@babel/core': 7.28.4 + '@babel/generator': 7.28.3 '@babel/template': 7.27.2 - '@babel/traverse': 7.27.3 + '@babel/traverse': 7.28.4 flow-enums-runtime: 0.0.6 nullthrows: 1.1.1 transitivePeerDependencies: @@ -30342,10 +31334,10 @@ snapshots: metro-transform-worker@0.81.5(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: - '@babel/core': 7.26.9 - '@babel/generator': 7.27.3 - '@babel/parser': 7.27.3 - '@babel/types': 7.27.3 + '@babel/core': 7.28.4 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 + '@babel/types': 7.28.4 flow-enums-runtime: 0.0.6 metro: 0.81.5(bufferutil@4.0.9)(utf-8-validate@5.0.10) metro-babel-transformer: 0.81.5 @@ -30363,12 +31355,12 @@ snapshots: metro@0.81.5(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@babel/code-frame': 7.27.1 - '@babel/core': 7.26.9 - '@babel/generator': 7.27.3 - '@babel/parser': 7.27.3 + '@babel/core': 7.28.4 + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 '@babel/template': 7.27.2 - '@babel/traverse': 7.27.3 - '@babel/types': 7.27.3 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 accepts: 1.3.8 chalk: 4.1.2 ci-info: 2.0.0 @@ -30400,7 +31392,7 @@ snapshots: serialize-error: 2.1.0 source-map: 0.5.7 throat: 5.0.0 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: - bufferutil @@ -30451,6 +31443,10 @@ snapshots: minimalistic-crypto-utils@1.0.1: {} + minimatch@10.0.3: + dependencies: + '@isaacs/brace-expansion': 5.0.0 + minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -30551,7 +31547,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - next@14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + next@14.2.25(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@next/env': 14.2.25 '@swc/helpers': 0.5.5 @@ -30561,7 +31557,7 @@ snapshots: postcss: 8.4.31 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - styled-jsx: 5.1.1(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.2.0) + styled-jsx: 5.1.1(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.2.0) optionalDependencies: '@next/swc-darwin-arm64': 14.2.25 '@next/swc-darwin-x64': 14.2.25 @@ -30578,61 +31574,59 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@14.2.25(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.2.3(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@next/env': 14.2.25 - '@swc/helpers': 0.5.5 + '@next/env': 15.2.3 + '@swc/counter': 0.1.3 + '@swc/helpers': 0.5.15 busboy: 1.6.0 caniuse-lite: 1.0.30001718 - graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.3.1) + styled-jsx: 5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.25 - '@next/swc-darwin-x64': 14.2.25 - '@next/swc-linux-arm64-gnu': 14.2.25 - '@next/swc-linux-arm64-musl': 14.2.25 - '@next/swc-linux-x64-gnu': 14.2.25 - '@next/swc-linux-x64-musl': 14.2.25 - '@next/swc-win32-arm64-msvc': 14.2.25 - '@next/swc-win32-ia32-msvc': 14.2.25 - '@next/swc-win32-x64-msvc': 14.2.25 + '@next/swc-darwin-arm64': 15.2.3 + '@next/swc-darwin-x64': 15.2.3 + '@next/swc-linux-arm64-gnu': 15.2.3 + '@next/swc-linux-arm64-musl': 15.2.3 + '@next/swc-linux-x64-gnu': 15.2.3 + '@next/swc-linux-x64-musl': 15.2.3 + '@next/swc-win32-arm64-msvc': 15.2.3 + '@next/swc-win32-x64-msvc': 15.2.3 '@opentelemetry/api': 1.9.0 '@playwright/test': 1.55.0 + sharp: 0.33.5 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - next@15.2.3(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@next/env': 15.2.3 - '@swc/counter': 0.1.3 + '@next/env': 15.5.2 '@swc/helpers': 0.5.15 - busboy: 1.6.0 caniuse-lite: 1.0.30001718 postcss: 8.4.31 - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - styled-jsx: 5.1.6(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@19.0.0) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + styled-jsx: 5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.2.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.2.3 - '@next/swc-darwin-x64': 15.2.3 - '@next/swc-linux-arm64-gnu': 15.2.3 - '@next/swc-linux-arm64-musl': 15.2.3 - '@next/swc-linux-x64-gnu': 15.2.3 - '@next/swc-linux-x64-musl': 15.2.3 - '@next/swc-win32-arm64-msvc': 15.2.3 - '@next/swc-win32-x64-msvc': 15.2.3 + '@next/swc-darwin-arm64': 15.5.2 + '@next/swc-darwin-x64': 15.5.2 + '@next/swc-linux-arm64-gnu': 15.5.2 + '@next/swc-linux-arm64-musl': 15.5.2 + '@next/swc-linux-x64-gnu': 15.5.2 + '@next/swc-linux-x64-musl': 15.5.2 + '@next/swc-win32-arm64-msvc': 15.5.2 + '@next/swc-win32-x64-msvc': 15.5.2 '@opentelemetry/api': 1.9.0 '@playwright/test': 1.55.0 - sharp: 0.33.5 + sharp: 0.34.3 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - next@15.5.2(@babel/core@7.27.3)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 15.5.2 '@swc/helpers': 0.5.15 @@ -30640,7 +31634,32 @@ snapshots: postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.6(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.3.1) + styled-jsx: 5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.3.1) + optionalDependencies: + '@next/swc-darwin-arm64': 15.5.2 + '@next/swc-darwin-x64': 15.5.2 + '@next/swc-linux-arm64-gnu': 15.5.2 + '@next/swc-linux-arm64-musl': 15.5.2 + '@next/swc-linux-x64-gnu': 15.5.2 + '@next/swc-linux-x64-musl': 15.5.2 + '@next/swc-win32-arm64-msvc': 15.5.2 + '@next/swc-win32-x64-msvc': 15.5.2 + '@opentelemetry/api': 1.9.0 + '@playwright/test': 1.55.0 + sharp: 0.34.3 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros + + next@15.5.2(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + dependencies: + '@next/env': 15.5.2 + '@swc/helpers': 0.5.15 + caniuse-lite: 1.0.30001718 + postcss: 8.4.31 + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + styled-jsx: 5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 15.5.2 '@next/swc-darwin-x64': 15.5.2 @@ -30668,7 +31687,7 @@ snapshots: node-addon-api@5.1.0: {} - node-addon-api@8.3.1: {} + node-addon-api@8.5.0: {} node-dir@0.1.17: dependencies: @@ -30698,6 +31717,8 @@ snapshots: node-releases@2.0.19: {} + node-releases@2.0.20: {} + normalize-package-data@2.5.0: dependencies: hosted-git-info: 2.8.9 @@ -30733,7 +31754,7 @@ snapshots: obj-multiplex@1.0.0: dependencies: - end-of-stream: 1.4.4 + end-of-stream: 1.4.5 once: 1.4.0 readable-stream: 2.3.8 @@ -30849,7 +31870,7 @@ snapshots: '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 @@ -30863,7 +31884,7 @@ snapshots: '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.23.8) + abitype: 1.1.0(typescript@5.4.3)(zod@3.23.8) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 @@ -30877,7 +31898,7 @@ snapshots: '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 @@ -30887,10 +31908,10 @@ snapshots: ox@0.6.9(typescript@5.4.3)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 - '@noble/curves': 1.9.0 + '@noble/curves': 1.8.1 '@noble/hashes': 1.8.0 - '@scure/bip32': 1.7.0 - '@scure/bip39': 1.6.0 + '@scure/bip32': 1.6.2 + '@scure/bip39': 1.5.4 abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: @@ -30898,11 +31919,25 @@ snapshots: transitivePeerDependencies: - zod + ox@0.6.9(typescript@5.9.2)(zod@3.25.76): + dependencies: + '@adraffy/ens-normalize': 1.11.0 + '@noble/curves': 1.8.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.6.2 + '@scure/bip39': 1.5.4 + abitype: 1.0.8(typescript@5.9.2)(zod@3.25.76) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 5.9.2 + transitivePeerDependencies: + - zod + ox@0.7.1(typescript@5.4.3)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.0 + '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 @@ -30913,37 +31948,37 @@ snapshots: transitivePeerDependencies: - zod - ox@0.8.7(typescript@5.1.3)(zod@3.25.76): + ox@0.8.1(typescript@5.4.3)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.7 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.1.3)(zod@3.25.76) + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: - typescript: 5.1.3 + typescript: 5.4.3 transitivePeerDependencies: - zod - ox@0.8.7(typescript@5.4.3)(zod@3.22.4): + ox@0.8.6(typescript@5.4.3)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.7 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.22.4) + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: - zod - ox@0.8.7(typescript@5.4.3)(zod@3.23.8): + ox@0.8.7(typescript@5.4.3)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/ciphers': 1.3.0 @@ -30951,28 +31986,73 @@ snapshots: '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.23.8) + abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: - zod - ox@0.8.7(typescript@5.4.3)(zod@3.25.76): + ox@0.9.3(typescript@5.4.3)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + abitype: 1.1.0(typescript@5.4.3)(zod@3.22.4) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 5.4.3 + transitivePeerDependencies: + - zod + + ox@0.9.3(typescript@5.4.3)(zod@3.23.8): + dependencies: + '@adraffy/ens-normalize': 1.11.0 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.4.3)(zod@3.23.8) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 5.4.3 + transitivePeerDependencies: + - zod + + ox@0.9.3(typescript@5.4.3)(zod@3.25.76): + dependencies: + '@adraffy/ens-normalize': 1.11.0 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) eventemitter3: 5.0.1 optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: - zod + ox@0.9.3(typescript@5.9.2)(zod@3.25.76): + dependencies: + '@adraffy/ens-normalize': 1.11.0 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.9.2)(zod@3.25.76) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 5.9.2 + transitivePeerDependencies: + - zod + p-cancelable@2.1.1: {} p-filter@2.1.0: @@ -31078,6 +32158,11 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 + path-scurry@2.0.0: + dependencies: + lru-cache: 11.2.1 + minipass: 7.1.2 + path-type@4.0.0: {} path@0.12.7: @@ -31094,9 +32179,11 @@ snapshots: sha.js: 2.4.12 to-buffer: 1.2.1 - permissionless@0.1.45(viem@2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)): + permissionless@0.2.57(ox@0.8.7(typescript@5.4.3)(zod@3.25.76))(viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)): dependencies: - viem: 2.24.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + optionalDependencies: + ox: 0.8.7(typescript@5.4.3)(zod@3.25.76) picocolors@1.1.1: {} @@ -31104,6 +32191,8 @@ snapshots: picomatch@4.0.2: {} + picomatch@4.0.3: {} + pify@2.3.0: {} pify@3.0.0: {} @@ -31438,6 +32527,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + postcss@8.4.38: + dependencies: + nanoid: 3.3.11 + picocolors: 1.1.1 + source-map-js: 1.2.1 + postcss@8.5.6: dependencies: nanoid: 3.3.11 @@ -31448,6 +32543,8 @@ snapshots: preact@10.26.7: {} + preact@10.27.1: {} + preferred-pm@3.1.4: dependencies: find-up: 5.0.0 @@ -31532,6 +32629,11 @@ snapshots: end-of-stream: 1.4.4 once: 1.4.0 + pump@3.0.3: + dependencies: + end-of-stream: 1.4.5 + once: 1.4.0 + punycode.js@2.3.1: {} punycode@2.3.1: {} @@ -31557,9 +32659,9 @@ snapshots: qr.js: 0.0.0 react: 18.3.1 - qrcode.react@4.2.0(react@18.3.1): + qrcode.react@4.2.0(react@18.2.0): dependencies: - react: 18.3.1 + react: 18.2.0 qrcode@1.5.3: dependencies: @@ -31617,16 +32719,16 @@ snapshots: iconv-lite: 0.4.24 unpipe: 1.0.0 - react-apple-login@1.1.6(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + react-apple-login@1.1.6(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: prop-types: 15.8.1 - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) react-devtools-core@5.3.2(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: - shell-quote: 1.8.2 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + shell-quote: 1.8.3 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -31656,24 +32758,26 @@ snapshots: dependencies: react: 18.3.1 + react-hook-form@7.62.0(react@19.0.0): + dependencies: + react: 19.0.0 + react-international-phone@4.3.0(react@18.2.0): dependencies: react: 18.2.0 - react-international-phone@4.3.0(react@18.3.1): + react-international-phone@4.6.0(react@18.3.1): dependencies: react: 18.3.1 - react-international-phone@4.3.0(react@19.0.0): - dependencies: - react: 19.0.0 - react-is@16.13.1: {} react-is@18.3.1: {} react-is@19.1.0: {} + react-is@19.1.1: {} + react-lifecycles-compat@3.0.4: {} react-modal@3.16.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): @@ -31698,10 +32802,10 @@ snapshots: react: 18.3.1 react-native: 0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) - react-native-passkey@3.0.0(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0): + react-native-passkey@3.0.0(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0): dependencies: - react: 19.1.0 - react-native: 0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10) + react: 18.2.0 + react-native: 0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10) react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10): dependencies: @@ -31755,7 +32859,7 @@ snapshots: - supports-color - utf-8-validate - react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10): + react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.76.5 @@ -31764,7 +32868,7 @@ snapshots: '@react-native/gradle-plugin': 0.76.5 '@react-native/js-polyfills': 0.76.5 '@react-native/normalize-colors': 0.76.5 - '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.23)(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0) + '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.24)(react-native@0.76.5(@babel/core@7.26.9)(@babel/preset-env@7.20.2(@babel/core@7.26.9))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 @@ -31786,7 +32890,7 @@ snapshots: nullthrows: 1.1.1 pretty-format: 29.7.0 promise: 8.3.0 - react: 19.1.0 + react: 18.2.0 react-devtools-core: 5.3.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) react-refresh: 0.14.2 regenerator-runtime: 0.13.11 @@ -31797,7 +32901,7 @@ snapshots: ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) yargs: 17.7.2 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 18.3.24 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -31807,20 +32911,20 @@ snapshots: - supports-color - utf-8-validate - react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10): + react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.76.5 - '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3)) - '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4)) + '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) '@react-native/gradle-plugin': 0.76.5 '@react-native/js-polyfills': 0.76.5 '@react-native/normalize-colors': 0.76.5 - '@react-native/virtualized-lists': 0.76.5(@types/react@18.2.14)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) + '@react-native/virtualized-lists': 0.76.5(@types/react@18.2.25)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 - babel-jest: 29.7.0(@babel/core@7.27.3) + babel-jest: 29.7.0(@babel/core@7.28.4) babel-plugin-syntax-hermes-parser: 0.23.1 base64-js: 1.5.1 chalk: 4.1.2 @@ -31849,7 +32953,7 @@ snapshots: ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) yargs: 17.7.2 optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -31860,20 +32964,20 @@ snapshots: - utf-8-validate optional: true - react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10): + react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.76.5 - '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3)) - '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4)) + '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) '@react-native/gradle-plugin': 0.76.5 '@react-native/js-polyfills': 0.76.5 '@react-native/normalize-colors': 0.76.5 - '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.23)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.23)(bufferutil@4.0.9)(encoding@0.1.13)(react@19.1.0)(utf-8-validate@5.0.10))(react@19.1.0) + '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.24)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.24)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 - babel-jest: 29.7.0(@babel/core@7.27.3) + babel-jest: 29.7.0(@babel/core@7.28.4) babel-plugin-syntax-hermes-parser: 0.23.1 base64-js: 1.5.1 chalk: 4.1.2 @@ -31891,7 +32995,7 @@ snapshots: nullthrows: 1.1.1 pretty-format: 29.7.0 promise: 8.3.0 - react: 19.1.0 + react: 18.2.0 react-devtools-core: 5.3.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) react-refresh: 0.14.2 regenerator-runtime: 0.13.11 @@ -31902,7 +33006,7 @@ snapshots: ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) yargs: 17.7.2 optionalDependencies: - '@types/react': 18.3.23 + '@types/react': 18.3.24 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -31912,20 +33016,20 @@ snapshots: - supports-color - utf-8-validate - react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10): + react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.76.5 - '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.27.3)) - '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@react-native/codegen': 0.76.5(@babel/preset-env@7.20.2(@babel/core@7.28.4)) + '@react-native/community-cli-plugin': 0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) '@react-native/gradle-plugin': 0.76.5 '@react-native/js-polyfills': 0.76.5 '@react-native/normalize-colors': 0.76.5 - '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.3)(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@react-native/virtualized-lists': 0.76.5(@types/react@18.3.3)(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.3.3)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 - babel-jest: 29.7.0(@babel/core@7.27.3) + babel-jest: 29.7.0(@babel/core@7.28.4) babel-plugin-syntax-hermes-parser: 0.23.1 base64-js: 1.5.1 chalk: 4.1.2 @@ -31972,23 +33076,39 @@ snapshots: react-dom: 18.3.1(react@18.3.1) webrtc-adapter: 7.7.1 - react-reconciler@0.27.0(react@18.2.0): + react-reconciler@0.31.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.2.0 - scheduler: 0.21.0 + react: 19.0.0 + scheduler: 0.25.0 - react-redux@9.2.0(@types/react@18.2.14)(react@18.2.0)(redux@5.0.1): + react-redux@9.2.0(@types/react@18.2.25)(react@18.2.0)(redux@5.0.1): dependencies: '@types/use-sync-external-store': 0.0.6 react: 18.2.0 use-sync-external-store: 1.5.0(react@18.2.0) optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 + redux: 5.0.1 + + react-redux@9.2.0(@types/react@19.1.12)(react@19.0.0)(redux@5.0.1): + dependencies: + '@types/use-sync-external-store': 0.0.6 + react: 19.0.0 + use-sync-external-store: 1.5.0(react@19.0.0) + optionalDependencies: + '@types/react': 19.1.12 redux: 5.0.1 react-refresh@0.14.2: {} + react-remove-scroll-bar@2.3.8(@types/react@18.3.24)(react@18.3.1): + dependencies: + react: 18.3.1 + react-style-singleton: 2.2.3(@types/react@18.3.24)(react@18.3.1) + tslib: 2.8.0 + optionalDependencies: + '@types/react': 18.3.24 + react-remove-scroll-bar@2.3.8(@types/react@18.3.3)(react@18.3.1): dependencies: react: 18.3.1 @@ -31997,6 +33117,17 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + react-remove-scroll@2.5.5(@types/react@18.3.24)(react@18.3.1): + dependencies: + react: 18.3.1 + react-remove-scroll-bar: 2.3.8(@types/react@18.3.24)(react@18.3.1) + react-style-singleton: 2.2.3(@types/react@18.3.24)(react@18.3.1) + tslib: 2.8.0 + use-callback-ref: 1.3.3(@types/react@18.3.24)(react@18.3.1) + use-sidecar: 1.1.3(@types/react@18.3.24)(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.24 + react-remove-scroll@2.5.5(@types/react@18.3.3)(react@18.3.1): dependencies: react: 18.3.1 @@ -32008,6 +33139,14 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 + react-style-singleton@2.2.3(@types/react@18.3.24)(react@18.3.1): + dependencies: + get-nonce: 1.0.1 + react: 18.3.1 + tslib: 2.8.0 + optionalDependencies: + '@types/react': 18.3.24 + react-style-singleton@2.2.3(@types/react@18.3.3)(react@18.3.1): dependencies: get-nonce: 1.0.1 @@ -32016,35 +33155,35 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - react-toastify@11.0.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-toastify@11.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: clsx: 2.1.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-transition-group@4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-transition-group@4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@babel/runtime': 7.27.3 + '@babel/runtime': 7.28.4 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) - react-use-measure@2.1.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-use-measure@2.1.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - react: 18.2.0 + react: 19.0.0 optionalDependencies: - react-dom: 18.2.0(react@18.2.0) + react-dom: 19.0.0(react@19.0.0) react@18.2.0: dependencies: @@ -32056,8 +33195,6 @@ snapshots: react@19.0.0: {} - react@19.1.0: {} - read-cache@1.0.0: dependencies: pify: 2.3.0 @@ -32179,6 +33316,12 @@ snapshots: dependencies: jsesc: 3.0.2 + require-addon@1.1.0: + dependencies: + bare-addon-resolve: 1.9.4(bare-url@2.2.2) + bare-url: 2.2.2 + optional: true + require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -32253,10 +33396,10 @@ snapshots: - bufferutil - utf-8-validate - ripple-binary-codec@2.3.0(bufferutil@4.0.9)(utf-8-validate@5.0.10): + ripple-binary-codec@2.5.0(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@xrplf/isomorphic': 1.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) - bignumber.js: 9.3.0 + bignumber.js: 9.3.1 ripple-address-codec: 5.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil @@ -32362,6 +33505,7 @@ snapshots: '@rollup/rollup-win32-ia32-msvc': 4.49.0 '@rollup/rollup-win32-x64-msvc': 4.49.0 fsevents: 2.3.3 + optional: true rpc-websockets@9.1.1: dependencies: @@ -32371,7 +33515,20 @@ snapshots: buffer: 6.0.3 eventemitter3: 5.0.1 uuid: 8.3.2 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optionalDependencies: + bufferutil: 4.0.9 + utf-8-validate: 5.0.10 + + rpc-websockets@9.1.3: + dependencies: + '@swc/helpers': 0.5.17 + '@types/uuid': 8.3.4 + '@types/ws': 8.18.1 + buffer: 6.0.3 + eventemitter3: 5.0.1 + uuid: 8.3.2 + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: bufferutil: 4.0.9 utf-8-validate: 5.0.10 @@ -32429,20 +33586,16 @@ snapshots: safer-buffer@2.1.2: {} - salmon-adapter-sdk@1.1.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)): + salmon-adapter-sdk@1.1.1(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)): dependencies: - '@project-serum/sol-wallet-adapter': 0.2.6(@solana/web3.js@1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@project-serum/sol-wallet-adapter': 0.2.6(@solana/web3.js@1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.98.4(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10) eventemitter3: 4.0.7 saxes@6.0.0: dependencies: xmlchars: 2.2.0 - scheduler@0.21.0: - dependencies: - loose-envify: 1.4.0 - scheduler@0.23.2: dependencies: loose-envify: 1.4.0 @@ -32467,7 +33620,7 @@ snapshots: selfsigned@2.4.1: dependencies: - '@types/node-forge': 1.3.11 + '@types/node-forge': 1.3.14 node-forge: 1.3.1 semver@7.7.2: {} @@ -32608,7 +33761,7 @@ snapshots: shebang-regex@3.0.0: {} - shell-quote@1.8.2: {} + shell-quote@1.8.3: {} side-channel-list@1.0.0: dependencies: @@ -32686,17 +33839,22 @@ snapshots: socks-proxy-agent@8.0.5: dependencies: - agent-base: 7.1.3 + agent-base: 7.1.4 debug: 4.4.1(supports-color@8.1.1) - socks: 2.8.4 + socks: 2.8.7 transitivePeerDependencies: - supports-color - socks@2.8.4: + socks@2.8.7: dependencies: - ip-address: 9.0.5 + ip-address: 10.0.1 smart-buffer: 4.2.0 + sodium-native@4.3.3: + dependencies: + require-addon: 1.1.0 + optional: true + solady@0.0.235: {} solc@0.7.3(debug@4.4.1): @@ -32729,7 +33887,7 @@ snapshots: dependencies: command-exists: 1.2.9 commander: 8.3.0 - follow-redirects: 1.15.9(debug@4.4.1) + follow-redirects: 1.15.11(debug@4.4.1) js-sha3: 0.8.0 memorystream: 0.3.1 semver: 7.7.2 @@ -32801,8 +33959,6 @@ snapshots: sprintf-js@1.0.3: {} - sprintf-js@1.1.3: {} - stable-hash@0.0.5: {} stable@0.1.8: {} @@ -32817,10 +33973,10 @@ snapshots: dependencies: type-fest: 0.7.1 - stats-gl@2.4.2(@types/three@0.178.1)(three@0.160.1): + stats-gl@2.4.2(@types/three@0.178.1)(three@0.160.0): dependencies: '@types/three': 0.178.1 - three: 0.160.1 + three: 0.160.0 stats.js@0.17.0: {} @@ -32870,7 +34026,7 @@ snapshots: dependencies: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 string.prototype.includes@2.0.1: dependencies: @@ -32934,7 +34090,7 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-ansi@7.1.0: + strip-ansi@7.1.2: dependencies: ansi-regex: 6.1.0 @@ -32956,36 +34112,36 @@ snapshots: style-inject@0.3.0: {} - styled-jsx@5.1.1(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.2.0): + styled-jsx@5.1.1(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.2.0): dependencies: client-only: 0.0.1 react: 18.2.0 optionalDependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 babel-plugin-macros: 3.1.0 - styled-jsx@5.1.1(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.2.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 18.2.0 optionalDependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 babel-plugin-macros: 3.1.0 - styled-jsx@5.1.6(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@18.3.1): dependencies: client-only: 0.0.1 react: 18.3.1 optionalDependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 babel-plugin-macros: 3.1.0 - styled-jsx@5.1.6(@babel/core@7.27.3)(babel-plugin-macros@3.1.0)(react@19.0.0): + styled-jsx@5.1.6(@babel/core@7.28.4)(babel-plugin-macros@3.1.0)(react@19.0.0): dependencies: client-only: 0.0.1 react: 19.0.0 optionalDependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 babel-plugin-macros: 3.1.0 stylehacks@5.1.1(postcss@8.5.6): @@ -33026,9 +34182,9 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - suspend-react@0.1.3(react@18.2.0): + suspend-react@0.1.3(react@19.0.0): dependencies: - react: 18.2.0 + react: 19.0.0 svgo@2.8.0: dependencies: @@ -33127,6 +34283,10 @@ snapshots: transitivePeerDependencies: - ts-node + tailwindcss@4.1.10: {} + + tailwindcss@4.1.11: {} + tailwindcss@4.1.12: {} tapable@2.2.3: {} @@ -33146,9 +34306,9 @@ snapshots: term-size@2.2.1: {} - terser@5.40.0: + terser@5.44.0: dependencies: - '@jridgewell/source-map': 0.3.6 + '@jridgewell/source-map': 0.3.11 acorn: 8.15.0 commander: 2.20.3 source-map-support: 0.5.21 @@ -33163,8 +34323,6 @@ snapshots: text-encoding-utf-8@1.0.2: {} - text-table@0.2.0: {} - thenify-all@1.6.0: dependencies: thenify: 3.3.1 @@ -33177,11 +34335,11 @@ snapshots: dependencies: real-require: 0.1.0 - three-mesh-bvh@0.8.3(three@0.160.1): + three-mesh-bvh@0.8.3(three@0.160.0): dependencies: - three: 0.160.1 + three: 0.160.0 - three-stdlib@2.36.0(three@0.160.1): + three-stdlib@2.36.0(three@0.160.0): dependencies: '@types/draco3d': 1.4.10 '@types/offscreencanvas': 2019.7.3 @@ -33189,9 +34347,9 @@ snapshots: draco3d: 1.5.7 fflate: 0.6.10 potpack: 1.0.2 - three: 0.160.1 + three: 0.160.0 - three@0.160.1: {} + three@0.160.0: {} throat@5.0.0: {} @@ -33201,12 +34359,16 @@ snapshots: dependencies: uint8array-tools: 0.0.7 + tiny-secp256k1@2.2.4: + dependencies: + uint8array-tools: 0.0.7 + tiny-warning@1.0.3: {} - tinyglobby@0.2.14: + tinyglobby@0.2.15: dependencies: - fdir: 6.4.5(picomatch@4.0.2) - picomatch: 4.0.2 + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 tmp@0.0.33: dependencies: @@ -33247,17 +34409,17 @@ snapshots: trim-newlines@3.0.1: {} - troika-three-text@0.52.4(three@0.160.1): + troika-three-text@0.52.4(three@0.160.0): dependencies: bidi-js: 1.0.3 - three: 0.160.1 - troika-three-utils: 0.52.4(three@0.160.1) + three: 0.160.0 + troika-three-utils: 0.52.4(three@0.160.0) troika-worker-utils: 0.52.0 webgl-sdf-generator: 1.1.1 - troika-three-utils@0.52.4(three@0.160.1): + troika-three-utils@0.52.4(three@0.160.0): dependencies: - three: 0.160.1 + three: 0.160.0 troika-worker-utils@0.52.0: {} @@ -33277,10 +34439,6 @@ snapshots: - debug - utf-8-validate - ts-api-utils@2.1.0(typescript@5.1.3): - dependencies: - typescript: 5.1.3 - ts-api-utils@2.1.0(typescript@5.4.3): dependencies: typescript: 5.4.3 @@ -33292,31 +34450,31 @@ snapshots: command-line-usage: 6.1.3 string-format: 2.0.0 - ts-essentials@7.0.3(typescript@5.4.3): + ts-essentials@7.0.3(typescript@5.9.2): dependencies: - typescript: 5.4.3 + typescript: 5.9.2 ts-interface-checker@0.1.13: {} - ts-jest@29.3.1(@babel/core@7.27.3)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.27.3))(jest@29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)))(typescript@5.4.3): + ts-jest@29.3.1(@babel/core@7.28.4)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.4))(jest@29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)))(typescript@5.9.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.15.24)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3)) + jest: 29.7.0(@types/node@24.3.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.7.2 type-fest: 4.41.0 - typescript: 5.4.3 + typescript: 5.9.2 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.27.3 + '@babel/core': 7.28.4 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.27.3) + babel-jest: 29.7.0(@babel/core@7.28.4) ts-mixer@6.0.4: {} @@ -33358,14 +34516,33 @@ snapshots: yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@22.15.24)(typescript@5.4.3): + ts-node@10.9.2(@types/node@20.3.1)(typescript@5.9.2): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 20.3.1 + acorn: 8.15.0 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.9.2 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optional: true + + ts-node@10.9.2(@types/node@24.3.1)(typescript@5.4.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.15.24 + '@types/node': 24.3.1 acorn: 8.15.0 acorn-walk: 8.3.4 arg: 4.1.3 @@ -33376,6 +34553,25 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + ts-node@10.9.2(@types/node@24.3.1)(typescript@5.9.2): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 24.3.1 + acorn: 8.15.0 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.9.2 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optional: true + tsconfig-paths@3.15.0: dependencies: '@types/json5': 0.0.29 @@ -33413,9 +34609,9 @@ snapshots: wcwidth: 1.0.1 yargs: 17.7.2 - tunnel-rat@0.1.2(@types/react@18.2.14)(react@18.2.0): + tunnel-rat@0.1.2(@types/react@19.1.12)(react@19.0.0): dependencies: - zustand: 4.5.7(@types/react@18.2.14)(react@18.2.0) + zustand: 4.5.7(@types/react@19.1.12)(react@19.0.0) transitivePeerDependencies: - '@types/react' - immer @@ -33474,7 +34670,7 @@ snapshots: type-fest@4.41.0: {} - typechain@8.3.2(typescript@5.4.3): + typechain@8.3.2(typescript@5.9.2): dependencies: '@types/prettier': 2.7.3 debug: 4.4.1(supports-color@8.1.1) @@ -33485,8 +34681,8 @@ snapshots: mkdirp: 1.0.4 prettier: 2.8.8 ts-command-line-args: 2.5.1 - ts-essentials: 7.0.3(typescript@5.4.3) - typescript: 5.4.3 + ts-essentials: 7.0.3(typescript@5.9.2) + typescript: 5.9.2 transitivePeerDependencies: - supports-color @@ -33538,25 +34734,22 @@ snapshots: typeforce@1.18.0: {} - typescript@5.1.3: {} - typescript@5.4.3: {} + typescript@5.9.2: {} + typical@4.0.0: {} typical@5.2.0: {} ua-is-frozen@0.1.2: {} - ua-parser-js@2.0.3(encoding@0.1.13): + ua-parser-js@2.0.5: dependencies: - '@types/node-fetch': 2.6.12 detect-europe-js: 0.1.2 is-standalone-pwa: 0.1.1 - node-fetch: 2.7.0(encoding@0.1.13) ua-is-frozen: 0.1.2 - transitivePeerDependencies: - - encoding + undici: 7.16.0 uc.micro@2.1.0: {} @@ -33585,14 +34778,16 @@ snapshots: undici-types@6.19.8: {} - undici-types@6.21.0: {} - undici-types@7.10.0: {} + undici-types@7.16.0: {} + undici@5.29.0: dependencies: '@fastify/busboy': 2.1.1 + undici@7.16.0: {} + unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-match-property-ecmascript@2.0.0: @@ -33659,21 +34854,36 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + update-browserslist-db@1.1.3(browserslist@4.25.4): + dependencies: + browserslist: 4.25.4 + escalade: 3.2.0 + picocolors: 1.1.1 + uri-js@4.4.1: dependencies: punycode: 2.3.1 + urijs@1.19.11: {} + url-parse@1.5.10: dependencies: querystringify: 2.2.0 requires-port: 1.0.0 - usb@2.15.0: + usb@2.16.0: dependencies: - '@types/w3c-web-usb': 1.0.10 - node-addon-api: 8.3.1 + '@types/w3c-web-usb': 1.0.12 + node-addon-api: 8.5.0 node-gyp-build: 4.8.4 + use-callback-ref@1.3.3(@types/react@18.3.24)(react@18.3.1): + dependencies: + react: 18.3.1 + tslib: 2.8.0 + optionalDependencies: + '@types/react': 18.3.24 + use-callback-ref@1.3.3(@types/react@18.3.3)(react@18.3.1): dependencies: react: 18.3.1 @@ -33685,6 +34895,14 @@ snapshots: dependencies: react: 18.2.0 + use-sidecar@1.1.3(@types/react@18.3.24)(react@18.3.1): + dependencies: + detect-node-es: 1.1.0 + react: 18.3.1 + tslib: 2.8.0 + optionalDependencies: + '@types/react': 18.3.24 + use-sidecar@1.1.3(@types/react@18.3.3)(react@18.3.1): dependencies: detect-node-es: 1.1.0 @@ -33709,14 +34927,14 @@ snapshots: dependencies: react: 18.2.0 - use-sync-external-store@1.5.0(react@18.3.1): + use-sync-external-store@1.5.0(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 - usehooks-ts@3.1.1(react@19.0.0): + usehooks-ts@3.1.1(react@18.3.1): dependencies: lodash.debounce: 4.0.8 - react: 19.0.0 + react: 18.3.1 utf-8-validate@5.0.10: dependencies: @@ -33766,13 +34984,13 @@ snapshots: validator@13.12.0: {} - valtio@1.13.2(@types/react@18.2.14)(react@18.2.0): + valtio@1.13.2(@types/react@18.2.25)(react@18.2.0): dependencies: - derive-valtio: 0.1.0(valtio@1.13.2(@types/react@18.2.14)(react@18.2.0)) + derive-valtio: 0.1.0(valtio@1.13.2(@types/react@18.2.25)(react@18.2.0)) proxy-compare: 2.6.0 use-sync-external-store: 1.2.0(react@18.2.0) optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 react: 18.2.0 valtio@1.13.2(@types/react@18.3.3)(react@18.3.1): @@ -33810,19 +35028,19 @@ snapshots: - utf-8-validate - zod - viem@2.21.32(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + viem@2.21.32(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 '@noble/curves': 1.6.0 '@noble/hashes': 1.5.0 '@scure/bip32': 1.5.0 '@scure/bip39': 1.4.0 - abitype: 1.0.6(typescript@5.4.3)(zod@3.25.76) - isows: 1.0.6(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + abitype: 1.0.6(typescript@5.9.2)(zod@3.25.76) + isows: 1.0.6(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) webauthn-p256: 0.0.10 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.4.3 + typescript: 5.9.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -33871,9 +35089,9 @@ snapshots: '@scure/bip32': 1.6.2 '@scure/bip39': 1.5.4 abitype: 1.0.8(typescript@5.4.3)(zod@3.23.8) - isows: 1.0.6(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isows: 1.0.6(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) ox: 0.6.7(typescript@5.4.3)(zod@3.23.8) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -33888,9 +35106,9 @@ snapshots: '@scure/bip32': 1.6.2 '@scure/bip39': 1.5.4 abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) - isows: 1.0.6(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isows: 1.0.6(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) ox: 0.6.7(typescript@5.4.3)(zod@3.25.76) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -33915,18 +35133,35 @@ snapshots: - utf-8-validate - zod - viem@2.26.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + viem@2.24.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 '@scure/bip32': 1.6.2 '@scure/bip39': 1.5.4 - abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + abitype: 1.0.8(typescript@5.9.2)(zod@3.25.76) isows: 1.0.6(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.6.9(typescript@5.4.3)(zod@3.25.76) + ox: 0.6.9(typescript@5.9.2)(zod@3.25.76) ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.4.3 + typescript: 5.9.2 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + + viem@2.26.2(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): + dependencies: + '@noble/curves': 1.8.1 + '@noble/hashes': 1.7.1 + '@scure/bip32': 1.6.2 + '@scure/bip39': 1.5.4 + abitype: 1.0.8(typescript@5.9.2)(zod@3.25.76) + isows: 1.0.6(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.6.9(typescript@5.9.2)(zod@3.25.76) + ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optionalDependencies: + typescript: 5.9.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -33956,9 +35191,9 @@ snapshots: '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) - isows: 1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) ox: 0.7.1(typescript@5.4.3)(zod@3.25.76) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -33966,33 +35201,33 @@ snapshots: - utf-8-validate - zod - viem@2.34.0(bufferutil@4.0.9)(typescript@5.1.3)(utf-8-validate@5.0.10)(zod@3.25.76): + viem@2.33.1(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.2 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.1.3)(zod@3.25.76) - isows: 1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.8.7(typescript@5.1.3)(zod@3.25.76) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.8.1(typescript@5.4.3)(zod@3.25.76) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.1.3 + typescript: 5.4.3 transitivePeerDependencies: - bufferutil - utf-8-validate - zod - viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4): + viem@2.33.2(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.2 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.22.4) - isows: 1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.8.7(typescript@5.4.3)(zod@3.22.4) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.8.6(typescript@5.4.3)(zod@3.25.76) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -34000,15 +35235,15 @@ snapshots: - utf-8-validate - zod - viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8): + viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@noble/curves': 1.9.6 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.23.8) + abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) isows: 1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.8.7(typescript@5.4.3)(zod@3.23.8) + ox: 0.8.7(typescript@5.4.3)(zod@3.25.76) ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 @@ -34017,16 +35252,50 @@ snapshots: - utf-8-validate - zod - viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.22.4): dependencies: - '@noble/curves': 1.9.6 + '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 - abitype: 1.0.8(typescript@5.4.3)(zod@3.25.76) - isows: 1.0.7(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - ox: 0.8.7(typescript@5.4.3)(zod@3.25.76) - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + abitype: 1.1.0(typescript@5.4.3)(zod@3.22.4) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.9.3(typescript@5.4.3)(zod@3.22.4) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optionalDependencies: + typescript: 5.4.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + + viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.23.8): + dependencies: + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.4.3)(zod@3.23.8) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.9.3(typescript@5.4.3)(zod@3.23.8) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optionalDependencies: + typescript: 5.4.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + + viem@2.37.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + dependencies: + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.4.3)(zod@3.25.76) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.9.3(typescript@5.4.3)(zod@3.25.76) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -34034,6 +35303,23 @@ snapshots: - utf-8-validate - zod + viem@2.37.5(bufferutil@4.0.9)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): + dependencies: + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.1.0(typescript@5.9.2)(zod@3.25.76) + isows: 1.0.7(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + ox: 0.9.3(typescript@5.9.2)(zod@3.25.76) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optionalDependencies: + typescript: 5.9.2 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + viem@2.7.19(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.10.0 @@ -34074,14 +35360,14 @@ snapshots: dependencies: xml-name-validator: 4.0.0 - wagmi@2.15.4(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@tanstack/react-query@5.77.2(react@18.2.0))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76): + wagmi@2.15.4(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.77.2)(@tanstack/react-query@5.77.2(react@18.2.0))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76): dependencies: '@tanstack/react-query': 5.77.2(react@18.2.0) - '@wagmi/connectors': 5.8.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.27.3)(@babel/preset-env@7.20.2(@babel/core@7.27.3))(@types/react@18.2.14)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.14)(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) - '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.14)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.4.0(react@18.2.0))(viem@2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) + '@wagmi/connectors': 5.8.3(@react-native-async-storage/async-storage@1.24.0(react-native@0.76.5(@babel/core@7.28.4)(@babel/preset-env@7.20.2(@babel/core@7.28.4))(@types/react@18.2.25)(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(utf-8-validate@5.0.10)))(@types/react@18.2.25)(@wagmi/core@2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.5.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)))(bufferutil@4.0.9)(encoding@0.1.13)(react@18.2.0)(typescript@5.4.3)(utf-8-validate@5.0.10)(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76))(zod@3.25.76) + '@wagmi/core': 2.17.2(@tanstack/query-core@5.77.2)(@types/react@18.2.25)(react@18.2.0)(typescript@5.4.3)(use-sync-external-store@1.4.0(react@18.2.0))(viem@2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76)) react: 18.2.0 use-sync-external-store: 1.4.0(react@18.2.0) - viem: 2.34.0(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + viem: 2.30.5(bufferutil@4.0.9)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) optionalDependencies: typescript: 5.4.3 transitivePeerDependencies: @@ -34145,9 +35431,9 @@ snapshots: dependencies: web3-types: 1.10.0 - web3-eth-abi@4.4.1(typescript@5.4.3)(zod@3.25.76): + web3-eth-abi@4.4.1(typescript@5.9.2)(zod@3.25.76): dependencies: - abitype: 0.7.1(typescript@5.4.3)(zod@3.25.76) + abitype: 0.7.1(typescript@5.9.2)(zod@3.25.76) web3-errors: 1.3.1 web3-types: 1.10.0 web3-utils: 4.3.3 @@ -34166,13 +35452,13 @@ snapshots: web3-utils: 4.3.3 web3-validator: 2.0.6 - web3-eth-contract@4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + web3-eth-contract@4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@ethereumjs/rlp': 5.0.2 web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-errors: 1.3.1 - web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - web3-eth-abi: 4.4.1(typescript@5.4.3)(zod@3.25.76) + web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-abi: 4.4.1(typescript@5.9.2)(zod@3.25.76) web3-types: 1.10.0 web3-utils: 4.3.3 web3-validator: 2.0.6 @@ -34183,13 +35469,13 @@ snapshots: - utf-8-validate - zod - web3-eth-ens@4.4.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + web3-eth-ens@4.4.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: '@adraffy/ens-normalize': 1.11.0 web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-errors: 1.3.1 - web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - web3-eth-contract: 4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-contract: 4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) web3-net: 4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-types: 1.10.0 web3-utils: 4.3.3 @@ -34208,10 +35494,10 @@ snapshots: web3-utils: 4.3.3 web3-validator: 2.0.6 - web3-eth-personal@4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + web3-eth-personal@4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) web3-rpc-methods: 1.3.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-types: 1.10.0 web3-utils: 4.3.3 @@ -34223,12 +35509,12 @@ snapshots: - utf-8-validate - zod - web3-eth@4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + web3-eth@4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: setimmediate: 1.0.5 web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-errors: 1.3.1 - web3-eth-abi: 4.4.1(typescript@5.4.3)(zod@3.25.76) + web3-eth-abi: 4.4.1(typescript@5.9.2)(zod@3.25.76) web3-eth-accounts: 4.3.1 web3-net: 4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-providers-ws: 4.0.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -34273,11 +35559,11 @@ snapshots: web3-providers-ws@4.0.8(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@types/ws': 8.5.3 - isomorphic-ws: 5.0.0(ws@8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + isomorphic-ws: 5.0.0(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10)) web3-errors: 1.3.1 web3-types: 1.10.0 web3-utils: 4.3.3 - ws: 8.18.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ws: 8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -34323,17 +35609,17 @@ snapshots: web3-types: 1.10.0 zod: 3.23.8 - web3@4.16.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76): + web3@4.16.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76): dependencies: web3-core: 4.7.1(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-errors: 1.3.1 - web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - web3-eth-abi: 4.4.1(typescript@5.4.3)(zod@3.25.76) + web3-eth: 4.11.1(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-abi: 4.4.1(typescript@5.9.2)(zod@3.25.76) web3-eth-accounts: 4.3.1 - web3-eth-contract: 4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) - web3-eth-ens: 4.4.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-contract: 4.7.2(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-ens: 4.4.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) web3-eth-iban: 4.0.7 - web3-eth-personal: 4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.4.3)(utf-8-validate@5.0.10)(zod@3.25.76) + web3-eth-personal: 4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(typescript@5.9.2)(utf-8-validate@5.0.10)(zod@3.25.76) web3-net: 4.1.0(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-providers-http: 4.2.0(encoding@0.1.13) web3-providers-ws: 4.0.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -34351,12 +35637,12 @@ snapshots: webauthn-p256@0.0.10: dependencies: - '@noble/curves': 1.9.0 + '@noble/curves': 1.6.0 '@noble/hashes': 1.8.0 webauthn-p256@0.0.5: dependencies: - '@noble/curves': 1.9.0 + '@noble/curves': 1.4.0 '@noble/hashes': 1.8.0 webcrypto-core@1.8.1: @@ -34489,7 +35775,7 @@ snapshots: dependencies: ansi-styles: 6.2.1 string-width: 5.1.2 - strip-ansi: 7.1.0 + strip-ansi: 7.1.2 wrappy@1.0.2: {} @@ -34509,22 +35795,27 @@ snapshots: bufferutil: 4.0.9 utf-8-validate: 5.0.10 + ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10): + optionalDependencies: + bufferutil: 4.0.9 + utf-8-validate: 5.0.10 + xml-name-validator@4.0.0: {} xmlchars@2.2.0: {} xmlhttprequest-ssl@2.1.2: {} - xrpl@4.2.5(bufferutil@4.0.9)(utf-8-validate@5.0.10): + xrpl@4.4.1(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@scure/bip32': 1.7.0 '@scure/bip39': 1.6.0 '@xrplf/isomorphic': 1.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@xrplf/secret-numbers': 1.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - bignumber.js: 9.3.0 + '@xrplf/secret-numbers': 2.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + bignumber.js: 9.3.1 eventemitter3: 5.0.1 ripple-address-codec: 5.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - ripple-binary-codec: 2.3.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + ripple-binary-codec: 2.5.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) ripple-keypairs: 2.0.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil @@ -34609,31 +35900,27 @@ snapshots: zod@3.25.76: {} - zustand@3.7.2(react@18.2.0): - optionalDependencies: - react: 18.2.0 - - zustand@4.5.7(@types/react@18.2.14)(react@18.2.0): + zustand@4.5.7(@types/react@19.1.12)(react@19.0.0): dependencies: - use-sync-external-store: 1.5.0(react@18.2.0) + use-sync-external-store: 1.5.0(react@19.0.0) optionalDependencies: - '@types/react': 18.2.14 - react: 18.2.0 + '@types/react': 19.1.12 + react: 19.0.0 - zustand@5.0.0(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.4.0(react@18.2.0)): + zustand@5.0.0(@types/react@18.2.25)(react@18.2.0)(use-sync-external-store@1.4.0(react@18.2.0)): optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 react: 18.2.0 use-sync-external-store: 1.4.0(react@18.2.0) - zustand@5.0.0(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)): + zustand@5.0.0(@types/react@18.2.25)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)): optionalDependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.25 react: 18.2.0 use-sync-external-store: 1.5.0(react@18.2.0) - zustand@5.0.8(@types/react@18.2.14)(react@18.2.0)(use-sync-external-store@1.5.0(react@18.2.0)): + zustand@5.0.8(@types/react@19.1.12)(react@19.0.0)(use-sync-external-store@1.5.0(react@19.0.0)): optionalDependencies: - '@types/react': 18.2.14 - react: 18.2.0 - use-sync-external-store: 1.5.0(react@18.2.0) + '@types/react': 19.1.12 + react: 19.0.0 + use-sync-external-store: 1.5.0(react@19.0.0) diff --git a/tsconfig.base.json b/tsconfig.base.json index 54a6f032d..c5202e0d1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,6 +1,13 @@ { - "extends": "@tsconfig/node16-strictest/tsconfig.json", "compilerOptions": { + "target": "ES2021", + "lib": ["ES2021", "DOM"], + "module": "ESNext", + "moduleResolution": "Bundler", + "verbatimModuleSyntax": true, + "strict": true, + "exactOptionalPropertyTypes": true, + "noUncheckedIndexedAccess": true, "ignoreDeprecations": "5.0", "composite": true, "declaration": true, From 034c0324740ec9b64510a08940d95fabfb5d38b8 Mon Sep 17 00:00:00 2001 From: Brian Cleary Date: Tue, 9 Sep 2025 16:53:47 -0400 Subject: [PATCH 2/3] prettier --- .../src/providers/config/ConfigProvider.tsx | 8 +- .../with-wallet-stamper/src/lib/server.ts | 4 +- packages/core/scripts/codegen.js | 38 +- packages/core/src/__clients__/core.ts | 452 +- .../core/src/__generated__/sdk-client-base.ts | 4638 +++++++++++------ .../core/src/__stampers__/passkey/base.ts | 12 +- packages/core/src/__wallet__/connector.ts | 14 +- .../core/src/__wallet__/mobile/manager.ts | 10 +- .../src/__wallet__/wallet-connect/base.ts | 34 +- packages/core/src/__wallet__/web/manager.ts | 10 +- .../src/__wallet__/web/native/ethereum.ts | 16 +- .../core/src/__wallet__/web/native/solana.ts | 8 +- packages/core/src/utils.ts | 90 +- packages/eip-1193-provider/src/errors.ts | 12 +- packages/eip-1193-provider/src/index.ts | 12 +- packages/eip-1193-provider/src/utils.ts | 12 +- packages/ethers/src/index.ts | 30 +- .../public/v1/public_api.client.ts | 344 +- .../public/v1/public_api.fetcher.ts | 212 +- packages/http/src/async.ts | 2 +- packages/http/src/base.ts | 8 +- packages/http/src/webauthn.ts | 12 +- .../react-native-passkey-stamper/src/index.ts | 10 +- .../src/providers/client/Provider.tsx | 666 +-- .../src/providers/modal/Provider.tsx | 2 +- packages/react-wallet-kit/src/utils/utils.ts | 6 +- packages/sdk-browser/scripts/codegen.js | 38 +- .../src/__clients__/browser-clients.ts | 68 +- .../src/__generated__/sdk-client-base.ts | 3121 +++++++---- .../src/__generated__/sdk_api_types.ts | 897 +++- packages/sdk-browser/src/sdk-client.ts | 14 +- .../sdk-react/src/components/auth/Google.tsx | 8 +- .../src/components/auth/PhoneInput.tsx | 2 +- .../sdk-react/src/contexts/TurnkeyContext.tsx | 4 +- packages/sdk-server/scripts/codegen.js | 38 +- .../src/__generated__/sdk-client-base.ts | 2832 ++++++---- .../src/__generated__/sdk_api_types.ts | 897 +++- packages/sdk-server/src/actions.ts | 38 +- packages/sdk-types/src/__generated__/types.ts | 1058 ++-- packages/viem/src/index.ts | 64 +- packages/wallet-stamper/src/ethereum.ts | 2 +- 41 files changed, 9634 insertions(+), 6109 deletions(-) diff --git a/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx b/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx index e318ffeea..c1a804161 100644 --- a/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx +++ b/examples/react-wallet-kit/src/providers/config/ConfigProvider.tsx @@ -34,7 +34,7 @@ type ConfigContextValue = { hardwareAccelerationEnabled: boolean; setConfig: ( newConfig: Partial, - demoConfig?: Partial + demoConfig?: Partial, ) => void; }; @@ -70,7 +70,7 @@ export function TurnkeyConfigProvider({ const panelWidth = 384; const setConfig = ( newConfig: Partial, - demoConfig?: Partial + demoConfig?: Partial, ) => { setConfigState((prev) => ({ ...prev, ...newConfig })); setDemoConfig((prev) => ({ ...prev, ...demoConfig })); @@ -125,7 +125,7 @@ export function TurnkeyConfigProvider({
{/* Sliding Config Panel */} @@ -174,7 +174,7 @@ export function TurnkeyConfigProvider({ onClick={() => setPanelOpen(!panelOpen)} className={clsx( "fixed z-10 cursor-pointer top-1/2 -translate-y-1/2 w-[80px] h-[250px] rounded-r-xl bg-panel-background-light dark:bg-panel-background-dark hidden sm:flex flex-col items-center justify-center transition-all ease-out", - panelOpen ? " -translate-x-full" : "" + panelOpen ? " -translate-x-full" : "", )} >
diff --git a/examples/with-wallet-stamper/src/lib/server.ts b/examples/with-wallet-stamper/src/lib/server.ts index 9aaac8f9a..2cebbfb81 100644 --- a/examples/with-wallet-stamper/src/lib/server.ts +++ b/examples/with-wallet-stamper/src/lib/server.ts @@ -57,7 +57,7 @@ export const createUserSubOrg = async ({ { baseUrl: NEXT_PUBLIC_BASE_URL, }, - stamper + stamper, ); const activityPoller = createActivityPoller({ @@ -136,7 +136,7 @@ export const getSubOrgByPublicKey = async (publicKey: string) => { { baseUrl: NEXT_PUBLIC_BASE_URL, }, - stamper + stamper, ); const subOrg = await client.getSubOrgIds({ diff --git a/packages/core/scripts/codegen.js b/packages/core/scripts/codegen.js index b14f4f008..9726fffc5 100644 --- a/packages/core/scripts/codegen.js +++ b/packages/core/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json" + "public_api.swagger.json", ); const AUTH_PROXY_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "auth_proxy.swagger.json" + "auth_proxy.swagger.json", ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts" + "sdk-client-base.ts", ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -110,11 +110,11 @@ function extractLatestVersions(definitions) { const generateSDKClientFromSwagger = async ( swaggerSpec, authProxySwaggerSpec, - targetPath + targetPath, ) => { const namespace = swaggerSpec.tags?.find((item) => item.name != null)?.name; const authProxyNamespace = authProxySwaggerSpec.tags?.find( - (item) => item.name != null + (item) => item.name != null, )?.name; /** @type {Array} */ @@ -124,18 +124,18 @@ const generateSDKClientFromSwagger = async ( const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";', ); imports.push( - 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeyHttpClientConfig, type StorageBase } from "../__types__/base";' + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeyHttpClientConfig, type StorageBase } from "../__types__/base";', ); imports.push('import { VERSION } from "../__generated__/version";'); imports.push('import type * as SdkTypes from "@turnkey/sdk-types";'); imports.push( - 'import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types";' + 'import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types";', ); imports.push('import { StamperType } from "../__types__/base";'); @@ -338,7 +338,7 @@ const generateSDKClientFromSwagger = async ( const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "" + "", ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -367,7 +367,7 @@ const generateSDKClientFromSwagger = async ( ...input, organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }, stampWith); - }` + }`, ); } else if (methodType === "activity") { // For activity methods @@ -391,7 +391,7 @@ const generateSDKClientFromSwagger = async ( timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}", stampWith); - }` + }`, ); } else if (methodType === "activityDecision") { // For activityDecision methods @@ -408,7 +408,7 @@ const generateSDKClientFromSwagger = async ( .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }, stampWith); - }` + }`, ); } @@ -447,7 +447,7 @@ const generateSDKClientFromSwagger = async ( stamp: stamp, url: fullUrl, }; - }` + }`, ); } @@ -458,7 +458,7 @@ const generateSDKClientFromSwagger = async ( const operationNameWithoutNamespace = operationId.replace( new RegExp(`${authProxyNamespace}_`), - "" + "", ); const methodName = `proxy${ @@ -476,7 +476,7 @@ const generateSDKClientFromSwagger = async ( : "" }): Promise => { return this.authProxyRequest("${endpointPath}", input); - }` + }`, ); } @@ -485,7 +485,7 @@ const generateSDKClientFromSwagger = async ( await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), ); }; @@ -498,11 +498,11 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8" + "utf-8", ); const authProxySwaggerSpecFile = await fs.promises.readFile( AUTH_PROXY_SWAGGER_PATH, - "utf-8" + "utf-8", ); const swaggerSpec = JSON.parse(swaggerSpecFile); @@ -511,6 +511,6 @@ async function main() { await generateSDKClientFromSwagger( swaggerSpec, authProxySwaggerSpec, - TARGET_SDK_CLIENT_PATH + TARGET_SDK_CLIENT_PATH, ); } diff --git a/packages/core/src/__clients__/core.ts b/packages/core/src/__clients__/core.ts index e0c54bade..0e3a1e34a 100644 --- a/packages/core/src/__clients__/core.ts +++ b/packages/core/src/__clients__/core.ts @@ -123,7 +123,7 @@ export class TurnkeyClient { // Users can pass in their own stampers, or we will create them. Should we remove this? apiKeyStamper?: CrossPlatformApiKeyStamper, passkeyStamper?: CrossPlatformPasskeyStamper, - walletManager?: WalletManagerBase + walletManager?: WalletManagerBase, ) { this.config = config; @@ -146,7 +146,7 @@ export class TurnkeyClient { if (this.config.passkeyConfig) { this.passkeyStamper = new CrossPlatformPasskeyStamper( - this.config.passkeyConfig + this.config.passkeyConfig, ); await this.passkeyStamper.init(); } @@ -198,7 +198,7 @@ export class TurnkeyClient { return withTurnkeyErrorHandling( async () => { const name = isValidPasskeyName( - params?.name || `passkey-${Date.now()}` + params?.name || `passkey-${Date.now()}`, ); let passkey: { encodedChallenge: string; attestation: v1Attestation }; if (isWeb()) { @@ -214,7 +214,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( "Failed to create React Native passkey", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } passkey = { @@ -229,7 +229,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( "Failed to create React Native passkey", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } passkey = { @@ -239,7 +239,7 @@ export class TurnkeyClient { } else { throw new TurnkeyError( "Unsupported platform for passkey creation", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -254,7 +254,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.SELECT_PASSKEY_CANCELLED, }, }, - } + }, ); }; @@ -274,7 +274,7 @@ export class TurnkeyClient { async () => { if (params?.sessionKey) { const session = await this.storageManager.getSession( - params.sessionKey + params.sessionKey, ); this.storageManager.clearSession(params.sessionKey); this.apiKeyStamper?.deleteKeyPair(session?.publicKey!); @@ -287,7 +287,7 @@ export class TurnkeyClient { } else { throw new TurnkeyError( "No active session found to log out from.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } } @@ -295,7 +295,7 @@ export class TurnkeyClient { { errorMessage: "Failed to log out", errorCode: TurnkeyErrorCodes.LOGOUT_ERROR, - } + }, ); }; @@ -334,7 +334,7 @@ export class TurnkeyClient { if (!generatedPublicKey) { throw new TurnkeyError( "A publickey could not be found or generated.", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } const sessionResponse = await this.httpClient.stampLogin( @@ -343,7 +343,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Passkey + StamperType.Passkey, ); await this.storeSession({ @@ -381,12 +381,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -438,7 +438,7 @@ export class TurnkeyClient { if (!passkey) { throw new TurnkeyError( "Failed to create passkey: encoded challenge or attestation is missing", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } @@ -470,7 +470,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.PASSKEY_SIGNUP_AUTH_ERROR + TurnkeyErrorCodes.PASSKEY_SIGNUP_AUTH_ERROR, ); } @@ -511,12 +511,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -536,7 +536,7 @@ export class TurnkeyClient { if (!this.walletManager) { throw new TurnkeyError( "Wallet manager is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } @@ -545,7 +545,7 @@ export class TurnkeyClient { { errorMessage: "Unable to get wallet providers", errorCode: TurnkeyErrorCodes.FETCH_WALLETS_ERROR, - } + }, ); }; @@ -564,7 +564,7 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } await this.walletManager.connector.connectWalletAccount(walletProvider); @@ -572,7 +572,7 @@ export class TurnkeyClient { { errorMessage: "Unable to connect wallet account", errorCode: TurnkeyErrorCodes.CONNECT_WALLET_ACCOUNT_ERROR, - } + }, ); }; @@ -591,18 +591,18 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } await this.walletManager.connector.disconnectWalletAccount( - walletProvider + walletProvider, ); }, { errorMessage: "Unable to disconnect wallet account", errorCode: TurnkeyErrorCodes.DISCONNECT_WALLET_ACCOUNT_ERROR, - } + }, ); }; @@ -634,14 +634,14 @@ export class TurnkeyClient { if (!this.walletManager?.connector) { throw new TurnkeyError( "Wallet connector is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } if (walletAccount.source === WalletSource.Embedded) { throw new TurnkeyError( "You can only switch chains for connected wallet accounts", - TurnkeyErrorCodes.NOT_FOUND + TurnkeyErrorCodes.NOT_FOUND, ); } @@ -649,13 +649,13 @@ export class TurnkeyClient { walletProviders ?? (await this.fetchWalletProviders()); const walletProvider = findWalletProviderFromAddress( walletAccount.address, - providers + providers, ); if (!walletProvider) { throw new TurnkeyError( "Wallet provider not found", - TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR + TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR, ); } @@ -666,13 +666,13 @@ export class TurnkeyClient { await this.walletManager.connector.switchChain( walletProvider, - chainOrId + chainOrId, ); }, { errorMessage: "Unable to switch wallet account chain", errorCode: TurnkeyErrorCodes.SWITCH_WALLET_CHAIN_ERROR, - } + }, ); }; @@ -707,7 +707,7 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } const sessionKey = params.sessionKey || SessionKey.DefaultSessionkey; @@ -719,13 +719,13 @@ export class TurnkeyClient { if (!publicKey) { throw new TurnkeyError( "A publickey could not be found or generated.", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider + walletProvider, ); const sessionResponse = await this.httpClient.stampLogin( @@ -734,7 +734,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Wallet + StamperType.Wallet, ); await this.storeSession({ @@ -748,7 +748,7 @@ export class TurnkeyClient { sessionToken: sessionResponse.session, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey + publicKey, ), }; }, @@ -767,12 +767,12 @@ export class TurnkeyClient { throw new TurnkeyError( "Failed to clean up generated key pair", TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -813,7 +813,7 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } @@ -821,18 +821,18 @@ export class TurnkeyClient { this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider + walletProvider, ); const publicKey = await this.walletManager.stamper.getPublicKey( walletProvider.interfaceType, - walletProvider + walletProvider, ); if (!publicKey) { throw new TurnkeyError( "Failed to get public key from wallet", - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, ); } @@ -860,7 +860,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, ); } @@ -888,7 +888,7 @@ export class TurnkeyClient { sessionToken: sessionResponse.session, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey + publicKey, ), }; }, @@ -907,12 +907,12 @@ export class TurnkeyClient { throw new TurnkeyError( "Failed to clean up generated key pair", TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -954,14 +954,14 @@ export class TurnkeyClient { if (!this.walletManager?.stamper) { throw new TurnkeyError( "Wallet stamper is not initialized", - TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED + TurnkeyErrorCodes.WALLET_MANAGER_COMPONENT_NOT_INITIALIZED, ); } generatedPublicKey = await this.apiKeyStamper?.createKeyPair(); this.walletManager.stamper.setProvider( walletProvider.interfaceType, - walletProvider + walletProvider, ); // here we sign the request with the wallet, but we don't send it to Turnkey yet @@ -975,7 +975,7 @@ export class TurnkeyClient { organizationId: this.config.organizationId, expirationSeconds, }, - StamperType.Wallet + StamperType.Wallet, ); }, { @@ -987,13 +987,13 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.CONNECT_WALLET_CANCELLED, }, }, - } + }, ); if (!signedRequest) { throw new TurnkeyError( "Failed to create stamped request for wallet login", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -1003,7 +1003,7 @@ export class TurnkeyClient { // for Ethereum, there is no way to get the public key from the wallet address // so we derive it from the signed request publicKey = getPublicKeyFromStampHeader( - signedRequest.stamp.stampHeaderValue + signedRequest.stamp.stampHeaderValue, ); break; @@ -1016,7 +1016,7 @@ export class TurnkeyClient { // which it has to be since they just called stampStampLogin() publicKey = await this.walletManager.stamper.getPublicKey( walletProvider.interfaceType, - walletProvider + walletProvider, ); break; } @@ -1024,7 +1024,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( `Unsupported interface type: ${walletProvider.interfaceType}`, - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -1039,7 +1039,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, ); } @@ -1065,7 +1065,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Sign up failed`, - TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR + TurnkeyErrorCodes.WALLET_SIGNUP_AUTH_ERROR, ); } } @@ -1089,7 +1089,7 @@ export class TurnkeyClient { `Stamped request failed`, res.status, TurnkeyErrorCodes.WALLET_LOGIN_AUTH_ERROR, - errorText + errorText, ); } @@ -1099,7 +1099,7 @@ export class TurnkeyClient { if (!sessionToken) { throw new TurnkeyError( "Session token not found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -1112,7 +1112,7 @@ export class TurnkeyClient { sessionToken: sessionToken, address: addressFromPublicKey( walletProvider.chainInfo.namespace, - publicKey + publicKey, ), // if the subOrganizationId exists, it means the user is logging in @@ -1130,12 +1130,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -1162,7 +1162,7 @@ export class TurnkeyClient { if (!initOtpRes || !initOtpRes.otpId) { throw new TurnkeyError( "Failed to initialize OTP: otpId is missing", - TurnkeyErrorCodes.INIT_OTP_ERROR + TurnkeyErrorCodes.INIT_OTP_ERROR, ); } @@ -1178,7 +1178,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.MAX_OTP_INITIATED_ERROR, }, }, - } + }, ); }; @@ -1217,7 +1217,7 @@ export class TurnkeyClient { if (!verifyOtpRes) { throw new TurnkeyError( `OTP verification failed`, - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } const accountRes = await this.httpClient.proxyGetAccount({ @@ -1228,7 +1228,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, ); } @@ -1247,7 +1247,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.INVALID_OTP_CODE, }, }, - } + }, ); }; @@ -1292,7 +1292,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OTP login failed`, - TurnkeyErrorCodes.OTP_LOGIN_ERROR + TurnkeyErrorCodes.OTP_LOGIN_ERROR, ); } @@ -1300,7 +1300,7 @@ export class TurnkeyClient { if (!loginRes.session) { throw new TurnkeyError( "No session returned from OTP login", - TurnkeyErrorCodes.OTP_LOGIN_ERROR + TurnkeyErrorCodes.OTP_LOGIN_ERROR, ); } @@ -1325,12 +1325,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -1388,7 +1388,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OTP sign up failed`, - TurnkeyErrorCodes.OTP_SIGNUP_ERROR + TurnkeyErrorCodes.OTP_SIGNUP_ERROR, ); } @@ -1402,7 +1402,7 @@ export class TurnkeyClient { { errorCode: TurnkeyErrorCodes.OTP_SIGNUP_ERROR, errorMessage: "Failed to sign up with OTP", - } + }, ); }; @@ -1464,7 +1464,7 @@ export class TurnkeyClient { if (!verificationToken) { throw new TurnkeyError( "No verification token returned from OTP verification", - TurnkeyErrorCodes.VERIFY_OTP_ERROR + TurnkeyErrorCodes.VERIFY_OTP_ERROR, ); } @@ -1501,7 +1501,7 @@ export class TurnkeyClient { { errorMessage: "Failed to complete OTP process", errorCode: TurnkeyErrorCodes.OTP_COMPLETION_ERROR, - } + }, ); }; @@ -1552,7 +1552,7 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, ); } const subOrganizationId = accountRes.organizationId; @@ -1589,7 +1589,7 @@ export class TurnkeyClient { { errorMessage: "Failed to complete OAuth process", errorCode: TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, - } + }, ); }; @@ -1627,7 +1627,7 @@ export class TurnkeyClient { if (!publicKey) { throw new TurnkeyError( "Public key must be provided to log in with OAuth. Please create a key pair first.", - TurnkeyErrorCodes.MISSING_PARAMS + TurnkeyErrorCodes.MISSING_PARAMS, ); } @@ -1640,14 +1640,14 @@ export class TurnkeyClient { if (!loginRes) { throw new TurnkeyError( `Auth proxy OAuth login failed`, - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, ); } if (!loginRes.session) { throw new TurnkeyError( "No session returned from oauth login", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, ); } @@ -1677,12 +1677,12 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to clean up generated key pair`, TurnkeyErrorCodes.KEY_PAIR_CLEANUP_ERROR, - cleanupError + cleanupError, ); } } }, - } + }, ); }; @@ -1737,7 +1737,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Auth proxy OAuth signup failed`, - TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR + TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, ); } @@ -1750,7 +1750,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign up with OAuth", errorCode: TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - } + }, ); }; @@ -1778,7 +1778,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -1786,13 +1786,13 @@ export class TurnkeyClient { async () => { const res = await this.httpClient.getWallets( { organizationId: session.organizationId }, - stampWith + stampWith, ); if (!res || !res.wallets) { throw new TurnkeyError( "No wallets found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -1811,7 +1811,7 @@ export class TurnkeyClient { embeddedWallet.accounts = accounts; return embeddedWallet; - }) + }), ); // if wallet connecting is disabled we return only embedded wallets @@ -1857,8 +1857,8 @@ export class TurnkeyClient { wallet.accounts = accounts; return wallet; - } - ) + }, + ), ) ).filter((wallet) => wallet.accounts.length > 0); @@ -1867,7 +1867,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch wallets", errorCode: TurnkeyErrorCodes.FETCH_WALLETS_ERROR, - } + }, ); }; @@ -1899,7 +1899,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -1915,13 +1915,13 @@ export class TurnkeyClient { organizationId: session.organizationId, paginationOptions: paginationOptions || { limit: "100" }, }, - stampWith + stampWith, ); if (!res || !res.accounts) { throw new TurnkeyError( "No wallet accounts found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -1956,11 +1956,11 @@ export class TurnkeyClient { const matching = providers.filter( (p) => p.info?.name?.toLowerCase().replace(/\s+/g, "-") === - wallet.walletId && p.connectedAddresses.length > 0 + wallet.walletId && p.connectedAddresses.length > 0, ); const sign = this.walletManager!.connector!.sign.bind( - this.walletManager!.connector + this.walletManager!.connector, ); const user = await this.fetchUser({ @@ -1991,7 +1991,7 @@ export class TurnkeyClient { addressFormat: "ADDRESS_FORMAT_ETHEREUM", chainInfo: provider.chainInfo, isAuthenticator: ethereumAddresses.includes( - address.toLowerCase() + address.toLowerCase(), ), signMessage: (msg: string) => sign(msg, provider, SignIntent.SignMessage), @@ -2032,7 +2032,7 @@ export class TurnkeyClient { } throw new Error( - `Unsupported wallet chain: ${provider.chainInfo}. Supported chains are Ethereum and Solana.` + `Unsupported wallet chain: ${provider.chainInfo}. Supported chains are Ethereum and Solana.`, ); } } @@ -2042,7 +2042,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch wallet accounts", errorCode: TurnkeyErrorCodes.FETCH_WALLET_ACCOUNTS_ERROR, - } + }, ); }; @@ -2065,7 +2065,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2073,13 +2073,13 @@ export class TurnkeyClient { async () => { const res = await this.httpClient.getPrivateKeys( { organizationId: session.organizationId }, - stampWith + stampWith, ); if (!res) { throw new TurnkeyError( "Failed to fetch private keys", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -2088,7 +2088,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch private keys", errorCode: TurnkeyErrorCodes.FETCH_PRIVATE_KEYS_ERROR, - } + }, ); }; @@ -2146,7 +2146,7 @@ export class TurnkeyClient { if (!addEthereumPrefix && isEthereum) { throw new TurnkeyError( "Connected Ethereum wallets automatically prefix messages. Use `addEthereumPrefix: true`.", - TurnkeyErrorCodes.SIGN_MESSAGE_ERROR + TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, ); } @@ -2154,7 +2154,7 @@ export class TurnkeyClient { if (isEthereum) { encodedMessage = getEncodedMessage( walletAccount.addressFormat, - message + message, ); } @@ -2172,7 +2172,7 @@ export class TurnkeyClient { const encodedMessage = getEncodedMessage( walletAccount.addressFormat, - messageToEncode + messageToEncode, ); const response = await this.httpClient.signRawPayload( @@ -2182,13 +2182,13 @@ export class TurnkeyClient { encoding: payloadEncoding, hashFunction, }, - stampWith + stampWith, ); if (response.activity.failure) { throw new TurnkeyError( "Failed to sign message, no signed payload returned", - TurnkeyErrorCodes.SIGN_MESSAGE_ERROR + TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, ); } @@ -2198,7 +2198,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign message", errorCode: TurnkeyErrorCodes.SIGN_MESSAGE_ERROR, - } + }, ); }; @@ -2234,7 +2234,7 @@ export class TurnkeyClient { case Chain.Ethereum: throw new TurnkeyError( "Ethereum connected wallets do not support raw transaction signing. Use signAndSendTransaction instead.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); case Chain.Solana: @@ -2247,7 +2247,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( "Unsupported connected wallet type.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } } @@ -2259,7 +2259,7 @@ export class TurnkeyClient { unsignedTransaction, type: transactionType, }, - stampWith + stampWith, ); return signTransaction.signedTransaction; @@ -2267,7 +2267,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign transaction", errorCode: TurnkeyErrorCodes.SIGN_TRANSACTION_ERROR, - } + }, ); }; @@ -2322,7 +2322,7 @@ export class TurnkeyClient { if (!rpcUrl) { throw new TurnkeyError( "Missing rpcUrl: connected Solana wallets require an RPC URL to broadcast transactions.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } // not sure why typescript isn't inferring the type here @@ -2339,7 +2339,7 @@ export class TurnkeyClient { default: throw new TurnkeyError( "Connected wallets do not support signAndSendTransaction for this transaction type.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } } @@ -2351,7 +2351,7 @@ export class TurnkeyClient { if (!rpcUrl) { throw new TurnkeyError( "Missing rpcUrl: embedded wallets require an RPC URL to broadcast transactions.", - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } @@ -2361,7 +2361,7 @@ export class TurnkeyClient { unsignedTransaction, type: transactionType, }, - stampWith + stampWith, ); const signedTx = signTransactionResponse.signedTransaction; @@ -2377,7 +2377,7 @@ export class TurnkeyClient { { errorMessage: "Failed to sign and send transaction", errorCode: TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, - } + }, ); }; @@ -2406,7 +2406,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2414,7 +2414,7 @@ export class TurnkeyClient { if (!userId) { throw new TurnkeyError( "User ID must be provided to fetch user", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -2424,13 +2424,13 @@ export class TurnkeyClient { async () => { const userResponse = await this.httpClient.getUser( { organizationId, userId }, - stampWith + stampWith, ); if (!userResponse || !userResponse.user) { throw new TurnkeyError( "No user found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -2439,7 +2439,7 @@ export class TurnkeyClient { { errorMessage: "Failed to fetch user", errorCode: TurnkeyErrorCodes.FETCH_USER_ERROR, - } + }, ); }; @@ -2472,7 +2472,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2482,7 +2482,7 @@ export class TurnkeyClient { if (!publicKey?.trim()) { throw new TurnkeyError( "'publicKey' is required and cannot be empty.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -2492,7 +2492,7 @@ export class TurnkeyClient { if (!usersResponse || !usersResponse.users) { throw new TurnkeyError( "No users found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -2500,8 +2500,8 @@ export class TurnkeyClient { user.apiKeys.some( (apiKey) => apiKey.credential.publicKey === publicKey && - apiKey.credential.type === "CREDENTIAL_TYPE_API_KEY_P256" - ) + apiKey.credential.type === "CREDENTIAL_TYPE_API_KEY_P256", + ), ); // the user already exists, so we return it @@ -2540,7 +2540,7 @@ export class TurnkeyClient { ) { throw new TurnkeyError( "Failed to create P-256 API key user", - TurnkeyErrorCodes.CREATE_USERS_ERROR + TurnkeyErrorCodes.CREATE_USERS_ERROR, ); } @@ -2554,7 +2554,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get or create P-256 API key user", errorCode: TurnkeyErrorCodes.CREATE_USERS_ERROR, - } + }, ); }; @@ -2588,14 +2588,14 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } if (!Array.isArray(policies) || policies.length === 0) { throw new TurnkeyError( "'policies' must be a non-empty array of policy definitions.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -2651,7 +2651,7 @@ export class TurnkeyClient { if (!createPoliciesResponse || !createPoliciesResponse.policyIds) { throw new TurnkeyError( "Failed to create missing delegated access policies", - TurnkeyErrorCodes.CREATE_POLICY_ERROR + TurnkeyErrorCodes.CREATE_POLICY_ERROR, ); } @@ -2670,7 +2670,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get or create delegated access policies", errorCode: TurnkeyErrorCodes.CREATE_USERS_ERROR, - } + }, ); }; @@ -2701,7 +2701,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2717,7 +2717,7 @@ export class TurnkeyClient { if (existingUser.organizationId) { throw new TurnkeyError( `Email ${email} is already associated with another user.`, - TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS + TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS, ); } @@ -2727,13 +2727,13 @@ export class TurnkeyClient { userEmail: email, ...(verificationToken && { verificationToken }), }, - stampWith + stampWith, ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the update user email response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -2742,7 +2742,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user email", errorCode: TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - } + }, ); }; @@ -2768,7 +2768,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -2779,12 +2779,12 @@ export class TurnkeyClient { userId: userId, userEmail: "", }, - stampWith + stampWith, ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the remove user email response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.userId; @@ -2792,7 +2792,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove user email", errorCode: TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - } + }, ); }; @@ -2823,7 +2823,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2836,13 +2836,13 @@ export class TurnkeyClient { userPhoneNumber: phoneNumber, ...(verificationToken && { verificationToken }), }, - stampWith + stampWith, ); if (!res || !res.userId) { throw new TurnkeyError( "Failed to update user phone number", - TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR + TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, ); } @@ -2851,7 +2851,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user phone number", errorCode: TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - } + }, ); }; @@ -2877,7 +2877,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const userId = params?.userId || session.userId; @@ -2889,12 +2889,12 @@ export class TurnkeyClient { userId, userPhoneNumber: "", }, - stampWith + stampWith, ); if (!res || !res.userId) { throw new TurnkeyError( "Failed to remove user phone number", - TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR + TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, ); } return res.userId; @@ -2902,7 +2902,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove user phone number", errorCode: TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - } + }, ); }; @@ -2931,7 +2931,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const userId = params?.userId || session.userId; @@ -2943,13 +2943,13 @@ export class TurnkeyClient { userId, userName, }, - stampWith + stampWith, ); if (!res || !res.userId) { throw new TurnkeyError( "No user ID found in the update user name response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -2958,7 +2958,7 @@ export class TurnkeyClient { { errorMessage: "Failed to update user name", errorCode: TurnkeyErrorCodes.UPDATE_USER_NAME_ERROR, - } + }, ); }; @@ -2990,7 +2990,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3004,14 +3004,14 @@ export class TurnkeyClient { if (!accountRes) { throw new TurnkeyError( `Account fetch failed}`, - TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR + TurnkeyErrorCodes.ACCOUNT_FETCH_ERROR, ); } if (accountRes.organizationId) { throw new TurnkeyError( "Account already exists with this OIDC token", - TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS + TurnkeyErrorCodes.ACCOUNT_ALREADY_EXISTS, ); } @@ -3050,13 +3050,13 @@ export class TurnkeyClient { }, ], }, - stampWith + stampWith, ); if (!createProviderRes) { throw new TurnkeyError( "Failed to create OAuth provider", - TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR + TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR, ); } @@ -3065,7 +3065,7 @@ export class TurnkeyClient { { errorMessage: "Failed to add OAuth provider", errorCode: TurnkeyErrorCodes.ADD_OAUTH_PROVIDER_ERROR, - } + }, ); }; @@ -3094,7 +3094,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const userId = params?.userId || session.userId; @@ -3105,12 +3105,12 @@ export class TurnkeyClient { userId, providerIds, }, - stampWith + stampWith, ); if (!res) { throw new TurnkeyError( "Failed to remove OAuth provider", - TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR + TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, ); } return res.providerIds; @@ -3118,7 +3118,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove OAuth provider", errorCode: TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, - } + }, ); }; @@ -3153,7 +3153,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3167,7 +3167,7 @@ export class TurnkeyClient { if (!attestation || !encodedChallenge) { throw new TurnkeyError( "Failed to create passkey challenge and attestation", - TurnkeyErrorCodes.CREATE_PASSKEY_ERROR + TurnkeyErrorCodes.CREATE_PASSKEY_ERROR, ); } @@ -3182,7 +3182,7 @@ export class TurnkeyClient { }, ], }, - stampWith + stampWith, ); return res?.authenticatorIds || []; @@ -3190,7 +3190,7 @@ export class TurnkeyClient { { errorMessage: "Failed to add passkey", errorCode: TurnkeyErrorCodes.ADD_PASSKEY_ERROR, - } + }, ); }; @@ -3219,7 +3219,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const userId = params?.userId || session.userId; @@ -3231,12 +3231,12 @@ export class TurnkeyClient { userId, authenticatorIds, }, - stampWith + stampWith, ); if (!res) { throw new TurnkeyError( "No response found in the remove passkey response", - TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR + TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR, ); } return res.authenticatorIds; @@ -3244,7 +3244,7 @@ export class TurnkeyClient { { errorMessage: "Failed to remove passkey", errorCode: TurnkeyErrorCodes.REMOVE_PASSKEY_ERROR, - } + }, ); }; @@ -3280,7 +3280,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3305,13 +3305,13 @@ export class TurnkeyClient { accounts: walletAccounts, mnemonicLength: mnemonicLength || 12, }, - stampWith + stampWith, ); if (!res || !res.walletId) { throw new TurnkeyError( "No wallet found in the create wallet response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.walletId; @@ -3319,7 +3319,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create wallet", errorCode: TurnkeyErrorCodes.CREATE_WALLET_ERROR, - } + }, ); }; @@ -3351,7 +3351,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -3366,7 +3366,7 @@ export class TurnkeyClient { organizationId: organizationId || session.organizationId, paginationOptions: { limit: "100" }, }, - stampWith + stampWith, ); walletAccounts = generateWalletAccountsFromAddressFormat({ addresses: accounts, @@ -3382,13 +3382,13 @@ export class TurnkeyClient { walletId, accounts: walletAccounts, }, - stampWith + stampWith, ); if (!res || !res.addresses) { throw new TurnkeyError( "No account found in the create wallet account response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.addresses; @@ -3396,7 +3396,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create wallet account", errorCode: TurnkeyErrorCodes.CREATE_WALLET_ACCOUNT_ERROR, - } + }, ); }; @@ -3428,7 +3428,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -3439,13 +3439,13 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith + stampWith, ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.exportBundle as ExportBundle; @@ -3453,7 +3453,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export wallet", errorCode: TurnkeyErrorCodes.EXPORT_WALLET_ERROR, - } + }, ); }; @@ -3484,7 +3484,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -3495,12 +3495,12 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith + stampWith, ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.exportBundle as ExportBundle; @@ -3508,7 +3508,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export private key", errorCode: TurnkeyErrorCodes.EXPORT_PRIVATE_KEY_ERROR, - } + }, ); }; @@ -3540,7 +3540,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -3551,12 +3551,12 @@ export class TurnkeyClient { targetPublicKey, organizationId: organizationId || session.organizationId, }, - stampWith + stampWith, ); if (!res.exportBundle) { throw new TurnkeyError( "No export bundle found in the response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.exportBundle as ExportBundle; @@ -3564,7 +3564,7 @@ export class TurnkeyClient { { errorMessage: "Failed to export wallet account", errorCode: TurnkeyErrorCodes.EXPORT_WALLET_ACCOUNT_ERROR, - } + }, ); }; @@ -3599,7 +3599,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3616,13 +3616,13 @@ export class TurnkeyClient { ...DEFAULT_SOLANA_ACCOUNTS, ], }, - stampWith + stampWith, ); if (!res || !res.walletId) { throw new TurnkeyError( "No wallet ID found in the import response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.walletId; @@ -3636,7 +3636,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.BAD_REQUEST, }, }, - } + }, ); }; @@ -3681,7 +3681,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3696,13 +3696,13 @@ export class TurnkeyClient { curve, addressFormats, }, - stampWith + stampWith, ); if (!res || !res.privateKeyId) { throw new TurnkeyError( "No wallet ID found in the import response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } return res.privateKeyId; @@ -3716,7 +3716,7 @@ export class TurnkeyClient { code: TurnkeyErrorCodes.BAD_REQUEST, }, }, - } + }, ); }; @@ -3743,7 +3743,7 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( "No active session found. Please log in first.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3751,13 +3751,13 @@ export class TurnkeyClient { async () => { return await this.httpClient.deleteSubOrganization( { deleteWithoutExport }, - stampWith + stampWith, ); }, { errorMessage: "Failed to delete sub-organization", errorCode: TurnkeyErrorCodes.DELETE_SUB_ORGANIZATION_ERROR, - } + }, ); }; @@ -3792,7 +3792,7 @@ export class TurnkeyClient { }, { finallyFn: async () => await this.clearUnusedKeyPairs(), - } + }, ); }; @@ -3819,14 +3819,14 @@ export class TurnkeyClient { } else { throw new TurnkeyError( `No session found with key: ${sessionKey}`, - TurnkeyErrorCodes.NOT_FOUND + TurnkeyErrorCodes.NOT_FOUND, ); } }, { errorMessage: "Failed to delete session", errorCode: TurnkeyErrorCodes.CLEAR_SESSION_ERROR, - } + }, ); }; @@ -3853,7 +3853,7 @@ export class TurnkeyClient { { errorMessage: "Failed to clear all sessions", errorCode: TurnkeyErrorCodes.CLEAR_ALL_SESSIONS_ERROR, - } + }, ); }; @@ -3891,7 +3891,7 @@ export class TurnkeyClient { if (!sessionKey) { throw new TurnkeyError( "No session key provided or active session to refresh session", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const session = await this.getSession({ @@ -3900,14 +3900,14 @@ export class TurnkeyClient { if (!session) { throw new TurnkeyError( `No active session found: ${sessionKey}`, - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } if (!this.httpClient) { throw new TurnkeyError( "HTTP client is not initialized. Please initialize the client before refreshing the session.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } @@ -3918,7 +3918,7 @@ export class TurnkeyClient { if (!keyPair) { throw new TurnkeyError( "Failed to create new key pair.", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } const res = await this.httpClient.stampLogin( @@ -3927,13 +3927,13 @@ export class TurnkeyClient { expirationSeconds, invalidateExisting: invalidateExisitng, }, - params?.stampWith + params?.stampWith, ); if (!res || !res.session) { throw new TurnkeyError( "No session found in the refresh response", - TurnkeyErrorCodes.BAD_RESPONSE + TurnkeyErrorCodes.BAD_RESPONSE, ); } @@ -3946,7 +3946,7 @@ export class TurnkeyClient { { errorMessage: "Failed to refresh session", errorCode: TurnkeyErrorCodes.REFRESH_SESSION_ERROR, - } + }, ); }; @@ -3973,7 +3973,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get session with key " + params?.sessionKey, errorCode: TurnkeyErrorCodes.GET_SESSION_ERROR, - } + }, ); }; @@ -4007,7 +4007,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get all sessions", errorCode: TurnkeyErrorCodes.GET_ALL_SESSIONS_ERROR, - } + }, ); }; @@ -4032,7 +4032,7 @@ export class TurnkeyClient { { errorMessage: "Failed to set active session", errorCode: TurnkeyErrorCodes.SET_ACTIVE_SESSION_ERROR, - } + }, ); }; @@ -4055,7 +4055,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get active session key", errorCode: TurnkeyErrorCodes.GET_ACTIVE_SESSION_KEY_ERROR, - } + }, ); }; @@ -4095,7 +4095,7 @@ export class TurnkeyClient { throw new TurnkeyError( `Failed to delete unused key pair ${publicKey}`, TurnkeyErrorCodes.INTERNAL_ERROR, - error + error, ); } } @@ -4104,7 +4104,7 @@ export class TurnkeyClient { { errorMessage: "Failed to clear unused key pairs", errorCode: TurnkeyErrorCodes.CLEAR_UNUSED_KEY_PAIRS_ERROR, - } + }, ); }; @@ -4134,11 +4134,11 @@ export class TurnkeyClient { if (!this.apiKeyStamper) { throw new TurnkeyError( "API Key Stamper is not initialized.", - TurnkeyErrorCodes.INTERNAL_ERROR + TurnkeyErrorCodes.INTERNAL_ERROR, ); } const publicKey = await this.apiKeyStamper.createKeyPair( - externalKeyPair ? externalKeyPair : undefined + externalKeyPair ? externalKeyPair : undefined, ); if (storeOverride && publicKey) { @@ -4150,7 +4150,7 @@ export class TurnkeyClient { { errorMessage: "Failed to create API key pair", errorCode: TurnkeyErrorCodes.CREATE_API_KEY_PAIR_ERROR, - } + }, ); }; @@ -4173,7 +4173,7 @@ export class TurnkeyClient { if (!res) { throw new TurnkeyError( `Failed to fetch auth proxy config`, - TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR + TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR, ); } @@ -4182,7 +4182,7 @@ export class TurnkeyClient { { errorMessage: "Failed to get auth proxy config", errorCode: TurnkeyErrorCodes.GET_PROXY_AUTH_CONFIG_ERROR, - } + }, ); }; } diff --git a/packages/core/src/__generated__/sdk-client-base.ts b/packages/core/src/__generated__/sdk-client-base.ts index 76c291cbb..c0656b97c 100644 --- a/packages/core/src/__generated__/sdk-client-base.ts +++ b/packages/core/src/__generated__/sdk-client-base.ts @@ -1,8 +1,19 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; - -import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeyHttpClientConfig, type StorageBase } from "../__types__/base"; +import { + TERMINAL_ACTIVITY_STATUSES, + type TActivityResponse, + type TActivityStatus, + type TSignedRequest, +} from "@turnkey/http"; + +import { + type GrpcStatus, + type TStamper, + TurnkeyRequestError, + type TurnkeyHttpClientConfig, + type StorageBase, +} from "../__types__/base"; import { VERSION } from "../__generated__/version"; @@ -12,207 +23,240 @@ import { TurnkeyError, TurnkeyErrorCodes } from "@turnkey/sdk-types"; import { StamperType } from "../__types__/base"; +export class TurnkeySDKClientBase { + config: TurnkeyHttpClientConfig; + + // Store stampers + private apiKeyStamper?: TStamper | undefined; + private passkeyStamper?: TStamper | undefined; + private walletStamper?: TStamper | undefined; + + // Storage manager + private storageManager?: StorageBase | undefined; - export class TurnkeySDKClientBase { - config: TurnkeyHttpClientConfig; - - // Store stampers - private apiKeyStamper?: TStamper | undefined; - private passkeyStamper?: TStamper | undefined; - private walletStamper?: TStamper | undefined; - - - // Storage manager - private storageManager?: StorageBase | undefined; - - constructor(config: TurnkeyHttpClientConfig) { - this.config = config; - - if (config.apiKeyStamper) { - this.apiKeyStamper = config.apiKeyStamper; - } - if (config.passkeyStamper) { - this.passkeyStamper = config.passkeyStamper; - } - if (config.walletStamper) { - this.walletStamper = config.walletStamper; - } - if (config.storageManager) { - this.storageManager = config.storageManager; - } + constructor(config: TurnkeyHttpClientConfig) { + this.config = config; + + if (config.apiKeyStamper) { + this.apiKeyStamper = config.apiKeyStamper; + } + if (config.passkeyStamper) { + this.passkeyStamper = config.passkeyStamper; + } + if (config.walletStamper) { + this.walletStamper = config.walletStamper; } + if (config.storageManager) { + this.storageManager = config.storageManager; + } + } + + private getStamper(stampWith?: StamperType): TStamper | undefined { + if (!stampWith) + return this.apiKeyStamper || this.passkeyStamper || this.walletStamper; - private getStamper(stampWith?: StamperType): TStamper | undefined { - if (!stampWith) return this.apiKeyStamper || this.passkeyStamper || this.walletStamper; - - switch (stampWith) { - case StamperType.ApiKey: - return this.apiKeyStamper; - case StamperType.Passkey: - return this.passkeyStamper; - case StamperType.Wallet: - return this.walletStamper; - default: - return this.apiKeyStamper; - } + switch (stampWith) { + case StamperType.ApiKey: + return this.apiKeyStamper; + case StamperType.Passkey: + return this.passkeyStamper; + case StamperType.Wallet: + return this.walletStamper; + default: + return this.apiKeyStamper; } + } + + async request( + url: string, + body: TBodyType, + stampWith?: StamperType, + ): Promise { + const fullUrl = this.config.apiBaseUrl + url; + const stringifiedBody = JSON.stringify(body); + var headers: Record = { + "X-Client-Version": VERSION, + }; + + // Use the specified stamper for this request + const activeStamper = this.getStamper(stampWith); - async request( - url: string, - body: TBodyType, - stampWith?: StamperType - ): Promise { - const fullUrl = this.config.apiBaseUrl + url; - const stringifiedBody = JSON.stringify(body); - var headers: Record = { - "X-Client-Version": VERSION - } - - // Use the specified stamper for this request - const activeStamper = this.getStamper(stampWith); - - if (activeStamper) { - const stamp = await activeStamper.stamp(stringifiedBody); - headers[stamp.stampHeaderName] = stamp.stampHeaderValue - } - - const response = await fetch(fullUrl, { - method: "POST", - headers: headers, - body: stringifiedBody, - redirect: "follow" - }); - - if (!response.ok) { - let res: GrpcStatus; - try { - res = await response.json(); - } catch (_) { - throw new Error(`${response.status} ${response.statusText}`); - } - - throw new TurnkeyRequestError(res); - } - - const data = await response.json(); - return data as TResponseType; + if (activeStamper) { + const stamp = await activeStamper.stamp(stringifiedBody); + headers[stamp.stampHeaderName] = stamp.stampHeaderValue; } - async activity( - url: string, - body: TBodyType, - resultKey: string, - stampWith?: StamperType - ): Promise { - const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; - const maxRetries = this.config.activityPoller?.numRetries ?? 3; + const response = await fetch(fullUrl, { + method: "POST", + headers: headers, + body: stringifiedBody, + redirect: "follow", + }); - const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); + if (!response.ok) { + let res: GrpcStatus; + try { + res = await response.json(); + } catch (_) { + throw new Error(`${response.status} ${response.statusText}`); + } - const handleResponse = (activityData: TActivityResponse): TResponseType => { - const { result, status } = activityData.activity; + throw new TurnkeyRequestError(res); + } - if (status === "ACTIVITY_STATUS_COMPLETED") { - return { - ...result[`${resultKey}` as keyof SdkTypes.v1Result], - ...activityData - } as TResponseType; - } + const data = await response.json(); + return data as TResponseType; + } - return activityData as TResponseType; - }; + async activity( + url: string, + body: TBodyType, + resultKey: string, + stampWith?: StamperType, + ): Promise { + const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; + const maxRetries = this.config.activityPoller?.numRetries ?? 3; - let attempts = 0; + const sleep = (ms: number) => + new Promise((resolve) => setTimeout(resolve, ms)); - const pollStatus = async (activityId: string): Promise => { - const pollBody = { activityId }; - // Pass the stampWith parameter to getActivity - const pollData = await this.getActivity(pollBody, stampWith) as TActivityResponse; + const handleResponse = (activityData: TActivityResponse): TResponseType => { + const { result, status } = activityData.activity; + + if (status === "ACTIVITY_STATUS_COMPLETED") { + return { + ...result[`${resultKey}` as keyof SdkTypes.v1Result], + ...activityData, + } as TResponseType; + } + + return activityData as TResponseType; + }; - if (attempts > maxRetries) { - return handleResponse(pollData); - } + let attempts = 0; - attempts += 1; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { - await sleep(pollingDuration); - return pollStatus(activityId); - } + const pollStatus = async (activityId: string): Promise => { + const pollBody = { activityId }; + // Pass the stampWith parameter to getActivity + const pollData = (await this.getActivity( + pollBody, + stampWith, + )) as TActivityResponse; + if (attempts > maxRetries) { return handleResponse(pollData); - }; + } - // Use the specified stamper for the initial request - const responseData = await this.request(url, body, stampWith) as TActivityResponse; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { - return pollStatus(responseData.activity.id); - } + attempts += 1; - return handleResponse(responseData); - } + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + pollData.activity.status as TActivityStatus, + ) + ) { + await sleep(pollingDuration); + return pollStatus(activityId); + } - async activityDecision( - url: string, - body: TBodyType, - stampWith?: StamperType - ): Promise { - // Use the specified stamper for this request - const activityData = await this.request(url, body, stampWith) as TActivityResponse; + return handleResponse(pollData); + }; - return { - ...activityData["activity"]["result"], - ...activityData - } as TResponseType; - } - - async authProxyRequest( - url: string, - body: TBodyType, - ): Promise { - if (!this.config.authProxyUrl || !this.config.authProxyConfigId) { - throw new TurnkeyError("Auth Proxy URL or ID is not configured.", TurnkeyErrorCodes.INVALID_CONFIGURATION); - } - const fullUrl = this.config.authProxyUrl + url; - const stringifiedBody = JSON.stringify(body); - var headers: Record = { - "Content-Type": "application/json", - "X-Auth-Proxy-Config-ID": this.config.authProxyConfigId, - } - - const response = await fetch(fullUrl, { - method: "POST", - headers: headers, - body: stringifiedBody, - }); - - if (!response.ok) { - let res: GrpcStatus; - try { - res = await response.json(); - } catch (_) { - throw new Error(`${response.status} ${response.statusText}`); - } - - throw new TurnkeyRequestError(res); - } - - const data = await response.json(); - return data as TResponseType; + // Use the specified stamper for the initial request + const responseData = (await this.request( + url, + body, + stampWith, + )) as TActivityResponse; + + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + responseData.activity.status as TActivityStatus, + ) + ) { + return pollStatus(responseData.activity.id); } + return handleResponse(responseData); + } - getActivity = async (input: SdkTypes.TGetActivityBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_activity", { - ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); + async activityDecision( + url: string, + body: TBodyType, + stampWith?: StamperType, + ): Promise { + // Use the specified stamper for this request + const activityData = (await this.request( + url, + body, + stampWith, + )) as TActivityResponse; + + return { + ...activityData["activity"]["result"], + ...activityData, + } as TResponseType; + } + + async authProxyRequest( + url: string, + body: TBodyType, + ): Promise { + if (!this.config.authProxyUrl || !this.config.authProxyConfigId) { + throw new TurnkeyError( + "Auth Proxy URL or ID is not configured.", + TurnkeyErrorCodes.INVALID_CONFIGURATION, + ); + } + const fullUrl = this.config.authProxyUrl + url; + const stringifiedBody = JSON.stringify(body); + var headers: Record = { + "Content-Type": "application/json", + "X-Auth-Proxy-Config-ID": this.config.authProxyConfigId, + }; + + const response = await fetch(fullUrl, { + method: "POST", + headers: headers, + body: stringifiedBody, + }); + + if (!response.ok) { + let res: GrpcStatus; + try { + res = await response.json(); + } catch (_) { + throw new Error(`${response.status} ${response.statusText}`); + } + + throw new TurnkeyRequestError(res); } + const data = await response.json(); + return data as TResponseType; + } - stampGetActivity = async (input: SdkTypes.TGetActivityBody, stampWith?: StamperType): Promise => { + getActivity = async ( + input: SdkTypes.TGetActivityBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_activity", + { + ...input, + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetActivity = async ( + input: SdkTypes.TGetActivityBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -224,10 +268,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ACTIVITY" + type: "ACTIVITY_TYPE_GET_ACTIVITY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -235,19 +278,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getApiKey = async (input: SdkTypes.TGetApiKeyBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_api_key", { + getApiKey = async ( + input: SdkTypes.TGetApiKeyBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_api_key", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetApiKey = async (input: SdkTypes.TGetApiKeyBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetApiKey = async ( + input: SdkTypes.TGetApiKeyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -259,10 +313,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_API_KEY" + type: "ACTIVITY_TYPE_GET_API_KEY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -270,19 +323,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getApiKeys = async (input: SdkTypes.TGetApiKeysBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_api_keys", { + getApiKeys = async ( + input: SdkTypes.TGetApiKeysBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_api_keys", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetApiKeys = async (input: SdkTypes.TGetApiKeysBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetApiKeys = async ( + input: SdkTypes.TGetApiKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -294,10 +358,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_API_KEYS" + type: "ACTIVITY_TYPE_GET_API_KEYS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -305,19 +368,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getAttestationDocument = async (input: SdkTypes.TGetAttestationDocumentBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_attestation", { + getAttestationDocument = async ( + input: SdkTypes.TGetAttestationDocumentBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_attestation", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetAttestationDocument = async (input: SdkTypes.TGetAttestationDocumentBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetAttestationDocument = async ( + input: SdkTypes.TGetAttestationDocumentBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -329,10 +403,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ATTESTATION_DOCUMENT" + type: "ACTIVITY_TYPE_GET_ATTESTATION_DOCUMENT", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -340,19 +413,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticator = async (input: SdkTypes.TGetAuthenticatorBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_authenticator", { + getAuthenticator = async ( + input: SdkTypes.TGetAuthenticatorBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_authenticator", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetAuthenticator = async (input: SdkTypes.TGetAuthenticatorBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetAuthenticator = async ( + input: SdkTypes.TGetAuthenticatorBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -360,14 +444,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_AUTHENTICATOR" + type: "ACTIVITY_TYPE_GET_AUTHENTICATOR", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -375,19 +459,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticators = async (input: SdkTypes.TGetAuthenticatorsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_authenticators", { + getAuthenticators = async ( + input: SdkTypes.TGetAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_authenticators", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetAuthenticators = async (input: SdkTypes.TGetAuthenticatorsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetAuthenticators = async ( + input: SdkTypes.TGetAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -395,14 +490,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_AUTHENTICATORS" + type: "ACTIVITY_TYPE_GET_AUTHENTICATORS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -410,19 +505,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getBootProof = async (input: SdkTypes.TGetBootProofBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_boot_proof", { + getBootProof = async ( + input: SdkTypes.TGetBootProofBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_boot_proof", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetBootProof = async (input: SdkTypes.TGetBootProofBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetBootProof = async ( + input: SdkTypes.TGetBootProofBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -434,10 +540,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_BOOT_PROOF" + type: "ACTIVITY_TYPE_GET_BOOT_PROOF", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -445,19 +550,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getLatestBootProof = async (input: SdkTypes.TGetLatestBootProofBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_latest_boot_proof", { + getLatestBootProof = async ( + input: SdkTypes.TGetLatestBootProofBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_latest_boot_proof", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetLatestBootProof = async (input: SdkTypes.TGetLatestBootProofBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetLatestBootProof = async ( + input: SdkTypes.TGetLatestBootProofBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -465,14 +581,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_LATEST_BOOT_PROOF" + type: "ACTIVITY_TYPE_GET_LATEST_BOOT_PROOF", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -480,19 +596,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getOauth2Credential = async (input: SdkTypes.TGetOauth2CredentialBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_oauth2_credential", { + getOauth2Credential = async ( + input: SdkTypes.TGetOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_oauth2_credential", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetOauth2Credential = async (input: SdkTypes.TGetOauth2CredentialBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetOauth2Credential = async ( + input: SdkTypes.TGetOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -500,14 +627,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_OAUTH2CREDENTIAL" + type: "ACTIVITY_TYPE_GET_OAUTH2CREDENTIAL", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -515,19 +642,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getOauthProviders = async (input: SdkTypes.TGetOauthProvidersBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_oauth_providers", { + getOauthProviders = async ( + input: SdkTypes.TGetOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_oauth_providers", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetOauthProviders = async (input: SdkTypes.TGetOauthProvidersBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetOauthProviders = async ( + input: SdkTypes.TGetOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -535,14 +673,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_OAUTH_PROVIDERS" + type: "ACTIVITY_TYPE_GET_OAUTH_PROVIDERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -550,19 +688,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getOrganization = async (input: SdkTypes.TGetOrganizationBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_organization", { + getOrganization = async ( + input: SdkTypes.TGetOrganizationBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_organization", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetOrganization = async (input: SdkTypes.TGetOrganizationBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetOrganization = async ( + input: SdkTypes.TGetOrganizationBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -570,14 +719,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ORGANIZATION" + type: "ACTIVITY_TYPE_GET_ORGANIZATION", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -585,19 +734,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getOrganizationConfigs = async (input: SdkTypes.TGetOrganizationConfigsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_organization_configs", { + getOrganizationConfigs = async ( + input: SdkTypes.TGetOrganizationConfigsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_organization_configs", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetOrganizationConfigs = async (input: SdkTypes.TGetOrganizationConfigsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetOrganizationConfigs = async ( + input: SdkTypes.TGetOrganizationConfigsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -605,14 +765,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ORGANIZATION_CONFIGS" + type: "ACTIVITY_TYPE_GET_ORGANIZATION_CONFIGS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -620,19 +780,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getPolicy = async (input: SdkTypes.TGetPolicyBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_policy", { + getPolicy = async ( + input: SdkTypes.TGetPolicyBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_policy", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetPolicy = async (input: SdkTypes.TGetPolicyBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetPolicy = async ( + input: SdkTypes.TGetPolicyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -644,10 +815,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICY" + type: "ACTIVITY_TYPE_GET_POLICY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -655,19 +825,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getPolicyEvaluations = async (input: SdkTypes.TGetPolicyEvaluationsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_policy_evaluations", { + getPolicyEvaluations = async ( + input: SdkTypes.TGetPolicyEvaluationsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_policy_evaluations", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetPolicyEvaluations = async (input: SdkTypes.TGetPolicyEvaluationsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetPolicyEvaluations = async ( + input: SdkTypes.TGetPolicyEvaluationsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -675,14 +856,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICY_EVALUATIONS" + type: "ACTIVITY_TYPE_GET_POLICY_EVALUATIONS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -690,19 +871,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getPrivateKey = async (input: SdkTypes.TGetPrivateKeyBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_private_key", { + getPrivateKey = async ( + input: SdkTypes.TGetPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_private_key", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetPrivateKey = async (input: SdkTypes.TGetPrivateKeyBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetPrivateKey = async ( + input: SdkTypes.TGetPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -714,10 +906,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_PRIVATE_KEY" + type: "ACTIVITY_TYPE_GET_PRIVATE_KEY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -725,19 +916,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterface = async (input: SdkTypes.TGetSmartContractInterfaceBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_smart_contract_interface", { + getSmartContractInterface = async ( + input: SdkTypes.TGetSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_smart_contract_interface", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetSmartContractInterface = async (input: SdkTypes.TGetSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetSmartContractInterface = async ( + input: SdkTypes.TGetSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -745,14 +947,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACE" + type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -760,19 +962,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getUser = async (input: SdkTypes.TGetUserBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_user", { + getUser = async ( + input: SdkTypes.TGetUserBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_user", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetUser = async (input: SdkTypes.TGetUserBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetUser = async ( + input: SdkTypes.TGetUserBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -784,10 +997,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_USER" + type: "ACTIVITY_TYPE_GET_USER", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -795,19 +1007,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getWallet = async (input: SdkTypes.TGetWalletBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_wallet", { + getWallet = async ( + input: SdkTypes.TGetWalletBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_wallet", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetWallet = async (input: SdkTypes.TGetWalletBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetWallet = async ( + input: SdkTypes.TGetWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -819,10 +1042,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET" + type: "ACTIVITY_TYPE_GET_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -830,19 +1052,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getWalletAccount = async (input: SdkTypes.TGetWalletAccountBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/get_wallet_account", { + getWalletAccount = async ( + input: SdkTypes.TGetWalletAccountBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/get_wallet_account", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetWalletAccount = async (input: SdkTypes.TGetWalletAccountBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetWalletAccount = async ( + input: SdkTypes.TGetWalletAccountBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -850,14 +1083,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNT" + type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNT", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -865,19 +1098,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getActivities = async (input: SdkTypes.TGetActivitiesBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_activities", { + getActivities = async ( + input: SdkTypes.TGetActivitiesBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_activities", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetActivities = async (input: SdkTypes.TGetActivitiesBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetActivities = async ( + input: SdkTypes.TGetActivitiesBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -889,10 +1133,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_ACTIVITIES" + type: "ACTIVITY_TYPE_GET_ACTIVITIES", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -900,19 +1143,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - listOauth2Credentials = async (input: SdkTypes.TListOauth2CredentialsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_oauth2_credentials", { + listOauth2Credentials = async ( + input: SdkTypes.TListOauth2CredentialsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_oauth2_credentials", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampListOauth2Credentials = async (input: SdkTypes.TListOauth2CredentialsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampListOauth2Credentials = async ( + input: SdkTypes.TListOauth2CredentialsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -920,14 +1174,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_OAUTH2CREDENTIALS" + type: "ACTIVITY_TYPE_LIST_OAUTH2CREDENTIALS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -935,19 +1189,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getPolicies = async (input: SdkTypes.TGetPoliciesBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_policies", { + getPolicies = async ( + input: SdkTypes.TGetPoliciesBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_policies", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetPolicies = async (input: SdkTypes.TGetPoliciesBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetPolicies = async ( + input: SdkTypes.TGetPoliciesBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -959,10 +1224,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_POLICIES" + type: "ACTIVITY_TYPE_GET_POLICIES", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -970,19 +1234,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - listPrivateKeyTags = async (input: SdkTypes.TListPrivateKeyTagsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_private_key_tags", { + listPrivateKeyTags = async ( + input: SdkTypes.TListPrivateKeyTagsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_private_key_tags", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampListPrivateKeyTags = async (input: SdkTypes.TListPrivateKeyTagsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampListPrivateKeyTags = async ( + input: SdkTypes.TListPrivateKeyTagsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -990,14 +1265,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_PRIVATE_KEY_TAGS" + type: "ACTIVITY_TYPE_LIST_PRIVATE_KEY_TAGS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1005,19 +1280,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getPrivateKeys = async (input: SdkTypes.TGetPrivateKeysBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_private_keys", { + getPrivateKeys = async ( + input: SdkTypes.TGetPrivateKeysBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_private_keys", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetPrivateKeys = async (input: SdkTypes.TGetPrivateKeysBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetPrivateKeys = async ( + input: SdkTypes.TGetPrivateKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1025,14 +1311,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_PRIVATE_KEYS" + type: "ACTIVITY_TYPE_GET_PRIVATE_KEYS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1040,19 +1326,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterfaces = async (input: SdkTypes.TGetSmartContractInterfacesBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_smart_contract_interfaces", { + getSmartContractInterfaces = async ( + input: SdkTypes.TGetSmartContractInterfacesBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_smart_contract_interfaces", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetSmartContractInterfaces = async (input: SdkTypes.TGetSmartContractInterfacesBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetSmartContractInterfaces = async ( + input: SdkTypes.TGetSmartContractInterfacesBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1060,14 +1357,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/query/list_smart_contract_interfaces"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACES" + type: "ACTIVITY_TYPE_GET_SMART_CONTRACT_INTERFACES", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1075,19 +1373,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getSubOrgIds = async (input: SdkTypes.TGetSubOrgIdsBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_suborgs", { + getSubOrgIds = async ( + input: SdkTypes.TGetSubOrgIdsBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_suborgs", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetSubOrgIds = async (input: SdkTypes.TGetSubOrgIdsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetSubOrgIds = async ( + input: SdkTypes.TGetSubOrgIdsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1099,10 +1408,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_SUB_ORG_IDS" + type: "ACTIVITY_TYPE_GET_SUB_ORG_IDS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1110,19 +1418,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - listUserTags = async (input: SdkTypes.TListUserTagsBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_user_tags", { + listUserTags = async ( + input: SdkTypes.TListUserTagsBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_user_tags", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampListUserTags = async (input: SdkTypes.TListUserTagsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampListUserTags = async ( + input: SdkTypes.TListUserTagsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1134,10 +1453,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_LIST_USER_TAGS" + type: "ACTIVITY_TYPE_LIST_USER_TAGS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1145,19 +1463,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getUsers = async (input: SdkTypes.TGetUsersBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_users", { + getUsers = async ( + input: SdkTypes.TGetUsersBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_users", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetUsers = async (input: SdkTypes.TGetUsersBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetUsers = async ( + input: SdkTypes.TGetUsersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1169,10 +1498,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_USERS" + type: "ACTIVITY_TYPE_GET_USERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1180,19 +1508,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; - - getVerifiedSubOrgIds = async (input: SdkTypes.TGetVerifiedSubOrgIdsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_verified_suborgs", { + getVerifiedSubOrgIds = async ( + input: SdkTypes.TGetVerifiedSubOrgIdsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_verified_suborgs", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetVerifiedSubOrgIds = async (input: SdkTypes.TGetVerifiedSubOrgIdsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetVerifiedSubOrgIds = async ( + input: SdkTypes.TGetVerifiedSubOrgIdsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1200,14 +1539,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_VERIFIED_SUB_ORG_IDS" + type: "ACTIVITY_TYPE_GET_VERIFIED_SUB_ORG_IDS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1215,19 +1554,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getWalletAccounts = async (input: SdkTypes.TGetWalletAccountsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_wallet_accounts", { + getWalletAccounts = async ( + input: SdkTypes.TGetWalletAccountsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_wallet_accounts", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetWalletAccounts = async (input: SdkTypes.TGetWalletAccountsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetWalletAccounts = async ( + input: SdkTypes.TGetWalletAccountsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1235,14 +1585,14 @@ import { StamperType } from "../__types__/base"; const { organizationId, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNTS" + type: "ACTIVITY_TYPE_GET_WALLET_ACCOUNTS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1250,19 +1600,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getWallets = async (input: SdkTypes.TGetWalletsBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/list_wallets", { + getWallets = async ( + input: SdkTypes.TGetWalletsBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/list_wallets", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetWallets = async (input: SdkTypes.TGetWalletsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetWallets = async ( + input: SdkTypes.TGetWalletsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1274,10 +1635,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WALLETS" + type: "ACTIVITY_TYPE_GET_WALLETS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1285,19 +1645,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - getWhoami = async (input: SdkTypes.TGetWhoamiBody = {}, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/public/v1/query/whoami", { + getWhoami = async ( + input: SdkTypes.TGetWhoamiBody = {}, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/public/v1/query/whoami", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampGetWhoami = async (input: SdkTypes.TGetWhoamiBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampGetWhoami = async ( + input: SdkTypes.TGetWhoamiBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1309,10 +1680,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_GET_WHOAMI" + type: "ACTIVITY_TYPE_GET_WHOAMI", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1320,23 +1690,33 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - - - approveActivity = async (input: SdkTypes.TApproveActivityBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activityDecision("/public/v1/submit/approve_activity", - { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" - }, stampWith); - } - - - stampApproveActivity = async (input: SdkTypes.TApproveActivityBody, stampWith?: StamperType): Promise => { + }; + + approveActivity = async ( + input: SdkTypes.TApproveActivityBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + return this.activityDecision( + "/public/v1/submit/approve_activity", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", + }, + stampWith, + ); + }; + + stampApproveActivity = async ( + input: SdkTypes.TApproveActivityBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1344,15 +1724,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1360,23 +1740,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createApiKeys = async ( + input: SdkTypes.TCreateApiKeysBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createApiKeys = async (input: SdkTypes.TCreateApiKeysBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_api_keys", { + return this.activity( + "/public/v1/submit/create_api_keys", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" - }, "createApiKeysResult", stampWith); - } - - - stampCreateApiKeys = async (input: SdkTypes.TCreateApiKeysBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", + }, + "createApiKeysResult", + stampWith, + ); + }; + + stampCreateApiKeys = async ( + input: SdkTypes.TCreateApiKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1384,15 +1776,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1400,23 +1792,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createApiOnlyUsers = async ( + input: SdkTypes.TCreateApiOnlyUsersBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createApiOnlyUsers = async (input: SdkTypes.TCreateApiOnlyUsersBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_api_only_users", { + return this.activity( + "/public/v1/submit/create_api_only_users", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" - }, "createApiOnlyUsersResult", stampWith); - } - - - stampCreateApiOnlyUsers = async (input: SdkTypes.TCreateApiOnlyUsersBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", + }, + "createApiOnlyUsersResult", + stampWith, + ); + }; + + stampCreateApiOnlyUsers = async ( + input: SdkTypes.TCreateApiOnlyUsersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1424,15 +1828,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1440,23 +1844,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createAuthenticators = async ( + input: SdkTypes.TCreateAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createAuthenticators = async (input: SdkTypes.TCreateAuthenticatorsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_authenticators", { + return this.activity( + "/public/v1/submit/create_authenticators", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" - }, "createAuthenticatorsResult", stampWith); - } - - - stampCreateAuthenticators = async (input: SdkTypes.TCreateAuthenticatorsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", + }, + "createAuthenticatorsResult", + stampWith, + ); + }; + + stampCreateAuthenticators = async ( + input: SdkTypes.TCreateAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1464,15 +1880,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1480,23 +1896,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createInvitations = async ( + input: SdkTypes.TCreateInvitationsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createInvitations = async (input: SdkTypes.TCreateInvitationsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_invitations", { + return this.activity( + "/public/v1/submit/create_invitations", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS" - }, "createInvitationsResult", stampWith); - } - - - stampCreateInvitations = async (input: SdkTypes.TCreateInvitationsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_INVITATIONS", + }, + "createInvitationsResult", + stampWith, + ); + }; + + stampCreateInvitations = async ( + input: SdkTypes.TCreateInvitationsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1504,15 +1932,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS" + type: "ACTIVITY_TYPE_CREATE_INVITATIONS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1520,23 +1948,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createOauth2Credential = async ( + input: SdkTypes.TCreateOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createOauth2Credential = async (input: SdkTypes.TCreateOauth2CredentialBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_oauth2_credential", { + return this.activity( + "/public/v1/submit/create_oauth2_credential", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL" - }, "createOauth2CredentialResult", stampWith); - } - - - stampCreateOauth2Credential = async (input: SdkTypes.TCreateOauth2CredentialBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL", + }, + "createOauth2CredentialResult", + stampWith, + ); + }; + + stampCreateOauth2Credential = async ( + input: SdkTypes.TCreateOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1544,15 +1984,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL" + type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1560,23 +2000,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createOauthProviders = async ( + input: SdkTypes.TCreateOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createOauthProviders = async (input: SdkTypes.TCreateOauthProvidersBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_oauth_providers", { + return this.activity( + "/public/v1/submit/create_oauth_providers", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" - }, "createOauthProvidersResult", stampWith); - } - - - stampCreateOauthProviders = async (input: SdkTypes.TCreateOauthProvidersBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", + }, + "createOauthProvidersResult", + stampWith, + ); + }; + + stampCreateOauthProviders = async ( + input: SdkTypes.TCreateOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1584,15 +2036,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1600,23 +2052,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createPolicies = async ( + input: SdkTypes.TCreatePoliciesBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createPolicies = async (input: SdkTypes.TCreatePoliciesBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_policies", { + return this.activity( + "/public/v1/submit/create_policies", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES" - }, "createPoliciesResult", stampWith); - } - - - stampCreatePolicies = async (input: SdkTypes.TCreatePoliciesBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_POLICIES", + }, + "createPoliciesResult", + stampWith, + ); + }; + + stampCreatePolicies = async ( + input: SdkTypes.TCreatePoliciesBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1624,15 +2088,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES" + type: "ACTIVITY_TYPE_CREATE_POLICIES", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1640,23 +2104,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createPolicy = async ( + input: SdkTypes.TCreatePolicyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createPolicy = async (input: SdkTypes.TCreatePolicyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_policy", { + return this.activity( + "/public/v1/submit/create_policy", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3" - }, "createPolicyResult", stampWith); - } - - - stampCreatePolicy = async (input: SdkTypes.TCreatePolicyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_POLICY_V3", + }, + "createPolicyResult", + stampWith, + ); + }; + + stampCreatePolicy = async ( + input: SdkTypes.TCreatePolicyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1669,10 +2145,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3" + type: "ACTIVITY_TYPE_CREATE_POLICY_V3", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1680,23 +2155,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createPrivateKeyTag = async ( + input: SdkTypes.TCreatePrivateKeyTagBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createPrivateKeyTag = async (input: SdkTypes.TCreatePrivateKeyTagBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_private_key_tag", { + return this.activity( + "/public/v1/submit/create_private_key_tag", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" - }, "createPrivateKeyTagResult", stampWith); - } - - - stampCreatePrivateKeyTag = async (input: SdkTypes.TCreatePrivateKeyTagBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", + }, + "createPrivateKeyTagResult", + stampWith, + ); + }; + + stampCreatePrivateKeyTag = async ( + input: SdkTypes.TCreatePrivateKeyTagBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1704,15 +2191,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1720,23 +2207,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createPrivateKeys = async ( + input: SdkTypes.TCreatePrivateKeysBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createPrivateKeys = async (input: SdkTypes.TCreatePrivateKeysBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_private_keys", { + return this.activity( + "/public/v1/submit/create_private_keys", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" - }, "createPrivateKeysResult", stampWith); - } - - - stampCreatePrivateKeys = async (input: SdkTypes.TCreatePrivateKeysBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", + }, + "createPrivateKeysResult", + stampWith, + ); + }; + + stampCreatePrivateKeys = async ( + input: SdkTypes.TCreatePrivateKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1744,15 +2243,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1760,23 +2259,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createReadOnlySession = async ( + input: SdkTypes.TCreateReadOnlySessionBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createReadOnlySession = async (input: SdkTypes.TCreateReadOnlySessionBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_read_only_session", { + return this.activity( + "/public/v1/submit/create_read_only_session", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" - }, "createReadOnlySessionResult", stampWith); - } - - - stampCreateReadOnlySession = async (input: SdkTypes.TCreateReadOnlySessionBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", + }, + "createReadOnlySessionResult", + stampWith, + ); + }; + + stampCreateReadOnlySession = async ( + input: SdkTypes.TCreateReadOnlySessionBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1784,15 +2295,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1800,23 +2311,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createReadWriteSession = async ( + input: SdkTypes.TCreateReadWriteSessionBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createReadWriteSession = async (input: SdkTypes.TCreateReadWriteSessionBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_read_write_session", { + return this.activity( + "/public/v1/submit/create_read_write_session", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" - }, "createReadWriteSessionResult", stampWith); - } - - - stampCreateReadWriteSession = async (input: SdkTypes.TCreateReadWriteSessionBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", + }, + "createReadWriteSessionResult", + stampWith, + ); + }; + + stampCreateReadWriteSession = async ( + input: SdkTypes.TCreateReadWriteSessionBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1824,15 +2347,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1840,23 +2363,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createSmartContractInterface = async ( + input: SdkTypes.TCreateSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createSmartContractInterface = async (input: SdkTypes.TCreateSmartContractInterfaceBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_smart_contract_interface", { + return this.activity( + "/public/v1/submit/create_smart_contract_interface", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" - }, "createSmartContractInterfaceResult", stampWith); - } - - - stampCreateSmartContractInterface = async (input: SdkTypes.TCreateSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", + }, + "createSmartContractInterfaceResult", + stampWith, + ); + }; + + stampCreateSmartContractInterface = async ( + input: SdkTypes.TCreateSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1864,15 +2399,16 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/create_smart_contract_interface"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1880,23 +2416,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createSubOrganization = async ( + input: SdkTypes.TCreateSubOrganizationBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createSubOrganization = async (input: SdkTypes.TCreateSubOrganizationBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_sub_organization", { + return this.activity( + "/public/v1/submit/create_sub_organization", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" - }, "createSubOrganizationResult", stampWith); - } - - - stampCreateSubOrganization = async (input: SdkTypes.TCreateSubOrganizationBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", + }, + "createSubOrganizationResult", + stampWith, + ); + }; + + stampCreateSubOrganization = async ( + input: SdkTypes.TCreateSubOrganizationBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1904,15 +2452,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1920,23 +2468,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createUserTag = async ( + input: SdkTypes.TCreateUserTagBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createUserTag = async (input: SdkTypes.TCreateUserTagBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_user_tag", { + return this.activity( + "/public/v1/submit/create_user_tag", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG" - }, "createUserTagResult", stampWith); - } - - - stampCreateUserTag = async (input: SdkTypes.TCreateUserTagBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_USER_TAG", + }, + "createUserTagResult", + stampWith, + ); + }; + + stampCreateUserTag = async ( + input: SdkTypes.TCreateUserTagBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1944,15 +2504,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG" + type: "ACTIVITY_TYPE_CREATE_USER_TAG", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -1960,23 +2520,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createUsers = async ( + input: SdkTypes.TCreateUsersBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createUsers = async (input: SdkTypes.TCreateUsersBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_users", { + return this.activity( + "/public/v1/submit/create_users", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3" - }, "createUsersResult", stampWith); - } - - - stampCreateUsers = async (input: SdkTypes.TCreateUsersBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_USERS_V3", + }, + "createUsersResult", + stampWith, + ); + }; + + stampCreateUsers = async ( + input: SdkTypes.TCreateUsersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -1989,10 +2561,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3" + type: "ACTIVITY_TYPE_CREATE_USERS_V3", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2000,23 +2571,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createWallet = async ( + input: SdkTypes.TCreateWalletBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createWallet = async (input: SdkTypes.TCreateWalletBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_wallet", { + return this.activity( + "/public/v1/submit/create_wallet", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET" - }, "createWalletResult", stampWith); - } - - - stampCreateWallet = async (input: SdkTypes.TCreateWalletBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_WALLET", + }, + "createWalletResult", + stampWith, + ); + }; + + stampCreateWallet = async ( + input: SdkTypes.TCreateWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2029,10 +2612,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET" + type: "ACTIVITY_TYPE_CREATE_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2040,23 +2622,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + createWalletAccounts = async ( + input: SdkTypes.TCreateWalletAccountsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - createWalletAccounts = async (input: SdkTypes.TCreateWalletAccountsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/create_wallet_accounts", { + return this.activity( + "/public/v1/submit/create_wallet_accounts", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" - }, "createWalletAccountsResult", stampWith); - } - - - stampCreateWalletAccounts = async (input: SdkTypes.TCreateWalletAccountsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", + }, + "createWalletAccountsResult", + stampWith, + ); + }; + + stampCreateWalletAccounts = async ( + input: SdkTypes.TCreateWalletAccountsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2064,15 +2658,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2080,23 +2674,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteApiKeys = async ( + input: SdkTypes.TDeleteApiKeysBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteApiKeys = async (input: SdkTypes.TDeleteApiKeysBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_api_keys", { + return this.activity( + "/public/v1/submit/delete_api_keys", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS" - }, "deleteApiKeysResult", stampWith); - } - - - stampDeleteApiKeys = async (input: SdkTypes.TDeleteApiKeysBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_API_KEYS", + }, + "deleteApiKeysResult", + stampWith, + ); + }; + + stampDeleteApiKeys = async ( + input: SdkTypes.TDeleteApiKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2104,15 +2710,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS" + type: "ACTIVITY_TYPE_DELETE_API_KEYS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2120,23 +2726,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteAuthenticators = async ( + input: SdkTypes.TDeleteAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteAuthenticators = async (input: SdkTypes.TDeleteAuthenticatorsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_authenticators", { + return this.activity( + "/public/v1/submit/delete_authenticators", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" - }, "deleteAuthenticatorsResult", stampWith); - } - - - stampDeleteAuthenticators = async (input: SdkTypes.TDeleteAuthenticatorsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", + }, + "deleteAuthenticatorsResult", + stampWith, + ); + }; + + stampDeleteAuthenticators = async ( + input: SdkTypes.TDeleteAuthenticatorsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2144,15 +2762,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2160,23 +2778,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteInvitation = async ( + input: SdkTypes.TDeleteInvitationBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteInvitation = async (input: SdkTypes.TDeleteInvitationBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_invitation", { + return this.activity( + "/public/v1/submit/delete_invitation", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION" - }, "deleteInvitationResult", stampWith); - } - - - stampDeleteInvitation = async (input: SdkTypes.TDeleteInvitationBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_INVITATION", + }, + "deleteInvitationResult", + stampWith, + ); + }; + + stampDeleteInvitation = async ( + input: SdkTypes.TDeleteInvitationBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2184,15 +2814,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION" + type: "ACTIVITY_TYPE_DELETE_INVITATION", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2200,23 +2830,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteOauth2Credential = async ( + input: SdkTypes.TDeleteOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteOauth2Credential = async (input: SdkTypes.TDeleteOauth2CredentialBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_oauth2_credential", { + return this.activity( + "/public/v1/submit/delete_oauth2_credential", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL" - }, "deleteOauth2CredentialResult", stampWith); - } - - - stampDeleteOauth2Credential = async (input: SdkTypes.TDeleteOauth2CredentialBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL", + }, + "deleteOauth2CredentialResult", + stampWith, + ); + }; + + stampDeleteOauth2Credential = async ( + input: SdkTypes.TDeleteOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2224,15 +2866,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL" + type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2240,23 +2882,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteOauthProviders = async ( + input: SdkTypes.TDeleteOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteOauthProviders = async (input: SdkTypes.TDeleteOauthProvidersBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_oauth_providers", { + return this.activity( + "/public/v1/submit/delete_oauth_providers", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" - }, "deleteOauthProvidersResult", stampWith); - } - - - stampDeleteOauthProviders = async (input: SdkTypes.TDeleteOauthProvidersBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", + }, + "deleteOauthProvidersResult", + stampWith, + ); + }; + + stampDeleteOauthProviders = async ( + input: SdkTypes.TDeleteOauthProvidersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2264,15 +2918,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2280,23 +2934,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deletePolicy = async ( + input: SdkTypes.TDeletePolicyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deletePolicy = async (input: SdkTypes.TDeletePolicyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_policy", { + return this.activity( + "/public/v1/submit/delete_policy", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY" - }, "deletePolicyResult", stampWith); - } - - - stampDeletePolicy = async (input: SdkTypes.TDeletePolicyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_POLICY", + }, + "deletePolicyResult", + stampWith, + ); + }; + + stampDeletePolicy = async ( + input: SdkTypes.TDeletePolicyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2309,10 +2975,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY" + type: "ACTIVITY_TYPE_DELETE_POLICY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2320,23 +2985,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deletePrivateKeyTags = async ( + input: SdkTypes.TDeletePrivateKeyTagsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deletePrivateKeyTags = async (input: SdkTypes.TDeletePrivateKeyTagsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_private_key_tags", { + return this.activity( + "/public/v1/submit/delete_private_key_tags", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" - }, "deletePrivateKeyTagsResult", stampWith); - } - - - stampDeletePrivateKeyTags = async (input: SdkTypes.TDeletePrivateKeyTagsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", + }, + "deletePrivateKeyTagsResult", + stampWith, + ); + }; + + stampDeletePrivateKeyTags = async ( + input: SdkTypes.TDeletePrivateKeyTagsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2344,15 +3021,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2360,23 +3037,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deletePrivateKeys = async ( + input: SdkTypes.TDeletePrivateKeysBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deletePrivateKeys = async (input: SdkTypes.TDeletePrivateKeysBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_private_keys", { + return this.activity( + "/public/v1/submit/delete_private_keys", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" - }, "deletePrivateKeysResult", stampWith); - } - - - stampDeletePrivateKeys = async (input: SdkTypes.TDeletePrivateKeysBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", + }, + "deletePrivateKeysResult", + stampWith, + ); + }; + + stampDeletePrivateKeys = async ( + input: SdkTypes.TDeletePrivateKeysBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2384,15 +3073,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2400,23 +3089,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteSmartContractInterface = async ( + input: SdkTypes.TDeleteSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteSmartContractInterface = async (input: SdkTypes.TDeleteSmartContractInterfaceBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_smart_contract_interface", { + return this.activity( + "/public/v1/submit/delete_smart_contract_interface", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" - }, "deleteSmartContractInterfaceResult", stampWith); - } - - - stampDeleteSmartContractInterface = async (input: SdkTypes.TDeleteSmartContractInterfaceBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", + }, + "deleteSmartContractInterfaceResult", + stampWith, + ); + }; + + stampDeleteSmartContractInterface = async ( + input: SdkTypes.TDeleteSmartContractInterfaceBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2424,15 +3125,16 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/delete_smart_contract_interface"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2440,23 +3142,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteSubOrganization = async ( + input: SdkTypes.TDeleteSubOrganizationBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteSubOrganization = async (input: SdkTypes.TDeleteSubOrganizationBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_sub_organization", { + return this.activity( + "/public/v1/submit/delete_sub_organization", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" - }, "deleteSubOrganizationResult", stampWith); - } - - - stampDeleteSubOrganization = async (input: SdkTypes.TDeleteSubOrganizationBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", + }, + "deleteSubOrganizationResult", + stampWith, + ); + }; + + stampDeleteSubOrganization = async ( + input: SdkTypes.TDeleteSubOrganizationBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2464,15 +3178,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2480,23 +3194,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteUserTags = async ( + input: SdkTypes.TDeleteUserTagsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteUserTags = async (input: SdkTypes.TDeleteUserTagsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_user_tags", { + return this.activity( + "/public/v1/submit/delete_user_tags", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS" - }, "deleteUserTagsResult", stampWith); - } - - - stampDeleteUserTags = async (input: SdkTypes.TDeleteUserTagsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_USER_TAGS", + }, + "deleteUserTagsResult", + stampWith, + ); + }; + + stampDeleteUserTags = async ( + input: SdkTypes.TDeleteUserTagsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2504,15 +3230,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS" + type: "ACTIVITY_TYPE_DELETE_USER_TAGS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2520,23 +3246,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteUsers = async ( + input: SdkTypes.TDeleteUsersBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteUsers = async (input: SdkTypes.TDeleteUsersBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_users", { + return this.activity( + "/public/v1/submit/delete_users", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS" - }, "deleteUsersResult", stampWith); - } - - - stampDeleteUsers = async (input: SdkTypes.TDeleteUsersBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_USERS", + }, + "deleteUsersResult", + stampWith, + ); + }; + + stampDeleteUsers = async ( + input: SdkTypes.TDeleteUsersBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2549,10 +3287,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS" + type: "ACTIVITY_TYPE_DELETE_USERS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2560,23 +3297,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + deleteWallets = async ( + input: SdkTypes.TDeleteWalletsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - deleteWallets = async (input: SdkTypes.TDeleteWalletsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/delete_wallets", { + return this.activity( + "/public/v1/submit/delete_wallets", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS" - }, "deleteWalletsResult", stampWith); - } - - - stampDeleteWallets = async (input: SdkTypes.TDeleteWalletsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_DELETE_WALLETS", + }, + "deleteWalletsResult", + stampWith, + ); + }; + + stampDeleteWallets = async ( + input: SdkTypes.TDeleteWalletsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2589,10 +3338,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS" + type: "ACTIVITY_TYPE_DELETE_WALLETS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2600,23 +3348,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + emailAuth = async ( + input: SdkTypes.TEmailAuthBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - emailAuth = async (input: SdkTypes.TEmailAuthBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/email_auth", { + return this.activity( + "/public/v1/submit/email_auth", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" - }, "emailAuthResult", stampWith); - } - - - stampEmailAuth = async (input: SdkTypes.TEmailAuthBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", + }, + "emailAuthResult", + stampWith, + ); + }; + + stampEmailAuth = async ( + input: SdkTypes.TEmailAuthBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2629,10 +3389,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2640,23 +3399,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + exportPrivateKey = async ( + input: SdkTypes.TExportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - exportPrivateKey = async (input: SdkTypes.TExportPrivateKeyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/export_private_key", { + return this.activity( + "/public/v1/submit/export_private_key", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" - }, "exportPrivateKeyResult", stampWith); - } - - - stampExportPrivateKey = async (input: SdkTypes.TExportPrivateKeyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", + }, + "exportPrivateKeyResult", + stampWith, + ); + }; + + stampExportPrivateKey = async ( + input: SdkTypes.TExportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2664,15 +3435,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2680,23 +3451,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + exportWallet = async ( + input: SdkTypes.TExportWalletBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - exportWallet = async (input: SdkTypes.TExportWalletBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/export_wallet", { + return this.activity( + "/public/v1/submit/export_wallet", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET" - }, "exportWalletResult", stampWith); - } - - - stampExportWallet = async (input: SdkTypes.TExportWalletBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_EXPORT_WALLET", + }, + "exportWalletResult", + stampWith, + ); + }; + + stampExportWallet = async ( + input: SdkTypes.TExportWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2709,10 +3492,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET" + type: "ACTIVITY_TYPE_EXPORT_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2720,23 +3502,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + exportWalletAccount = async ( + input: SdkTypes.TExportWalletAccountBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - exportWalletAccount = async (input: SdkTypes.TExportWalletAccountBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/export_wallet_account", { + return this.activity( + "/public/v1/submit/export_wallet_account", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" - }, "exportWalletAccountResult", stampWith); - } - - - stampExportWalletAccount = async (input: SdkTypes.TExportWalletAccountBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", + }, + "exportWalletAccountResult", + stampWith, + ); + }; + + stampExportWalletAccount = async ( + input: SdkTypes.TExportWalletAccountBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2744,15 +3538,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2760,23 +3554,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + importPrivateKey = async ( + input: SdkTypes.TImportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - importPrivateKey = async (input: SdkTypes.TImportPrivateKeyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/import_private_key", { + return this.activity( + "/public/v1/submit/import_private_key", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" - }, "importPrivateKeyResult", stampWith); - } - - - stampImportPrivateKey = async (input: SdkTypes.TImportPrivateKeyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", + }, + "importPrivateKeyResult", + stampWith, + ); + }; + + stampImportPrivateKey = async ( + input: SdkTypes.TImportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2784,15 +3590,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2800,23 +3606,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + importWallet = async ( + input: SdkTypes.TImportWalletBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - importWallet = async (input: SdkTypes.TImportWalletBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/import_wallet", { + return this.activity( + "/public/v1/submit/import_wallet", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET" - }, "importWalletResult", stampWith); - } - - - stampImportWallet = async (input: SdkTypes.TImportWalletBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_IMPORT_WALLET", + }, + "importWalletResult", + stampWith, + ); + }; + + stampImportWallet = async ( + input: SdkTypes.TImportWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2829,10 +3647,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET" + type: "ACTIVITY_TYPE_IMPORT_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2840,23 +3657,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initFiatOnRamp = async ( + input: SdkTypes.TInitFiatOnRampBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initFiatOnRamp = async (input: SdkTypes.TInitFiatOnRampBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_fiat_on_ramp", { + return this.activity( + "/public/v1/submit/init_fiat_on_ramp", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" - }, "initFiatOnRampResult", stampWith); - } - - - stampInitFiatOnRamp = async (input: SdkTypes.TInitFiatOnRampBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", + }, + "initFiatOnRampResult", + stampWith, + ); + }; + + stampInitFiatOnRamp = async ( + input: SdkTypes.TInitFiatOnRampBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2864,15 +3693,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2880,23 +3709,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initImportPrivateKey = async ( + input: SdkTypes.TInitImportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initImportPrivateKey = async (input: SdkTypes.TInitImportPrivateKeyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_import_private_key", { + return this.activity( + "/public/v1/submit/init_import_private_key", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" - }, "initImportPrivateKeyResult", stampWith); - } - - - stampInitImportPrivateKey = async (input: SdkTypes.TInitImportPrivateKeyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", + }, + "initImportPrivateKeyResult", + stampWith, + ); + }; + + stampInitImportPrivateKey = async ( + input: SdkTypes.TInitImportPrivateKeyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2904,15 +3745,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2920,23 +3761,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initImportWallet = async ( + input: SdkTypes.TInitImportWalletBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initImportWallet = async (input: SdkTypes.TInitImportWalletBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_import_wallet", { + return this.activity( + "/public/v1/submit/init_import_wallet", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" - }, "initImportWalletResult", stampWith); - } - - - stampInitImportWallet = async (input: SdkTypes.TInitImportWalletBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", + }, + "initImportWalletResult", + stampWith, + ); + }; + + stampInitImportWallet = async ( + input: SdkTypes.TInitImportWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2944,15 +3797,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -2960,23 +3813,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initOtp = async ( + input: SdkTypes.TInitOtpBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initOtp = async (input: SdkTypes.TInitOtpBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_otp", { + return this.activity( + "/public/v1/submit/init_otp", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP" - }, "initOtpResult", stampWith); - } - - - stampInitOtp = async (input: SdkTypes.TInitOtpBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_OTP", + }, + "initOtpResult", + stampWith, + ); + }; + + stampInitOtp = async ( + input: SdkTypes.TInitOtpBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -2989,10 +3854,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP" + type: "ACTIVITY_TYPE_INIT_OTP", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3000,23 +3864,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initOtpAuth = async ( + input: SdkTypes.TInitOtpAuthBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initOtpAuth = async (input: SdkTypes.TInitOtpAuthBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_otp_auth", { + return this.activity( + "/public/v1/submit/init_otp_auth", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" - }, "initOtpAuthResult", stampWith); - } - - - stampInitOtpAuth = async (input: SdkTypes.TInitOtpAuthBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", + }, + "initOtpAuthResult", + stampWith, + ); + }; + + stampInitOtpAuth = async ( + input: SdkTypes.TInitOtpAuthBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3029,10 +3905,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3040,23 +3915,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + initUserEmailRecovery = async ( + input: SdkTypes.TInitUserEmailRecoveryBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - initUserEmailRecovery = async (input: SdkTypes.TInitUserEmailRecoveryBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/init_user_email_recovery", { + return this.activity( + "/public/v1/submit/init_user_email_recovery", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" - }, "initUserEmailRecoveryResult", stampWith); - } - - - stampInitUserEmailRecovery = async (input: SdkTypes.TInitUserEmailRecoveryBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", + }, + "initUserEmailRecoveryResult", + stampWith, + ); + }; + + stampInitUserEmailRecovery = async ( + input: SdkTypes.TInitUserEmailRecoveryBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3064,15 +3951,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3080,23 +3967,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + oauth = async ( + input: SdkTypes.TOauthBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - oauth = async (input: SdkTypes.TOauthBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/oauth", { + return this.activity( + "/public/v1/submit/oauth", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH" - }, "oauthResult", stampWith); - } - - - stampOauth = async (input: SdkTypes.TOauthBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_OAUTH", + }, + "oauthResult", + stampWith, + ); + }; + + stampOauth = async ( + input: SdkTypes.TOauthBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3109,10 +4008,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH" + type: "ACTIVITY_TYPE_OAUTH", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3120,23 +4018,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + oauth2Authenticate = async ( + input: SdkTypes.TOauth2AuthenticateBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - oauth2Authenticate = async (input: SdkTypes.TOauth2AuthenticateBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/oauth2_authenticate", { + return this.activity( + "/public/v1/submit/oauth2_authenticate", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE" - }, "oauth2AuthenticateResult", stampWith); - } - - - stampOauth2Authenticate = async (input: SdkTypes.TOauth2AuthenticateBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE", + }, + "oauth2AuthenticateResult", + stampWith, + ); + }; + + stampOauth2Authenticate = async ( + input: SdkTypes.TOauth2AuthenticateBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3144,15 +4054,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE" + type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3160,23 +4070,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + oauthLogin = async ( + input: SdkTypes.TOauthLoginBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - oauthLogin = async (input: SdkTypes.TOauthLoginBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/oauth_login", { + return this.activity( + "/public/v1/submit/oauth_login", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN" - }, "oauthLoginResult", stampWith); - } - - - stampOauthLogin = async (input: SdkTypes.TOauthLoginBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_OAUTH_LOGIN", + }, + "oauthLoginResult", + stampWith, + ); + }; + + stampOauthLogin = async ( + input: SdkTypes.TOauthLoginBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3189,10 +4111,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN" + type: "ACTIVITY_TYPE_OAUTH_LOGIN", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3200,23 +4121,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + otpAuth = async ( + input: SdkTypes.TOtpAuthBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - otpAuth = async (input: SdkTypes.TOtpAuthBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/otp_auth", { + return this.activity( + "/public/v1/submit/otp_auth", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH" - }, "otpAuthResult", stampWith); - } - - - stampOtpAuth = async (input: SdkTypes.TOtpAuthBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_OTP_AUTH", + }, + "otpAuthResult", + stampWith, + ); + }; + + stampOtpAuth = async ( + input: SdkTypes.TOtpAuthBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3229,10 +4162,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH" + type: "ACTIVITY_TYPE_OTP_AUTH", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3240,23 +4172,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + otpLogin = async ( + input: SdkTypes.TOtpLoginBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - otpLogin = async (input: SdkTypes.TOtpLoginBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/otp_login", { + return this.activity( + "/public/v1/submit/otp_login", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN" - }, "otpLoginResult", stampWith); - } - - - stampOtpLogin = async (input: SdkTypes.TOtpLoginBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_OTP_LOGIN", + }, + "otpLoginResult", + stampWith, + ); + }; + + stampOtpLogin = async ( + input: SdkTypes.TOtpLoginBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3269,10 +4213,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN" + type: "ACTIVITY_TYPE_OTP_LOGIN", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3280,23 +4223,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + recoverUser = async ( + input: SdkTypes.TRecoverUserBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - recoverUser = async (input: SdkTypes.TRecoverUserBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/recover_user", { + return this.activity( + "/public/v1/submit/recover_user", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER" - }, "recoverUserResult", stampWith); - } - - - stampRecoverUser = async (input: SdkTypes.TRecoverUserBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_RECOVER_USER", + }, + "recoverUserResult", + stampWith, + ); + }; + + stampRecoverUser = async ( + input: SdkTypes.TRecoverUserBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3309,10 +4264,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER" + type: "ACTIVITY_TYPE_RECOVER_USER", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3320,23 +4274,33 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - - - rejectActivity = async (input: SdkTypes.TRejectActivityBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - return this.activityDecision("/public/v1/submit/reject_activity", - { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY" - }, stampWith); - } - - - stampRejectActivity = async (input: SdkTypes.TRejectActivityBody, stampWith?: StamperType): Promise => { + }; + + rejectActivity = async ( + input: SdkTypes.TRejectActivityBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); + return this.activityDecision( + "/public/v1/submit/reject_activity", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REJECT_ACTIVITY", + }, + stampWith, + ); + }; + + stampRejectActivity = async ( + input: SdkTypes.TRejectActivityBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3344,15 +4308,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY" + type: "ACTIVITY_TYPE_REJECT_ACTIVITY", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3360,23 +4324,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + removeOrganizationFeature = async ( + input: SdkTypes.TRemoveOrganizationFeatureBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - removeOrganizationFeature = async (input: SdkTypes.TRemoveOrganizationFeatureBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/remove_organization_feature", { + return this.activity( + "/public/v1/submit/remove_organization_feature", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" - }, "removeOrganizationFeatureResult", stampWith); - } - - - stampRemoveOrganizationFeature = async (input: SdkTypes.TRemoveOrganizationFeatureBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", + }, + "removeOrganizationFeatureResult", + stampWith, + ); + }; + + stampRemoveOrganizationFeature = async ( + input: SdkTypes.TRemoveOrganizationFeatureBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3384,15 +4360,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3400,23 +4376,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + setOrganizationFeature = async ( + input: SdkTypes.TSetOrganizationFeatureBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - setOrganizationFeature = async (input: SdkTypes.TSetOrganizationFeatureBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/set_organization_feature", { + return this.activity( + "/public/v1/submit/set_organization_feature", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" - }, "setOrganizationFeatureResult", stampWith); - } - - - stampSetOrganizationFeature = async (input: SdkTypes.TSetOrganizationFeatureBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", + }, + "setOrganizationFeatureResult", + stampWith, + ); + }; + + stampSetOrganizationFeature = async ( + input: SdkTypes.TSetOrganizationFeatureBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3424,15 +4412,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3440,23 +4428,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + signRawPayload = async ( + input: SdkTypes.TSignRawPayloadBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - signRawPayload = async (input: SdkTypes.TSignRawPayloadBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/sign_raw_payload", { + return this.activity( + "/public/v1/submit/sign_raw_payload", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" - }, "signRawPayloadResult", stampWith); - } - - - stampSignRawPayload = async (input: SdkTypes.TSignRawPayloadBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", + }, + "signRawPayloadResult", + stampWith, + ); + }; + + stampSignRawPayload = async ( + input: SdkTypes.TSignRawPayloadBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3464,15 +4464,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3480,23 +4480,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + signRawPayloads = async ( + input: SdkTypes.TSignRawPayloadsBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - signRawPayloads = async (input: SdkTypes.TSignRawPayloadsBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/sign_raw_payloads", { + return this.activity( + "/public/v1/submit/sign_raw_payloads", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" - }, "signRawPayloadsResult", stampWith); - } - - - stampSignRawPayloads = async (input: SdkTypes.TSignRawPayloadsBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", + }, + "signRawPayloadsResult", + stampWith, + ); + }; + + stampSignRawPayloads = async ( + input: SdkTypes.TSignRawPayloadsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3504,15 +4516,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3520,23 +4532,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + signTransaction = async ( + input: SdkTypes.TSignTransactionBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - signTransaction = async (input: SdkTypes.TSignTransactionBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/sign_transaction", { + return this.activity( + "/public/v1/submit/sign_transaction", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" - }, "signTransactionResult", stampWith); - } - - - stampSignTransaction = async (input: SdkTypes.TSignTransactionBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", + }, + "signTransactionResult", + stampWith, + ); + }; + + stampSignTransaction = async ( + input: SdkTypes.TSignTransactionBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3544,15 +4568,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3560,23 +4584,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + stampLogin = async ( + input: SdkTypes.TStampLoginBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - stampLogin = async (input: SdkTypes.TStampLoginBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/stamp_login", { + return this.activity( + "/public/v1/submit/stamp_login", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN" - }, "stampLoginResult", stampWith); - } - - - stampStampLogin = async (input: SdkTypes.TStampLoginBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_STAMP_LOGIN", + }, + "stampLoginResult", + stampWith, + ); + }; + + stampStampLogin = async ( + input: SdkTypes.TStampLoginBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3589,10 +4625,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN" + type: "ACTIVITY_TYPE_STAMP_LOGIN", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3600,23 +4635,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateOauth2Credential = async ( + input: SdkTypes.TUpdateOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateOauth2Credential = async (input: SdkTypes.TUpdateOauth2CredentialBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_oauth2_credential", { + return this.activity( + "/public/v1/submit/update_oauth2_credential", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL" - }, "updateOauth2CredentialResult", stampWith); - } - - - stampUpdateOauth2Credential = async (input: SdkTypes.TUpdateOauth2CredentialBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL", + }, + "updateOauth2CredentialResult", + stampWith, + ); + }; + + stampUpdateOauth2Credential = async ( + input: SdkTypes.TUpdateOauth2CredentialBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3624,15 +4671,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL" + type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3640,23 +4687,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updatePolicy = async ( + input: SdkTypes.TUpdatePolicyBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updatePolicy = async (input: SdkTypes.TUpdatePolicyBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_policy", { + return this.activity( + "/public/v1/submit/update_policy", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" - }, "updatePolicyResult", stampWith); - } - - - stampUpdatePolicy = async (input: SdkTypes.TUpdatePolicyBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", + }, + "updatePolicyResult", + stampWith, + ); + }; + + stampUpdatePolicy = async ( + input: SdkTypes.TUpdatePolicyBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3669,10 +4728,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3680,23 +4738,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updatePrivateKeyTag = async ( + input: SdkTypes.TUpdatePrivateKeyTagBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updatePrivateKeyTag = async (input: SdkTypes.TUpdatePrivateKeyTagBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_private_key_tag", { + return this.activity( + "/public/v1/submit/update_private_key_tag", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" - }, "updatePrivateKeyTagResult", stampWith); - } - - - stampUpdatePrivateKeyTag = async (input: SdkTypes.TUpdatePrivateKeyTagBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", + }, + "updatePrivateKeyTagResult", + stampWith, + ); + }; + + stampUpdatePrivateKeyTag = async ( + input: SdkTypes.TUpdatePrivateKeyTagBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3704,15 +4774,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3720,23 +4790,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateRootQuorum = async ( + input: SdkTypes.TUpdateRootQuorumBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateRootQuorum = async (input: SdkTypes.TUpdateRootQuorumBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_root_quorum", { + return this.activity( + "/public/v1/submit/update_root_quorum", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" - }, "updateRootQuorumResult", stampWith); - } - - - stampUpdateRootQuorum = async (input: SdkTypes.TUpdateRootQuorumBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", + }, + "updateRootQuorumResult", + stampWith, + ); + }; + + stampUpdateRootQuorum = async ( + input: SdkTypes.TUpdateRootQuorumBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3744,15 +4826,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3760,23 +4842,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateUser = async ( + input: SdkTypes.TUpdateUserBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateUser = async (input: SdkTypes.TUpdateUserBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_user", { + return this.activity( + "/public/v1/submit/update_user", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER" - }, "updateUserResult", stampWith); - } - - - stampUpdateUser = async (input: SdkTypes.TUpdateUserBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER", + }, + "updateUserResult", + stampWith, + ); + }; + + stampUpdateUser = async ( + input: SdkTypes.TUpdateUserBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3789,10 +4883,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER" + type: "ACTIVITY_TYPE_UPDATE_USER", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3800,23 +4893,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateUserEmail = async ( + input: SdkTypes.TUpdateUserEmailBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateUserEmail = async (input: SdkTypes.TUpdateUserEmailBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_user_email", { + return this.activity( + "/public/v1/submit/update_user_email", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" - }, "updateUserEmailResult", stampWith); - } - - - stampUpdateUserEmail = async (input: SdkTypes.TUpdateUserEmailBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", + }, + "updateUserEmailResult", + stampWith, + ); + }; + + stampUpdateUserEmail = async ( + input: SdkTypes.TUpdateUserEmailBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3824,15 +4929,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3840,23 +4945,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateUserName = async ( + input: SdkTypes.TUpdateUserNameBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateUserName = async (input: SdkTypes.TUpdateUserNameBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_user_name", { + return this.activity( + "/public/v1/submit/update_user_name", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME" - }, "updateUserNameResult", stampWith); - } - - - stampUpdateUserName = async (input: SdkTypes.TUpdateUserNameBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_NAME", + }, + "updateUserNameResult", + stampWith, + ); + }; + + stampUpdateUserName = async ( + input: SdkTypes.TUpdateUserNameBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3864,15 +4981,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME" + type: "ACTIVITY_TYPE_UPDATE_USER_NAME", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3880,23 +4997,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateUserPhoneNumber = async ( + input: SdkTypes.TUpdateUserPhoneNumberBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateUserPhoneNumber = async (input: SdkTypes.TUpdateUserPhoneNumberBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_user_phone_number", { + return this.activity( + "/public/v1/submit/update_user_phone_number", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" - }, "updateUserPhoneNumberResult", stampWith); - } - - - stampUpdateUserPhoneNumber = async (input: SdkTypes.TUpdateUserPhoneNumberBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", + }, + "updateUserPhoneNumberResult", + stampWith, + ); + }; + + stampUpdateUserPhoneNumber = async ( + input: SdkTypes.TUpdateUserPhoneNumberBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3904,15 +5033,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3920,23 +5049,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateUserTag = async ( + input: SdkTypes.TUpdateUserTagBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateUserTag = async (input: SdkTypes.TUpdateUserTagBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_user_tag", { + return this.activity( + "/public/v1/submit/update_user_tag", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG" - }, "updateUserTagResult", stampWith); - } - - - stampUpdateUserTag = async (input: SdkTypes.TUpdateUserTagBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_USER_TAG", + }, + "updateUserTagResult", + stampWith, + ); + }; + + stampUpdateUserTag = async ( + input: SdkTypes.TUpdateUserTagBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3944,15 +5085,15 @@ import { StamperType } from "../__types__/base"; const { organizationId, timestampMs, ...parameters } = input; - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const bodyWithType = { parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG" + type: "ACTIVITY_TYPE_UPDATE_USER_TAG", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -3960,23 +5101,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + updateWallet = async ( + input: SdkTypes.TUpdateWalletBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - updateWallet = async (input: SdkTypes.TUpdateWalletBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/update_wallet", { + return this.activity( + "/public/v1/submit/update_wallet", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET" - }, "updateWalletResult", stampWith); - } - - - stampUpdateWallet = async (input: SdkTypes.TUpdateWalletBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_UPDATE_WALLET", + }, + "updateWalletResult", + stampWith, + ); + }; + + stampUpdateWallet = async ( + input: SdkTypes.TUpdateWalletBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -3989,10 +5142,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET" + type: "ACTIVITY_TYPE_UPDATE_WALLET", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4000,23 +5152,35 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } + }; + verifyOtp = async ( + input: SdkTypes.TVerifyOtpBody, + stampWith?: StamperType, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + const session = await this.storageManager?.getActiveSession(); - verifyOtp = async (input: SdkTypes.TVerifyOtpBody, stampWith?: StamperType): Promise => { - const { organizationId, timestampMs, ...rest } = input; - const session = await this.storageManager?.getActiveSession(); - - return this.activity("/public/v1/submit/verify_otp", { + return this.activity( + "/public/v1/submit/verify_otp", + { parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP" - }, "verifyOtpResult", stampWith); - } - - - stampVerifyOtp = async (input: SdkTypes.TVerifyOtpBody, stampWith?: StamperType): Promise => { + type: "ACTIVITY_TYPE_VERIFY_OTP", + }, + "verifyOtpResult", + stampWith, + ); + }; + + stampVerifyOtp = async ( + input: SdkTypes.TVerifyOtpBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4029,10 +5193,9 @@ import { StamperType } from "../__types__/base"; parameters, organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP" + type: "ACTIVITY_TYPE_VERIFY_OTP", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4040,19 +5203,30 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - + }; - testRateLimits = async (input: SdkTypes.TTestRateLimitsBody, stampWith?: StamperType): Promise => { - const session = await this.storageManager?.getActiveSession(); - return this.request("/tkhq/api/v1/test_rate_limits", { + testRateLimits = async ( + input: SdkTypes.TTestRateLimitsBody, + stampWith?: StamperType, + ): Promise => { + const session = await this.storageManager?.getActiveSession(); + return this.request( + "/tkhq/api/v1/test_rate_limits", + { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId - }, stampWith); - } - - - stampTestRateLimits = async (input: SdkTypes.TTestRateLimitsBody, stampWith?: StamperType): Promise => { + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, + }, + stampWith, + ); + }; + + stampTestRateLimits = async ( + input: SdkTypes.TTestRateLimitsBody, + stampWith?: StamperType, + ): Promise => { const activeStamper = this.getStamper(stampWith); if (!activeStamper) { return undefined; @@ -4064,10 +5238,9 @@ import { StamperType } from "../__types__/base"; const bodyWithType = { parameters, organizationId, - type: "ACTIVITY_TYPE_TEST_RATE_LIMITS" + type: "ACTIVITY_TYPE_TEST_RATE_LIMITS", }; - const stringifiedBody = JSON.stringify(bodyWithType); const stamp = await activeStamper.stamp(stringifiedBody); return { @@ -4075,46 +5248,53 @@ import { StamperType } from "../__types__/base"; stamp: stamp, url: fullUrl, }; - } - - - proxyGetAccount = async (input: SdkTypes.ProxyTGetAccountBody): Promise => { - return this.authProxyRequest("/v1/account", input); - } - - - proxyOAuth2Authenticate = async (input: SdkTypes.ProxyTOAuth2AuthenticateBody): Promise => { - return this.authProxyRequest("/v1/oauth2_authenticate", input); - } - - - proxyOAuthLogin = async (input: SdkTypes.ProxyTOAuthLoginBody): Promise => { - return this.authProxyRequest("/v1/oauth_login", input); - } - - - proxyInitOtp = async (input: SdkTypes.ProxyTInitOtpBody): Promise => { - return this.authProxyRequest("/v1/otp_init", input); - } - - - proxyOtpLogin = async (input: SdkTypes.ProxyTOtpLoginBody): Promise => { - return this.authProxyRequest("/v1/otp_login", input); - } - - - proxyVerifyOtp = async (input: SdkTypes.ProxyTVerifyOtpBody): Promise => { - return this.authProxyRequest("/v1/otp_verify", input); - } - - - proxySignup = async (input: SdkTypes.ProxyTSignupBody): Promise => { - return this.authProxyRequest("/v1/signup", input); - } - - - proxyGetWalletKitConfig = async (input: SdkTypes.ProxyTGetWalletKitConfigBody): Promise => { - return this.authProxyRequest("/v1/wallet_kit_config", input); - } - -} \ No newline at end of file + }; + + proxyGetAccount = async ( + input: SdkTypes.ProxyTGetAccountBody, + ): Promise => { + return this.authProxyRequest("/v1/account", input); + }; + + proxyOAuth2Authenticate = async ( + input: SdkTypes.ProxyTOAuth2AuthenticateBody, + ): Promise => { + return this.authProxyRequest("/v1/oauth2_authenticate", input); + }; + + proxyOAuthLogin = async ( + input: SdkTypes.ProxyTOAuthLoginBody, + ): Promise => { + return this.authProxyRequest("/v1/oauth_login", input); + }; + + proxyInitOtp = async ( + input: SdkTypes.ProxyTInitOtpBody, + ): Promise => { + return this.authProxyRequest("/v1/otp_init", input); + }; + + proxyOtpLogin = async ( + input: SdkTypes.ProxyTOtpLoginBody, + ): Promise => { + return this.authProxyRequest("/v1/otp_login", input); + }; + + proxyVerifyOtp = async ( + input: SdkTypes.ProxyTVerifyOtpBody, + ): Promise => { + return this.authProxyRequest("/v1/otp_verify", input); + }; + + proxySignup = async ( + input: SdkTypes.ProxyTSignupBody, + ): Promise => { + return this.authProxyRequest("/v1/signup", input); + }; + + proxyGetWalletKitConfig = async ( + input: SdkTypes.ProxyTGetWalletKitConfigBody, + ): Promise => { + return this.authProxyRequest("/v1/wallet_kit_config", input); + }; +} diff --git a/packages/core/src/__stampers__/passkey/base.ts b/packages/core/src/__stampers__/passkey/base.ts index d227ca842..097c56603 100644 --- a/packages/core/src/__stampers__/passkey/base.ts +++ b/packages/core/src/__stampers__/passkey/base.ts @@ -39,7 +39,7 @@ export class CrossPlatformPasskeyStamper implements TStamper { PasskeyStamper = PasskeyStamperModule.PasskeyStamper; } catch { throw new Error( - "Please install react-native-passkeys and @turnkey/react-native-passkey-stamper in your app to use passkeys." + "Please install react-native-passkeys and @turnkey/react-native-passkey-stamper in your app to use passkeys.", ); } @@ -54,7 +54,7 @@ export class CrossPlatformPasskeyStamper implements TStamper { }); } catch (error) { throw new Error( - `Failed to load passkey stamper for react-native: ${error}` + `Failed to load passkey stamper for react-native: ${error}`, ); } } else { @@ -72,11 +72,11 @@ export class CrossPlatformPasskeyStamper implements TStamper { * @returns {Promise} */ createWebPasskey = async ( - config: Record = {} // TODO (Amir): This needs to be typed + config: Record = {}, // TODO (Amir): This needs to be typed ): Promise => { const challenge = generateRandomBuffer(); const encodedChallenge = base64StringToBase64UrlEncodedString( - btoa(String.fromCharCode(...new Uint8Array(challenge))) + btoa(String.fromCharCode(...new Uint8Array(challenge))), ); const authenticatorUserId = generateRandomBuffer(); @@ -138,14 +138,14 @@ export class CrossPlatformPasskeyStamper implements TStamper { }; createReactNativePasskey = async ( - config: Record = {} // TODO (Amir): This needs to be typed + config: Record = {}, // TODO (Amir): This needs to be typed ): Promise => { const { name, displayName, authenticatorName } = config; const { createPasskey } = PasskeyStamperModule; // We do a 'selective' import when initializing the stamper. This is safe to do here. if (!createPasskey) { throw new Error( - "Ensure you have @turnkey/react-native-passkey-stamper installed and linked correctly. Are you not on React Native?" + "Ensure you have @turnkey/react-native-passkey-stamper installed and linked correctly. Are you not on React Native?", ); } diff --git a/packages/core/src/__wallet__/connector.ts b/packages/core/src/__wallet__/connector.ts index 010413f0a..dcc73516a 100644 --- a/packages/core/src/__wallet__/connector.ts +++ b/packages/core/src/__wallet__/connector.ts @@ -11,7 +11,7 @@ export interface CrossPlatformWalletConnectorInterface { sign( message: string | Uint8Array, walletProvider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise; } @@ -30,11 +30,11 @@ export class CrossPlatformWalletConnector constructor( private readonly wallets: Partial< Record - > + >, ) { if (!Object.keys(wallets).length) { throw new Error( - "Cannot create WalletConnector: no wallet interfaces provided" + "Cannot create WalletConnector: no wallet interfaces provided", ); } } @@ -90,7 +90,7 @@ export class CrossPlatformWalletConnector */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain + chainOrId: string | SwitchableChain, ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only Ethereum wallets support chain switching"); @@ -99,7 +99,7 @@ export class CrossPlatformWalletConnector const wallet = this.wallets[provider.interfaceType]; if (!wallet?.switchChain) { throw new Error( - `Wallet ${provider.interfaceType} doesn’t support switching chains` + `Wallet ${provider.interfaceType} doesn’t support switching chains`, ); } @@ -118,13 +118,13 @@ export class CrossPlatformWalletConnector async sign( payload: string, walletProvider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise { const wallet = this.wallets[walletProvider.interfaceType]; if (!wallet) { throw new Error( - `Wallet for ${walletProvider.interfaceType} not initialized` + `Wallet for ${walletProvider.interfaceType} not initialized`, ); } diff --git a/packages/core/src/__wallet__/mobile/manager.ts b/packages/core/src/__wallet__/mobile/manager.ts index f6697efaf..a78cd43b4 100644 --- a/packages/core/src/__wallet__/mobile/manager.ts +++ b/packages/core/src/__wallet__/mobile/manager.ts @@ -58,14 +58,14 @@ export class MobileWalletManager { // add async init step to the initializer queue this.initializers.push(() => - wcUnified.init({ ethereumNamespaces, solanaNamespaces }) + wcUnified.init({ ethereumNamespaces, solanaNamespaces }), ); // register WalletConnect as a wallet interface for each enabled chain if (enableWalletConnectEvm) { this.addChainInterface( Chain.Ethereum, - WalletInterfaceType.WalletConnect + WalletInterfaceType.WalletConnect, ); } if (enableWalletConnectSol) { @@ -123,7 +123,7 @@ export class MobileWalletManager { .filter(Boolean) as WalletInterface[]; const providersArrays = await Promise.all( - walletsToQuery.map((wallet) => wallet.getProviders()) + walletsToQuery.map((wallet) => wallet.getProviders()), ); // we still need to filter by chain because WalletConnect can return providers for multiple chains @@ -133,7 +133,7 @@ export class MobileWalletManager { } const providersArrays = await Promise.all( - Object.values(this.wallets).map((wallet) => wallet.getProviders()) + Object.values(this.wallets).map((wallet) => wallet.getProviders()), ); return providersArrays.flat(); @@ -147,7 +147,7 @@ export class MobileWalletManager { */ private addChainInterface = ( chain: Chain, - interfaceType: WalletInterfaceType + interfaceType: WalletInterfaceType, ) => { if (!this.chainToInterfaces[chain]) this.chainToInterfaces[chain] = []; this.chainToInterfaces[chain]!.push(interfaceType); diff --git a/packages/core/src/__wallet__/wallet-connect/base.ts b/packages/core/src/__wallet__/wallet-connect/base.ts index 4045223e8..e76883327 100644 --- a/packages/core/src/__wallet__/wallet-connect/base.ts +++ b/packages/core/src/__wallet__/wallet-connect/base.ts @@ -41,7 +41,7 @@ export class WalletConnectWallet implements WalletConnectInterface { >(); private addChangeListener( - listener: (event?: WalletConnectChangeEvent) => void + listener: (event?: WalletConnectChangeEvent) => void, ) { this.changeListeners.add(listener); return () => this.changeListeners.delete(listener); @@ -112,7 +112,7 @@ export class WalletConnectWallet implements WalletConnectInterface { this.solanaNamespaces.length === 0 ) { throw new Error( - "At least one namespace must be enabled for WalletConnect" + "At least one namespace must be enabled for WalletConnect", ); } @@ -191,7 +191,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain + chainOrId: string | SwitchableChain, ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only EVM wallets support chain switching"); @@ -208,8 +208,8 @@ export class WalletConnectWallet implements WalletConnectInterface { if (!this.ethereumNamespaces.includes(caip)) { throw new Error( `Unsupported chain ${caip}. Supported chains: ${this.ethereumNamespaces.join( - ", " - )}. If you’d like to support ${caip}, add it to the \`ethereumNamespaces\` in your WalletConnect config.` + ", ", + )}. If you’d like to support ${caip}, add it to the \`ethereumNamespaces\` in your WalletConnect config.`, ); } @@ -222,7 +222,7 @@ export class WalletConnectWallet implements WalletConnectInterface { this.ethChain = caip; } catch (err: any) { throw new Error( - `Failed to switch chain: ${err.message || err.toString()}` + `Failed to switch chain: ${err.message || err.toString()}`, ); } } @@ -251,7 +251,7 @@ export class WalletConnectWallet implements WalletConnectInterface { async sign( payload: string, provider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise { const session = await this.ensureSession(); @@ -289,7 +289,7 @@ export class WalletConnectWallet implements WalletConnectInterface { return (await this.client.request( this.ethChain, "eth_sendTransaction", - [txParams] + [txParams], )) as string; default: throw new Error(`Unsupported Ethereum intent: ${intent}`); @@ -312,14 +312,14 @@ export class WalletConnectWallet implements WalletConnectInterface { { pubkey: address, message: msgB58, - } + }, ); return uint8ArrayToHexString(bs58.decode(sigB58)); } case SignIntent.SignTransaction: { const txBytes = uint8ArrayFromHexString(payload); const txBase64 = stringToBase64urlString( - String.fromCharCode(...txBytes) + String.fromCharCode(...txBytes), ); const { signature: sigB58 } = await this.client.request( this.solChain, @@ -327,14 +327,14 @@ export class WalletConnectWallet implements WalletConnectInterface { { feePayer: address, transaction: txBase64, - } + }, ); return uint8ArrayToHexString(bs58.decode(sigB58)); } case SignIntent.SignAndSendTransaction: { const txBytes = uint8ArrayFromHexString(payload); const txBase64 = stringToBase64urlString( - String.fromCharCode(...txBytes) + String.fromCharCode(...txBytes), ); const sigB58 = await this.client.request( this.solChain, @@ -343,7 +343,7 @@ export class WalletConnectWallet implements WalletConnectInterface { feePayer: address, transaction: txBase64, options: { skipPreflight: false }, - } + }, ); return uint8ArrayToHexString(bs58.decode(sigB58)); } @@ -478,7 +478,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ private async buildEthProvider( session: SessionTypes.Struct | null, - info: WalletProviderInfo + info: WalletProviderInfo, ): Promise { const raw = session?.namespaces.eip155?.accounts?.[0] ?? ""; const address = raw.split(":")[2]; @@ -512,7 +512,7 @@ export class WalletConnectWallet implements WalletConnectInterface { */ private buildSolProvider( session: SessionTypes.Struct | null, - info: WalletProviderInfo + info: WalletProviderInfo, ): WalletProvider { const raw = session?.namespaces.solana?.accounts?.[0] ?? ""; const address = raw.split(":")[2]; @@ -594,7 +594,7 @@ function hasConnectedAccounts(session: SessionTypes.Struct | null): boolean { * @returns The connected EVM address, or `undefined` if none. */ function getConnectedEthereum( - session: SessionTypes.Struct | null + session: SessionTypes.Struct | null, ): string | undefined { const acc = session?.namespaces.eip155?.accounts?.[0]; return acc ? acc.split(":")[2] : undefined; @@ -610,7 +610,7 @@ function getConnectedEthereum( * @returns The connected Solana address (base58), or `undefined` if none. */ function getConnectedSolana( - session: SessionTypes.Struct | null + session: SessionTypes.Struct | null, ): string | undefined { const acc = session?.namespaces.solana?.accounts?.[0]; return acc ? acc.split(":")[2] : undefined; diff --git a/packages/core/src/__wallet__/web/manager.ts b/packages/core/src/__wallet__/web/manager.ts index 9a9894002..9649dad13 100644 --- a/packages/core/src/__wallet__/web/manager.ts +++ b/packages/core/src/__wallet__/web/manager.ts @@ -75,14 +75,14 @@ export class WebWalletManager { // add async init step to the initializer queue this.initializers.push(() => - wcUnified.init({ ethereumNamespaces, solanaNamespaces }) + wcUnified.init({ ethereumNamespaces, solanaNamespaces }), ); // register WalletConnect as a wallet interface for each enabled chain if (enableWalletConnectEvm) this.addChainInterface( Chain.Ethereum, - WalletInterfaceType.WalletConnect + WalletInterfaceType.WalletConnect, ); if (enableWalletConnectSol) this.addChainInterface(Chain.Solana, WalletInterfaceType.WalletConnect); @@ -136,7 +136,7 @@ export class WebWalletManager { .filter(Boolean) as WalletInterface[]; const providersArrays = await Promise.all( - walletsToQuery.map((wallet) => wallet.getProviders()) + walletsToQuery.map((wallet) => wallet.getProviders()), ); // we still need to filter by chain because WalletConnect can return providers for multiple chains @@ -147,7 +147,7 @@ export class WebWalletManager { // collect all providers from all initialized wallets const providersArrays = await Promise.all( - Object.values(this.wallets).map((wallet) => wallet.getProviders()) + Object.values(this.wallets).map((wallet) => wallet.getProviders()), ); return providersArrays.flat(); @@ -161,7 +161,7 @@ export class WebWalletManager { */ private addChainInterface = ( chain: Chain, - interfaceType: WalletInterfaceType + interfaceType: WalletInterfaceType, ) => { if (!this.chainToInterfaces[chain]) this.chainToInterfaces[chain] = []; this.chainToInterfaces[chain]!.push(interfaceType); diff --git a/packages/core/src/__wallet__/web/native/ethereum.ts b/packages/core/src/__wallet__/web/native/ethereum.ts index 4b0c32487..d8976438a 100644 --- a/packages/core/src/__wallet__/web/native/ethereum.ts +++ b/packages/core/src/__wallet__/web/native/ethereum.ts @@ -45,7 +45,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { abstract sign( payload: string | Hex, provider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise; /** @@ -62,7 +62,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { const signature = await this.sign( message, provider, - SignIntent.SignMessage + SignIntent.SignMessage, ); return getCompressedPublicKey(signature, message); }; @@ -126,12 +126,12 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { window.addEventListener( "eip6963:announceProvider", - handler as EventListener + handler as EventListener, ); window.dispatchEvent(new Event("eip6963:requestProvider")); window.removeEventListener( "eip6963:announceProvider", - handler as EventListener + handler as EventListener, ); await Promise.all(providerPromises); @@ -185,7 +185,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { */ async switchChain( provider: WalletProvider, - chainOrId: string | SwitchableChain + chainOrId: string | SwitchableChain, ): Promise { if (provider.chainInfo.namespace !== Chain.Ethereum) { throw new Error("Only EVM wallets can switch chains"); @@ -212,7 +212,7 @@ export abstract class BaseEthereumWallet implements EthereumWalletInterface { if (typeof chainOrId === "string") { throw new Error( `Chain ${chainId} not recognized. ` + - `If you want to add it, call switchChain with a SwitchableChain object.` + `If you want to add it, call switchChain with a SwitchableChain object.`, ); } @@ -267,7 +267,7 @@ export class EthereumWallet extends BaseEthereumWallet { sign = async ( payload: string, provider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise => { const selectedProvider = asEip1193(provider); const account = await getAccount(selectedProvider); @@ -333,7 +333,7 @@ const getAccount = async (provider: EIP1193Provider): Promise
=> { */ const getCompressedPublicKey = async ( signature: string, - message: string + message: string, ): Promise => { const secp256k1PublicKey = await recoverPublicKey({ hash: hashMessage(message), diff --git a/packages/core/src/__wallet__/web/native/solana.ts b/packages/core/src/__wallet__/web/native/solana.ts index 31691e89d..d5402359e 100644 --- a/packages/core/src/__wallet__/web/native/solana.ts +++ b/packages/core/src/__wallet__/web/native/solana.ts @@ -29,7 +29,7 @@ export abstract class BaseSolanaWallet implements SolanaWalletInterface { abstract sign( message: string | Uint8Array, provider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise; /** @@ -88,7 +88,7 @@ export abstract class BaseSolanaWallet implements SolanaWalletInterface { provider: wallet as WalletRpcProvider, connectedAddresses, }); - }) + }), ); return discovered; @@ -148,7 +148,7 @@ export class SolanaWallet extends BaseSolanaWallet { sign = async ( payload: string, provider: WalletProvider, - intent: SignIntent + intent: SignIntent, ): Promise => { const wallet = asSolana(provider); await connectAccount(wallet); @@ -258,6 +258,6 @@ const connectAccount = async (wallet: SWSWallet): Promise => { } throw new Error( - "Wallet is not connected and does not implement standard:connect" + "Wallet is not connected and does not implement standard:connect", ); }; diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index c54c36233..6def3c757 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -336,7 +336,7 @@ export const generateRandomBuffer = (): ArrayBuffer => { }; const hexByByte = Array.from({ length: 256 }, (_, i) => - i.toString(16).padStart(2, "0") + i.toString(16).padStart(2, "0"), ); export const bytesToHex = (bytes: Uint8Array): string => { @@ -349,7 +349,7 @@ export const bytesToHex = (bytes: Uint8Array): string => { }; export const toExternalTimestamp = ( - date: Date = new Date() + date: Date = new Date(), ): externaldatav1Timestamp => { const millis = date.getTime(); const seconds = Math.floor(millis / 1000); @@ -401,7 +401,7 @@ export function getHashFunction(addressFormat: v1AddressFormat) { if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } return config.hashFunction; @@ -412,7 +412,7 @@ export function getEncodingType(addressFormat: v1AddressFormat) { if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } return config.encoding; @@ -420,13 +420,13 @@ export function getEncodingType(addressFormat: v1AddressFormat) { export function getEncodedMessage( addressFormat: v1AddressFormat, - rawMessage: string + rawMessage: string, ): string { const config = addressFormatConfig[addressFormat]; if (!config) { throw new TurnkeyError( `Unsupported address format: ${addressFormat}`, - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } if (config.encoding === "PAYLOAD_ENCODING_HEXADECIMAL") { @@ -463,7 +463,7 @@ export const broadcastTransaction = async (params: { if (json.error) { throw new TurnkeyError( `Solana RPC Error: ${json.error.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } @@ -487,7 +487,7 @@ export const broadcastTransaction = async (params: { if (json.error) { throw new TurnkeyError( `Ethereum RPC Error: ${json.error.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } @@ -506,7 +506,7 @@ export const broadcastTransaction = async (params: { if (!json.result) { throw new TurnkeyError( `Tron RPC Error: ${json.message}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } @@ -516,14 +516,14 @@ export const broadcastTransaction = async (params: { default: throw new TurnkeyError( `Unsupported transaction type for broadcasting: ${transactionType}`, - TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR + TurnkeyErrorCodes.SIGN_AND_SEND_TRANSACTION_ERROR, ); } }; export function splitSignature( signature: string, - addressFormat: v1AddressFormat + addressFormat: v1AddressFormat, ): v1SignRawPayloadResult { const hex = signature.replace(/^0x/, ""); @@ -550,7 +550,7 @@ export function splitSignature( if (addressFormat === "ADDRESS_FORMAT_SOLANA") { if (hex.length !== 128) { throw new Error( - `Invalid Solana signature length: expected 64 bytes (128 hex), got ${hex.length}` + `Invalid Solana signature length: expected 64 bytes (128 hex), got ${hex.length}`, ); } @@ -564,13 +564,13 @@ export function splitSignature( } throw new Error( - `Unsupported address format or invalid signature length: ${hex.length}` + `Unsupported address format or invalid signature length: ${hex.length}`, ); } // Type guard to check if accounts is WalletAccount[] export function isWalletAccountArray( - arr: any[] + arr: any[], ): arr is v1WalletAccountParams[] { return ( arr.length === 0 || @@ -583,7 +583,7 @@ export function isWalletAccountArray( } export function createWalletAccountFromAddressFormat( - addressFormat: v1AddressFormat + addressFormat: v1AddressFormat, ): v1WalletAccountParams { const walletAccount = addressFormatConfig[addressFormat]?.defaultAccounts; if (!walletAccount) { @@ -595,7 +595,7 @@ export function createWalletAccountFromAddressFormat( } throw new Error( - `No default accounts defined for address format: ${addressFormat}` + `No default accounts defined for address format: ${addressFormat}`, ); } @@ -637,7 +637,7 @@ export function generateWalletAccountsFromAddressFormat(params: { const pathWithIndex = account.path.replace( /^((?:[^\/]*\/){3})(\d+)/, - (_, prefix) => `${prefix}${nextIndex}` + (_, prefix) => `${prefix}${nextIndex}`, ); pathMap.set(account.path, nextIndex + 1); @@ -743,7 +743,7 @@ export function getPublicKeyFromStampHeader(stampHeaderValue: string): string { throw new Error( `Failed to extract public key from stamp header: ${ error instanceof Error ? error.message : String(error) - }` + }`, ); } } @@ -760,21 +760,21 @@ export function getPolicySignature(policy: v1CreatePolicyIntentV3): string { /**@internal */ export function isEthereumProvider( - provider: WalletProvider + provider: WalletProvider, ): provider is WalletProvider & { chainInfo: EvmChainInfo } { return provider.chainInfo.namespace === Chain.Ethereum; } /**@internal */ export function isSolanaProvider( - provider: WalletProvider + provider: WalletProvider, ): provider is WalletProvider & { chainInfo: SolanaChainInfo } { return provider.chainInfo.namespace === Chain.Solana; } /** @internal */ export function getCurveTypeFromProvider( - provider: WalletProvider + provider: WalletProvider, ): "API_KEY_CURVE_SECP256K1" | "API_KEY_CURVE_ED25519" { if (isEthereumProvider(provider)) { return "API_KEY_CURVE_SECP256K1"; @@ -787,7 +787,7 @@ export function getCurveTypeFromProvider( // we should never hit this case // if we do then it means we added support for a new chain but missed updating this function throw new Error( - `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.` + `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.`, ); } @@ -804,14 +804,14 @@ export function getSignatureSchemeFromProvider(provider: WalletProvider) { // we should never hit this case // if we do then it means we added support for a new chain but missed updating this function throw new Error( - `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.` + `Unsupported provider namespace: ${provider.chainInfo.namespace}. Expected Ethereum or Solana.`, ); } /** @internal */ export function findWalletProviderFromAddress( address: string, - providers: WalletProvider[] + providers: WalletProvider[], ): WalletProvider | undefined { for (const provider of providers) { if (provider.connectedAddresses.includes(address)) { @@ -835,7 +835,7 @@ export function addressFromPublicKey(chain: Chain, publicKey: string): string { const compressedBytes = uint8ArrayFromHexString(publicKey); const publicKeyUncompressed = uint8ArrayToHexString( - uncompressRawPublicKey(compressedBytes, Curve.SECP256K1) + uncompressRawPublicKey(compressedBytes, Curve.SECP256K1), ); // drop 04 prefix @@ -878,7 +878,7 @@ export function getAuthenticatorAddresses(user: v1User) { /**@internal */ export async function getAuthProxyConfig( authProxyConfigId: string, - authProxyUrl?: string | undefined + authProxyUrl?: string | undefined, ): Promise { const fullUrl = (authProxyUrl ?? "https://authproxy.turnkey.com") + "/v1/wallet_kit_config"; @@ -938,7 +938,7 @@ export async function withTurnkeyErrorHandling( }, finallyOptions?: { finallyFn: () => Promise; - } + }, ): Promise { const { errorMessage, @@ -958,7 +958,7 @@ export async function withTurnkeyErrorHandling( throw new TurnkeyError( customCodeMessage.message, customCodeMessage.code, - error + error, ); } throwMatchingMessage(error.message, customErrorByMessages, error); @@ -996,7 +996,7 @@ const throwMatchingMessage = ( customErrorByMessages: | Record | undefined, - error: any + error: any, ) => { if (customErrorByMessages && Object.keys(customErrorByMessages).length > 0) { Object.keys(customErrorByMessages).forEach((key) => { @@ -1004,7 +1004,7 @@ const throwMatchingMessage = ( throw new TurnkeyError( customErrorByMessages[key]!.message, customErrorByMessages[key]!.code, - error + error, ); } }); @@ -1018,7 +1018,7 @@ const throwMatchingMessage = ( * @param pair The key pair to validate. */ export async function assertValidP256ECDSAKeyPair( - pair: CryptoKeyPair + pair: CryptoKeyPair, ): Promise { const { privateKey, publicKey } = pair; @@ -1026,37 +1026,37 @@ export async function assertValidP256ECDSAKeyPair( if (!(privateKey instanceof CryptoKey) || !(publicKey instanceof CryptoKey)) { throw new TurnkeyError( "Both keys must be CryptoKey instances.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } if (privateKey.type !== "private") throw new TurnkeyError( "privateKey.type must be 'private'.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); if (publicKey.type !== "public") throw new TurnkeyError( "publicKey.type must be 'public'.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); // Verify extractability and usages if (privateKey.extractable !== false) { throw new TurnkeyError( "Provided privateKey must be non-extractable.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } if (!privateKey.usages.includes("sign")) { throw new TurnkeyError( "privateKey must have 'sign' in keyUsages.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } if (!publicKey.usages.includes("verify")) { throw new TurnkeyError( "publicKey must have 'verify' in keyUsages.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -1066,24 +1066,24 @@ export async function assertValidP256ECDSAKeyPair( if (pAlg.name !== "ECDSA" || pubAlg.name !== "ECDSA") { throw new TurnkeyError( "Keys must be ECDSA keys.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } if (pAlg.namedCurve !== "P-256" || pubAlg.namedCurve !== "P-256") { throw new TurnkeyError( "Keys must be on the P-256 curve.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } // Public key export sanity (should be uncompressed 65 bytes starting with 0x04) const rawPub = new Uint8Array( - await crypto.subtle.exportKey("raw", publicKey) + await crypto.subtle.exportKey("raw", publicKey), ); if (rawPub.length !== 65 || rawPub[0] !== 0x04) { throw new TurnkeyError( "Public key must be an uncompressed P-256 point (65 bytes, leading 0x04).", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } @@ -1092,18 +1092,18 @@ export async function assertValidP256ECDSAKeyPair( const sig = await crypto.subtle.sign( { name: "ECDSA", hash: "SHA-256" }, privateKey, - msg + msg, ); const ok = await crypto.subtle.verify( { name: "ECDSA", hash: "SHA-256" }, publicKey, sig, - msg + msg, ); if (!ok) { throw new TurnkeyError( "publicKey does not match privateKey (verify failed).", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } } @@ -1115,7 +1115,7 @@ export function isValidPasskeyName(name: string): string { if (!nameRegex.test(name)) { throw new TurnkeyError( "Passkey name must be 1-64 characters and only contain letters, numbers, spaces, dashes, underscores, colons, or slashes.", - TurnkeyErrorCodes.INVALID_REQUEST + TurnkeyErrorCodes.INVALID_REQUEST, ); } return name; diff --git a/packages/eip-1193-provider/src/errors.ts b/packages/eip-1193-provider/src/errors.ts index d044c147b..707ea7ab2 100644 --- a/packages/eip-1193-provider/src/errors.ts +++ b/packages/eip-1193-provider/src/errors.ts @@ -17,13 +17,13 @@ class ChainIdMismatchError extends ProviderRpcError { super( new Error( `${PROVIDER_ERROR_MESSAGE.CHAIN_ID_RPC_MISMATCH}${hexToNumber( - providerChainId - )} RPC Chain ID: ${hexToNumber(rpcChainId)}` + providerChainId, + )} RPC Chain ID: ${hexToNumber(rpcChainId)}`, ), { code: 4905, shortMessage: "Chain ID mismatch", - } + }, ); } } @@ -89,7 +89,7 @@ class NativeCurrencySymbolLengthError extends ProviderRpcError { { code: PROVIDER_ERROR_CODE.ADD_ETHEREUM_CHAIN, shortMessage: "Invalid native currency symbol length", - } + }, ); } } @@ -98,12 +98,12 @@ class NativeCurrencySymbolMismatchError extends ProviderRpcError { constructor(symbol: string) { super( new Error( - PROVIDER_ERROR_MESSAGE.NATIVE_CURRENCY_SYMBOL_MISMATCH + symbol + PROVIDER_ERROR_MESSAGE.NATIVE_CURRENCY_SYMBOL_MISMATCH + symbol, ), { code: PROVIDER_ERROR_CODE.ADD_ETHEREUM_CHAIN, shortMessage: "Native currency symbol mismatch", - } + }, ); } } diff --git a/packages/eip-1193-provider/src/index.ts b/packages/eip-1193-provider/src/index.ts index 8f06a1164..1df43477c 100644 --- a/packages/eip-1193-provider/src/index.ts +++ b/packages/eip-1193-provider/src/index.ts @@ -29,7 +29,7 @@ import { VERSION } from "./version"; export type { TurnkeyEIP1193Provider }; export const createEIP1193Provider = async ( - options: TurnkeyEIP1193ProviderOptions + options: TurnkeyEIP1193ProviderOptions, ) => { const { turnkeyClient, organizationId, walletId, chains } = options; @@ -58,13 +58,13 @@ export const createEIP1193Provider = async ( function setConnected(connected: false, data: ProviderRpcError): void; function setConnected( connected: boolean, - data: ConnectInfo | ProviderRpcError + data: ConnectInfo | ProviderRpcError, ) { if (!isInitialized) return; // Find the currently selected chain and update its connected status addedChains = addedChains.map((chain) => - chain.chainId === activeChain.chainId ? { ...chain, connected } : chain + chain.chainId === activeChain.chainId ? { ...chain, connected } : chain, ); if (connected && lastEmittedEvent !== "connect" && isInitialized) { // Emit 'connect' event when the provider becomes connected as per EIP-1193 @@ -78,7 +78,7 @@ export const createEIP1193Provider = async ( // Emit 'disconnect' event when disconnected from all chains // See https://eips.ethereum.org/EIPS/eip-1193#disconnect const providerDisconnectedError = new ProviderDisconnectedError( - data as ProviderRpcError + data as ProviderRpcError, ); eventEmitter.emit("disconnect", providerDisconnectedError); // Reset 'connect' emitted flag on disconnect @@ -214,7 +214,7 @@ export const createEIP1193Provider = async ( case "wallet_switchEthereumChain": { const [targetChainId] = params as [string]; const targetChain = addedChains.find( - (chain) => chain.chainId === targetChainId + (chain) => chain.chainId === targetChainId, ); if (!targetChain) { @@ -303,7 +303,7 @@ export const createEIP1193Provider = async ( } default: throw new MethodNotSupportedRpcError( - new Error(`Invalid method: ${method}`) + new Error(`Invalid method: ${method}`), ); } } catch (error: any) { diff --git a/packages/eip-1193-provider/src/utils.ts b/packages/eip-1193-provider/src/utils.ts index 785975ec6..48b805a0d 100644 --- a/packages/eip-1193-provider/src/utils.ts +++ b/packages/eip-1193-provider/src/utils.ts @@ -28,7 +28,7 @@ export const preprocessTransaction = ({ const convertValue = ( value: string | number | undefined, converter: (value: string | number) => T, - defaultValue: T + defaultValue: T, ): T => (value !== undefined ? converter(value) : defaultValue); const typeMapping: { [key: string]: TransactionType } = { @@ -48,7 +48,7 @@ export const preprocessTransaction = ({ maxPriorityFeePerGas: convertValue( transaction.maxPriorityFeePerGas, BigInt, - 0n + 0n, ), maxFeePerGas: convertValue(transaction.maxFeePerGas, BigInt, 0n), gasPrice: convertValue(transaction.gasPrice, BigInt, 0n), @@ -56,7 +56,7 @@ export const preprocessTransaction = ({ nonce: convertValue( transaction.nonce, (value) => parseInt(value.toString(), 16), - 0 + 0, ), gas: convertValue(transaction.gas, BigInt, 0n), @@ -77,7 +77,7 @@ export const isValidUrl = (url: string) => { export const validateBlockExplorerUrls = ( blockExplorerUrls: WalletAddEthereumChain["blockExplorerUrls"], - chainName: string + chainName: string, ): Chain["blockExplorers"] => { // Check if blockExplorerUrls is null or an array with at least one valid HTTPS URL if (blockExplorerUrls === null) return undefined; @@ -106,7 +106,7 @@ export const validateBlockExplorerUrls = ( * @throws {InvalidRpcUrlError} If any URL in the rpcUrls array is invalid. */ export const validateRpcUrls = ( - rpcUrls: AddEthereumChainParameter["rpcUrls"] + rpcUrls: AddEthereumChainParameter["rpcUrls"], ): void => { if (!rpcUrls || rpcUrls.length === 0) { throw new RpcUrlsRequiredError(); @@ -118,7 +118,7 @@ export const validateRpcUrls = ( export const validateChain = ( chain: AddEthereumChainParameter, - addedChains: AddEthereumChainParameter[] + addedChains: AddEthereumChainParameter[], ) => { const { rpcUrls, blockExplorerUrls, chainId, nativeCurrency } = chain; diff --git a/packages/ethers/src/index.ts b/packages/ethers/src/index.ts index b45f50b82..e9c26f2e2 100644 --- a/packages/ethers/src/index.ts +++ b/packages/ethers/src/index.ts @@ -77,7 +77,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { organizationId: this.organizationId, signWith: this.signWith, }, - provider + provider, ); } @@ -102,7 +102,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { }); ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -116,7 +116,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { } private async _signTransactionImpl( - unsignedTransaction: string + unsignedTransaction: string, ): Promise { if (isHttpClient(this.client)) { const { activity } = await this.client.signTransaction({ @@ -133,7 +133,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { assertActivityCompleted(activity); return assertNonNull( - activity?.result?.signTransactionResult?.signedTransaction + activity?.result?.signTransactionResult?.signedTransaction, ); } else { const { activity, signedTransaction } = await this.client.signTransaction( @@ -141,11 +141,11 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { signWith: this.signWith, type: "TRANSACTION_TYPE_ETHEREUM", unsignedTransaction, - } + }, ); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, ); return assertNonNull(signedTransaction); @@ -153,7 +153,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { } private async _signTransactionWithErrorWrapping( - message: string + message: string, ): Promise { let signedTx: string; try { @@ -195,7 +195,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { const selfAddress = await this.getAddress(); if (getAddress(from) !== selfAddress) { throw new Error( - `Transaction \`tx.from\` address mismatch. Self address: ${selfAddress}; \`tx.from\` address: ${from}` + `Transaction \`tx.from\` address mismatch. Self address: ${selfAddress}; \`tx.from\` address: ${from}`, ); } } @@ -224,7 +224,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async _signMessageWithErrorWrapping( message: string, - payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" + payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", ): Promise { let signedMessage: string; try { @@ -248,7 +248,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async _signMessageImpl( message: string, - payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" + payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", ): Promise { let result; @@ -277,7 +277,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, ); result = { @@ -293,7 +293,7 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { async signTypedData( domain: TypedDataDomain, types: Record>, - value: Record + value: Record, ): Promise { const populated = await TypedDataEncoder.resolveNames( domain, @@ -306,19 +306,19 @@ export class TurnkeySigner extends AbstractSigner implements ethers.Signer { assertNonNull(address); return address ?? ""; - } + }, ); // Build the full EIP-712 payload (domain, types, and message) const payload = TypedDataEncoder.getPayload( populated.domain, types, - populated.value + populated.value, ); return this._signMessageWithErrorWrapping( JSON.stringify(payload), - "PAYLOAD_ENCODING_EIP712" + "PAYLOAD_ENCODING_EIP712", ); } diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts index 8be7c8377..38892a63c 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.client.ts @@ -393,7 +393,7 @@ export class TurnkeyClient { } async request( url: string, - body: TBodyType + body: TBodyType, ): Promise { const fullUrl = this.config.baseUrl + url; const stringifiedBody = JSON.stringify(body); @@ -432,7 +432,7 @@ export class TurnkeyClient { * See also {@link stampGetActivity}. */ getActivity = async ( - input: TGetActivityBody + input: TGetActivityBody, ): Promise => { return this.request("/public/v1/query/get_activity", input); }; @@ -443,7 +443,7 @@ export class TurnkeyClient { * See also {@link GetActivity}. */ stampGetActivity = async ( - input: TGetActivityBody + input: TGetActivityBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_activity"; const body = JSON.stringify(input); @@ -517,7 +517,7 @@ export class TurnkeyClient { * See also {@link stampGetAttestationDocument}. */ getAttestationDocument = async ( - input: TGetAttestationDocumentBody + input: TGetAttestationDocumentBody, ): Promise => { return this.request("/public/v1/query/get_attestation", input); }; @@ -528,7 +528,7 @@ export class TurnkeyClient { * See also {@link GetAttestationDocument}. */ stampGetAttestationDocument = async ( - input: TGetAttestationDocumentBody + input: TGetAttestationDocumentBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_attestation"; const body = JSON.stringify(input); @@ -548,7 +548,7 @@ export class TurnkeyClient { * See also {@link stampGetAuthenticator}. */ getAuthenticator = async ( - input: TGetAuthenticatorBody + input: TGetAuthenticatorBody, ): Promise => { return this.request("/public/v1/query/get_authenticator", input); }; @@ -559,7 +559,7 @@ export class TurnkeyClient { * See also {@link GetAuthenticator}. */ stampGetAuthenticator = async ( - input: TGetAuthenticatorBody + input: TGetAuthenticatorBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); @@ -579,7 +579,7 @@ export class TurnkeyClient { * See also {@link stampGetAuthenticators}. */ getAuthenticators = async ( - input: TGetAuthenticatorsBody + input: TGetAuthenticatorsBody, ): Promise => { return this.request("/public/v1/query/get_authenticators", input); }; @@ -590,7 +590,7 @@ export class TurnkeyClient { * See also {@link GetAuthenticators}. */ stampGetAuthenticators = async ( - input: TGetAuthenticatorsBody + input: TGetAuthenticatorsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); @@ -610,7 +610,7 @@ export class TurnkeyClient { * See also {@link stampGetBootProof}. */ getBootProof = async ( - input: TGetBootProofBody + input: TGetBootProofBody, ): Promise => { return this.request("/public/v1/query/get_boot_proof", input); }; @@ -621,7 +621,7 @@ export class TurnkeyClient { * See also {@link GetBootProof}. */ stampGetBootProof = async ( - input: TGetBootProofBody + input: TGetBootProofBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_boot_proof"; const body = JSON.stringify(input); @@ -641,7 +641,7 @@ export class TurnkeyClient { * See also {@link stampGetLatestBootProof}. */ getLatestBootProof = async ( - input: TGetLatestBootProofBody + input: TGetLatestBootProofBody, ): Promise => { return this.request("/public/v1/query/get_latest_boot_proof", input); }; @@ -652,7 +652,7 @@ export class TurnkeyClient { * See also {@link GetLatestBootProof}. */ stampGetLatestBootProof = async ( - input: TGetLatestBootProofBody + input: TGetLatestBootProofBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_latest_boot_proof"; @@ -673,7 +673,7 @@ export class TurnkeyClient { * See also {@link stampGetOauth2Credential}. */ getOauth2Credential = async ( - input: TGetOauth2CredentialBody + input: TGetOauth2CredentialBody, ): Promise => { return this.request("/public/v1/query/get_oauth2_credential", input); }; @@ -684,7 +684,7 @@ export class TurnkeyClient { * See also {@link GetOauth2Credential}. */ stampGetOauth2Credential = async ( - input: TGetOauth2CredentialBody + input: TGetOauth2CredentialBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_oauth2_credential"; @@ -705,7 +705,7 @@ export class TurnkeyClient { * See also {@link stampGetOauthProviders}. */ getOauthProviders = async ( - input: TGetOauthProvidersBody + input: TGetOauthProvidersBody, ): Promise => { return this.request("/public/v1/query/get_oauth_providers", input); }; @@ -716,7 +716,7 @@ export class TurnkeyClient { * See also {@link GetOauthProviders}. */ stampGetOauthProviders = async ( - input: TGetOauthProvidersBody + input: TGetOauthProvidersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_oauth_providers"; @@ -737,7 +737,7 @@ export class TurnkeyClient { * See also {@link stampGetOrganization}. */ getOrganization = async ( - input: TGetOrganizationBody + input: TGetOrganizationBody, ): Promise => { return this.request("/public/v1/query/get_organization", input); }; @@ -748,7 +748,7 @@ export class TurnkeyClient { * See also {@link GetOrganization}. */ stampGetOrganization = async ( - input: TGetOrganizationBody + input: TGetOrganizationBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); @@ -768,7 +768,7 @@ export class TurnkeyClient { * See also {@link stampGetOrganizationConfigs}. */ getOrganizationConfigs = async ( - input: TGetOrganizationConfigsBody + input: TGetOrganizationConfigsBody, ): Promise => { return this.request("/public/v1/query/get_organization_configs", input); }; @@ -779,7 +779,7 @@ export class TurnkeyClient { * See also {@link GetOrganizationConfigs}. */ stampGetOrganizationConfigs = async ( - input: TGetOrganizationConfigsBody + input: TGetOrganizationConfigsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_organization_configs"; @@ -827,7 +827,7 @@ export class TurnkeyClient { * See also {@link stampGetPolicyEvaluations}. */ getPolicyEvaluations = async ( - input: TGetPolicyEvaluationsBody + input: TGetPolicyEvaluationsBody, ): Promise => { return this.request("/public/v1/query/get_policy_evaluations", input); }; @@ -838,7 +838,7 @@ export class TurnkeyClient { * See also {@link GetPolicyEvaluations}. */ stampGetPolicyEvaluations = async ( - input: TGetPolicyEvaluationsBody + input: TGetPolicyEvaluationsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_policy_evaluations"; @@ -859,7 +859,7 @@ export class TurnkeyClient { * See also {@link stampGetPrivateKey}. */ getPrivateKey = async ( - input: TGetPrivateKeyBody + input: TGetPrivateKeyBody, ): Promise => { return this.request("/public/v1/query/get_private_key", input); }; @@ -870,7 +870,7 @@ export class TurnkeyClient { * See also {@link GetPrivateKey}. */ stampGetPrivateKey = async ( - input: TGetPrivateKeyBody + input: TGetPrivateKeyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_private_key"; const body = JSON.stringify(input); @@ -890,7 +890,7 @@ export class TurnkeyClient { * See also {@link stampGetSmartContractInterface}. */ getSmartContractInterface = async ( - input: TGetSmartContractInterfaceBody + input: TGetSmartContractInterfaceBody, ): Promise => { return this.request("/public/v1/query/get_smart_contract_interface", input); }; @@ -901,7 +901,7 @@ export class TurnkeyClient { * See also {@link GetSmartContractInterface}. */ stampGetSmartContractInterface = async ( - input: TGetSmartContractInterfaceBody + input: TGetSmartContractInterfaceBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_smart_contract_interface"; @@ -976,7 +976,7 @@ export class TurnkeyClient { * See also {@link stampGetWalletAccount}. */ getWalletAccount = async ( - input: TGetWalletAccountBody + input: TGetWalletAccountBody, ): Promise => { return this.request("/public/v1/query/get_wallet_account", input); }; @@ -987,7 +987,7 @@ export class TurnkeyClient { * See also {@link GetWalletAccount}. */ stampGetWalletAccount = async ( - input: TGetWalletAccountBody + input: TGetWalletAccountBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); @@ -1007,7 +1007,7 @@ export class TurnkeyClient { * See also {@link stampGetActivities}. */ getActivities = async ( - input: TGetActivitiesBody + input: TGetActivitiesBody, ): Promise => { return this.request("/public/v1/query/list_activities", input); }; @@ -1018,7 +1018,7 @@ export class TurnkeyClient { * See also {@link GetActivities}. */ stampGetActivities = async ( - input: TGetActivitiesBody + input: TGetActivitiesBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_activities"; const body = JSON.stringify(input); @@ -1038,7 +1038,7 @@ export class TurnkeyClient { * See also {@link stampListOauth2Credentials}. */ listOauth2Credentials = async ( - input: TListOauth2CredentialsBody + input: TListOauth2CredentialsBody, ): Promise => { return this.request("/public/v1/query/list_oauth2_credentials", input); }; @@ -1049,7 +1049,7 @@ export class TurnkeyClient { * See also {@link ListOauth2Credentials}. */ stampListOauth2Credentials = async ( - input: TListOauth2CredentialsBody + input: TListOauth2CredentialsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_oauth2_credentials"; @@ -1070,7 +1070,7 @@ export class TurnkeyClient { * See also {@link stampGetPolicies}. */ getPolicies = async ( - input: TGetPoliciesBody + input: TGetPoliciesBody, ): Promise => { return this.request("/public/v1/query/list_policies", input); }; @@ -1081,7 +1081,7 @@ export class TurnkeyClient { * See also {@link GetPolicies}. */ stampGetPolicies = async ( - input: TGetPoliciesBody + input: TGetPoliciesBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_policies"; const body = JSON.stringify(input); @@ -1101,7 +1101,7 @@ export class TurnkeyClient { * See also {@link stampListPrivateKeyTags}. */ listPrivateKeyTags = async ( - input: TListPrivateKeyTagsBody + input: TListPrivateKeyTagsBody, ): Promise => { return this.request("/public/v1/query/list_private_key_tags", input); }; @@ -1112,7 +1112,7 @@ export class TurnkeyClient { * See also {@link ListPrivateKeyTags}. */ stampListPrivateKeyTags = async ( - input: TListPrivateKeyTagsBody + input: TListPrivateKeyTagsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_private_key_tags"; @@ -1133,7 +1133,7 @@ export class TurnkeyClient { * See also {@link stampGetPrivateKeys}. */ getPrivateKeys = async ( - input: TGetPrivateKeysBody + input: TGetPrivateKeysBody, ): Promise => { return this.request("/public/v1/query/list_private_keys", input); }; @@ -1144,7 +1144,7 @@ export class TurnkeyClient { * See also {@link GetPrivateKeys}. */ stampGetPrivateKeys = async ( - input: TGetPrivateKeysBody + input: TGetPrivateKeysBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); @@ -1164,11 +1164,11 @@ export class TurnkeyClient { * See also {@link stampGetSmartContractInterfaces}. */ getSmartContractInterfaces = async ( - input: TGetSmartContractInterfacesBody + input: TGetSmartContractInterfacesBody, ): Promise => { return this.request( "/public/v1/query/list_smart_contract_interfaces", - input + input, ); }; @@ -1178,7 +1178,7 @@ export class TurnkeyClient { * See also {@link GetSmartContractInterfaces}. */ stampGetSmartContractInterfaces = async ( - input: TGetSmartContractInterfacesBody + input: TGetSmartContractInterfacesBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_smart_contract_interfaces"; @@ -1199,7 +1199,7 @@ export class TurnkeyClient { * See also {@link stampGetSubOrgIds}. */ getSubOrgIds = async ( - input: TGetSubOrgIdsBody + input: TGetSubOrgIdsBody, ): Promise => { return this.request("/public/v1/query/list_suborgs", input); }; @@ -1210,7 +1210,7 @@ export class TurnkeyClient { * See also {@link GetSubOrgIds}. */ stampGetSubOrgIds = async ( - input: TGetSubOrgIdsBody + input: TGetSubOrgIdsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_suborgs"; const body = JSON.stringify(input); @@ -1230,7 +1230,7 @@ export class TurnkeyClient { * See also {@link stampListUserTags}. */ listUserTags = async ( - input: TListUserTagsBody + input: TListUserTagsBody, ): Promise => { return this.request("/public/v1/query/list_user_tags", input); }; @@ -1241,7 +1241,7 @@ export class TurnkeyClient { * See also {@link ListUserTags}. */ stampListUserTags = async ( - input: TListUserTagsBody + input: TListUserTagsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_user_tags"; const body = JSON.stringify(input); @@ -1288,7 +1288,7 @@ export class TurnkeyClient { * See also {@link stampGetVerifiedSubOrgIds}. */ getVerifiedSubOrgIds = async ( - input: TGetVerifiedSubOrgIdsBody + input: TGetVerifiedSubOrgIdsBody, ): Promise => { return this.request("/public/v1/query/list_verified_suborgs", input); }; @@ -1299,7 +1299,7 @@ export class TurnkeyClient { * See also {@link GetVerifiedSubOrgIds}. */ stampGetVerifiedSubOrgIds = async ( - input: TGetVerifiedSubOrgIdsBody + input: TGetVerifiedSubOrgIdsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_verified_suborgs"; @@ -1320,7 +1320,7 @@ export class TurnkeyClient { * See also {@link stampGetWalletAccounts}. */ getWalletAccounts = async ( - input: TGetWalletAccountsBody + input: TGetWalletAccountsBody, ): Promise => { return this.request("/public/v1/query/list_wallet_accounts", input); }; @@ -1331,7 +1331,7 @@ export class TurnkeyClient { * See also {@link GetWalletAccounts}. */ stampGetWalletAccounts = async ( - input: TGetWalletAccountsBody + input: TGetWalletAccountsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/query/list_wallet_accounts"; @@ -1406,7 +1406,7 @@ export class TurnkeyClient { * See also {@link stampApproveActivity}. */ approveActivity = async ( - input: TApproveActivityBody + input: TApproveActivityBody, ): Promise => { return this.request("/public/v1/submit/approve_activity", input); }; @@ -1417,7 +1417,7 @@ export class TurnkeyClient { * See also {@link ApproveActivity}. */ stampApproveActivity = async ( - input: TApproveActivityBody + input: TApproveActivityBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); @@ -1437,7 +1437,7 @@ export class TurnkeyClient { * See also {@link stampCreateApiKeys}. */ createApiKeys = async ( - input: TCreateApiKeysBody + input: TCreateApiKeysBody, ): Promise => { return this.request("/public/v1/submit/create_api_keys", input); }; @@ -1448,7 +1448,7 @@ export class TurnkeyClient { * See also {@link CreateApiKeys}. */ stampCreateApiKeys = async ( - input: TCreateApiKeysBody + input: TCreateApiKeysBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); @@ -1468,7 +1468,7 @@ export class TurnkeyClient { * See also {@link stampCreateApiOnlyUsers}. */ createApiOnlyUsers = async ( - input: TCreateApiOnlyUsersBody + input: TCreateApiOnlyUsersBody, ): Promise => { return this.request("/public/v1/submit/create_api_only_users", input); }; @@ -1479,7 +1479,7 @@ export class TurnkeyClient { * See also {@link CreateApiOnlyUsers}. */ stampCreateApiOnlyUsers = async ( - input: TCreateApiOnlyUsersBody + input: TCreateApiOnlyUsersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_api_only_users"; @@ -1500,7 +1500,7 @@ export class TurnkeyClient { * See also {@link stampCreateAuthenticators}. */ createAuthenticators = async ( - input: TCreateAuthenticatorsBody + input: TCreateAuthenticatorsBody, ): Promise => { return this.request("/public/v1/submit/create_authenticators", input); }; @@ -1511,7 +1511,7 @@ export class TurnkeyClient { * See also {@link CreateAuthenticators}. */ stampCreateAuthenticators = async ( - input: TCreateAuthenticatorsBody + input: TCreateAuthenticatorsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_authenticators"; @@ -1532,7 +1532,7 @@ export class TurnkeyClient { * See also {@link stampCreateInvitations}. */ createInvitations = async ( - input: TCreateInvitationsBody + input: TCreateInvitationsBody, ): Promise => { return this.request("/public/v1/submit/create_invitations", input); }; @@ -1543,7 +1543,7 @@ export class TurnkeyClient { * See also {@link CreateInvitations}. */ stampCreateInvitations = async ( - input: TCreateInvitationsBody + input: TCreateInvitationsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_invitations"; @@ -1564,7 +1564,7 @@ export class TurnkeyClient { * See also {@link stampCreateOauth2Credential}. */ createOauth2Credential = async ( - input: TCreateOauth2CredentialBody + input: TCreateOauth2CredentialBody, ): Promise => { return this.request("/public/v1/submit/create_oauth2_credential", input); }; @@ -1575,7 +1575,7 @@ export class TurnkeyClient { * See also {@link CreateOauth2Credential}. */ stampCreateOauth2Credential = async ( - input: TCreateOauth2CredentialBody + input: TCreateOauth2CredentialBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_oauth2_credential"; @@ -1596,7 +1596,7 @@ export class TurnkeyClient { * See also {@link stampCreateOauthProviders}. */ createOauthProviders = async ( - input: TCreateOauthProvidersBody + input: TCreateOauthProvidersBody, ): Promise => { return this.request("/public/v1/submit/create_oauth_providers", input); }; @@ -1607,7 +1607,7 @@ export class TurnkeyClient { * See also {@link CreateOauthProviders}. */ stampCreateOauthProviders = async ( - input: TCreateOauthProvidersBody + input: TCreateOauthProvidersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_oauth_providers"; @@ -1628,7 +1628,7 @@ export class TurnkeyClient { * See also {@link stampCreatePolicies}. */ createPolicies = async ( - input: TCreatePoliciesBody + input: TCreatePoliciesBody, ): Promise => { return this.request("/public/v1/submit/create_policies", input); }; @@ -1639,7 +1639,7 @@ export class TurnkeyClient { * See also {@link CreatePolicies}. */ stampCreatePolicies = async ( - input: TCreatePoliciesBody + input: TCreatePoliciesBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); @@ -1659,7 +1659,7 @@ export class TurnkeyClient { * See also {@link stampCreatePolicy}. */ createPolicy = async ( - input: TCreatePolicyBody + input: TCreatePolicyBody, ): Promise => { return this.request("/public/v1/submit/create_policy", input); }; @@ -1670,7 +1670,7 @@ export class TurnkeyClient { * See also {@link CreatePolicy}. */ stampCreatePolicy = async ( - input: TCreatePolicyBody + input: TCreatePolicyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_policy"; const body = JSON.stringify(input); @@ -1690,7 +1690,7 @@ export class TurnkeyClient { * See also {@link stampCreatePrivateKeyTag}. */ createPrivateKeyTag = async ( - input: TCreatePrivateKeyTagBody + input: TCreatePrivateKeyTagBody, ): Promise => { return this.request("/public/v1/submit/create_private_key_tag", input); }; @@ -1701,7 +1701,7 @@ export class TurnkeyClient { * See also {@link CreatePrivateKeyTag}. */ stampCreatePrivateKeyTag = async ( - input: TCreatePrivateKeyTagBody + input: TCreatePrivateKeyTagBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_private_key_tag"; @@ -1722,7 +1722,7 @@ export class TurnkeyClient { * See also {@link stampCreatePrivateKeys}. */ createPrivateKeys = async ( - input: TCreatePrivateKeysBody + input: TCreatePrivateKeysBody, ): Promise => { return this.request("/public/v1/submit/create_private_keys", input); }; @@ -1733,7 +1733,7 @@ export class TurnkeyClient { * See also {@link CreatePrivateKeys}. */ stampCreatePrivateKeys = async ( - input: TCreatePrivateKeysBody + input: TCreatePrivateKeysBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_private_keys"; @@ -1754,7 +1754,7 @@ export class TurnkeyClient { * See also {@link stampCreateReadOnlySession}. */ createReadOnlySession = async ( - input: TCreateReadOnlySessionBody + input: TCreateReadOnlySessionBody, ): Promise => { return this.request("/public/v1/submit/create_read_only_session", input); }; @@ -1765,7 +1765,7 @@ export class TurnkeyClient { * See also {@link CreateReadOnlySession}. */ stampCreateReadOnlySession = async ( - input: TCreateReadOnlySessionBody + input: TCreateReadOnlySessionBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_read_only_session"; @@ -1786,7 +1786,7 @@ export class TurnkeyClient { * See also {@link stampCreateReadWriteSession}. */ createReadWriteSession = async ( - input: TCreateReadWriteSessionBody + input: TCreateReadWriteSessionBody, ): Promise => { return this.request("/public/v1/submit/create_read_write_session", input); }; @@ -1797,7 +1797,7 @@ export class TurnkeyClient { * See also {@link CreateReadWriteSession}. */ stampCreateReadWriteSession = async ( - input: TCreateReadWriteSessionBody + input: TCreateReadWriteSessionBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_read_write_session"; @@ -1818,11 +1818,11 @@ export class TurnkeyClient { * See also {@link stampCreateSmartContractInterface}. */ createSmartContractInterface = async ( - input: TCreateSmartContractInterfaceBody + input: TCreateSmartContractInterfaceBody, ): Promise => { return this.request( "/public/v1/submit/create_smart_contract_interface", - input + input, ); }; @@ -1832,7 +1832,7 @@ export class TurnkeyClient { * See also {@link CreateSmartContractInterface}. */ stampCreateSmartContractInterface = async ( - input: TCreateSmartContractInterfaceBody + input: TCreateSmartContractInterfaceBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_smart_contract_interface"; @@ -1853,7 +1853,7 @@ export class TurnkeyClient { * See also {@link stampCreateSubOrganization}. */ createSubOrganization = async ( - input: TCreateSubOrganizationBody + input: TCreateSubOrganizationBody, ): Promise => { return this.request("/public/v1/submit/create_sub_organization", input); }; @@ -1864,7 +1864,7 @@ export class TurnkeyClient { * See also {@link CreateSubOrganization}. */ stampCreateSubOrganization = async ( - input: TCreateSubOrganizationBody + input: TCreateSubOrganizationBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_sub_organization"; @@ -1885,7 +1885,7 @@ export class TurnkeyClient { * See also {@link stampCreateUserTag}. */ createUserTag = async ( - input: TCreateUserTagBody + input: TCreateUserTagBody, ): Promise => { return this.request("/public/v1/submit/create_user_tag", input); }; @@ -1896,7 +1896,7 @@ export class TurnkeyClient { * See also {@link CreateUserTag}. */ stampCreateUserTag = async ( - input: TCreateUserTagBody + input: TCreateUserTagBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); @@ -1916,7 +1916,7 @@ export class TurnkeyClient { * See also {@link stampCreateUsers}. */ createUsers = async ( - input: TCreateUsersBody + input: TCreateUsersBody, ): Promise => { return this.request("/public/v1/submit/create_users", input); }; @@ -1927,7 +1927,7 @@ export class TurnkeyClient { * See also {@link CreateUsers}. */ stampCreateUsers = async ( - input: TCreateUsersBody + input: TCreateUsersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_users"; const body = JSON.stringify(input); @@ -1947,7 +1947,7 @@ export class TurnkeyClient { * See also {@link stampCreateWallet}. */ createWallet = async ( - input: TCreateWalletBody + input: TCreateWalletBody, ): Promise => { return this.request("/public/v1/submit/create_wallet", input); }; @@ -1958,7 +1958,7 @@ export class TurnkeyClient { * See also {@link CreateWallet}. */ stampCreateWallet = async ( - input: TCreateWalletBody + input: TCreateWalletBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_wallet"; const body = JSON.stringify(input); @@ -1978,7 +1978,7 @@ export class TurnkeyClient { * See also {@link stampCreateWalletAccounts}. */ createWalletAccounts = async ( - input: TCreateWalletAccountsBody + input: TCreateWalletAccountsBody, ): Promise => { return this.request("/public/v1/submit/create_wallet_accounts", input); }; @@ -1989,7 +1989,7 @@ export class TurnkeyClient { * See also {@link CreateWalletAccounts}. */ stampCreateWalletAccounts = async ( - input: TCreateWalletAccountsBody + input: TCreateWalletAccountsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/create_wallet_accounts"; @@ -2010,7 +2010,7 @@ export class TurnkeyClient { * See also {@link stampDeleteApiKeys}. */ deleteApiKeys = async ( - input: TDeleteApiKeysBody + input: TDeleteApiKeysBody, ): Promise => { return this.request("/public/v1/submit/delete_api_keys", input); }; @@ -2021,7 +2021,7 @@ export class TurnkeyClient { * See also {@link DeleteApiKeys}. */ stampDeleteApiKeys = async ( - input: TDeleteApiKeysBody + input: TDeleteApiKeysBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); @@ -2041,7 +2041,7 @@ export class TurnkeyClient { * See also {@link stampDeleteAuthenticators}. */ deleteAuthenticators = async ( - input: TDeleteAuthenticatorsBody + input: TDeleteAuthenticatorsBody, ): Promise => { return this.request("/public/v1/submit/delete_authenticators", input); }; @@ -2052,7 +2052,7 @@ export class TurnkeyClient { * See also {@link DeleteAuthenticators}. */ stampDeleteAuthenticators = async ( - input: TDeleteAuthenticatorsBody + input: TDeleteAuthenticatorsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_authenticators"; @@ -2073,7 +2073,7 @@ export class TurnkeyClient { * See also {@link stampDeleteInvitation}. */ deleteInvitation = async ( - input: TDeleteInvitationBody + input: TDeleteInvitationBody, ): Promise => { return this.request("/public/v1/submit/delete_invitation", input); }; @@ -2084,7 +2084,7 @@ export class TurnkeyClient { * See also {@link DeleteInvitation}. */ stampDeleteInvitation = async ( - input: TDeleteInvitationBody + input: TDeleteInvitationBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); @@ -2104,7 +2104,7 @@ export class TurnkeyClient { * See also {@link stampDeleteOauth2Credential}. */ deleteOauth2Credential = async ( - input: TDeleteOauth2CredentialBody + input: TDeleteOauth2CredentialBody, ): Promise => { return this.request("/public/v1/submit/delete_oauth2_credential", input); }; @@ -2115,7 +2115,7 @@ export class TurnkeyClient { * See also {@link DeleteOauth2Credential}. */ stampDeleteOauth2Credential = async ( - input: TDeleteOauth2CredentialBody + input: TDeleteOauth2CredentialBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_oauth2_credential"; @@ -2136,7 +2136,7 @@ export class TurnkeyClient { * See also {@link stampDeleteOauthProviders}. */ deleteOauthProviders = async ( - input: TDeleteOauthProvidersBody + input: TDeleteOauthProvidersBody, ): Promise => { return this.request("/public/v1/submit/delete_oauth_providers", input); }; @@ -2147,7 +2147,7 @@ export class TurnkeyClient { * See also {@link DeleteOauthProviders}. */ stampDeleteOauthProviders = async ( - input: TDeleteOauthProvidersBody + input: TDeleteOauthProvidersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_oauth_providers"; @@ -2168,7 +2168,7 @@ export class TurnkeyClient { * See also {@link stampDeletePolicy}. */ deletePolicy = async ( - input: TDeletePolicyBody + input: TDeletePolicyBody, ): Promise => { return this.request("/public/v1/submit/delete_policy", input); }; @@ -2179,7 +2179,7 @@ export class TurnkeyClient { * See also {@link DeletePolicy}. */ stampDeletePolicy = async ( - input: TDeletePolicyBody + input: TDeletePolicyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_policy"; const body = JSON.stringify(input); @@ -2199,7 +2199,7 @@ export class TurnkeyClient { * See also {@link stampDeletePrivateKeyTags}. */ deletePrivateKeyTags = async ( - input: TDeletePrivateKeyTagsBody + input: TDeletePrivateKeyTagsBody, ): Promise => { return this.request("/public/v1/submit/delete_private_key_tags", input); }; @@ -2210,7 +2210,7 @@ export class TurnkeyClient { * See also {@link DeletePrivateKeyTags}. */ stampDeletePrivateKeyTags = async ( - input: TDeletePrivateKeyTagsBody + input: TDeletePrivateKeyTagsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_private_key_tags"; @@ -2231,7 +2231,7 @@ export class TurnkeyClient { * See also {@link stampDeletePrivateKeys}. */ deletePrivateKeys = async ( - input: TDeletePrivateKeysBody + input: TDeletePrivateKeysBody, ): Promise => { return this.request("/public/v1/submit/delete_private_keys", input); }; @@ -2242,7 +2242,7 @@ export class TurnkeyClient { * See also {@link DeletePrivateKeys}. */ stampDeletePrivateKeys = async ( - input: TDeletePrivateKeysBody + input: TDeletePrivateKeysBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_private_keys"; @@ -2263,11 +2263,11 @@ export class TurnkeyClient { * See also {@link stampDeleteSmartContractInterface}. */ deleteSmartContractInterface = async ( - input: TDeleteSmartContractInterfaceBody + input: TDeleteSmartContractInterfaceBody, ): Promise => { return this.request( "/public/v1/submit/delete_smart_contract_interface", - input + input, ); }; @@ -2277,7 +2277,7 @@ export class TurnkeyClient { * See also {@link DeleteSmartContractInterface}. */ stampDeleteSmartContractInterface = async ( - input: TDeleteSmartContractInterfaceBody + input: TDeleteSmartContractInterfaceBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_smart_contract_interface"; @@ -2298,7 +2298,7 @@ export class TurnkeyClient { * See also {@link stampDeleteSubOrganization}. */ deleteSubOrganization = async ( - input: TDeleteSubOrganizationBody + input: TDeleteSubOrganizationBody, ): Promise => { return this.request("/public/v1/submit/delete_sub_organization", input); }; @@ -2309,7 +2309,7 @@ export class TurnkeyClient { * See also {@link DeleteSubOrganization}. */ stampDeleteSubOrganization = async ( - input: TDeleteSubOrganizationBody + input: TDeleteSubOrganizationBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_sub_organization"; @@ -2330,7 +2330,7 @@ export class TurnkeyClient { * See also {@link stampDeleteUserTags}. */ deleteUserTags = async ( - input: TDeleteUserTagsBody + input: TDeleteUserTagsBody, ): Promise => { return this.request("/public/v1/submit/delete_user_tags", input); }; @@ -2341,7 +2341,7 @@ export class TurnkeyClient { * See also {@link DeleteUserTags}. */ stampDeleteUserTags = async ( - input: TDeleteUserTagsBody + input: TDeleteUserTagsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); @@ -2361,7 +2361,7 @@ export class TurnkeyClient { * See also {@link stampDeleteUsers}. */ deleteUsers = async ( - input: TDeleteUsersBody + input: TDeleteUsersBody, ): Promise => { return this.request("/public/v1/submit/delete_users", input); }; @@ -2372,7 +2372,7 @@ export class TurnkeyClient { * See also {@link DeleteUsers}. */ stampDeleteUsers = async ( - input: TDeleteUsersBody + input: TDeleteUsersBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_users"; const body = JSON.stringify(input); @@ -2392,7 +2392,7 @@ export class TurnkeyClient { * See also {@link stampDeleteWallets}. */ deleteWallets = async ( - input: TDeleteWalletsBody + input: TDeleteWalletsBody, ): Promise => { return this.request("/public/v1/submit/delete_wallets", input); }; @@ -2403,7 +2403,7 @@ export class TurnkeyClient { * See also {@link DeleteWallets}. */ stampDeleteWallets = async ( - input: TDeleteWalletsBody + input: TDeleteWalletsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_wallets"; const body = JSON.stringify(input); @@ -2450,7 +2450,7 @@ export class TurnkeyClient { * See also {@link stampExportPrivateKey}. */ exportPrivateKey = async ( - input: TExportPrivateKeyBody + input: TExportPrivateKeyBody, ): Promise => { return this.request("/public/v1/submit/export_private_key", input); }; @@ -2461,7 +2461,7 @@ export class TurnkeyClient { * See also {@link ExportPrivateKey}. */ stampExportPrivateKey = async ( - input: TExportPrivateKeyBody + input: TExportPrivateKeyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_private_key"; @@ -2482,7 +2482,7 @@ export class TurnkeyClient { * See also {@link stampExportWallet}. */ exportWallet = async ( - input: TExportWalletBody + input: TExportWalletBody, ): Promise => { return this.request("/public/v1/submit/export_wallet", input); }; @@ -2493,7 +2493,7 @@ export class TurnkeyClient { * See also {@link ExportWallet}. */ stampExportWallet = async ( - input: TExportWalletBody + input: TExportWalletBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_wallet"; const body = JSON.stringify(input); @@ -2513,7 +2513,7 @@ export class TurnkeyClient { * See also {@link stampExportWalletAccount}. */ exportWalletAccount = async ( - input: TExportWalletAccountBody + input: TExportWalletAccountBody, ): Promise => { return this.request("/public/v1/submit/export_wallet_account", input); }; @@ -2524,7 +2524,7 @@ export class TurnkeyClient { * See also {@link ExportWalletAccount}. */ stampExportWalletAccount = async ( - input: TExportWalletAccountBody + input: TExportWalletAccountBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/export_wallet_account"; @@ -2545,7 +2545,7 @@ export class TurnkeyClient { * See also {@link stampImportPrivateKey}. */ importPrivateKey = async ( - input: TImportPrivateKeyBody + input: TImportPrivateKeyBody, ): Promise => { return this.request("/public/v1/submit/import_private_key", input); }; @@ -2556,7 +2556,7 @@ export class TurnkeyClient { * See also {@link ImportPrivateKey}. */ stampImportPrivateKey = async ( - input: TImportPrivateKeyBody + input: TImportPrivateKeyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/import_private_key"; @@ -2577,7 +2577,7 @@ export class TurnkeyClient { * See also {@link stampImportWallet}. */ importWallet = async ( - input: TImportWalletBody + input: TImportWalletBody, ): Promise => { return this.request("/public/v1/submit/import_wallet", input); }; @@ -2588,7 +2588,7 @@ export class TurnkeyClient { * See also {@link ImportWallet}. */ stampImportWallet = async ( - input: TImportWalletBody + input: TImportWalletBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/import_wallet"; const body = JSON.stringify(input); @@ -2608,7 +2608,7 @@ export class TurnkeyClient { * See also {@link stampInitFiatOnRamp}. */ initFiatOnRamp = async ( - input: TInitFiatOnRampBody + input: TInitFiatOnRampBody, ): Promise => { return this.request("/public/v1/submit/init_fiat_on_ramp", input); }; @@ -2619,7 +2619,7 @@ export class TurnkeyClient { * See also {@link InitFiatOnRamp}. */ stampInitFiatOnRamp = async ( - input: TInitFiatOnRampBody + input: TInitFiatOnRampBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); @@ -2639,7 +2639,7 @@ export class TurnkeyClient { * See also {@link stampInitImportPrivateKey}. */ initImportPrivateKey = async ( - input: TInitImportPrivateKeyBody + input: TInitImportPrivateKeyBody, ): Promise => { return this.request("/public/v1/submit/init_import_private_key", input); }; @@ -2650,7 +2650,7 @@ export class TurnkeyClient { * See also {@link InitImportPrivateKey}. */ stampInitImportPrivateKey = async ( - input: TInitImportPrivateKeyBody + input: TInitImportPrivateKeyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_import_private_key"; @@ -2671,7 +2671,7 @@ export class TurnkeyClient { * See also {@link stampInitImportWallet}. */ initImportWallet = async ( - input: TInitImportWalletBody + input: TInitImportWalletBody, ): Promise => { return this.request("/public/v1/submit/init_import_wallet", input); }; @@ -2682,7 +2682,7 @@ export class TurnkeyClient { * See also {@link InitImportWallet}. */ stampInitImportWallet = async ( - input: TInitImportWalletBody + input: TInitImportWalletBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_import_wallet"; @@ -2730,7 +2730,7 @@ export class TurnkeyClient { * See also {@link stampInitOtpAuth}. */ initOtpAuth = async ( - input: TInitOtpAuthBody + input: TInitOtpAuthBody, ): Promise => { return this.request("/public/v1/submit/init_otp_auth", input); }; @@ -2741,7 +2741,7 @@ export class TurnkeyClient { * See also {@link InitOtpAuth}. */ stampInitOtpAuth = async ( - input: TInitOtpAuthBody + input: TInitOtpAuthBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_otp_auth"; const body = JSON.stringify(input); @@ -2761,7 +2761,7 @@ export class TurnkeyClient { * See also {@link stampInitUserEmailRecovery}. */ initUserEmailRecovery = async ( - input: TInitUserEmailRecoveryBody + input: TInitUserEmailRecoveryBody, ): Promise => { return this.request("/public/v1/submit/init_user_email_recovery", input); }; @@ -2772,7 +2772,7 @@ export class TurnkeyClient { * See also {@link InitUserEmailRecovery}. */ stampInitUserEmailRecovery = async ( - input: TInitUserEmailRecoveryBody + input: TInitUserEmailRecoveryBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/init_user_email_recovery"; @@ -2820,7 +2820,7 @@ export class TurnkeyClient { * See also {@link stampOauth2Authenticate}. */ oauth2Authenticate = async ( - input: TOauth2AuthenticateBody + input: TOauth2AuthenticateBody, ): Promise => { return this.request("/public/v1/submit/oauth2_authenticate", input); }; @@ -2831,7 +2831,7 @@ export class TurnkeyClient { * See also {@link Oauth2Authenticate}. */ stampOauth2Authenticate = async ( - input: TOauth2AuthenticateBody + input: TOauth2AuthenticateBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/oauth2_authenticate"; @@ -2933,7 +2933,7 @@ export class TurnkeyClient { * See also {@link stampRecoverUser}. */ recoverUser = async ( - input: TRecoverUserBody + input: TRecoverUserBody, ): Promise => { return this.request("/public/v1/submit/recover_user", input); }; @@ -2944,7 +2944,7 @@ export class TurnkeyClient { * See also {@link RecoverUser}. */ stampRecoverUser = async ( - input: TRecoverUserBody + input: TRecoverUserBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/recover_user"; const body = JSON.stringify(input); @@ -2964,7 +2964,7 @@ export class TurnkeyClient { * See also {@link stampRejectActivity}. */ rejectActivity = async ( - input: TRejectActivityBody + input: TRejectActivityBody, ): Promise => { return this.request("/public/v1/submit/reject_activity", input); }; @@ -2975,7 +2975,7 @@ export class TurnkeyClient { * See also {@link RejectActivity}. */ stampRejectActivity = async ( - input: TRejectActivityBody + input: TRejectActivityBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); @@ -2995,7 +2995,7 @@ export class TurnkeyClient { * See also {@link stampRemoveOrganizationFeature}. */ removeOrganizationFeature = async ( - input: TRemoveOrganizationFeatureBody + input: TRemoveOrganizationFeatureBody, ): Promise => { return this.request("/public/v1/submit/remove_organization_feature", input); }; @@ -3006,7 +3006,7 @@ export class TurnkeyClient { * See also {@link RemoveOrganizationFeature}. */ stampRemoveOrganizationFeature = async ( - input: TRemoveOrganizationFeatureBody + input: TRemoveOrganizationFeatureBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/remove_organization_feature"; @@ -3027,7 +3027,7 @@ export class TurnkeyClient { * See also {@link stampSetOrganizationFeature}. */ setOrganizationFeature = async ( - input: TSetOrganizationFeatureBody + input: TSetOrganizationFeatureBody, ): Promise => { return this.request("/public/v1/submit/set_organization_feature", input); }; @@ -3038,7 +3038,7 @@ export class TurnkeyClient { * See also {@link SetOrganizationFeature}. */ stampSetOrganizationFeature = async ( - input: TSetOrganizationFeatureBody + input: TSetOrganizationFeatureBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/set_organization_feature"; @@ -3059,7 +3059,7 @@ export class TurnkeyClient { * See also {@link stampSignRawPayload}. */ signRawPayload = async ( - input: TSignRawPayloadBody + input: TSignRawPayloadBody, ): Promise => { return this.request("/public/v1/submit/sign_raw_payload", input); }; @@ -3070,7 +3070,7 @@ export class TurnkeyClient { * See also {@link SignRawPayload}. */ stampSignRawPayload = async ( - input: TSignRawPayloadBody + input: TSignRawPayloadBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); @@ -3090,7 +3090,7 @@ export class TurnkeyClient { * See also {@link stampSignRawPayloads}. */ signRawPayloads = async ( - input: TSignRawPayloadsBody + input: TSignRawPayloadsBody, ): Promise => { return this.request("/public/v1/submit/sign_raw_payloads", input); }; @@ -3101,7 +3101,7 @@ export class TurnkeyClient { * See also {@link SignRawPayloads}. */ stampSignRawPayloads = async ( - input: TSignRawPayloadsBody + input: TSignRawPayloadsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); @@ -3121,7 +3121,7 @@ export class TurnkeyClient { * See also {@link stampSignTransaction}. */ signTransaction = async ( - input: TSignTransactionBody + input: TSignTransactionBody, ): Promise => { return this.request("/public/v1/submit/sign_transaction", input); }; @@ -3132,7 +3132,7 @@ export class TurnkeyClient { * See also {@link SignTransaction}. */ stampSignTransaction = async ( - input: TSignTransactionBody + input: TSignTransactionBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/sign_transaction"; const body = JSON.stringify(input); @@ -3179,7 +3179,7 @@ export class TurnkeyClient { * See also {@link stampUpdateOauth2Credential}. */ updateOauth2Credential = async ( - input: TUpdateOauth2CredentialBody + input: TUpdateOauth2CredentialBody, ): Promise => { return this.request("/public/v1/submit/update_oauth2_credential", input); }; @@ -3190,7 +3190,7 @@ export class TurnkeyClient { * See also {@link UpdateOauth2Credential}. */ stampUpdateOauth2Credential = async ( - input: TUpdateOauth2CredentialBody + input: TUpdateOauth2CredentialBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_oauth2_credential"; @@ -3211,7 +3211,7 @@ export class TurnkeyClient { * See also {@link stampUpdatePolicy}. */ updatePolicy = async ( - input: TUpdatePolicyBody + input: TUpdatePolicyBody, ): Promise => { return this.request("/public/v1/submit/update_policy", input); }; @@ -3222,7 +3222,7 @@ export class TurnkeyClient { * See also {@link UpdatePolicy}. */ stampUpdatePolicy = async ( - input: TUpdatePolicyBody + input: TUpdatePolicyBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_policy"; const body = JSON.stringify(input); @@ -3242,7 +3242,7 @@ export class TurnkeyClient { * See also {@link stampUpdatePrivateKeyTag}. */ updatePrivateKeyTag = async ( - input: TUpdatePrivateKeyTagBody + input: TUpdatePrivateKeyTagBody, ): Promise => { return this.request("/public/v1/submit/update_private_key_tag", input); }; @@ -3253,7 +3253,7 @@ export class TurnkeyClient { * See also {@link UpdatePrivateKeyTag}. */ stampUpdatePrivateKeyTag = async ( - input: TUpdatePrivateKeyTagBody + input: TUpdatePrivateKeyTagBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_private_key_tag"; @@ -3274,7 +3274,7 @@ export class TurnkeyClient { * See also {@link stampUpdateRootQuorum}. */ updateRootQuorum = async ( - input: TUpdateRootQuorumBody + input: TUpdateRootQuorumBody, ): Promise => { return this.request("/public/v1/submit/update_root_quorum", input); }; @@ -3285,7 +3285,7 @@ export class TurnkeyClient { * See also {@link UpdateRootQuorum}. */ stampUpdateRootQuorum = async ( - input: TUpdateRootQuorumBody + input: TUpdateRootQuorumBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_root_quorum"; @@ -3333,7 +3333,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserEmail}. */ updateUserEmail = async ( - input: TUpdateUserEmailBody + input: TUpdateUserEmailBody, ): Promise => { return this.request("/public/v1/submit/update_user_email", input); }; @@ -3344,7 +3344,7 @@ export class TurnkeyClient { * See also {@link UpdateUserEmail}. */ stampUpdateUserEmail = async ( - input: TUpdateUserEmailBody + input: TUpdateUserEmailBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); @@ -3364,7 +3364,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserName}. */ updateUserName = async ( - input: TUpdateUserNameBody + input: TUpdateUserNameBody, ): Promise => { return this.request("/public/v1/submit/update_user_name", input); }; @@ -3375,7 +3375,7 @@ export class TurnkeyClient { * See also {@link UpdateUserName}. */ stampUpdateUserName = async ( - input: TUpdateUserNameBody + input: TUpdateUserNameBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); @@ -3395,7 +3395,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserPhoneNumber}. */ updateUserPhoneNumber = async ( - input: TUpdateUserPhoneNumberBody + input: TUpdateUserPhoneNumberBody, ): Promise => { return this.request("/public/v1/submit/update_user_phone_number", input); }; @@ -3406,7 +3406,7 @@ export class TurnkeyClient { * See also {@link UpdateUserPhoneNumber}. */ stampUpdateUserPhoneNumber = async ( - input: TUpdateUserPhoneNumberBody + input: TUpdateUserPhoneNumberBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_phone_number"; @@ -3427,7 +3427,7 @@ export class TurnkeyClient { * See also {@link stampUpdateUserTag}. */ updateUserTag = async ( - input: TUpdateUserTagBody + input: TUpdateUserTagBody, ): Promise => { return this.request("/public/v1/submit/update_user_tag", input); }; @@ -3438,7 +3438,7 @@ export class TurnkeyClient { * See also {@link UpdateUserTag}. */ stampUpdateUserTag = async ( - input: TUpdateUserTagBody + input: TUpdateUserTagBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); @@ -3458,7 +3458,7 @@ export class TurnkeyClient { * See also {@link stampUpdateWallet}. */ updateWallet = async ( - input: TUpdateWalletBody + input: TUpdateWalletBody, ): Promise => { return this.request("/public/v1/submit/update_wallet", input); }; @@ -3469,7 +3469,7 @@ export class TurnkeyClient { * See also {@link UpdateWallet}. */ stampUpdateWallet = async ( - input: TUpdateWalletBody + input: TUpdateWalletBody, ): Promise => { const fullUrl = this.config.baseUrl + "/public/v1/submit/update_wallet"; const body = JSON.stringify(input); @@ -3516,7 +3516,7 @@ export class TurnkeyClient { * See also {@link stampTestRateLimits}. */ testRateLimits = async ( - input: TTestRateLimitsBody + input: TTestRateLimitsBody, ): Promise => { return this.request("/tkhq/api/v1/test_rate_limits", input); }; @@ -3527,7 +3527,7 @@ export class TurnkeyClient { * See also {@link TestRateLimits}. */ stampTestRateLimits = async ( - input: TTestRateLimitsBody + input: TTestRateLimitsBody, ): Promise => { const fullUrl = this.config.baseUrl + "/tkhq/api/v1/test_rate_limits"; const body = JSON.stringify(input); diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts index 5be2b1f09..99c11f3fb 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.fetcher.ts @@ -45,7 +45,7 @@ export const getActivity = (input: TGetActivityInput) => */ export const signGetActivity = ( input: TGetActivityInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_activity", @@ -91,7 +91,7 @@ export const getApiKey = (input: TGetApiKeyInput) => */ export const signGetApiKey = ( input: TGetApiKeyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_api_key", @@ -137,7 +137,7 @@ export const getApiKeys = (input: TGetApiKeysInput) => */ export const signGetApiKeys = ( input: TGetApiKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_api_keys", @@ -191,7 +191,7 @@ export const getAttestationDocument = (input: TGetAttestationDocumentInput) => */ export const signGetAttestationDocument = ( input: TGetAttestationDocumentInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_attestation", @@ -243,7 +243,7 @@ export const getAuthenticator = (input: TGetAuthenticatorInput) => */ export const signGetAuthenticator = ( input: TGetAuthenticatorInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_authenticator", @@ -295,7 +295,7 @@ export const getAuthenticators = (input: TGetAuthenticatorsInput) => */ export const signGetAuthenticators = ( input: TGetAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_authenticators", @@ -341,7 +341,7 @@ export const getBootProof = (input: TGetBootProofInput) => */ export const signGetBootProof = ( input: TGetBootProofInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_boot_proof", @@ -393,7 +393,7 @@ export const getLatestBootProof = (input: TGetLatestBootProofInput) => */ export const signGetLatestBootProof = ( input: TGetLatestBootProofInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_latest_boot_proof", @@ -445,7 +445,7 @@ export const getOauth2Credential = (input: TGetOauth2CredentialInput) => */ export const signGetOauth2Credential = ( input: TGetOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_oauth2_credential", @@ -497,7 +497,7 @@ export const getOauthProviders = (input: TGetOauthProvidersInput) => */ export const signGetOauthProviders = ( input: TGetOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_oauth_providers", @@ -543,7 +543,7 @@ export const getOrganization = (input: TGetOrganizationInput) => */ export const signGetOrganization = ( input: TGetOrganizationInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_organization", @@ -597,7 +597,7 @@ export const getOrganizationConfigs = (input: TGetOrganizationConfigsInput) => */ export const signGetOrganizationConfigs = ( input: TGetOrganizationConfigsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_organization_configs", @@ -643,7 +643,7 @@ export const getPolicy = (input: TGetPolicyInput) => */ export const signGetPolicy = ( input: TGetPolicyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_policy", @@ -695,7 +695,7 @@ export const getPolicyEvaluations = (input: TGetPolicyEvaluationsInput) => */ export const signGetPolicyEvaluations = ( input: TGetPolicyEvaluationsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_policy_evaluations", @@ -741,7 +741,7 @@ export const getPrivateKey = (input: TGetPrivateKeyInput) => */ export const signGetPrivateKey = ( input: TGetPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_private_key", @@ -776,7 +776,7 @@ export type TGetSmartContractInterfaceBody = * `POST /public/v1/query/get_smart_contract_interface` */ export const getSmartContractInterface = ( - input: TGetSmartContractInterfaceInput + input: TGetSmartContractInterfaceInput, ) => request< TGetSmartContractInterfaceResponse, @@ -797,7 +797,7 @@ export const getSmartContractInterface = ( */ export const signGetSmartContractInterface = ( input: TGetSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_smart_contract_interface", @@ -843,7 +843,7 @@ export const getUser = (input: TGetUserInput) => */ export const signGetUser = ( input: TGetUserInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_user", @@ -889,7 +889,7 @@ export const getWallet = (input: TGetWalletInput) => */ export const signGetWallet = ( input: TGetWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_wallet", @@ -941,7 +941,7 @@ export const getWalletAccount = (input: TGetWalletAccountInput) => */ export const signGetWalletAccount = ( input: TGetWalletAccountInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/get_wallet_account", @@ -987,7 +987,7 @@ export const getActivities = (input: TGetActivitiesInput) => */ export const signGetActivities = ( input: TGetActivitiesInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_activities", @@ -1039,7 +1039,7 @@ export const listOauth2Credentials = (input: TListOauth2CredentialsInput) => */ export const signListOauth2Credentials = ( input: TListOauth2CredentialsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_oauth2_credentials", @@ -1085,7 +1085,7 @@ export const getPolicies = (input: TGetPoliciesInput) => */ export const signGetPolicies = ( input: TGetPoliciesInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_policies", @@ -1137,7 +1137,7 @@ export const listPrivateKeyTags = (input: TListPrivateKeyTagsInput) => */ export const signListPrivateKeyTags = ( input: TListPrivateKeyTagsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_private_key_tags", @@ -1183,7 +1183,7 @@ export const getPrivateKeys = (input: TGetPrivateKeysInput) => */ export const signGetPrivateKeys = ( input: TGetPrivateKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_private_keys", @@ -1218,7 +1218,7 @@ export type TGetSmartContractInterfacesBody = * `POST /public/v1/query/list_smart_contract_interfaces` */ export const getSmartContractInterfaces = ( - input: TGetSmartContractInterfacesInput + input: TGetSmartContractInterfacesInput, ) => request< TGetSmartContractInterfacesResponse, @@ -1239,7 +1239,7 @@ export const getSmartContractInterfaces = ( */ export const signGetSmartContractInterfaces = ( input: TGetSmartContractInterfacesInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_smart_contract_interfaces", @@ -1285,7 +1285,7 @@ export const getSubOrgIds = (input: TGetSubOrgIdsInput) => */ export const signGetSubOrgIds = ( input: TGetSubOrgIdsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_suborgs", @@ -1331,7 +1331,7 @@ export const listUserTags = (input: TListUserTagsInput) => */ export const signListUserTags = ( input: TListUserTagsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_user_tags", @@ -1377,7 +1377,7 @@ export const getUsers = (input: TGetUsersInput) => */ export const signGetUsers = ( input: TGetUsersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_users", @@ -1429,7 +1429,7 @@ export const getVerifiedSubOrgIds = (input: TGetVerifiedSubOrgIdsInput) => */ export const signGetVerifiedSubOrgIds = ( input: TGetVerifiedSubOrgIdsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_verified_suborgs", @@ -1481,7 +1481,7 @@ export const getWalletAccounts = (input: TGetWalletAccountsInput) => */ export const signGetWalletAccounts = ( input: TGetWalletAccountsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_wallet_accounts", @@ -1527,7 +1527,7 @@ export const getWallets = (input: TGetWalletsInput) => */ export const signGetWallets = ( input: TGetWalletsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/list_wallets", @@ -1573,7 +1573,7 @@ export const getWhoami = (input: TGetWhoamiInput) => */ export const signGetWhoami = ( input: TGetWhoamiInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/query/whoami", @@ -1619,7 +1619,7 @@ export const approveActivity = (input: TApproveActivityInput) => */ export const signApproveActivity = ( input: TApproveActivityInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/approve_activity", @@ -1665,7 +1665,7 @@ export const createApiKeys = (input: TCreateApiKeysInput) => */ export const signCreateApiKeys = ( input: TCreateApiKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_api_keys", @@ -1717,7 +1717,7 @@ export const createApiOnlyUsers = (input: TCreateApiOnlyUsersInput) => */ export const signCreateApiOnlyUsers = ( input: TCreateApiOnlyUsersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_api_only_users", @@ -1769,7 +1769,7 @@ export const createAuthenticators = (input: TCreateAuthenticatorsInput) => */ export const signCreateAuthenticators = ( input: TCreateAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_authenticators", @@ -1821,7 +1821,7 @@ export const createInvitations = (input: TCreateInvitationsInput) => */ export const signCreateInvitations = ( input: TCreateInvitationsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_invitations", @@ -1875,7 +1875,7 @@ export const createOauth2Credential = (input: TCreateOauth2CredentialInput) => */ export const signCreateOauth2Credential = ( input: TCreateOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_oauth2_credential", @@ -1927,7 +1927,7 @@ export const createOauthProviders = (input: TCreateOauthProvidersInput) => */ export const signCreateOauthProviders = ( input: TCreateOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_oauth_providers", @@ -1973,7 +1973,7 @@ export const createPolicies = (input: TCreatePoliciesInput) => */ export const signCreatePolicies = ( input: TCreatePoliciesInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_policies", @@ -2019,7 +2019,7 @@ export const createPolicy = (input: TCreatePolicyInput) => */ export const signCreatePolicy = ( input: TCreatePolicyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_policy", @@ -2071,7 +2071,7 @@ export const createPrivateKeyTag = (input: TCreatePrivateKeyTagInput) => */ export const signCreatePrivateKeyTag = ( input: TCreatePrivateKeyTagInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_private_key_tag", @@ -2123,7 +2123,7 @@ export const createPrivateKeys = (input: TCreatePrivateKeysInput) => */ export const signCreatePrivateKeys = ( input: TCreatePrivateKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_private_keys", @@ -2175,7 +2175,7 @@ export const createReadOnlySession = (input: TCreateReadOnlySessionInput) => */ export const signCreateReadOnlySession = ( input: TCreateReadOnlySessionInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_read_only_session", @@ -2229,7 +2229,7 @@ export const createReadWriteSession = (input: TCreateReadWriteSessionInput) => */ export const signCreateReadWriteSession = ( input: TCreateReadWriteSessionInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_read_write_session", @@ -2264,7 +2264,7 @@ export type TCreateSmartContractInterfaceBody = * `POST /public/v1/submit/create_smart_contract_interface` */ export const createSmartContractInterface = ( - input: TCreateSmartContractInterfaceInput + input: TCreateSmartContractInterfaceInput, ) => request< TCreateSmartContractInterfaceResponse, @@ -2285,7 +2285,7 @@ export const createSmartContractInterface = ( */ export const signCreateSmartContractInterface = ( input: TCreateSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_smart_contract_interface", @@ -2337,7 +2337,7 @@ export const createSubOrganization = (input: TCreateSubOrganizationInput) => */ export const signCreateSubOrganization = ( input: TCreateSubOrganizationInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_sub_organization", @@ -2383,7 +2383,7 @@ export const createUserTag = (input: TCreateUserTagInput) => */ export const signCreateUserTag = ( input: TCreateUserTagInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_user_tag", @@ -2429,7 +2429,7 @@ export const createUsers = (input: TCreateUsersInput) => */ export const signCreateUsers = ( input: TCreateUsersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_users", @@ -2475,7 +2475,7 @@ export const createWallet = (input: TCreateWalletInput) => */ export const signCreateWallet = ( input: TCreateWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_wallet", @@ -2527,7 +2527,7 @@ export const createWalletAccounts = (input: TCreateWalletAccountsInput) => */ export const signCreateWalletAccounts = ( input: TCreateWalletAccountsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/create_wallet_accounts", @@ -2573,7 +2573,7 @@ export const deleteApiKeys = (input: TDeleteApiKeysInput) => */ export const signDeleteApiKeys = ( input: TDeleteApiKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_api_keys", @@ -2625,7 +2625,7 @@ export const deleteAuthenticators = (input: TDeleteAuthenticatorsInput) => */ export const signDeleteAuthenticators = ( input: TDeleteAuthenticatorsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_authenticators", @@ -2677,7 +2677,7 @@ export const deleteInvitation = (input: TDeleteInvitationInput) => */ export const signDeleteInvitation = ( input: TDeleteInvitationInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_invitation", @@ -2731,7 +2731,7 @@ export const deleteOauth2Credential = (input: TDeleteOauth2CredentialInput) => */ export const signDeleteOauth2Credential = ( input: TDeleteOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_oauth2_credential", @@ -2783,7 +2783,7 @@ export const deleteOauthProviders = (input: TDeleteOauthProvidersInput) => */ export const signDeleteOauthProviders = ( input: TDeleteOauthProvidersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_oauth_providers", @@ -2829,7 +2829,7 @@ export const deletePolicy = (input: TDeletePolicyInput) => */ export const signDeletePolicy = ( input: TDeletePolicyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_policy", @@ -2881,7 +2881,7 @@ export const deletePrivateKeyTags = (input: TDeletePrivateKeyTagsInput) => */ export const signDeletePrivateKeyTags = ( input: TDeletePrivateKeyTagsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_private_key_tags", @@ -2933,7 +2933,7 @@ export const deletePrivateKeys = (input: TDeletePrivateKeysInput) => */ export const signDeletePrivateKeys = ( input: TDeletePrivateKeysInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_private_keys", @@ -2968,7 +2968,7 @@ export type TDeleteSmartContractInterfaceBody = * `POST /public/v1/submit/delete_smart_contract_interface` */ export const deleteSmartContractInterface = ( - input: TDeleteSmartContractInterfaceInput + input: TDeleteSmartContractInterfaceInput, ) => request< TDeleteSmartContractInterfaceResponse, @@ -2989,7 +2989,7 @@ export const deleteSmartContractInterface = ( */ export const signDeleteSmartContractInterface = ( input: TDeleteSmartContractInterfaceInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_smart_contract_interface", @@ -3041,7 +3041,7 @@ export const deleteSubOrganization = (input: TDeleteSubOrganizationInput) => */ export const signDeleteSubOrganization = ( input: TDeleteSubOrganizationInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_sub_organization", @@ -3087,7 +3087,7 @@ export const deleteUserTags = (input: TDeleteUserTagsInput) => */ export const signDeleteUserTags = ( input: TDeleteUserTagsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_user_tags", @@ -3133,7 +3133,7 @@ export const deleteUsers = (input: TDeleteUsersInput) => */ export const signDeleteUsers = ( input: TDeleteUsersInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_users", @@ -3179,7 +3179,7 @@ export const deleteWallets = (input: TDeleteWalletsInput) => */ export const signDeleteWallets = ( input: TDeleteWalletsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/delete_wallets", @@ -3225,7 +3225,7 @@ export const emailAuth = (input: TEmailAuthInput) => */ export const signEmailAuth = ( input: TEmailAuthInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/email_auth", @@ -3277,7 +3277,7 @@ export const exportPrivateKey = (input: TExportPrivateKeyInput) => */ export const signExportPrivateKey = ( input: TExportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/export_private_key", @@ -3323,7 +3323,7 @@ export const exportWallet = (input: TExportWalletInput) => */ export const signExportWallet = ( input: TExportWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/export_wallet", @@ -3375,7 +3375,7 @@ export const exportWalletAccount = (input: TExportWalletAccountInput) => */ export const signExportWalletAccount = ( input: TExportWalletAccountInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/export_wallet_account", @@ -3427,7 +3427,7 @@ export const importPrivateKey = (input: TImportPrivateKeyInput) => */ export const signImportPrivateKey = ( input: TImportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/import_private_key", @@ -3473,7 +3473,7 @@ export const importWallet = (input: TImportWalletInput) => */ export const signImportWallet = ( input: TImportWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/import_wallet", @@ -3519,7 +3519,7 @@ export const initFiatOnRamp = (input: TInitFiatOnRampInput) => */ export const signInitFiatOnRamp = ( input: TInitFiatOnRampInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_fiat_on_ramp", @@ -3571,7 +3571,7 @@ export const initImportPrivateKey = (input: TInitImportPrivateKeyInput) => */ export const signInitImportPrivateKey = ( input: TInitImportPrivateKeyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_import_private_key", @@ -3623,7 +3623,7 @@ export const initImportWallet = (input: TInitImportWalletInput) => */ export const signInitImportWallet = ( input: TInitImportWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_import_wallet", @@ -3669,7 +3669,7 @@ export const initOtp = (input: TInitOtpInput) => */ export const signInitOtp = ( input: TInitOtpInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_otp", @@ -3715,7 +3715,7 @@ export const initOtpAuth = (input: TInitOtpAuthInput) => */ export const signInitOtpAuth = ( input: TInitOtpAuthInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_otp_auth", @@ -3767,7 +3767,7 @@ export const initUserEmailRecovery = (input: TInitUserEmailRecoveryInput) => */ export const signInitUserEmailRecovery = ( input: TInitUserEmailRecoveryInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/init_user_email_recovery", @@ -3813,7 +3813,7 @@ export const oauth = (input: TOauthInput) => */ export const signOauth = ( input: TOauthInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/oauth", @@ -3865,7 +3865,7 @@ export const oauth2Authenticate = (input: TOauth2AuthenticateInput) => */ export const signOauth2Authenticate = ( input: TOauth2AuthenticateInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/oauth2_authenticate", @@ -3911,7 +3911,7 @@ export const oauthLogin = (input: TOauthLoginInput) => */ export const signOauthLogin = ( input: TOauthLoginInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/oauth_login", @@ -3957,7 +3957,7 @@ export const otpAuth = (input: TOtpAuthInput) => */ export const signOtpAuth = ( input: TOtpAuthInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/otp_auth", @@ -4003,7 +4003,7 @@ export const otpLogin = (input: TOtpLoginInput) => */ export const signOtpLogin = ( input: TOtpLoginInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/otp_login", @@ -4049,7 +4049,7 @@ export const recoverUser = (input: TRecoverUserInput) => */ export const signRecoverUser = ( input: TRecoverUserInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/recover_user", @@ -4095,7 +4095,7 @@ export const rejectActivity = (input: TRejectActivityInput) => */ export const signRejectActivity = ( input: TRejectActivityInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/reject_activity", @@ -4130,7 +4130,7 @@ export type TRemoveOrganizationFeatureBody = * `POST /public/v1/submit/remove_organization_feature` */ export const removeOrganizationFeature = ( - input: TRemoveOrganizationFeatureInput + input: TRemoveOrganizationFeatureInput, ) => request< TRemoveOrganizationFeatureResponse, @@ -4151,7 +4151,7 @@ export const removeOrganizationFeature = ( */ export const signRemoveOrganizationFeature = ( input: TRemoveOrganizationFeatureInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/remove_organization_feature", @@ -4205,7 +4205,7 @@ export const setOrganizationFeature = (input: TSetOrganizationFeatureInput) => */ export const signSetOrganizationFeature = ( input: TSetOrganizationFeatureInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/set_organization_feature", @@ -4251,7 +4251,7 @@ export const signRawPayload = (input: TSignRawPayloadInput) => */ export const signSignRawPayload = ( input: TSignRawPayloadInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/sign_raw_payload", @@ -4297,7 +4297,7 @@ export const signRawPayloads = (input: TSignRawPayloadsInput) => */ export const signSignRawPayloads = ( input: TSignRawPayloadsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/sign_raw_payloads", @@ -4343,7 +4343,7 @@ export const signTransaction = (input: TSignTransactionInput) => */ export const signSignTransaction = ( input: TSignTransactionInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/sign_transaction", @@ -4389,7 +4389,7 @@ export const stampLogin = (input: TStampLoginInput) => */ export const signStampLogin = ( input: TStampLoginInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/stamp_login", @@ -4443,7 +4443,7 @@ export const updateOauth2Credential = (input: TUpdateOauth2CredentialInput) => */ export const signUpdateOauth2Credential = ( input: TUpdateOauth2CredentialInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_oauth2_credential", @@ -4489,7 +4489,7 @@ export const updatePolicy = (input: TUpdatePolicyInput) => */ export const signUpdatePolicy = ( input: TUpdatePolicyInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_policy", @@ -4541,7 +4541,7 @@ export const updatePrivateKeyTag = (input: TUpdatePrivateKeyTagInput) => */ export const signUpdatePrivateKeyTag = ( input: TUpdatePrivateKeyTagInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_private_key_tag", @@ -4593,7 +4593,7 @@ export const updateRootQuorum = (input: TUpdateRootQuorumInput) => */ export const signUpdateRootQuorum = ( input: TUpdateRootQuorumInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_root_quorum", @@ -4639,7 +4639,7 @@ export const updateUser = (input: TUpdateUserInput) => */ export const signUpdateUser = ( input: TUpdateUserInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_user", @@ -4685,7 +4685,7 @@ export const updateUserEmail = (input: TUpdateUserEmailInput) => */ export const signUpdateUserEmail = ( input: TUpdateUserEmailInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_user_email", @@ -4731,7 +4731,7 @@ export const updateUserName = (input: TUpdateUserNameInput) => */ export const signUpdateUserName = ( input: TUpdateUserNameInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_user_name", @@ -4783,7 +4783,7 @@ export const updateUserPhoneNumber = (input: TUpdateUserPhoneNumberInput) => */ export const signUpdateUserPhoneNumber = ( input: TUpdateUserPhoneNumberInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_user_phone_number", @@ -4829,7 +4829,7 @@ export const updateUserTag = (input: TUpdateUserTagInput) => */ export const signUpdateUserTag = ( input: TUpdateUserTagInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_user_tag", @@ -4875,7 +4875,7 @@ export const updateWallet = (input: TUpdateWalletInput) => */ export const signUpdateWallet = ( input: TUpdateWalletInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/update_wallet", @@ -4921,7 +4921,7 @@ export const verifyOtp = (input: TVerifyOtpInput) => */ export const signVerifyOtp = ( input: TVerifyOtpInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/public/v1/submit/verify_otp", @@ -4992,7 +4992,7 @@ export const testRateLimits = (input: TTestRateLimitsInput) => */ export const signTestRateLimits = ( input: TTestRateLimitsInput, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ) => signedRequest({ uri: "/tkhq/api/v1/test_rate_limits", diff --git a/packages/http/src/async.ts b/packages/http/src/async.ts index 158ae0077..5170d742d 100644 --- a/packages/http/src/async.ts +++ b/packages/http/src/async.ts @@ -191,6 +191,6 @@ function sleep(ms: number): Promise { function assertNever(input: never, message?: string): never { throw new Error( - message != null ? message : `Unexpected case: ${JSON.stringify(input)}` + message != null ? message : `Unexpected case: ${JSON.stringify(input)}`, ); } diff --git a/packages/http/src/base.ts b/packages/http/src/base.ts index ef4cff317..98170b477 100644 --- a/packages/http/src/base.ts +++ b/packages/http/src/base.ts @@ -171,7 +171,7 @@ function getBaseUrl(): string { function substitutePath( uri: string, - substitutionMap: TSubstitutionShape + substitutionMap: TSubstitutionShape, ): string { let result = uri; @@ -182,8 +182,8 @@ function substitutePath( invariant( output !== result, `Substitution error: cannot find "${key}" in URI "${uri}". \`substitutionMap\`: ${JSON.stringify( - substitutionMap - )}` + substitutionMap, + )}`, ); result = output; @@ -191,7 +191,7 @@ function substitutePath( invariant( !/\{.*\}/.test(result), - `Substitution error: found unsubstituted components in "${result}"` + `Substitution error: found unsubstituted components in "${result}"`, ); return result; diff --git a/packages/http/src/webauthn.ts b/packages/http/src/webauthn.ts index ab8484840..e86716a4e 100644 --- a/packages/http/src/webauthn.ts +++ b/packages/http/src/webauthn.ts @@ -46,7 +46,7 @@ const defaultSigningOptions: TurnkeyCredentialRequestOptions = { async function getCredentialRequestOptions( payload: string, - tkSigningOptions: TurnkeyCredentialRequestOptions = defaultSigningOptions + tkSigningOptions: TurnkeyCredentialRequestOptions = defaultSigningOptions, ): Promise { const challenge = await getChallengeFromPayload(payload); @@ -71,7 +71,7 @@ async function getChallengeFromPayload(payload: string): Promise { /* Pulled from https://www.w3.org/TR/webauthn-2/#enum-transport */ export function protocolTransportEnumToInternalEnum( - protocolEnum: ExternalAuthenticatorTransports + protocolEnum: ExternalAuthenticatorTransports, ): InternalAuthenticatorTransports { switch (protocolEnum) { case "internal": { @@ -96,21 +96,21 @@ export function protocolTransportEnumToInternalEnum( } function toInternalAttestation( - attestation: PublicKeyCredentialWithAttestationJSON + attestation: PublicKeyCredentialWithAttestationJSON, ): TAttestation { return { credentialId: attestation.rawId, attestationObject: attestation.response.attestationObject, clientDataJson: attestation.response.clientDataJSON, transports: attestation.response.transports.map( - protocolTransportEnumToInternalEnum + protocolTransportEnumToInternalEnum, ), }; } export async function getWebAuthnAssertion( payload: string, - options?: TurnkeyCredentialRequestOptions + options?: TurnkeyCredentialRequestOptions, ): Promise { const webAuthnSupported = hasWebAuthnSupport(); @@ -132,7 +132,7 @@ export async function getWebAuthnAssertion( } export async function getWebAuthnAttestation( - options: TurnkeyCredentialCreationOptions + options: TurnkeyCredentialCreationOptions, ): Promise { const webAuthnSupported = hasWebAuthnSupport(); diff --git a/packages/react-native-passkey-stamper/src/index.ts b/packages/react-native-passkey-stamper/src/index.ts index 28a7aa7fa..6110c4773 100644 --- a/packages/react-native-passkey-stamper/src/index.ts +++ b/packages/react-native-passkey-stamper/src/index.ts @@ -136,7 +136,7 @@ export async function createPasskey( options?: { withSecurityKey: boolean; withPlatformKey: boolean; - } + }, ): Promise { const challenge = config.challenge || getRandomChallenge(); @@ -187,10 +187,10 @@ export async function createPasskey( attestation: { credentialId: base64Tobase64url(registrationResult.id), clientDataJson: base64Tobase64url( - registrationResult.response.clientDataJSON + registrationResult.response.clientDataJSON, ), attestationObject: base64Tobase64url( - registrationResult.response.attestationObject + registrationResult.response.attestationObject, ), // TODO: can we infer the transport from the registration result? // In all honesty this isn't critical so we default to "hybrid" because that's the transport used by passkeys. @@ -251,10 +251,10 @@ export class PasskeyStamper { const stamp = { authenticatorData: base64Tobase64url( - authenticationResult.response.authenticatorData + authenticationResult.response.authenticatorData, ), clientDataJson: base64Tobase64url( - authenticationResult.response.clientDataJSON + authenticationResult.response.clientDataJSON, ), credentialId: base64Tobase64url(authenticationResult.id), signature: base64Tobase64url(authenticationResult.response.signature), diff --git a/packages/react-wallet-kit/src/providers/client/Provider.tsx b/packages/react-wallet-kit/src/providers/client/Provider.tsx index 1956d0310..a0616426e 100644 --- a/packages/react-wallet-kit/src/providers/client/Provider.tsx +++ b/packages/react-wallet-kit/src/providers/client/Provider.tsx @@ -162,7 +162,7 @@ export const ClientProvider: React.FC = ({ const [user, setUser] = useState(undefined); const [clientState, setClientState] = useState(); const [authState, setAuthState] = useState( - AuthState.Unauthenticated + AuthState.Unauthenticated, ); // we use this custom hook to only update the state if the value is different @@ -171,7 +171,7 @@ export const ClientProvider: React.FC = ({ const expiryTimeoutsRef = useRef({}); const proxyAuthConfigRef = useRef( - null + null, ); const [allSessions, setAllSessions] = useState< @@ -189,7 +189,7 @@ export const ClientProvider: React.FC = ({ window.location.search.includes("state=") ) { const searchParams = new URLSearchParams( - window.location.search.substring(1) + window.location.search.substring(1), ); const code = searchParams.get("code"); const state = searchParams.get("state"); @@ -237,7 +237,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.pathname, ); resolve(); } catch (err) { @@ -260,8 +260,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Facebook authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - error - ) + error, + ), ); } }); @@ -301,7 +301,7 @@ export const ClientProvider: React.FC = ({ if (!oidcToken) { throw new TurnkeyError( "Missing OIDC token", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, ); } await completeOauth({ @@ -314,7 +314,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.pathname, ); resolve(null); } catch (err) { @@ -326,8 +326,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Discord authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - err - ) + err, + ), ); } } @@ -373,7 +373,7 @@ export const ClientProvider: React.FC = ({ if (!oidcToken) { throw new TurnkeyError( "Missing OIDC token", - TurnkeyErrorCodes.OAUTH_LOGIN_ERROR + TurnkeyErrorCodes.OAUTH_LOGIN_ERROR, ); } await completeOauth({ @@ -386,7 +386,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.pathname, ); resolve(null); } catch (err) { @@ -398,8 +398,8 @@ export const ClientProvider: React.FC = ({ : new TurnkeyError( "Twitter authentication failed", TurnkeyErrorCodes.OAUTH_SIGNUP_ERROR, - err - ) + err, + ), ); } } @@ -476,7 +476,7 @@ export const ClientProvider: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.search + window.location.pathname + window.location.search, ); } } @@ -484,7 +484,7 @@ export const ClientProvider: React.FC = ({ }; const buildConfig = ( - proxyAuthConfig?: ProxyTGetWalletKitConfigResponse | undefined + proxyAuthConfig?: ProxyTGetWalletKitConfigResponse | undefined, ) => { // Juggle the local overrides with the values set in the dashboard (proxyAuthConfig). const resolvedMethods = { @@ -543,7 +543,7 @@ export const ClientProvider: React.FC = ({ const oauthOrder = config.auth?.oauthOrder ?? (["google", "apple", "x", "discord", "facebook"] as const).filter( - (provider) => resolvedMethods[`${provider}OauthEnabled` as const] + (provider) => resolvedMethods[`${provider}OauthEnabled` as const], ); // Set a default ordering for the overall auth methods @@ -660,8 +660,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize Turnkey client`, TurnkeyErrorCodes.INITIALIZE_CLIENT_ERROR, - error - ) + error, + ), ); } } @@ -694,7 +694,7 @@ export const ClientProvider: React.FC = ({ sessionKey, expiry: session!.expiry, }); - }) + }), ); setAllSessions(allLocalStorageSessions || undefined); @@ -721,8 +721,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize sessions`, TurnkeyErrorCodes.INITIALIZE_SESSION_ERROR, - error - ) + error, + ), ); } } @@ -746,7 +746,7 @@ export const ClientProvider: React.FC = ({ */ async function initializeWalletProviderListeners( walletProviders: WalletProvider[], - onWalletsChanged: () => void + onWalletsChanged: () => void, ): Promise<() => void> { if (walletProviders.length === 0) return () => {}; @@ -761,7 +761,7 @@ export const ClientProvider: React.FC = ({ (provider) => provider.chainInfo.namespace === Chain.Ethereum && nativeOnly(provider) && - provider.connectedAddresses.length > 0 + provider.connectedAddresses.length > 0, ) : []; @@ -770,7 +770,7 @@ export const ClientProvider: React.FC = ({ (provider) => provider.chainInfo.namespace === Chain.Solana && nativeOnly(provider) && - provider.connectedAddresses.length > 0 + provider.connectedAddresses.length > 0, ) : []; @@ -780,12 +780,12 @@ export const ClientProvider: React.FC = ({ const wcProviders = walletProviders.filter( (p) => p.interfaceType === WalletInterfaceType.WalletConnect && - p.connectedAddresses.length > 0 + p.connectedAddresses.length > 0, ); function attachEthereumListeners( provider: any, - onWalletsChanged: () => void + onWalletsChanged: () => void, ) { if (typeof provider.on !== "function") return; @@ -808,7 +808,7 @@ export const ClientProvider: React.FC = ({ function attachSolanaListeners( provider: any, - onWalletsChanged: () => void + onWalletsChanged: () => void, ) { const cleanups: Array<() => void> = []; @@ -826,7 +826,7 @@ export const ClientProvider: React.FC = ({ ethProviders.forEach((p) => { const cleanup = attachEthereumListeners( (p as any).provider, - onWalletsChanged + onWalletsChanged, ); if (cleanup) cleanups.push(cleanup); }); @@ -834,7 +834,7 @@ export const ClientProvider: React.FC = ({ solProviders.forEach((p) => { const cleanup = attachSolanaListeners( (p as any).provider, - onWalletsChanged + onWalletsChanged, ); if (cleanup) cleanups.push(cleanup); }); @@ -889,7 +889,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, warnKey, beforeExpiry, - 10_000 + 10_000, ); return; } @@ -948,7 +948,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, warnKey, beforeExpiry, - warnAt - now + warnAt - now, ); } @@ -957,7 +957,7 @@ export const ClientProvider: React.FC = ({ expiryTimeoutsRef.current, sessionKey, expireSession, - timeUntilExpiry + timeUntilExpiry, ); } catch (error) { if ( @@ -970,8 +970,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to schedule session expiration for ${sessionKey}`, TurnkeyErrorCodes.SCHEDULE_SESSION_EXPIRY_ERROR, - error - ) + error, + ), ); } } @@ -1003,8 +1003,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( "Failed to clear session timeouts", TurnkeyErrorCodes.CLEAR_SESSION_TIMEOUTS_ERROR, - error - ) + error, + ), ); } } @@ -1065,8 +1065,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to handle post-authentication`, TurnkeyErrorCodes.HANDLE_POST_AUTH_ERROR, - error - ) + error, + ), ); } } @@ -1088,7 +1088,7 @@ export const ClientProvider: React.FC = ({ const handlePostLogout = (sessionKey?: string) => { try { clearSessionTimeouts( - sessionKey ? [sessionKey, `${sessionKey}-warning`] : undefined + sessionKey ? [sessionKey, `${sessionKey}-warning`] : undefined, ); setAllSessions((prev) => { if (!prev) return prev; @@ -1107,8 +1107,8 @@ export const ClientProvider: React.FC = ({ new TurnkeyError( `Failed to initialize sessions`, TurnkeyErrorCodes.HANDLE_POST_LOGOUT_ERROR, - error - ) + error, + ), ); } }; @@ -1123,16 +1123,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.createPasskey({ ...params }), callbacks, - "Failed to create passkey" + "Failed to create passkey", ); }, - [client, callbacks] + [client, callbacks], ); const logout: (params?: { sessionKey?: string }) => Promise = @@ -1141,7 +1141,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } await withTurnkeyErrorHandling( @@ -1154,12 +1154,12 @@ export const ClientProvider: React.FC = ({ if (sessionKey) handlePostLogout(sessionKey); }, callbacks, - "Failed to logout" + "Failed to logout", ); return; }, - [client, callbacks] + [client, callbacks], ); const loginWithPasskey = useCallback( @@ -1170,7 +1170,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } @@ -1180,7 +1180,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginWithPasskey({ ...params, expirationSeconds }), callbacks, - "Failed to login with passkey" + "Failed to login with passkey", ); if (res) { await handlePostAuth({ @@ -1191,7 +1191,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks] + [client, callbacks], ); const signUpWithPasskey = useCallback( @@ -1204,13 +1204,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1251,7 +1251,7 @@ export const ClientProvider: React.FC = ({ expirationSeconds, }), callbacks, - "Failed to sign up with passkey" + "Failed to sign up with passkey", ); if (res) { await handlePostAuth({ @@ -1262,7 +1262,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks] + [client, callbacks], ); const fetchWalletProviders = useCallback( @@ -1270,7 +1270,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } const newProviders = await client.fetchWalletProviders(chain); @@ -1283,7 +1283,7 @@ export const ClientProvider: React.FC = ({ return newProviders; }, - [client, callbacks] + [client, callbacks], ); const connectWalletAccount = useCallback( @@ -1291,7 +1291,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } await client.connectWalletAccount(walletProvider); @@ -1299,7 +1299,7 @@ export const ClientProvider: React.FC = ({ // this will update our walletProvider state await refreshWallets(); }, - [client, callbacks] + [client, callbacks], ); const disconnectWalletAccount = useCallback( @@ -1307,7 +1307,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } await client.disconnectWalletAccount(walletProvider); @@ -1327,7 +1327,7 @@ export const ClientProvider: React.FC = ({ await refreshWallets(); } }, - [client, callbacks] + [client, callbacks], ); const switchWalletAccountChain = useCallback( @@ -1338,12 +1338,12 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } await client.switchWalletAccountChain({ ...params, walletProviders }); }, - [client, callbacks] + [client, callbacks], ); const loginWithWallet = useCallback( @@ -1356,7 +1356,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } @@ -1366,7 +1366,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to login with wallet" + "Failed to login with wallet", ); if (res) { await handlePostAuth({ @@ -1377,7 +1377,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks] + [client, callbacks], ); const signUpWithWallet = useCallback( @@ -1390,13 +1390,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1414,7 +1414,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to sign up with wallet" + "Failed to sign up with wallet", ); if (res) { await handlePostAuth({ @@ -1425,7 +1425,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const loginOrSignupWithWallet = useCallback( @@ -1438,13 +1438,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1462,7 +1462,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.loginOrSignupWithWallet({ ...params, expirationSeconds }), callbacks, - "Failed to login or sign up with wallet" + "Failed to login or sign up with wallet", ); if (res) { await handlePostAuth({ @@ -1473,7 +1473,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const initOtp = useCallback( @@ -1481,16 +1481,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.initOtp(params), callbacks, - "Failed to initialize OTP" + "Failed to initialize OTP", ); }, - [client, callbacks] + [client, callbacks], ); const verifyOtp = useCallback( @@ -1503,16 +1503,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.verifyOtp(params), callbacks, - "Failed to verify OTP" + "Failed to verify OTP", ); }, - [client, callbacks] + [client, callbacks], ); const loginWithOtp = useCallback( @@ -1525,14 +1525,14 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } const res = await withTurnkeyErrorHandling( () => client.loginWithOtp(params), callbacks, - "Failed to login with OTP" + "Failed to login with OTP", ); if (res) { await handlePostAuth({ @@ -1543,7 +1543,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks] + [client, callbacks], ); const signUpWithOtp = useCallback( @@ -1557,13 +1557,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1584,7 +1584,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithOtp(params), callbacks, - "Failed to sign up with OTP" + "Failed to sign up with OTP", ); if (res) { await handlePostAuth({ @@ -1595,7 +1595,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const completeOtp = useCallback( @@ -1614,13 +1614,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -1642,7 +1642,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.completeOtp(params), callbacks, - "Failed to complete OTP" + "Failed to complete OTP", ); if (res) { await handlePostAuth({ @@ -1653,7 +1653,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const loginWithOauth = useCallback( @@ -1666,14 +1666,14 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } const res = await withTurnkeyErrorHandling( () => client.loginWithOauth(params), callbacks, - "Failed to login with OAuth" + "Failed to login with OAuth", ); if (res) { await handlePostAuth({ @@ -1684,7 +1684,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks] + [client, callbacks], ); const signUpWithOauth = useCallback( @@ -1698,13 +1698,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } // If createSubOrgParams is not provided, use the default from masterConfig @@ -1719,7 +1719,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.signUpWithOauth(params), callbacks, - "Failed to sign up with OAuth" + "Failed to sign up with OAuth", ); if (res) { await handlePostAuth({ @@ -1730,7 +1730,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const completeOauth = useCallback( @@ -1745,13 +1745,13 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -1768,7 +1768,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.completeOauth(params), callbacks, - "Failed to complete OAuth" + "Failed to complete OAuth", ); if (res) { await handlePostAuth({ @@ -1779,7 +1779,7 @@ export const ClientProvider: React.FC = ({ } return res; }, - [client, callbacks, masterConfig] + [client, callbacks, masterConfig], ); const fetchWallets = useCallback( @@ -1790,16 +1790,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.fetchWallets(params), callbacks, - "Failed to fetch wallets" + "Failed to fetch wallets", ); }, - [client, callbacks] + [client, callbacks], ); const fetchWalletAccounts = useCallback( @@ -1812,16 +1812,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.fetchWalletAccounts(params), callbacks, - "Failed to fetch wallet accounts" + "Failed to fetch wallet accounts", ); }, - [client, callbacks] + [client, callbacks], ); const fetchPrivateKeys = useCallback( @@ -1831,16 +1831,16 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } return withTurnkeyErrorHandling( () => client.fetchPrivateKeys(params), callbacks, - "Failed to fetch private keys" + "Failed to fetch private keys", ); }, - [client, callbacks] + [client, callbacks], ); const signMessage = useCallback( @@ -1855,15 +1855,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.signMessage(params), callbacks, - "Failed to sign message" + "Failed to sign message", ); }, - [client, callbacks] + [client, callbacks], ); const handleSignMessage = useCallback( @@ -1881,7 +1881,7 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return new Promise((resolve, reject) => { pushPage({ @@ -1911,7 +1911,7 @@ export const ClientProvider: React.FC = ({ }); }); }, - [client, callbacks] + [client, callbacks], ); const signTransaction = useCallback( @@ -1924,15 +1924,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.signTransaction(params), callbacks, - "Failed to sign transaction" + "Failed to sign transaction", ); }, - [client, callbacks] + [client, callbacks], ); const signAndSendTransaction = useCallback( @@ -1946,15 +1946,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.signAndSendTransaction(params), callbacks, - "Failed to sign transaction" + "Failed to sign transaction", ); }, - [client, callbacks] + [client, callbacks], ); const fetchUser = useCallback( @@ -1966,15 +1966,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.fetchUser(params), callbacks, - "Failed to fetch user" + "Failed to fetch user", ); }, - [client, callbacks] + [client, callbacks], ); const fetchOrCreateP256ApiKeyUser = useCallback( @@ -1988,15 +1988,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.fetchOrCreateP256ApiKeyUser(params), callbacks, - "Failed to fetch or create delegated access user" + "Failed to fetch or create delegated access user", ); }, - [client, callbacks] + [client, callbacks], ); const fetchOrCreatePolicies = useCallback( @@ -2006,15 +2006,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.fetchOrCreatePolicies(params), callbacks, - "Failed to fetch or create delegated access user" + "Failed to fetch or create delegated access user", ); }, - [client, callbacks] + [client, callbacks], ); const updateUserEmail = useCallback( @@ -2027,17 +2027,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.updateUserEmail(params), callbacks, - "Failed to update user email" + "Failed to update user email", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const removeUserEmail = useCallback( @@ -2048,17 +2048,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.removeUserEmail(params), callbacks, - "Failed to remove user email" + "Failed to remove user email", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const updateUserPhoneNumber = useCallback( @@ -2071,17 +2071,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.updateUserPhoneNumber(params), callbacks, - "Failed to update user phone number" + "Failed to update user phone number", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const removeUserPhoneNumber = useCallback( @@ -2092,17 +2092,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.removeUserPhoneNumber(params), callbacks, - "Failed to remove user phone number" + "Failed to remove user phone number", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const updateUserName = useCallback( @@ -2114,17 +2114,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.updateUserName(params), callbacks, - "Failed to update user name" + "Failed to update user name", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const addOauthProvider = useCallback( @@ -2137,17 +2137,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.addOauthProvider(params), callbacks, - "Failed to add OAuth provider" + "Failed to add OAuth provider", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const removeOauthProviders = useCallback( @@ -2159,17 +2159,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.removeOauthProviders(params), callbacks, - "Failed to remove OAuth providers" + "Failed to remove OAuth providers", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const addPasskey = useCallback( @@ -2182,17 +2182,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.addPasskey(params), callbacks, - "Failed to add passkey" + "Failed to add passkey", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const removePasskeys = useCallback( @@ -2204,17 +2204,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.removePasskeys(params), callbacks, - "Failed to remove passkeys" + "Failed to remove passkeys", ); if (res) await refreshUser({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const createWallet = useCallback( @@ -2228,17 +2228,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.createWallet(params), callbacks, - "Failed to create wallet" + "Failed to create wallet", ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const createWalletAccounts = useCallback( @@ -2251,17 +2251,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.createWalletAccounts(params), callbacks, - "Failed to create wallet accounts" + "Failed to create wallet accounts", ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const exportWallet = useCallback( @@ -2274,17 +2274,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.exportWallet(params), callbacks, - "Failed to export wallet" + "Failed to export wallet", ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const exportPrivateKey = useCallback( @@ -2297,16 +2297,16 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.exportPrivateKey(params), callbacks, - "Failed to export private key" + "Failed to export private key", ); return res; }, - [client, callbacks] + [client, callbacks], ); const exportWalletAccount = useCallback( @@ -2319,17 +2319,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.exportWalletAccount(params), callbacks, - "Failed to export wallet accounts" + "Failed to export wallet accounts", ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const importWallet = useCallback( @@ -2343,17 +2343,17 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.importWallet(params), callbacks, - "Failed to import wallet" + "Failed to import wallet", ); if (res) await refreshWallets({ stampWith: params?.stampWith }); return res; }, - [client, callbacks] + [client, callbacks], ); const importPrivateKey = useCallback( @@ -2368,16 +2368,16 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const res = await withTurnkeyErrorHandling( () => client.importPrivateKey(params), callbacks, - "Failed to import private key" + "Failed to import private key", ); return res; }, - [client, callbacks] + [client, callbacks], ); const deleteSubOrganization = useCallback( @@ -2388,15 +2388,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.deleteSubOrganization(params), callbacks, - "Failed to delete sub-organization" + "Failed to delete sub-organization", ); }, - [client, callbacks] + [client, callbacks], ); const storeSession = useCallback( @@ -2407,12 +2407,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); await withTurnkeyErrorHandling( () => client.storeSession(params), callbacks, - "Failed to store session" + "Failed to store session", ); const sessionKey = await getActiveSessionKey(); const session = await getSession({ @@ -2428,7 +2428,7 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return; }, - [client, callbacks] + [client, callbacks], ); const clearSession = useCallback( @@ -2436,12 +2436,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); await withTurnkeyErrorHandling( () => client.clearSession(params), callbacks, - "Failed to clear session" + "Failed to clear session", ); const session = await getSession(); const allSessions = await getAllSessions(); @@ -2449,21 +2449,21 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return; }, - [client, callbacks] + [client, callbacks], ); const clearAllSessions = useCallback(async (): Promise => { if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); setSession(undefined); setAllSessions(undefined); return await withTurnkeyErrorHandling( () => client.clearAllSessions(), callbacks, - "Failed to clear all sessions" + "Failed to clear all sessions", ); }, [client, callbacks]); @@ -2478,7 +2478,7 @@ export const ClientProvider: React.FC = ({ if (!client) { throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); } @@ -2486,7 +2486,7 @@ export const ClientProvider: React.FC = ({ if (!activeSessionKey) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -2495,7 +2495,7 @@ export const ClientProvider: React.FC = ({ const res = await withTurnkeyErrorHandling( () => client.refreshSession({ ...params }), callbacks, - "Failed to refresh session" + "Failed to refresh session", ); const session = await getSession({ sessionKey }); @@ -2514,7 +2514,7 @@ export const ClientProvider: React.FC = ({ setAllSessions(allSessions); return res; }, - [client, callbacks] + [client, callbacks], ); const getSession = useCallback( @@ -2522,15 +2522,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.getSession(params), callbacks, - "Failed to get session" + "Failed to get session", ); }, - [client, callbacks] + [client, callbacks], ); const getAllSessions = useCallback(async (): Promise< @@ -2539,12 +2539,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.getAllSessions(), callbacks, - "Failed to get all sessions" + "Failed to get all sessions", ); }, [client, callbacks]); @@ -2553,23 +2553,23 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const session = await withTurnkeyErrorHandling( () => client.getSession({ sessionKey: params.sessionKey }), callbacks, - "Failed to get session" + "Failed to get session", ); if (!session) { throw new TurnkeyError( "Session not found.", - TurnkeyErrorCodes.NOT_FOUND + TurnkeyErrorCodes.NOT_FOUND, ); } await withTurnkeyErrorHandling( () => client.setActiveSession(params), callbacks, - "Failed to set active session" + "Failed to set active session", ); setSession(session); await withTurnkeyErrorHandling( @@ -2578,11 +2578,11 @@ export const ClientProvider: React.FC = ({ await refreshUser(); }, callbacks, - "Failed to refresh data after setting active session" + "Failed to refresh data after setting active session", ); return; }, - [client, callbacks] + [client, callbacks], ); const getActiveSessionKey = useCallback(async (): Promise< @@ -2591,12 +2591,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.getActiveSessionKey(), callbacks, - "Failed to get active session key" + "Failed to get active session key", ); }, [client, callbacks]); @@ -2604,12 +2604,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.clearUnusedKeyPairs(), callbacks, - "Failed to clear unused key pairs" + "Failed to clear unused key pairs", ); }, [client, callbacks]); @@ -2623,15 +2623,15 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.createApiKeyPair(params), callbacks, - "Failed to create API key pair" + "Failed to create API key pair", ); }, - [client, callbacks] + [client, callbacks], ); const getProxyAuthConfig = @@ -2639,12 +2639,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); return withTurnkeyErrorHandling( () => client.getProxyAuthConfig(), callbacks, - "Failed to get proxy auth config" + "Failed to get proxy auth config", ); }, [client, callbacks]); @@ -2654,18 +2654,18 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const user = await withTurnkeyErrorHandling( () => fetchUser({ stampWith }), callbacks, - "Failed to refresh user" + "Failed to refresh user", ); if (user) { setUser(user); } }, - [client, callbacks] + [client, callbacks], ); const refreshWallets = useCallback( @@ -2674,25 +2674,25 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); const walletProviders = await withTurnkeyErrorHandling( () => fetchWalletProviders(), callbacks, - "Failed to refresh wallets" + "Failed to refresh wallets", ); const wallets = await withTurnkeyErrorHandling( () => fetchWallets({ stampWith, walletProviders }), callbacks, - "Failed to refresh wallets" + "Failed to refresh wallets", ); if (wallets) { setWallets(wallets); } }, - [client, callbacks, fetchWalletProviders, fetchWallets] + [client, callbacks, fetchWalletProviders, fetchWallets], ); const handleDiscordOauth = useCallback( @@ -2715,19 +2715,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!clientId) { throw new TurnkeyError( "Discord Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -2755,19 +2755,19 @@ export const ClientProvider: React.FC = ({ discordAuthUrl.searchParams.set("scope", "identify email"); discordAuthUrl.searchParams.set( "state", - `provider=discord&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}` + `provider=discord&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}`, ); if (additionalParameters) { const extra = Object.entries(additionalParameters) .map( - ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}` + ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`, ) .join("&"); if (extra) { discordAuthUrl.searchParams.set( "state", - discordAuthUrl.searchParams.get("state")! + `&${extra}` + discordAuthUrl.searchParams.get("state")! + `&${extra}`, ); } } @@ -2779,7 +2779,7 @@ export const ClientProvider: React.FC = ({ reject(new Error("Authentication timed out.")); }, 300000); window.addEventListener("beforeunload", () => - clearTimeout(timeout) + clearTimeout(timeout), ); }); } else { @@ -2791,7 +2791,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -2887,7 +2887,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks] + [client, callbacks], ); const handleXOauth = useCallback( @@ -2910,19 +2910,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!clientId) { throw new TurnkeyError( "Twitter Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -2950,19 +2950,19 @@ export const ClientProvider: React.FC = ({ twitterAuthUrl.searchParams.set("scope", "tweet.read users.read"); twitterAuthUrl.searchParams.set( "state", - `provider=twitter&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}` + `provider=twitter&flow=${flow}&publicKey=${encodeURIComponent(publicKey)}&nonce=${nonce}`, ); if (additionalParameters) { const extra = Object.entries(additionalParameters) .map( - ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}` + ([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`, ) .join("&"); if (extra) { twitterAuthUrl.searchParams.set( "state", - twitterAuthUrl.searchParams.get("state")! + `&${extra}` + twitterAuthUrl.searchParams.get("state")! + `&${extra}`, ); } } @@ -2974,7 +2974,7 @@ export const ClientProvider: React.FC = ({ reject(new Error("Authentication timed out.")); }, 300000); window.addEventListener("beforeunload", () => - clearTimeout(timeout) + clearTimeout(timeout), ); }); } else { @@ -2986,7 +2986,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -3082,7 +3082,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks] + [client, callbacks], ); const handleGoogleOauth = useCallback( @@ -3105,19 +3105,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!clientId) { throw new TurnkeyError( "Google Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -3147,7 +3147,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}` + `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, ) .join("&"); if (additionalState) { @@ -3168,7 +3168,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout) + clearTimeout(timeout), ); }); } else { @@ -3181,7 +3181,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -3255,7 +3255,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks] + [client, callbacks], ); const handleAppleOauth = useCallback( @@ -3278,19 +3278,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!clientId) { throw new TurnkeyError( "Apple Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -3318,7 +3318,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}` + `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, ) .join("&"); if (additionalState) { @@ -3338,7 +3338,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout) + clearTimeout(timeout), ); }); } else { @@ -3351,7 +3351,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -3424,7 +3424,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks] + [client, callbacks], ); const handleFacebookOauth = useCallback( @@ -3447,19 +3447,19 @@ export const ClientProvider: React.FC = ({ if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!clientId) { throw new TurnkeyError( "Facebook Client ID is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } if (!masterConfig.auth?.oauthConfig?.oauthRedirectUri) { throw new TurnkeyError( "OAuth Redirect URI is not configured.", - TurnkeyErrorCodes.INVALID_CONFIGURATION + TurnkeyErrorCodes.INVALID_CONFIGURATION, ); } @@ -3494,7 +3494,7 @@ export const ClientProvider: React.FC = ({ const additionalState = Object.entries(additionalParameters) .map( ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent(value)}` + `${encodeURIComponent(key)}=${encodeURIComponent(value)}`, ) .join("&"); if (additionalState) { @@ -3514,7 +3514,7 @@ export const ClientProvider: React.FC = ({ // If the page is unloaded (user navigates away), clear the timeout window.addEventListener("beforeunload", () => - clearTimeout(timeout) + clearTimeout(timeout), ); }); } else { @@ -3527,7 +3527,7 @@ export const ClientProvider: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -3576,7 +3576,7 @@ export const ClientProvider: React.FC = ({ clientId, redirectURI, authCode, - verifier + verifier, ) .then((tokenData) => { sessionStorage.removeItem("facebook_verifier"); @@ -3623,7 +3623,7 @@ export const ClientProvider: React.FC = ({ throw error; } }, - [client, callbacks] + [client, callbacks], ); const handleLogin = useCallback( @@ -3633,7 +3633,7 @@ export const ClientProvider: React.FC = ({ content: , }); }, - [pushPage] + [pushPage], ); const handleExportWallet = useCallback( @@ -3655,7 +3655,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage] + [pushPage], ); const handleExportPrivateKey = useCallback( @@ -3679,7 +3679,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage] + [pushPage], ); const handleExportWalletAccount = useCallback( @@ -3703,7 +3703,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage] + [pushPage], ); const handleImportWallet = useCallback( @@ -3739,8 +3739,8 @@ export const ClientProvider: React.FC = ({ {...(stampWith !== undefined && { stampWith })} /> ), - }) - ) + }), + ), ); } catch (error) { if (error instanceof TurnkeyError) { @@ -3749,11 +3749,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to import wallet.", TurnkeyErrorCodes.IMPORT_WALLET_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleImportPrivateKey = useCallback( @@ -3790,8 +3790,8 @@ export const ClientProvider: React.FC = ({ {...(stampWith !== undefined && { stampWith })} /> ), - }) - ) + }), + ), ); } catch (error) { if (error instanceof TurnkeyError) { @@ -3800,11 +3800,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to import private key.", TurnkeyErrorCodes.IMPORT_WALLET_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleUpdateUserName = useCallback( @@ -3825,13 +3825,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -3876,7 +3876,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }) + }), ); } else { const res = await updateUserName({ @@ -3894,11 +3894,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to update user name.", TurnkeyErrorCodes.UPDATE_USER_NAME_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleUpdateUserPhoneNumber = useCallback( @@ -3914,27 +3914,27 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED + TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED, ); } if (!masterConfig.auth?.methods?.smsOtpAuthEnabled) { throw new TurnkeyError( "SMS OTP authentication is not enabled in the configuration.", - TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED + TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED, ); } @@ -3974,7 +3974,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }) + }), ); } else { const otpId = await initOtp({ @@ -4023,7 +4023,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to update phone number" + "Failed to update phone number", ); } } catch (error) { @@ -4033,11 +4033,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for sms verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleUpdateUserEmail = useCallback( @@ -4052,13 +4052,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -4100,7 +4100,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }) + }), ); } else { const otpId = await initOtp({ @@ -4146,7 +4146,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to update email" + "Failed to update email", ); } } catch (error) { @@ -4156,11 +4156,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for email verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleAddEmail = useCallback( @@ -4175,13 +4175,13 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -4225,7 +4225,7 @@ export const ClientProvider: React.FC = ({ ), showTitle: false, }); - }) + }), ); } else { const otpId = await initOtp({ @@ -4271,7 +4271,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add email" + "Failed to add email", ); } } catch (error) { @@ -4281,11 +4281,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for email verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleAddPhoneNumber = useCallback( @@ -4301,26 +4301,26 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } if (!masterConfig) { throw new TurnkeyError( "Config is not ready yet!", - TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED + TurnkeyErrorCodes.CONFIG_NOT_INITIALIZED, ); } if (!masterConfig.auth?.methods?.smsOtpAuthEnabled) { throw new TurnkeyError( "SMS OTP authentication is not enabled in the configuration.", - TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED + TurnkeyErrorCodes.AUTH_METHOD_NOT_ENABLED, ); } @@ -4368,7 +4368,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add phone number" + "Failed to add phone number", ); } else { const otpId = await initOtp({ @@ -4417,7 +4417,7 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to add phone number" + "Failed to add phone number", ); } } catch (error) { @@ -4427,11 +4427,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to initialize OTP for sms verification.", TurnkeyErrorCodes.INIT_OTP_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleRemovePasskey = useCallback( @@ -4455,12 +4455,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } return withTurnkeyErrorHandling( @@ -4489,10 +4489,10 @@ export const ClientProvider: React.FC = ({ }); }), callbacks, - "Failed to remove passkey" + "Failed to remove passkey", ); }, - [pushPage] + [pushPage], ); const handleAddPasskey = useCallback( @@ -4513,12 +4513,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } const userId = params?.userId || session.userId; @@ -4553,11 +4553,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to add passkey in handler.", TurnkeyErrorCodes.ADD_PASSKEY_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleRemoveOauthProvider = useCallback( @@ -4579,12 +4579,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } try { @@ -4617,11 +4617,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove OAuth provider in handler.", TurnkeyErrorCodes.REMOVE_OAUTH_PROVIDER_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleAddOauthProvider = useCallback( @@ -4632,12 +4632,12 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -4707,12 +4707,12 @@ export const ClientProvider: React.FC = ({ default: { throw new TurnkeyError( `Unsupported OAuth provider: ${providerName}`, - TurnkeyErrorCodes.NOT_FOUND + TurnkeyErrorCodes.NOT_FOUND, ); } } }, - [pushPage] + [pushPage], ); const handleConnectExternalWallet = useCallback( @@ -4723,18 +4723,18 @@ export const ClientProvider: React.FC = ({ if (!client) throw new TurnkeyError( "Client is not initialized.", - TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED + TurnkeyErrorCodes.CLIENT_NOT_INITIALIZED, ); if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } if (!masterConfig?.walletConfig?.features?.connecting) { throw new TurnkeyError( "Wallet connecting is not enabled.", - TurnkeyErrorCodes.FEATURE_NOT_ENABLED + TurnkeyErrorCodes.FEATURE_NOT_ENABLED, ); } @@ -4750,7 +4750,7 @@ export const ClientProvider: React.FC = ({ ), }); }, - [pushPage] + [pushPage], ); const handleRemoveUserEmail = useCallback( @@ -4763,7 +4763,7 @@ export const ClientProvider: React.FC = ({ if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -4795,11 +4795,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove user email.", TurnkeyErrorCodes.UPDATE_USER_EMAIL_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); const handleRemoveUserPhoneNumber = useCallback( @@ -4812,7 +4812,7 @@ export const ClientProvider: React.FC = ({ if (!session) { throw new TurnkeyError( "No active session found.", - TurnkeyErrorCodes.NO_SESSION_FOUND + TurnkeyErrorCodes.NO_SESSION_FOUND, ); } @@ -4844,11 +4844,11 @@ export const ClientProvider: React.FC = ({ throw new TurnkeyError( "Failed to remove user phone number.", TurnkeyErrorCodes.UPDATE_USER_PHONE_NUMBER_ERROR, - error + error, ); } }, - [pushPage] + [pushPage], ); useEffect(() => { @@ -4862,7 +4862,7 @@ export const ClientProvider: React.FC = ({ // Only fetch the proxy auth config if we have an authProxyId. This is a way for devs to explicitly disable the proxy auth. proxyAuthConfig = await getAuthProxyConfig( config.authProxyConfigId, - config.authProxyUrl + config.authProxyUrl, ); proxyAuthConfigRef.current = proxyAuthConfig; } diff --git a/packages/react-wallet-kit/src/providers/modal/Provider.tsx b/packages/react-wallet-kit/src/providers/modal/Provider.tsx index b9ad375e6..04c44cdb9 100644 --- a/packages/react-wallet-kit/src/providers/modal/Provider.tsx +++ b/packages/react-wallet-kit/src/providers/modal/Provider.tsx @@ -21,7 +21,7 @@ export type ModalContextType = { }; export const ModalContext = createContext( - undefined + undefined, ); export function ModalProvider({ children }: { children: ReactNode }) { diff --git a/packages/react-wallet-kit/src/utils/utils.ts b/packages/react-wallet-kit/src/utils/utils.ts index 0c5f3c74d..9c759b666 100644 --- a/packages/react-wallet-kit/src/utils/utils.ts +++ b/packages/react-wallet-kit/src/utils/utils.ts @@ -1,13 +1,13 @@ import { AuthAction, - BaseAuthResult, - Session, + type BaseAuthResult, + type Session, TurnkeyError, TurnkeyErrorCodes, } from "@turnkey/sdk-types"; import type { TurnkeyCallbacks } from "../types/base"; import { useCallback, useRef, useState, useEffect } from "react"; -import { WalletInterfaceType, WalletProvider } from "@turnkey/core"; +import { WalletInterfaceType, type WalletProvider } from "@turnkey/core"; export const DISCORD_AUTH_URL = "https://discord.com/oauth2/authorize"; export const X_AUTH_URL = "https://x.com/i/oauth2/authorize"; diff --git a/packages/sdk-browser/scripts/codegen.js b/packages/sdk-browser/scripts/codegen.js index 5ea8678ce..943620d2d 100644 --- a/packages/sdk-browser/scripts/codegen.js +++ b/packages/sdk-browser/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json" + "public_api.swagger.json", ); const TARGET_API_TYPES_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk_api_types.ts" + "sdk_api_types.ts", ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts" + "sdk-client-base.ts", ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -129,11 +129,11 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import type { operations, definitions } from "../__inputs__/public_api.types";' + 'import type { operations, definitions } from "../__inputs__/public_api.types";', ); imports.push( - 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";' + 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";', ); const latestVersions = extractLatestVersions(swaggerSpec.definitions); @@ -145,7 +145,7 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "" + "", ); const methodName = `${ @@ -225,20 +225,20 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { codeBuffer.push( ...[queryTypeBinding, substitutionTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `type ${binding.name} = ${binding.value};`) + .map((binding) => `type ${binding.name} = ${binding.value};`), ); // exported type aliases codeBuffer.push( ...[responseTypeBinding, inputTypeBinding, bodyTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `export type ${binding.name} = ${binding.value};`) + .map((binding) => `export type ${binding.name} = ${binding.value};`), ); } await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), ); }; @@ -252,15 +252,15 @@ const generateSDKClientFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";', ); imports.push( - 'import type { definitions } from "../__inputs__/public_api.types";' + 'import type { definitions } from "../__inputs__/public_api.types";', ); imports.push( - 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";' + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";', ); imports.push('import { VERSION } from "../__generated__/version";'); @@ -396,7 +396,7 @@ export class TurnkeySDKClientBase { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "" + "", ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -425,7 +425,7 @@ export class TurnkeySDKClientBase { ...input, organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId }); - }` + }`, ); } else if (methodType === "command") { const unversionedActivityType = `ACTIVITY_TYPE_${operationNameWithoutNamespace @@ -449,7 +449,7 @@ export class TurnkeySDKClientBase { timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}"); - }` + }`, ); } else if (methodType === "activityDecision") { codeBuffer.push( @@ -466,7 +466,7 @@ export class TurnkeySDKClientBase { .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }); - }` + }`, ); } // generate a stamping method for each method @@ -483,7 +483,7 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }` + }`, ); } @@ -492,7 +492,7 @@ export class TurnkeySDKClientBase { await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), ); }; @@ -505,7 +505,7 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8" + "utf-8", ); const swaggerSpec = JSON.parse(swaggerSpecFile); diff --git a/packages/sdk-browser/src/__clients__/browser-clients.ts b/packages/sdk-browser/src/__clients__/browser-clients.ts index a18151403..1c1dfdf31 100644 --- a/packages/sdk-browser/src/__clients__/browser-clients.ts +++ b/packages/sdk-browser/src/__clients__/browser-clients.ts @@ -116,7 +116,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { organizationId?: string; }): Promise => { const readOnlySessionResult = await this.createReadOnlySession( - config || {} + config || {}, ); const session: Session = { sessionType: SessionType.READ_ONLY, @@ -157,7 +157,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { case SessionType.READ_ONLY: { if (!(this instanceof TurnkeyPasskeyClient)) { throw new Error( - "You must use a passkey client to refresh a read-only session." + "You must use a passkey client to refresh a read-only session.", ); } @@ -184,10 +184,10 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { keyPair = await crypto.subtle.generateKey( { name: "ECDSA", namedCurve: "P-256" }, false, - ["sign", "verify"] + ["sign", "verify"], ); const rawPubKey = new Uint8Array( - await crypto.subtle.exportKey("raw", keyPair.publicKey) + await crypto.subtle.exportKey("raw", keyPair.publicKey), ); compressedHex = uint8ArrayToHexString(pointEncode(rawPubKey)); } @@ -210,7 +210,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { if (!targetPublicKey) { throw new Error( - "Unable to refresh session: missing target public key." + "Unable to refresh session: missing target public key.", ); } @@ -234,7 +234,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } throw new Error( - "Unsupported client type for read-write session refresh." + "Unsupported client type for read-write session refresh.", ); } @@ -265,7 +265,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else { // Throw an error if the client is not an iframe client throw new Error( - "You must use an iframe client to log in with a session." + "You must use an iframe client to log in with a session.", ); //should we default to a "localStorage" client? } const whoAmI = await this.getWhoami(); @@ -294,7 +294,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else { // Throw an error if the client is not an indexedDb client throw new Error( - "You must use an indexedDb client to log in with a session." + "You must use an indexedDb client to log in with a session.", ); } }; @@ -333,7 +333,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else if (sessionType === SessionType.READ_WRITE) { if (!publicKey) { throw new Error( - "You must provide a publicKey to create a passkey read write session." + "You must provide a publicKey to create a passkey read write session.", ); } @@ -385,7 +385,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } else if (sessionType === SessionType.READ_WRITE) { if (!publicKey) { throw new Error( - "You must provide a publicKey to create a read-write session." + "You must provide a publicKey to create a read-write session.", ); } @@ -440,12 +440,12 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { if (phoneNumber) { promises.push( - this.updateUser({ userId, userPhoneNumber: "", userTagIds: [] }) + this.updateUser({ userId, userPhoneNumber: "", userTagIds: [] }), ); } if (email) { promises.push( - this.updateUser({ userId, userEmail: "", userTagIds: [] }) + this.updateUser({ userId, userEmail: "", userTagIds: [] }), ); } if (authenticatorIds && authenticatorIds.length > 0) { @@ -453,7 +453,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } if (oauthProviderIds && oauthProviderIds.length > 0) { promises.push( - this.deleteOauthProviders({ userId, providerIds: oauthProviderIds }) + this.deleteOauthProviders({ userId, providerIds: oauthProviderIds }), ); } if (apiKeyIds && apiKeyIds.length > 0) { @@ -508,12 +508,12 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { userId, userPhoneNumber: phoneNumber, userTagIds: [], - }) + }), ); } if (email) { promises.push( - this.updateUser({ userId, userEmail: email, userTagIds: [] }) + this.updateUser({ userId, userEmail: email, userTagIds: [] }), ); } if (authenticators && authenticators.length > 0) { @@ -578,7 +578,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { } if (Object.keys(userUpdates).length > 0) { promises.push( - this.updateUser({ userId, ...userUpdates, userTagIds: [] }) + this.updateUser({ userId, ...userUpdates, userTagIds: [] }), ); } @@ -589,7 +589,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createAuthenticators({ userId, authenticators: authenticators.add, - }) + }), ); } if (authenticators.deleteIds?.length) { @@ -597,7 +597,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteAuthenticators({ userId, authenticatorIds: authenticators.deleteIds, - }) + }), ); } } @@ -609,7 +609,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createOauthProviders({ userId, oauthProviders: oauthProviders.add, - }) + }), ); } if (oauthProviders.deleteIds?.length) { @@ -617,7 +617,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteOauthProviders({ userId, providerIds: oauthProviders.deleteIds, - }) + }), ); } } @@ -629,7 +629,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.createApiKeys({ userId, apiKeys: apiKeys.add, - }) + }), ); } if (apiKeys.deleteIds?.length) { @@ -637,7 +637,7 @@ export class TurnkeyBrowserClient extends TurnkeyBaseClient { this.deleteApiKeys({ userId, apiKeyIds: apiKeys.deleteIds, - }) + }), ); } } @@ -666,7 +666,7 @@ export class TurnkeyPasskeyClient extends TurnkeyBrowserClient { * @returns {Promise} */ createUserPasskey = async ( - config: Record = {} + config: Record = {}, ): Promise => { const challenge = generateRandomBuffer(); const encodedChallenge = base64UrlEncode(challenge); @@ -745,44 +745,44 @@ export class TurnkeyIframeClient extends TurnkeyBrowserClient { } injectCredentialBundle = async ( - credentialBundle: string + credentialBundle: string, ): Promise => { return await (this.stamper as IframeStamper).injectCredentialBundle( - credentialBundle + credentialBundle, ); }; injectWalletExportBundle = async ( credentialBundle: string, - organizationId: string + organizationId: string, ): Promise => { return await (this.stamper as IframeStamper).injectWalletExportBundle( credentialBundle, - organizationId + organizationId, ); }; injectKeyExportBundle = async ( credentialBundle: string, organizationId: string, - keyFormat?: KeyFormat | undefined + keyFormat?: KeyFormat | undefined, ): Promise => { return await (this.stamper as IframeStamper).injectKeyExportBundle( credentialBundle, organizationId, - keyFormat + keyFormat, ); }; injectImportBundle = async ( bundle: string, organizationId: string, - userId: string + userId: string, ): Promise => { return await (this.stamper as IframeStamper).injectImportBundle( bundle, organizationId, - userId + userId, ); }; @@ -791,10 +791,10 @@ export class TurnkeyIframeClient extends TurnkeyBrowserClient { }; extractKeyEncryptedBundle = async ( - keyFormat?: KeyFormat | undefined + keyFormat?: KeyFormat | undefined, ): Promise => { return await (this.stamper as IframeStamper).extractKeyEncryptedBundle( - keyFormat + keyFormat, ); }; @@ -851,7 +851,7 @@ export class TurnkeyIndexedDbClient extends TurnkeyBrowserClient { resetKeyPair = async (externalKeyPair?: CryptoKeyPair): Promise => { return await (this.stamper as IndexedDbStamper).resetKeyPair( - externalKeyPair + externalKeyPair, ); }; } diff --git a/packages/sdk-browser/src/__generated__/sdk-client-base.ts b/packages/sdk-browser/src/__generated__/sdk-client-base.ts index e4cb21110..db8784827 100644 --- a/packages/sdk-browser/src/__generated__/sdk-client-base.ts +++ b/packages/sdk-browser/src/__generated__/sdk-client-base.ts @@ -1,10 +1,20 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; +import { + TERMINAL_ACTIVITY_STATUSES, + type TActivityResponse, + type TActivityStatus, + type TSignedRequest, +} from "@turnkey/http"; import type { definitions } from "../__inputs__/public_api.types"; -import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base"; +import { + type GrpcStatus, + type TStamper, + TurnkeyRequestError, + type TurnkeySDKClientConfig, +} from "../__types__/base"; import { VERSION } from "../__generated__/version"; @@ -14,7 +24,6 @@ import { StorageKeys, getStorageValue } from "../storage"; import { parseSession } from "../utils"; - export class TurnkeySDKClientBase { config: TurnkeySDKClientConfig; @@ -29,27 +38,27 @@ export class TurnkeySDKClientBase { async request( url: string, - body: TBodyType + body: TBodyType, ): Promise { const fullUrl = this.config.apiBaseUrl + url; const stringifiedBody = JSON.stringify(body); var headers: Record = { - "X-Client-Version": VERSION - } + "X-Client-Version": VERSION, + }; if (this.stamper) { const stamp = await this.stamper.stamp(stringifiedBody); - headers[stamp.stampHeaderName] = stamp.stampHeaderValue + headers[stamp.stampHeaderName] = stamp.stampHeaderValue; } - if (this.config.readOnlySession){ - headers["X-Session"] = this.config.readOnlySession + if (this.config.readOnlySession) { + headers["X-Session"] = this.config.readOnlySession; } const response = await fetch(fullUrl, { method: "POST", headers: headers, body: stringifiedBody, - redirect: "follow" + redirect: "follow", }); if (!response.ok) { @@ -70,12 +79,13 @@ export class TurnkeySDKClientBase { async command( url: string, body: TBodyType, - resultKey: string + resultKey: string, ): Promise { const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; const maxRetries = this.config.activityPoller?.numRetries ?? 3; - const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); + const sleep = (ms: number) => + new Promise((resolve) => setTimeout(resolve, ms)); const handleResponse = (activityData: TActivityResponse): TResponseType => { const { result, status } = activityData.activity; @@ -83,7 +93,7 @@ export class TurnkeySDKClientBase { if (status === "ACTIVITY_STATUS_COMPLETED") { return { ...result[`${resultKey}` as keyof definitions["v1Result"]], - ...activityData + ...activityData, } as TResponseType; } @@ -94,15 +104,19 @@ export class TurnkeySDKClientBase { const pollStatus = async (activityId: string): Promise => { const pollBody = { activityId }; - const pollData = await this.getActivity(pollBody) as TActivityResponse; + const pollData = (await this.getActivity(pollBody)) as TActivityResponse; if (attempts > maxRetries) { return handleResponse(pollData); } attempts += 1; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { + + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + pollData.activity.status as TActivityStatus, + ) + ) { await sleep(pollingDuration); return pollStatus(activityId); } @@ -110,9 +124,16 @@ export class TurnkeySDKClientBase { return handleResponse(pollData); }; - const responseData = await this.request(url, body) as TActivityResponse; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { + const responseData = (await this.request( + url, + body, + )) as TActivityResponse; + + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + responseData.activity.status as TActivityStatus, + ) + ) { return pollStatus(responseData.activity.id); } @@ -121,28 +142,33 @@ export class TurnkeySDKClientBase { async activityDecision( url: string, - body: TBodyType + body: TBodyType, ): Promise { - const activityData = await this.request(url, body) as TActivityResponse; + const activityData = (await this.request(url, body)) as TActivityResponse; return { ...activityData["activity"]["result"], - ...activityData + ...activityData, } as TResponseType; } - - getActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { + getActivity = async ( + input: SdkApiTypes.TGetActivityBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_activity", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { + stampGetActivity = async ( + input: SdkApiTypes.TGetActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -154,20 +180,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { + getApiKey = async ( + input: SdkApiTypes.TGetApiKeyBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_api_key", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { + stampGetApiKey = async ( + input: SdkApiTypes.TGetApiKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -179,20 +210,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getApiKeys = async (input: SdkApiTypes.TGetApiKeysBody = {}): Promise => { + getApiKeys = async ( + input: SdkApiTypes.TGetApiKeysBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_api_keys", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetApiKeys = async (input: SdkApiTypes.TGetApiKeysBody): Promise => { + stampGetApiKeys = async ( + input: SdkApiTypes.TGetApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -204,20 +240,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { + getAttestationDocument = async ( + input: SdkApiTypes.TGetAttestationDocumentBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_attestation", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { + stampGetAttestationDocument = async ( + input: SdkApiTypes.TGetAttestationDocumentBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -229,24 +270,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { + getAuthenticator = async ( + input: SdkApiTypes.TGetAuthenticatorBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_authenticator", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { + stampGetAuthenticator = async ( + input: SdkApiTypes.TGetAuthenticatorBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -254,24 +301,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { + getAuthenticators = async ( + input: SdkApiTypes.TGetAuthenticatorsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_authenticators", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { + stampGetAuthenticators = async ( + input: SdkApiTypes.TGetAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -279,20 +332,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { + getBootProof = async ( + input: SdkApiTypes.TGetBootProofBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_boot_proof", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { + stampGetBootProof = async ( + input: SdkApiTypes.TGetBootProofBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -304,24 +362,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { + getLatestBootProof = async ( + input: SdkApiTypes.TGetLatestBootProofBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_latest_boot_proof", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { + stampGetLatestBootProof = async ( + input: SdkApiTypes.TGetLatestBootProofBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -329,24 +393,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { + getOauth2Credential = async ( + input: SdkApiTypes.TGetOauth2CredentialBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_oauth2_credential", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { + stampGetOauth2Credential = async ( + input: SdkApiTypes.TGetOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -354,24 +424,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { + getOauthProviders = async ( + input: SdkApiTypes.TGetOauthProvidersBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_oauth_providers", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { + stampGetOauthProviders = async ( + input: SdkApiTypes.TGetOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -379,24 +455,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOrganization = async (input: SdkApiTypes.TGetOrganizationBody = {}): Promise => { + getOrganization = async ( + input: SdkApiTypes.TGetOrganizationBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_organization", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetOrganization = async (input: SdkApiTypes.TGetOrganizationBody): Promise => { + stampGetOrganization = async ( + input: SdkApiTypes.TGetOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -404,24 +486,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { + getOrganizationConfigs = async ( + input: SdkApiTypes.TGetOrganizationConfigsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_organization_configs", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { + stampGetOrganizationConfigs = async ( + input: SdkApiTypes.TGetOrganizationConfigsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -429,20 +517,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { + getPolicy = async ( + input: SdkApiTypes.TGetPolicyBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_policy", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { + stampGetPolicy = async ( + input: SdkApiTypes.TGetPolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -454,24 +547,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { + getPolicyEvaluations = async ( + input: SdkApiTypes.TGetPolicyEvaluationsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_policy_evaluations", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { + stampGetPolicyEvaluations = async ( + input: SdkApiTypes.TGetPolicyEvaluationsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -479,20 +578,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { + getPrivateKey = async ( + input: SdkApiTypes.TGetPrivateKeyBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_private_key", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { + stampGetPrivateKey = async ( + input: SdkApiTypes.TGetPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -504,24 +608,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { + getSmartContractInterface = async ( + input: SdkApiTypes.TGetSmartContractInterfaceBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_smart_contract_interface", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { + stampGetSmartContractInterface = async ( + input: SdkApiTypes.TGetSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -529,20 +639,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getUser = async (input: SdkApiTypes.TGetUserBody): Promise => { + getUser = async ( + input: SdkApiTypes.TGetUserBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_user", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetUser = async (input: SdkApiTypes.TGetUserBody): Promise => { + stampGetUser = async ( + input: SdkApiTypes.TGetUserBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -554,20 +669,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { + getWallet = async ( + input: SdkApiTypes.TGetWalletBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_wallet", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { + stampGetWallet = async ( + input: SdkApiTypes.TGetWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -579,24 +699,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { + getWalletAccount = async ( + input: SdkApiTypes.TGetWalletAccountBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/get_wallet_account", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { + stampGetWalletAccount = async ( + input: SdkApiTypes.TGetWalletAccountBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -604,20 +730,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getActivities = async (input: SdkApiTypes.TGetActivitiesBody = {}): Promise => { + getActivities = async ( + input: SdkApiTypes.TGetActivitiesBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_activities", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetActivities = async (input: SdkApiTypes.TGetActivitiesBody): Promise => { + stampGetActivities = async ( + input: SdkApiTypes.TGetActivitiesBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -629,24 +760,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { + listOauth2Credentials = async ( + input: SdkApiTypes.TListOauth2CredentialsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_oauth2_credentials", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampListOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { + stampListOauth2Credentials = async ( + input: SdkApiTypes.TListOauth2CredentialsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -654,20 +791,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicies = async (input: SdkApiTypes.TGetPoliciesBody = {}): Promise => { + getPolicies = async ( + input: SdkApiTypes.TGetPoliciesBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_policies", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetPolicies = async (input: SdkApiTypes.TGetPoliciesBody): Promise => { + stampGetPolicies = async ( + input: SdkApiTypes.TGetPoliciesBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -679,24 +821,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { + listPrivateKeyTags = async ( + input: SdkApiTypes.TListPrivateKeyTagsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_private_key_tags", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampListPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { + stampListPrivateKeyTags = async ( + input: SdkApiTypes.TListPrivateKeyTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -704,24 +852,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody = {}): Promise => { + getPrivateKeys = async ( + input: SdkApiTypes.TGetPrivateKeysBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_private_keys", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody): Promise => { + stampGetPrivateKeys = async ( + input: SdkApiTypes.TGetPrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -729,24 +883,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { + getSmartContractInterfaces = async ( + input: SdkApiTypes.TGetSmartContractInterfacesBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_smart_contract_interfaces", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { + stampGetSmartContractInterfaces = async ( + input: SdkApiTypes.TGetSmartContractInterfacesBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/query/list_smart_contract_interfaces"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -754,20 +915,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody = {}): Promise => { + getSubOrgIds = async ( + input: SdkApiTypes.TGetSubOrgIdsBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_suborgs", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody): Promise => { + stampGetSubOrgIds = async ( + input: SdkApiTypes.TGetSubOrgIdsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -779,20 +945,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listUserTags = async (input: SdkApiTypes.TListUserTagsBody = {}): Promise => { + listUserTags = async ( + input: SdkApiTypes.TListUserTagsBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_user_tags", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampListUserTags = async (input: SdkApiTypes.TListUserTagsBody): Promise => { + stampListUserTags = async ( + input: SdkApiTypes.TListUserTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -804,20 +975,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getUsers = async (input: SdkApiTypes.TGetUsersBody = {}): Promise => { + getUsers = async ( + input: SdkApiTypes.TGetUsersBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_users", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetUsers = async (input: SdkApiTypes.TGetUsersBody): Promise => { + stampGetUsers = async ( + input: SdkApiTypes.TGetUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -829,24 +1005,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { + getVerifiedSubOrgIds = async ( + input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_verified_suborgs", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { + stampGetVerifiedSubOrgIds = async ( + input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -854,24 +1036,30 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { + getWalletAccounts = async ( + input: SdkApiTypes.TGetWalletAccountsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_wallet_accounts", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { + stampGetWalletAccounts = async ( + input: SdkApiTypes.TGetWalletAccountsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -879,20 +1067,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWallets = async (input: SdkApiTypes.TGetWalletsBody = {}): Promise => { + getWallets = async ( + input: SdkApiTypes.TGetWalletsBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/list_wallets", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetWallets = async (input: SdkApiTypes.TGetWalletsBody): Promise => { + stampGetWallets = async ( + input: SdkApiTypes.TGetWalletsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -904,20 +1097,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWhoami = async (input: SdkApiTypes.TGetWhoamiBody = {}): Promise => { + getWhoami = async ( + input: SdkApiTypes.TGetWhoamiBody = {}, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/public/v1/query/whoami", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } - + }; - stampGetWhoami = async (input: SdkApiTypes.TGetWhoamiBody): Promise => { + stampGetWhoami = async ( + input: SdkApiTypes.TGetWhoamiBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -929,28 +1127,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - approveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { + approveActivity = async ( + input: SdkApiTypes.TApproveActivityBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.activityDecision("/public/v1/submit/approve_activity", - { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" - }); - } - + return this.activityDecision("/public/v1/submit/approve_activity", { + parameters: rest, + organizationId: + organizationId ?? session?.organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", + }); + }; - stampApproveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { + stampApproveActivity = async ( + input: SdkApiTypes.TApproveActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -958,28 +1159,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { + createApiKeys = async ( + input: SdkApiTypes.TCreateApiKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_api_keys", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" - }, "createApiKeysResult"); - } - + return this.command( + "/public/v1/submit/create_api_keys", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", + }, + "createApiKeysResult", + ); + }; - stampCreateApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { + stampCreateApiKeys = async ( + input: SdkApiTypes.TCreateApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -987,28 +1198,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { + createApiOnlyUsers = async ( + input: SdkApiTypes.TCreateApiOnlyUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_api_only_users", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" - }, "createApiOnlyUsersResult"); - } - + return this.command( + "/public/v1/submit/create_api_only_users", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", + }, + "createApiOnlyUsersResult", + ); + }; - stampCreateApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { + stampCreateApiOnlyUsers = async ( + input: SdkApiTypes.TCreateApiOnlyUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1016,28 +1237,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { + createAuthenticators = async ( + input: SdkApiTypes.TCreateAuthenticatorsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_authenticators", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" - }, "createAuthenticatorsResult"); - } - + return this.command( + "/public/v1/submit/create_authenticators", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", + }, + "createAuthenticatorsResult", + ); + }; - stampCreateAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { + stampCreateAuthenticators = async ( + input: SdkApiTypes.TCreateAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1045,28 +1276,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { + createInvitations = async ( + input: SdkApiTypes.TCreateInvitationsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_invitations", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS" - }, "createInvitationsResult"); - } - + return this.command( + "/public/v1/submit/create_invitations", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_INVITATIONS", + }, + "createInvitationsResult", + ); + }; - stampCreateInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { + stampCreateInvitations = async ( + input: SdkApiTypes.TCreateInvitationsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1074,28 +1315,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { + createOauth2Credential = async ( + input: SdkApiTypes.TCreateOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" - }, "createOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/create_oauth2_credential", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL", + }, + "createOauth2CredentialResult", + ); + }; - stampCreateOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { + stampCreateOauth2Credential = async ( + input: SdkApiTypes.TCreateOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1103,28 +1354,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { + createOauthProviders = async ( + input: SdkApiTypes.TCreateOauthProvidersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_oauth_providers", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" - }, "createOauthProvidersResult"); - } - + return this.command( + "/public/v1/submit/create_oauth_providers", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", + }, + "createOauthProvidersResult", + ); + }; - stampCreateOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { + stampCreateOauthProviders = async ( + input: SdkApiTypes.TCreateOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1132,28 +1393,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { + createPolicies = async ( + input: SdkApiTypes.TCreatePoliciesBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_policies", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES" - }, "createPoliciesResult"); - } - + return this.command( + "/public/v1/submit/create_policies", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICIES", + }, + "createPoliciesResult", + ); + }; - stampCreatePolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { + stampCreatePolicies = async ( + input: SdkApiTypes.TCreatePoliciesBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1161,24 +1432,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createPolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { + createPolicy = async ( + input: SdkApiTypes.TCreatePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_policy", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3" - }, "createPolicyResult"); - } - + return this.command( + "/public/v1/submit/create_policy", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICY_V3", + }, + "createPolicyResult", + ); + }; - stampCreatePolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { + stampCreatePolicy = async ( + input: SdkApiTypes.TCreatePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1190,28 +1470,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { + createPrivateKeyTag = async ( + input: SdkApiTypes.TCreatePrivateKeyTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_private_key_tag", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" - }, "createPrivateKeyTagResult"); - } - + return this.command( + "/public/v1/submit/create_private_key_tag", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", + }, + "createPrivateKeyTagResult", + ); + }; - stampCreatePrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { + stampCreatePrivateKeyTag = async ( + input: SdkApiTypes.TCreatePrivateKeyTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1219,28 +1509,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createPrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { + createPrivateKeys = async ( + input: SdkApiTypes.TCreatePrivateKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_private_keys", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" - }, "createPrivateKeysResultV2"); - } - + return this.command( + "/public/v1/submit/create_private_keys", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", + }, + "createPrivateKeysResultV2", + ); + }; - stampCreatePrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { + stampCreatePrivateKeys = async ( + input: SdkApiTypes.TCreatePrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1248,28 +1548,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { + createReadOnlySession = async ( + input: SdkApiTypes.TCreateReadOnlySessionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_read_only_session", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" - }, "createReadOnlySessionResult"); - } - + return this.command( + "/public/v1/submit/create_read_only_session", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", + }, + "createReadOnlySessionResult", + ); + }; - stampCreateReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { + stampCreateReadOnlySession = async ( + input: SdkApiTypes.TCreateReadOnlySessionBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1277,28 +1587,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { + createReadWriteSession = async ( + input: SdkApiTypes.TCreateReadWriteSessionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_read_write_session", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" - }, "createReadWriteSessionResultV2"); - } - + return this.command( + "/public/v1/submit/create_read_write_session", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", + }, + "createReadWriteSessionResultV2", + ); + }; - stampCreateReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { + stampCreateReadWriteSession = async ( + input: SdkApiTypes.TCreateReadWriteSessionBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1306,28 +1626,39 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { + createSmartContractInterface = async ( + input: SdkApiTypes.TCreateSmartContractInterfaceBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_smart_contract_interface", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" - }, "createSmartContractInterfaceResult"); - } - + return this.command( + "/public/v1/submit/create_smart_contract_interface", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", + }, + "createSmartContractInterfaceResult", + ); + }; - stampCreateSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { + stampCreateSmartContractInterface = async ( + input: SdkApiTypes.TCreateSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/create_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1335,28 +1666,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { + createSubOrganization = async ( + input: SdkApiTypes.TCreateSubOrganizationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_sub_organization", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" - }, "createSubOrganizationResultV7"); - } - + return this.command( + "/public/v1/submit/create_sub_organization", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", + }, + "createSubOrganizationResultV7", + ); + }; - stampCreateSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { + stampCreateSubOrganization = async ( + input: SdkApiTypes.TCreateSubOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1364,28 +1705,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { + createUserTag = async ( + input: SdkApiTypes.TCreateUserTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_user_tag", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG" - }, "createUserTagResult"); - } - + return this.command( + "/public/v1/submit/create_user_tag", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USER_TAG", + }, + "createUserTagResult", + ); + }; - stampCreateUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { + stampCreateUserTag = async ( + input: SdkApiTypes.TCreateUserTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1393,24 +1744,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { + createUsers = async ( + input: SdkApiTypes.TCreateUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_users", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3" - }, "createUsersResult"); - } - + return this.command( + "/public/v1/submit/create_users", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USERS_V3", + }, + "createUsersResult", + ); + }; - stampCreateUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { + stampCreateUsers = async ( + input: SdkApiTypes.TCreateUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1422,24 +1782,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { + createWallet = async ( + input: SdkApiTypes.TCreateWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_wallet", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET" - }, "createWalletResult"); - } - + return this.command( + "/public/v1/submit/create_wallet", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET", + }, + "createWalletResult", + ); + }; - stampCreateWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { + stampCreateWallet = async ( + input: SdkApiTypes.TCreateWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1451,28 +1820,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { + createWalletAccounts = async ( + input: SdkApiTypes.TCreateWalletAccountsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/create_wallet_accounts", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" - }, "createWalletAccountsResult"); - } - + return this.command( + "/public/v1/submit/create_wallet_accounts", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", + }, + "createWalletAccountsResult", + ); + }; - stampCreateWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { + stampCreateWalletAccounts = async ( + input: SdkApiTypes.TCreateWalletAccountsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1480,28 +1859,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { + deleteApiKeys = async ( + input: SdkApiTypes.TDeleteApiKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_api_keys", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS" - }, "deleteApiKeysResult"); - } - + return this.command( + "/public/v1/submit/delete_api_keys", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_API_KEYS", + }, + "deleteApiKeysResult", + ); + }; - stampDeleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { + stampDeleteApiKeys = async ( + input: SdkApiTypes.TDeleteApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1509,28 +1898,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { + deleteAuthenticators = async ( + input: SdkApiTypes.TDeleteAuthenticatorsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_authenticators", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" - }, "deleteAuthenticatorsResult"); - } - + return this.command( + "/public/v1/submit/delete_authenticators", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", + }, + "deleteAuthenticatorsResult", + ); + }; - stampDeleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { + stampDeleteAuthenticators = async ( + input: SdkApiTypes.TDeleteAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1538,28 +1937,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { + deleteInvitation = async ( + input: SdkApiTypes.TDeleteInvitationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_invitation", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION" - }, "deleteInvitationResult"); - } - + return this.command( + "/public/v1/submit/delete_invitation", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_INVITATION", + }, + "deleteInvitationResult", + ); + }; - stampDeleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { + stampDeleteInvitation = async ( + input: SdkApiTypes.TDeleteInvitationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1567,28 +1976,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { + deleteOauth2Credential = async ( + input: SdkApiTypes.TDeleteOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" - }, "deleteOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/delete_oauth2_credential", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL", + }, + "deleteOauth2CredentialResult", + ); + }; - stampDeleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { + stampDeleteOauth2Credential = async ( + input: SdkApiTypes.TDeleteOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1596,28 +2015,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { + deleteOauthProviders = async ( + input: SdkApiTypes.TDeleteOauthProvidersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_oauth_providers", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" - }, "deleteOauthProvidersResult"); - } - + return this.command( + "/public/v1/submit/delete_oauth_providers", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", + }, + "deleteOauthProvidersResult", + ); + }; - stampDeleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { + stampDeleteOauthProviders = async ( + input: SdkApiTypes.TDeleteOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1625,24 +2054,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { + deletePolicy = async ( + input: SdkApiTypes.TDeletePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_policy", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY" - }, "deletePolicyResult"); - } - + return this.command( + "/public/v1/submit/delete_policy", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_POLICY", + }, + "deletePolicyResult", + ); + }; - stampDeletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { + stampDeletePolicy = async ( + input: SdkApiTypes.TDeletePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1654,28 +2092,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { + deletePrivateKeyTags = async ( + input: SdkApiTypes.TDeletePrivateKeyTagsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_private_key_tags", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" - }, "deletePrivateKeyTagsResult"); - } - + return this.command( + "/public/v1/submit/delete_private_key_tags", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", + }, + "deletePrivateKeyTagsResult", + ); + }; - stampDeletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { + stampDeletePrivateKeyTags = async ( + input: SdkApiTypes.TDeletePrivateKeyTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1683,28 +2131,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { + deletePrivateKeys = async ( + input: SdkApiTypes.TDeletePrivateKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_private_keys", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" - }, "deletePrivateKeysResult"); - } - + return this.command( + "/public/v1/submit/delete_private_keys", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", + }, + "deletePrivateKeysResult", + ); + }; - stampDeletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { + stampDeletePrivateKeys = async ( + input: SdkApiTypes.TDeletePrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1712,28 +2170,39 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { + deleteSmartContractInterface = async ( + input: SdkApiTypes.TDeleteSmartContractInterfaceBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_smart_contract_interface", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" - }, "deleteSmartContractInterfaceResult"); - } - + return this.command( + "/public/v1/submit/delete_smart_contract_interface", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", + }, + "deleteSmartContractInterfaceResult", + ); + }; - stampDeleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { + stampDeleteSmartContractInterface = async ( + input: SdkApiTypes.TDeleteSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/delete_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1741,28 +2210,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { + deleteSubOrganization = async ( + input: SdkApiTypes.TDeleteSubOrganizationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_sub_organization", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" - }, "deleteSubOrganizationResult"); - } - + return this.command( + "/public/v1/submit/delete_sub_organization", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", + }, + "deleteSubOrganizationResult", + ); + }; - stampDeleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { + stampDeleteSubOrganization = async ( + input: SdkApiTypes.TDeleteSubOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1770,28 +2249,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { + deleteUserTags = async ( + input: SdkApiTypes.TDeleteUserTagsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_user_tags", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS" - }, "deleteUserTagsResult"); - } - + return this.command( + "/public/v1/submit/delete_user_tags", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USER_TAGS", + }, + "deleteUserTagsResult", + ); + }; - stampDeleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { + stampDeleteUserTags = async ( + input: SdkApiTypes.TDeleteUserTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1799,24 +2288,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { + deleteUsers = async ( + input: SdkApiTypes.TDeleteUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_users", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS" - }, "deleteUsersResult"); - } - + return this.command( + "/public/v1/submit/delete_users", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USERS", + }, + "deleteUsersResult", + ); + }; - stampDeleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { + stampDeleteUsers = async ( + input: SdkApiTypes.TDeleteUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1828,24 +2326,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { + deleteWallets = async ( + input: SdkApiTypes.TDeleteWalletsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/delete_wallets", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS" - }, "deleteWalletsResult"); - } - + return this.command( + "/public/v1/submit/delete_wallets", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_WALLETS", + }, + "deleteWalletsResult", + ); + }; - stampDeleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { + stampDeleteWallets = async ( + input: SdkApiTypes.TDeleteWalletsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1857,24 +2364,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - emailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { + emailAuth = async ( + input: SdkApiTypes.TEmailAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/email_auth", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" - }, "emailAuthResult"); - } - + return this.command( + "/public/v1/submit/email_auth", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", + }, + "emailAuthResult", + ); + }; - stampEmailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { + stampEmailAuth = async ( + input: SdkApiTypes.TEmailAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1886,28 +2402,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - exportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { + exportPrivateKey = async ( + input: SdkApiTypes.TExportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/export_private_key", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" - }, "exportPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/export_private_key", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", + }, + "exportPrivateKeyResult", + ); + }; - stampExportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { + stampExportPrivateKey = async ( + input: SdkApiTypes.TExportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1915,24 +2441,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - exportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { + exportWallet = async ( + input: SdkApiTypes.TExportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/export_wallet", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET" - }, "exportWalletResult"); - } - + return this.command( + "/public/v1/submit/export_wallet", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET", + }, + "exportWalletResult", + ); + }; - stampExportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { + stampExportWallet = async ( + input: SdkApiTypes.TExportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1944,28 +2479,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - exportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { + exportWalletAccount = async ( + input: SdkApiTypes.TExportWalletAccountBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/export_wallet_account", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" - }, "exportWalletAccountResult"); - } - + return this.command( + "/public/v1/submit/export_wallet_account", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", + }, + "exportWalletAccountResult", + ); + }; - stampExportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { + stampExportWalletAccount = async ( + input: SdkApiTypes.TExportWalletAccountBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1973,28 +2518,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - importPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { + importPrivateKey = async ( + input: SdkApiTypes.TImportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/import_private_key", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" - }, "importPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/import_private_key", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", + }, + "importPrivateKeyResult", + ); + }; - stampImportPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { + stampImportPrivateKey = async ( + input: SdkApiTypes.TImportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2002,24 +2557,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - importWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { + importWallet = async ( + input: SdkApiTypes.TImportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/import_wallet", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET" - }, "importWalletResult"); - } - + return this.command( + "/public/v1/submit/import_wallet", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_WALLET", + }, + "importWalletResult", + ); + }; - stampImportWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { + stampImportWallet = async ( + input: SdkApiTypes.TImportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2031,28 +2595,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { + initFiatOnRamp = async ( + input: SdkApiTypes.TInitFiatOnRampBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_fiat_on_ramp", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" - }, "initFiatOnRampResult"); - } - + return this.command( + "/public/v1/submit/init_fiat_on_ramp", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", + }, + "initFiatOnRampResult", + ); + }; - stampInitFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { + stampInitFiatOnRamp = async ( + input: SdkApiTypes.TInitFiatOnRampBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2060,28 +2634,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - initImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { + initImportPrivateKey = async ( + input: SdkApiTypes.TInitImportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_import_private_key", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" - }, "initImportPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/init_import_private_key", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", + }, + "initImportPrivateKeyResult", + ); + }; - stampInitImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { + stampInitImportPrivateKey = async ( + input: SdkApiTypes.TInitImportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2089,28 +2673,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { + initImportWallet = async ( + input: SdkApiTypes.TInitImportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_import_wallet", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" - }, "initImportWalletResult"); - } - + return this.command( + "/public/v1/submit/init_import_wallet", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", + }, + "initImportWalletResult", + ); + }; - stampInitImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { + stampInitImportWallet = async ( + input: SdkApiTypes.TInitImportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2118,24 +2712,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { + initOtp = async ( + input: SdkApiTypes.TInitOtpBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_otp", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP" - }, "initOtpResult"); - } - + return this.command( + "/public/v1/submit/init_otp", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP", + }, + "initOtpResult", + ); + }; - stampInitOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { + stampInitOtp = async ( + input: SdkApiTypes.TInitOtpBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2147,24 +2750,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - initOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { + initOtpAuth = async ( + input: SdkApiTypes.TInitOtpAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_otp_auth", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" - }, "initOtpAuthResultV2"); - } - + return this.command( + "/public/v1/submit/init_otp_auth", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", + }, + "initOtpAuthResultV2", + ); + }; - stampInitOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { + stampInitOtpAuth = async ( + input: SdkApiTypes.TInitOtpAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2176,28 +2788,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { + initUserEmailRecovery = async ( + input: SdkApiTypes.TInitUserEmailRecoveryBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/init_user_email_recovery", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" - }, "initUserEmailRecoveryResult"); - } - + return this.command( + "/public/v1/submit/init_user_email_recovery", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", + }, + "initUserEmailRecoveryResult", + ); + }; - stampInitUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { + stampInitUserEmailRecovery = async ( + input: SdkApiTypes.TInitUserEmailRecoveryBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2205,24 +2827,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - oauth = async (input: SdkApiTypes.TOauthBody): Promise => { + oauth = async ( + input: SdkApiTypes.TOauthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/oauth", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH" - }, "oauthResult"); - } - + return this.command( + "/public/v1/submit/oauth", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH", + }, + "oauthResult", + ); + }; - stampOauth = async (input: SdkApiTypes.TOauthBody): Promise => { + stampOauth = async ( + input: SdkApiTypes.TOauthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2234,28 +2865,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - oauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { + oauth2Authenticate = async ( + input: SdkApiTypes.TOauth2AuthenticateBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/oauth2_authenticate", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" - }, "oauth2AuthenticateResult"); - } - + return this.command( + "/public/v1/submit/oauth2_authenticate", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE", + }, + "oauth2AuthenticateResult", + ); + }; - stampOauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { + stampOauth2Authenticate = async ( + input: SdkApiTypes.TOauth2AuthenticateBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2263,24 +2904,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - oauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { + oauthLogin = async ( + input: SdkApiTypes.TOauthLoginBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/oauth_login", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN" - }, "oauthLoginResult"); - } - + return this.command( + "/public/v1/submit/oauth_login", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH_LOGIN", + }, + "oauthLoginResult", + ); + }; - stampOauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { + stampOauthLogin = async ( + input: SdkApiTypes.TOauthLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2292,24 +2942,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - otpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { + otpAuth = async ( + input: SdkApiTypes.TOtpAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/otp_auth", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH" - }, "otpAuthResult"); - } - + return this.command( + "/public/v1/submit/otp_auth", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_AUTH", + }, + "otpAuthResult", + ); + }; - stampOtpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { + stampOtpAuth = async ( + input: SdkApiTypes.TOtpAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2321,24 +2980,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - otpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { + otpLogin = async ( + input: SdkApiTypes.TOtpLoginBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/otp_login", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN" - }, "otpLoginResult"); - } - + return this.command( + "/public/v1/submit/otp_login", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_LOGIN", + }, + "otpLoginResult", + ); + }; - stampOtpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { + stampOtpLogin = async ( + input: SdkApiTypes.TOtpLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2350,24 +3018,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - recoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { + recoverUser = async ( + input: SdkApiTypes.TRecoverUserBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/recover_user", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER" - }, "recoverUserResult"); - } - + return this.command( + "/public/v1/submit/recover_user", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_RECOVER_USER", + }, + "recoverUserResult", + ); + }; - stampRecoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { + stampRecoverUser = async ( + input: SdkApiTypes.TRecoverUserBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2379,28 +3056,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - rejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { + rejectActivity = async ( + input: SdkApiTypes.TRejectActivityBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.activityDecision("/public/v1/submit/reject_activity", - { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY" - }); - } - + return this.activityDecision("/public/v1/submit/reject_activity", { + parameters: rest, + organizationId: + organizationId ?? session?.organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REJECT_ACTIVITY", + }); + }; - stampRejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { + stampRejectActivity = async ( + input: SdkApiTypes.TRejectActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2408,28 +3088,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - removeOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { + removeOrganizationFeature = async ( + input: SdkApiTypes.TRemoveOrganizationFeatureBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/remove_organization_feature", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" - }, "removeOrganizationFeatureResult"); - } - + return this.command( + "/public/v1/submit/remove_organization_feature", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", + }, + "removeOrganizationFeatureResult", + ); + }; - stampRemoveOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { + stampRemoveOrganizationFeature = async ( + input: SdkApiTypes.TRemoveOrganizationFeatureBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2437,28 +3127,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - setOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { + setOrganizationFeature = async ( + input: SdkApiTypes.TSetOrganizationFeatureBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/set_organization_feature", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" - }, "setOrganizationFeatureResult"); - } - + return this.command( + "/public/v1/submit/set_organization_feature", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", + }, + "setOrganizationFeatureResult", + ); + }; - stampSetOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { + stampSetOrganizationFeature = async ( + input: SdkApiTypes.TSetOrganizationFeatureBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2466,28 +3166,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - signRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { + signRawPayload = async ( + input: SdkApiTypes.TSignRawPayloadBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/sign_raw_payload", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" - }, "signRawPayloadResult"); - } - + return this.command( + "/public/v1/submit/sign_raw_payload", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", + }, + "signRawPayloadResult", + ); + }; - stampSignRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { + stampSignRawPayload = async ( + input: SdkApiTypes.TSignRawPayloadBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2495,28 +3205,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - signRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { + signRawPayloads = async ( + input: SdkApiTypes.TSignRawPayloadsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/sign_raw_payloads", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" - }, "signRawPayloadsResult"); - } - + return this.command( + "/public/v1/submit/sign_raw_payloads", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", + }, + "signRawPayloadsResult", + ); + }; - stampSignRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { + stampSignRawPayloads = async ( + input: SdkApiTypes.TSignRawPayloadsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2524,28 +3244,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - signTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { + signTransaction = async ( + input: SdkApiTypes.TSignTransactionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/sign_transaction", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" - }, "signTransactionResult"); - } - + return this.command( + "/public/v1/submit/sign_transaction", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", + }, + "signTransactionResult", + ); + }; - stampSignTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { + stampSignTransaction = async ( + input: SdkApiTypes.TSignTransactionBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2553,24 +3283,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - stampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { + stampLogin = async ( + input: SdkApiTypes.TStampLoginBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/stamp_login", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN" - }, "stampLoginResult"); - } - + return this.command( + "/public/v1/submit/stamp_login", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_STAMP_LOGIN", + }, + "stampLoginResult", + ); + }; - stampStampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { + stampStampLogin = async ( + input: SdkApiTypes.TStampLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2582,28 +3321,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - updateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { + updateOauth2Credential = async ( + input: SdkApiTypes.TUpdateOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" - }, "updateOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/update_oauth2_credential", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL", + }, + "updateOauth2CredentialResult", + ); + }; - stampUpdateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { + stampUpdateOauth2Credential = async ( + input: SdkApiTypes.TUpdateOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2611,24 +3360,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { + updatePolicy = async ( + input: SdkApiTypes.TUpdatePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_policy", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" - }, "updatePolicyResultV2"); - } - + return this.command( + "/public/v1/submit/update_policy", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", + }, + "updatePolicyResultV2", + ); + }; - stampUpdatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { + stampUpdatePolicy = async ( + input: SdkApiTypes.TUpdatePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2640,28 +3398,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { + updatePrivateKeyTag = async ( + input: SdkApiTypes.TUpdatePrivateKeyTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_private_key_tag", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" - }, "updatePrivateKeyTagResult"); - } - + return this.command( + "/public/v1/submit/update_private_key_tag", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", + }, + "updatePrivateKeyTagResult", + ); + }; - stampUpdatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { + stampUpdatePrivateKeyTag = async ( + input: SdkApiTypes.TUpdatePrivateKeyTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2669,28 +3437,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - updateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { + updateRootQuorum = async ( + input: SdkApiTypes.TUpdateRootQuorumBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_root_quorum", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" - }, "updateRootQuorumResult"); - } - + return this.command( + "/public/v1/submit/update_root_quorum", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", + }, + "updateRootQuorumResult", + ); + }; - stampUpdateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { + stampUpdateRootQuorum = async ( + input: SdkApiTypes.TUpdateRootQuorumBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2698,24 +3476,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { + updateUser = async ( + input: SdkApiTypes.TUpdateUserBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_user", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER" - }, "updateUserResult"); - } - + return this.command( + "/public/v1/submit/update_user", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER", + }, + "updateUserResult", + ); + }; - stampUpdateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { + stampUpdateUser = async ( + input: SdkApiTypes.TUpdateUserBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2727,28 +3514,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { + updateUserEmail = async ( + input: SdkApiTypes.TUpdateUserEmailBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_user_email", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" - }, "updateUserEmailResult"); - } - + return this.command( + "/public/v1/submit/update_user_email", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", + }, + "updateUserEmailResult", + ); + }; - stampUpdateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { + stampUpdateUserEmail = async ( + input: SdkApiTypes.TUpdateUserEmailBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2756,28 +3553,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - updateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { + updateUserName = async ( + input: SdkApiTypes.TUpdateUserNameBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_user_name", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME" - }, "updateUserNameResult"); - } - + return this.command( + "/public/v1/submit/update_user_name", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_NAME", + }, + "updateUserNameResult", + ); + }; - stampUpdateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { + stampUpdateUserName = async ( + input: SdkApiTypes.TUpdateUserNameBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2785,28 +3592,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { + updateUserPhoneNumber = async ( + input: SdkApiTypes.TUpdateUserPhoneNumberBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_user_phone_number", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" - }, "updateUserPhoneNumberResult"); - } - + return this.command( + "/public/v1/submit/update_user_phone_number", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", + }, + "updateUserPhoneNumberResult", + ); + }; - stampUpdateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { + stampUpdateUserPhoneNumber = async ( + input: SdkApiTypes.TUpdateUserPhoneNumberBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2814,28 +3631,38 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { + updateUserTag = async ( + input: SdkApiTypes.TUpdateUserTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_user_tag", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG" - }, "updateUserTagResult"); - } - + return this.command( + "/public/v1/submit/update_user_tag", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_TAG", + }, + "updateUserTagResult", + ); + }; - stampUpdateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { + stampUpdateUserTag = async ( + input: SdkApiTypes.TUpdateUserTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2843,24 +3670,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - updateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { + updateWallet = async ( + input: SdkApiTypes.TUpdateWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/update_wallet", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET" - }, "updateWalletResult"); - } - + return this.command( + "/public/v1/submit/update_wallet", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_WALLET", + }, + "updateWalletResult", + ); + }; - stampUpdateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { + stampUpdateWallet = async ( + input: SdkApiTypes.TUpdateWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2872,24 +3708,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - verifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { + verifyOtp = async ( + input: SdkApiTypes.TVerifyOtpBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); - return this.command("/public/v1/submit/verify_otp", { - parameters: rest, - organizationId: organizationId ?? (session?.organizationId ?? this.config.organizationId), - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP" - }, "verifyOtpResult"); - } - + return this.command( + "/public/v1/submit/verify_otp", + { + parameters: rest, + organizationId: + organizationId ?? + session?.organizationId ?? + this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_VERIFY_OTP", + }, + "verifyOtpResult", + ); + }; - stampVerifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { + stampVerifyOtp = async ( + input: SdkApiTypes.TVerifyOtpBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2901,20 +3746,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - testRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { + testRateLimits = async ( + input: SdkApiTypes.TTestRateLimitsBody, + ): Promise => { let session = await getStorageValue(StorageKeys.Session); session = parseSession(session!); return this.request("/tkhq/api/v1/test_rate_limits", { ...input, - organizationId: input.organizationId ?? session?.organizationId ?? this.config.organizationId + organizationId: + input.organizationId ?? + session?.organizationId ?? + this.config.organizationId, }); - } + }; - - stampTestRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { + stampTestRateLimits = async ( + input: SdkApiTypes.TTestRateLimitsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2926,6 +3776,5 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - -} \ No newline at end of file + }; +} diff --git a/packages/sdk-browser/src/__generated__/sdk_api_types.ts b/packages/sdk-browser/src/__generated__/sdk_api_types.ts index a3879980d..fe09a4b79 100644 --- a/packages/sdk-browser/src/__generated__/sdk_api_types.ts +++ b/packages/sdk-browser/src/__generated__/sdk_api_types.ts @@ -2,612 +2,1077 @@ import type { operations, definitions } from "../__inputs__/public_api.types"; -import type { queryOverrideParams, commandOverrideParams } from "../__types__/base"; +import type { + queryOverrideParams, + commandOverrideParams, +} from "../__types__/base"; -export type TGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; +export type TGetActivityResponse = + operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; export type TGetActivityInput = { body: TGetActivityBody }; -export type TGetActivityBody = Omit & queryOverrideParams; +export type TGetActivityBody = Omit< + operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetApiKeyResponse = operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; +export type TGetApiKeyResponse = + operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; export type TGetApiKeyInput = { body: TGetApiKeyBody }; -export type TGetApiKeyBody = Omit & queryOverrideParams; +export type TGetApiKeyBody = Omit< + operations["PublicApiService_GetApiKey"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetApiKeysResponse = operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; +export type TGetApiKeysResponse = + operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; export type TGetApiKeysInput = { body: TGetApiKeysBody }; -export type TGetApiKeysBody = Omit & queryOverrideParams; +export type TGetApiKeysBody = Omit< + operations["PublicApiService_GetApiKeys"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAttestationDocumentResponse = operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; +export type TGetAttestationDocumentResponse = + operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; -export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; +export type TGetAttestationDocumentInput = { + body: TGetAttestationDocumentBody; +}; -export type TGetAttestationDocumentBody = Omit & queryOverrideParams; +export type TGetAttestationDocumentBody = Omit< + operations["PublicApiService_GetAttestationDocument"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorResponse = + operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; -export type TGetAuthenticatorBody = Omit & queryOverrideParams; +export type TGetAuthenticatorBody = Omit< + operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorsResponse = + operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; -export type TGetAuthenticatorsBody = Omit & queryOverrideParams; +export type TGetAuthenticatorsBody = Omit< + operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetBootProofResponse = operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; +export type TGetBootProofResponse = + operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; export type TGetBootProofInput = { body: TGetBootProofBody }; -export type TGetBootProofBody = Omit & queryOverrideParams; +export type TGetBootProofBody = Omit< + operations["PublicApiService_GetBootProof"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetLatestBootProofResponse = operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; +export type TGetLatestBootProofResponse = + operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; -export type TGetLatestBootProofBody = Omit & queryOverrideParams; +export type TGetLatestBootProofBody = Omit< + operations["PublicApiService_GetLatestBootProof"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOauth2CredentialResponse = operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; +export type TGetOauth2CredentialResponse = + operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; -export type TGetOauth2CredentialBody = Omit & queryOverrideParams; +export type TGetOauth2CredentialBody = Omit< + operations["PublicApiService_GetOauth2Credential"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOauthProvidersResponse = operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; +export type TGetOauthProvidersResponse = + operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; -export type TGetOauthProvidersBody = Omit & queryOverrideParams; +export type TGetOauthProvidersBody = Omit< + operations["PublicApiService_GetOauthProviders"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; +export type TGetOrganizationResponse = + operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; export type TGetOrganizationInput = { body: TGetOrganizationBody }; -export type TGetOrganizationBody = Omit & queryOverrideParams; +export type TGetOrganizationBody = Omit< + operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOrganizationConfigsResponse = operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; +export type TGetOrganizationConfigsResponse = + operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; -export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; +export type TGetOrganizationConfigsInput = { + body: TGetOrganizationConfigsBody; +}; -export type TGetOrganizationConfigsBody = Omit & queryOverrideParams; +export type TGetOrganizationConfigsBody = Omit< + operations["PublicApiService_GetOrganizationConfigs"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; +export type TGetPolicyResponse = + operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; export type TGetPolicyInput = { body: TGetPolicyBody }; -export type TGetPolicyBody = Omit & queryOverrideParams; +export type TGetPolicyBody = Omit< + operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPolicyEvaluationsResponse = operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; +export type TGetPolicyEvaluationsResponse = + operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; -export type TGetPolicyEvaluationsBody = Omit & queryOverrideParams; +export type TGetPolicyEvaluationsBody = Omit< + operations["PublicApiService_GetPolicyEvaluations"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; +export type TGetPrivateKeyResponse = + operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; -export type TGetPrivateKeyBody = Omit & queryOverrideParams; +export type TGetPrivateKeyBody = Omit< + operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSmartContractInterfaceResponse = operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfaceResponse = + operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; +export type TGetSmartContractInterfaceInput = { + body: TGetSmartContractInterfaceBody; +}; -export type TGetSmartContractInterfaceBody = Omit & queryOverrideParams; +export type TGetSmartContractInterfaceBody = Omit< + operations["PublicApiService_GetSmartContractInterface"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; +export type TGetUserResponse = + operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; export type TGetUserInput = { body: TGetUserBody }; -export type TGetUserBody = Omit & queryOverrideParams; +export type TGetUserBody = Omit< + operations["PublicApiService_GetUser"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletResponse = operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; +export type TGetWalletResponse = + operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; export type TGetWalletInput = { body: TGetWalletBody }; -export type TGetWalletBody = Omit & queryOverrideParams; +export type TGetWalletBody = Omit< + operations["PublicApiService_GetWallet"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletAccountResponse = operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; +export type TGetWalletAccountResponse = + operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; -export type TGetWalletAccountBody = Omit & queryOverrideParams; +export type TGetWalletAccountBody = Omit< + operations["PublicApiService_GetWalletAccount"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; +export type TGetActivitiesResponse = + operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; export type TGetActivitiesInput = { body: TGetActivitiesBody }; -export type TGetActivitiesBody = Omit & queryOverrideParams; +export type TGetActivitiesBody = Omit< + operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListOauth2CredentialsResponse = operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; +export type TListOauth2CredentialsResponse = + operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; -export type TListOauth2CredentialsBody = Omit & queryOverrideParams; +export type TListOauth2CredentialsBody = Omit< + operations["PublicApiService_ListOauth2Credentials"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; +export type TGetPoliciesResponse = + operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; export type TGetPoliciesInput = { body: TGetPoliciesBody }; -export type TGetPoliciesBody = Omit & queryOverrideParams; +export type TGetPoliciesBody = Omit< + operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListPrivateKeyTagsResponse = operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; +export type TListPrivateKeyTagsResponse = + operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; -export type TListPrivateKeyTagsBody = Omit & queryOverrideParams; +export type TListPrivateKeyTagsBody = Omit< + operations["PublicApiService_ListPrivateKeyTags"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; +export type TGetPrivateKeysResponse = + operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; -export type TGetPrivateKeysBody = Omit & queryOverrideParams; +export type TGetPrivateKeysBody = Omit< + operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSmartContractInterfacesResponse = operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfacesResponse = + operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; +export type TGetSmartContractInterfacesInput = { + body: TGetSmartContractInterfacesBody; +}; -export type TGetSmartContractInterfacesBody = Omit & queryOverrideParams; +export type TGetSmartContractInterfacesBody = Omit< + operations["PublicApiService_GetSmartContractInterfaces"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSubOrgIdsResponse = operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetSubOrgIdsResponse = + operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; -export type TGetSubOrgIdsBody = Omit & queryOverrideParams; +export type TGetSubOrgIdsBody = Omit< + operations["PublicApiService_GetSubOrgIds"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListUserTagsResponse = operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; +export type TListUserTagsResponse = + operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; export type TListUserTagsInput = { body: TListUserTagsBody }; -export type TListUserTagsBody = Omit & queryOverrideParams; +export type TListUserTagsBody = Omit< + operations["PublicApiService_ListUserTags"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; +export type TGetUsersResponse = + operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; export type TGetUsersInput = { body: TGetUsersBody }; -export type TGetUsersBody = Omit & queryOverrideParams; +export type TGetUsersBody = Omit< + operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetVerifiedSubOrgIdsResponse = operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetVerifiedSubOrgIdsResponse = + operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; -export type TGetVerifiedSubOrgIdsBody = Omit & queryOverrideParams; +export type TGetVerifiedSubOrgIdsBody = Omit< + operations["PublicApiService_GetVerifiedSubOrgIds"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletAccountsResponse = operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; +export type TGetWalletAccountsResponse = + operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; -export type TGetWalletAccountsBody = Omit & queryOverrideParams; +export type TGetWalletAccountsBody = Omit< + operations["PublicApiService_GetWalletAccounts"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletsResponse = operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; +export type TGetWalletsResponse = + operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; export type TGetWalletsInput = { body: TGetWalletsBody }; -export type TGetWalletsBody = Omit & queryOverrideParams; +export type TGetWalletsBody = Omit< + operations["PublicApiService_GetWallets"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; +export type TGetWhoamiResponse = + operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; export type TGetWhoamiInput = { body: TGetWhoamiBody }; -export type TGetWhoamiBody = Omit & queryOverrideParams; +export type TGetWhoamiBody = Omit< + operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; +export type TApproveActivityResponse = + operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & + definitions["v1ActivityResponse"]; export type TApproveActivityInput = { body: TApproveActivityBody }; -export type TApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TApproveActivityBody = + operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & definitions["v1ActivityResponse"]; +export type TCreateApiKeysResponse = + operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & + definitions["v1ActivityResponse"]; export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; -export type TCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateApiKeysBody = + operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & definitions["v1ActivityResponse"]; +export type TCreateApiOnlyUsersResponse = + operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & + definitions["v1ActivityResponse"]; export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; -export type TCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateApiOnlyUsersBody = + operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & definitions["v1ActivityResponse"]; +export type TCreateAuthenticatorsResponse = + operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & + definitions["v1ActivityResponse"]; export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; -export type TCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateAuthenticatorsBody = + operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & definitions["v1ActivityResponse"]; +export type TCreateInvitationsResponse = + operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & + definitions["v1ActivityResponse"]; export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; -export type TCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateInvitationsBody = + operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateOauth2CredentialResponse = operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TCreateOauth2CredentialResponse = + operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; +export type TCreateOauth2CredentialInput = { + body: TCreateOauth2CredentialBody; +}; -export type TCreateOauth2CredentialBody = operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateOauth2CredentialBody = + operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateOauthProvidersResponse = operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & definitions["v1ActivityResponse"]; +export type TCreateOauthProvidersResponse = + operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & + definitions["v1ActivityResponse"]; export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; -export type TCreateOauthProvidersBody = operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateOauthProvidersBody = + operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePoliciesResponse = operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & definitions["v1ActivityResponse"]; +export type TCreatePoliciesResponse = + operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & + definitions["v1ActivityResponse"]; export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; -export type TCreatePoliciesBody = operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePoliciesBody = + operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & definitions["v1ActivityResponse"]; +export type TCreatePolicyResponse = + operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & + definitions["v1ActivityResponse"]; export type TCreatePolicyInput = { body: TCreatePolicyBody }; -export type TCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePolicyBody = + operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & definitions["v1ActivityResponse"]; +export type TCreatePrivateKeyTagResponse = + operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & + definitions["v1ActivityResponse"]; export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; -export type TCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePrivateKeyTagBody = + operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & definitions["v1ActivityResponse"]; +export type TCreatePrivateKeysResponse = + operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & + definitions["v1ActivityResponse"]; export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; -export type TCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePrivateKeysBody = + operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateReadOnlySessionResponse = operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & definitions["v1ActivityResponse"]; +export type TCreateReadOnlySessionResponse = + operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & + definitions["v1ActivityResponse"]; export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; -export type TCreateReadOnlySessionBody = operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateReadOnlySessionBody = + operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateReadWriteSessionResponse = operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & definitions["v1ActivityResponse"]; +export type TCreateReadWriteSessionResponse = + operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & + definitions["v1ActivityResponse"]; -export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; +export type TCreateReadWriteSessionInput = { + body: TCreateReadWriteSessionBody; +}; -export type TCreateReadWriteSessionBody = operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateReadWriteSessionBody = + operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateSmartContractInterfaceResponse = operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; +export type TCreateSmartContractInterfaceResponse = + operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & + definitions["v1ActivityResponse"]; -export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; +export type TCreateSmartContractInterfaceInput = { + body: TCreateSmartContractInterfaceBody; +}; -export type TCreateSmartContractInterfaceBody = operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateSmartContractInterfaceBody = + operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & definitions["v1ActivityResponse"]; +export type TCreateSubOrganizationResponse = + operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & + definitions["v1ActivityResponse"]; export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; -export type TCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateSubOrganizationBody = + operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & definitions["v1ActivityResponse"]; +export type TCreateUserTagResponse = + operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & + definitions["v1ActivityResponse"]; export type TCreateUserTagInput = { body: TCreateUserTagBody }; -export type TCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateUserTagBody = + operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & definitions["v1ActivityResponse"]; +export type TCreateUsersResponse = + operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & + definitions["v1ActivityResponse"]; export type TCreateUsersInput = { body: TCreateUsersBody }; -export type TCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateUsersBody = + operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateWalletResponse = operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & definitions["v1ActivityResponse"]; +export type TCreateWalletResponse = + operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & + definitions["v1ActivityResponse"]; export type TCreateWalletInput = { body: TCreateWalletBody }; -export type TCreateWalletBody = operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateWalletBody = + operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateWalletAccountsResponse = operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & definitions["v1ActivityResponse"]; +export type TCreateWalletAccountsResponse = + operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & + definitions["v1ActivityResponse"]; export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; -export type TCreateWalletAccountsBody = operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateWalletAccountsBody = + operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & definitions["v1ActivityResponse"]; +export type TDeleteApiKeysResponse = + operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & + definitions["v1ActivityResponse"]; export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; -export type TDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteApiKeysBody = + operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteAuthenticatorsResponse = operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteAuthenticatorsResponse = + operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; -export type TDeleteAuthenticatorsBody = operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteAuthenticatorsBody = + operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & definitions["v1ActivityResponse"]; +export type TDeleteInvitationResponse = + operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & + definitions["v1ActivityResponse"]; export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; -export type TDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteInvitationBody = + operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteOauth2CredentialResponse = operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TDeleteOauth2CredentialResponse = + operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; +export type TDeleteOauth2CredentialInput = { + body: TDeleteOauth2CredentialBody; +}; -export type TDeleteOauth2CredentialBody = operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteOauth2CredentialBody = + operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteOauthProvidersResponse = operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & definitions["v1ActivityResponse"]; +export type TDeleteOauthProvidersResponse = + operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & + definitions["v1ActivityResponse"]; export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; -export type TDeleteOauthProvidersBody = operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteOauthProvidersBody = + operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & definitions["v1ActivityResponse"]; +export type TDeletePolicyResponse = + operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & + definitions["v1ActivityResponse"]; export type TDeletePolicyInput = { body: TDeletePolicyBody }; -export type TDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePolicyBody = + operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePrivateKeyTagsResponse = operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & definitions["v1ActivityResponse"]; +export type TDeletePrivateKeyTagsResponse = + operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & + definitions["v1ActivityResponse"]; export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; -export type TDeletePrivateKeyTagsBody = operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePrivateKeyTagsBody = + operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePrivateKeysResponse = operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & definitions["v1ActivityResponse"]; +export type TDeletePrivateKeysResponse = + operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & + definitions["v1ActivityResponse"]; export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; -export type TDeletePrivateKeysBody = operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePrivateKeysBody = + operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteSmartContractInterfaceResponse = operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; +export type TDeleteSmartContractInterfaceResponse = + operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & + definitions["v1ActivityResponse"]; -export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; +export type TDeleteSmartContractInterfaceInput = { + body: TDeleteSmartContractInterfaceBody; +}; -export type TDeleteSmartContractInterfaceBody = operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteSmartContractInterfaceBody = + operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteSubOrganizationResponse = operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & definitions["v1ActivityResponse"]; +export type TDeleteSubOrganizationResponse = + operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & + definitions["v1ActivityResponse"]; export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; -export type TDeleteSubOrganizationBody = operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteSubOrganizationBody = + operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteUserTagsResponse = operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteUserTagsResponse = + operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; -export type TDeleteUserTagsBody = operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteUserTagsBody = + operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteUsersResponse = operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & definitions["v1ActivityResponse"]; +export type TDeleteUsersResponse = + operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & + definitions["v1ActivityResponse"]; export type TDeleteUsersInput = { body: TDeleteUsersBody }; -export type TDeleteUsersBody = operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteUsersBody = + operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteWalletsResponse = operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteWalletsResponse = + operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; -export type TDeleteWalletsBody = operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteWalletsBody = + operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TEmailAuthResponse = operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & definitions["v1ActivityResponse"]; +export type TEmailAuthResponse = + operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & + definitions["v1ActivityResponse"]; export type TEmailAuthInput = { body: TEmailAuthBody }; -export type TEmailAuthBody = operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TEmailAuthBody = + operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportPrivateKeyResponse = operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TExportPrivateKeyResponse = + operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; -export type TExportPrivateKeyBody = operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportPrivateKeyBody = + operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportWalletResponse = operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & definitions["v1ActivityResponse"]; +export type TExportWalletResponse = + operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & + definitions["v1ActivityResponse"]; export type TExportWalletInput = { body: TExportWalletBody }; -export type TExportWalletBody = operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportWalletBody = + operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportWalletAccountResponse = operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & definitions["v1ActivityResponse"]; +export type TExportWalletAccountResponse = + operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & + definitions["v1ActivityResponse"]; export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; -export type TExportWalletAccountBody = operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportWalletAccountBody = + operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TImportPrivateKeyResponse = operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TImportPrivateKeyResponse = + operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; -export type TImportPrivateKeyBody = operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TImportPrivateKeyBody = + operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TImportWalletResponse = operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & definitions["v1ActivityResponse"]; +export type TImportWalletResponse = + operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & + definitions["v1ActivityResponse"]; export type TImportWalletInput = { body: TImportWalletBody }; -export type TImportWalletBody = operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TImportWalletBody = + operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitFiatOnRampResponse = operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & definitions["v1ActivityResponse"]; +export type TInitFiatOnRampResponse = + operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & + definitions["v1ActivityResponse"]; export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; -export type TInitFiatOnRampBody = operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitFiatOnRampBody = + operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitImportPrivateKeyResponse = operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TInitImportPrivateKeyResponse = + operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; -export type TInitImportPrivateKeyBody = operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitImportPrivateKeyBody = + operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitImportWalletResponse = operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & definitions["v1ActivityResponse"]; +export type TInitImportWalletResponse = + operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & + definitions["v1ActivityResponse"]; export type TInitImportWalletInput = { body: TInitImportWalletBody }; -export type TInitImportWalletBody = operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitImportWalletBody = + operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitOtpResponse = operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & definitions["v1ActivityResponse"]; +export type TInitOtpResponse = + operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & + definitions["v1ActivityResponse"]; export type TInitOtpInput = { body: TInitOtpBody }; -export type TInitOtpBody = operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitOtpBody = + operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitOtpAuthResponse = operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & definitions["v1ActivityResponse"]; +export type TInitOtpAuthResponse = + operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & + definitions["v1ActivityResponse"]; export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; -export type TInitOtpAuthBody = operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitOtpAuthBody = + operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitUserEmailRecoveryResponse = operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & definitions["v1ActivityResponse"]; +export type TInitUserEmailRecoveryResponse = + operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & + definitions["v1ActivityResponse"]; export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; -export type TInitUserEmailRecoveryBody = operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitUserEmailRecoveryBody = + operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauthResponse = operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & definitions["v1ActivityResponse"]; +export type TOauthResponse = + operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & + definitions["v1ActivityResponse"]; export type TOauthInput = { body: TOauthBody }; -export type TOauthBody = operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauthBody = + operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauth2AuthenticateResponse = operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & definitions["v1ActivityResponse"]; +export type TOauth2AuthenticateResponse = + operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & + definitions["v1ActivityResponse"]; export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; -export type TOauth2AuthenticateBody = operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauth2AuthenticateBody = + operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauthLoginResponse = operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & definitions["v1ActivityResponse"]; +export type TOauthLoginResponse = + operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & + definitions["v1ActivityResponse"]; export type TOauthLoginInput = { body: TOauthLoginBody }; -export type TOauthLoginBody = operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauthLoginBody = + operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOtpAuthResponse = operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & definitions["v1ActivityResponse"]; +export type TOtpAuthResponse = + operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & + definitions["v1ActivityResponse"]; export type TOtpAuthInput = { body: TOtpAuthBody }; -export type TOtpAuthBody = operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOtpAuthBody = + operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOtpLoginResponse = operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & definitions["v1ActivityResponse"]; +export type TOtpLoginResponse = + operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & + definitions["v1ActivityResponse"]; export type TOtpLoginInput = { body: TOtpLoginBody }; -export type TOtpLoginBody = operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOtpLoginBody = + operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRecoverUserResponse = operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & definitions["v1ActivityResponse"]; +export type TRecoverUserResponse = + operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & + definitions["v1ActivityResponse"]; export type TRecoverUserInput = { body: TRecoverUserBody }; -export type TRecoverUserBody = operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRecoverUserBody = + operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; +export type TRejectActivityResponse = + operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & + definitions["v1ActivityResponse"]; export type TRejectActivityInput = { body: TRejectActivityBody }; -export type TRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRejectActivityBody = + operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRemoveOrganizationFeatureResponse = operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; +export type TRemoveOrganizationFeatureResponse = + operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & + definitions["v1ActivityResponse"]; -export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; +export type TRemoveOrganizationFeatureInput = { + body: TRemoveOrganizationFeatureBody; +}; -export type TRemoveOrganizationFeatureBody = operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRemoveOrganizationFeatureBody = + operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSetOrganizationFeatureResponse = operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; +export type TSetOrganizationFeatureResponse = + operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & + definitions["v1ActivityResponse"]; -export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; +export type TSetOrganizationFeatureInput = { + body: TSetOrganizationFeatureBody; +}; -export type TSetOrganizationFeatureBody = operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSetOrganizationFeatureBody = + operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & definitions["v1ActivityResponse"]; +export type TSignRawPayloadResponse = + operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & + definitions["v1ActivityResponse"]; export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; -export type TSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignRawPayloadBody = + operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignRawPayloadsResponse = operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & definitions["v1ActivityResponse"]; +export type TSignRawPayloadsResponse = + operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & + definitions["v1ActivityResponse"]; export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; -export type TSignRawPayloadsBody = operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignRawPayloadsBody = + operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & definitions["v1ActivityResponse"]; +export type TSignTransactionResponse = + operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & + definitions["v1ActivityResponse"]; export type TSignTransactionInput = { body: TSignTransactionBody }; -export type TSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignTransactionBody = + operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TStampLoginResponse = operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & definitions["v1ActivityResponse"]; +export type TStampLoginResponse = + operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & + definitions["v1ActivityResponse"]; export type TStampLoginInput = { body: TStampLoginBody }; -export type TStampLoginBody = operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TStampLoginBody = + operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateOauth2CredentialResponse = operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TUpdateOauth2CredentialResponse = + operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; +export type TUpdateOauth2CredentialInput = { + body: TUpdateOauth2CredentialBody; +}; -export type TUpdateOauth2CredentialBody = operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateOauth2CredentialBody = + operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdatePolicyResponse = operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & definitions["v1ActivityResponse"]; +export type TUpdatePolicyResponse = + operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & + definitions["v1ActivityResponse"]; export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; -export type TUpdatePolicyBody = operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdatePolicyBody = + operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & definitions["v1ActivityResponse"]; +export type TUpdatePrivateKeyTagResponse = + operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & + definitions["v1ActivityResponse"]; export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; -export type TUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdatePrivateKeyTagBody = + operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & definitions["v1ActivityResponse"]; +export type TUpdateRootQuorumResponse = + operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & + definitions["v1ActivityResponse"]; export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; -export type TUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateRootQuorumBody = + operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserResponse = operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserResponse = + operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserInput = { body: TUpdateUserBody }; -export type TUpdateUserBody = operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserBody = + operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserEmailResponse = operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserEmailResponse = + operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; -export type TUpdateUserEmailBody = operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserEmailBody = + operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserNameResponse = operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserNameResponse = + operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; -export type TUpdateUserNameBody = operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserNameBody = + operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserPhoneNumberResponse = operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserPhoneNumberResponse = + operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; -export type TUpdateUserPhoneNumberBody = operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserPhoneNumberBody = + operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserTagResponse = + operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; -export type TUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserTagBody = + operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateWalletResponse = operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & definitions["v1ActivityResponse"]; +export type TUpdateWalletResponse = + operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & + definitions["v1ActivityResponse"]; export type TUpdateWalletInput = { body: TUpdateWalletBody }; -export type TUpdateWalletBody = operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateWalletBody = + operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TVerifyOtpResponse = operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & definitions["v1ActivityResponse"]; +export type TVerifyOtpResponse = + operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & + definitions["v1ActivityResponse"]; export type TVerifyOtpInput = { body: TVerifyOtpBody }; -export type TVerifyOtpBody = operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TVerifyOtpBody = + operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; +export type TNOOPCodegenAnchorResponse = + operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; -export type TTestRateLimitsResponse = operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; +export type TTestRateLimitsResponse = + operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; -export type TTestRateLimitsBody = Omit & queryOverrideParams; \ No newline at end of file +export type TTestRateLimitsBody = Omit< + operations["PublicApiService_TestRateLimits"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; diff --git a/packages/sdk-browser/src/sdk-client.ts b/packages/sdk-browser/src/sdk-client.ts index f65cff2ab..449423a7a 100644 --- a/packages/sdk-browser/src/sdk-client.ts +++ b/packages/sdk-browser/src/sdk-client.ts @@ -79,7 +79,7 @@ export class TurnkeyBrowserSDK { if (!targetRpId) { throw new Error( - "Tried to initialize a passkey client with no rpId defined" + "Tried to initialize a passkey client with no rpId defined", ); } @@ -102,11 +102,11 @@ export class TurnkeyBrowserSDK { }; iframeClient = async ( - params: IframeClientParams + params: IframeClientParams, ): Promise => { if (!params.iframeUrl) { throw new Error( - "Tried to initialize iframeClient with no iframeUrl defined" + "Tried to initialize iframeClient with no iframeUrl defined", ); } @@ -120,7 +120,7 @@ export class TurnkeyBrowserSDK { }); await this.stamper.init( - params.dangerouslyOverrideIframeKeyTtl ?? undefined + params.dangerouslyOverrideIframeKeyTtl ?? undefined, ); return new TurnkeyIframeClient({ @@ -152,7 +152,7 @@ export class TurnkeyBrowserSDK { serverSign = async ( methodName: string, params: any[], - serverSignUrl?: string + serverSignUrl?: string, ): Promise => { const targetServerSignUrl = serverSignUrl ?? this.config.serverSignUrl; @@ -197,7 +197,7 @@ export class TurnkeyBrowserSDK { */ getSession = async (): Promise => { const currentSession: Session | string | undefined = await getStorageValue( - StorageKeys.Session + StorageKeys.Session, ); let session: Session | undefined; @@ -223,7 +223,7 @@ export class TurnkeyBrowserSDK { */ getRawSession = async (): Promise => { const currentSession: Session | string | undefined = await getStorageValue( - StorageKeys.Session + StorageKeys.Session, ); let session: Session | undefined; diff --git a/packages/sdk-react/src/components/auth/Google.tsx b/packages/sdk-react/src/components/auth/Google.tsx index dd9e2cb4c..eba17583a 100644 --- a/packages/sdk-react/src/components/auth/Google.tsx +++ b/packages/sdk-react/src/components/auth/Google.tsx @@ -47,7 +47,7 @@ const GoogleAuthButton: React.FC = ({ window.history.replaceState( null, document.title, - window.location.pathname + window.location.search + window.location.pathname + window.location.search, ); } } @@ -71,7 +71,7 @@ const GoogleAuthButton: React.FC = ({ const nonce = bytesToHex(sha256(new TextEncoder().encode(publicKey))); const redirectURI = process.env.NEXT_PUBLIC_OAUTH_REDIRECT_URI!.replace( /\/$/, - "" + "", ); const googleAuthUrl = new URL(GOOGLE_AUTH_URL); @@ -89,7 +89,7 @@ const GoogleAuthButton: React.FC = ({ const authWindow = window.open( "about:blank", "_blank", - `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes` + `width=${width},height=${height},top=${top},left=${left},scrollbars=yes,resizable=yes`, ); if (!authWindow) { @@ -107,7 +107,7 @@ const GoogleAuthButton: React.FC = ({ const nonce = bytesToHex(sha256(new TextEncoder().encode(publicKey))); const redirectURI = process.env.NEXT_PUBLIC_OAUTH_REDIRECT_URI!.replace( /\/$/, - "" + "", ); const googleAuthUrl = new URL(GOOGLE_AUTH_URL); diff --git a/packages/sdk-react/src/components/auth/PhoneInput.tsx b/packages/sdk-react/src/components/auth/PhoneInput.tsx index 11c138d25..dde2329cf 100644 --- a/packages/sdk-react/src/components/auth/PhoneInput.tsx +++ b/packages/sdk-react/src/components/auth/PhoneInput.tsx @@ -254,7 +254,7 @@ export const MuiPhone: React.FC = ({ onChange={(e) => setCountry(e.target.value as CountryIso2)} renderValue={(value) => { const selectedCountry = countries.find( - (c) => parseCountry(c).iso2 === value + (c) => parseCountry(c).iso2 === value, ); const parsedCountry = selectedCountry ? parseCountry(selectedCountry) diff --git a/packages/sdk-react/src/contexts/TurnkeyContext.tsx b/packages/sdk-react/src/contexts/TurnkeyContext.tsx index 89edbbdfb..79c295400 100644 --- a/packages/sdk-react/src/contexts/TurnkeyContext.tsx +++ b/packages/sdk-react/src/contexts/TurnkeyContext.tsx @@ -65,7 +65,7 @@ export const TurnkeyProvider: React.FC = ({ TurnkeyIframeClient | undefined >(undefined); const [client, setClient] = useState( - undefined + undefined, ); const { session, authClient } = useSession(); @@ -94,7 +94,7 @@ export const TurnkeyProvider: React.FC = ({ // create an instance of TurnkeyIframeClient const iframeClient = await turnkeyBrowserSDK.iframeClient({ iframeContainer: document.getElementById( - TurnkeyAuthIframeContainerId + TurnkeyAuthIframeContainerId, ), iframeUrl: config.iframeUrl || "https://auth.turnkey.com", ...(config.dangerouslyOverrideIframeKeyTtl && { diff --git a/packages/sdk-server/scripts/codegen.js b/packages/sdk-server/scripts/codegen.js index 8fb811450..03d931781 100644 --- a/packages/sdk-server/scripts/codegen.js +++ b/packages/sdk-server/scripts/codegen.js @@ -4,15 +4,15 @@ const path = require("path"); const SOURCE_DIRECTORY = path.resolve(__dirname, "../src"); const PUBLIC_API_SWAGGER_PATH = path.resolve( `${SOURCE_DIRECTORY}/__inputs__`, - "public_api.swagger.json" + "public_api.swagger.json", ); const TARGET_API_TYPES_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk_api_types.ts" + "sdk_api_types.ts", ); const TARGET_SDK_CLIENT_PATH = path.resolve( `${SOURCE_DIRECTORY}/__generated__`, - "sdk-client-base.ts" + "sdk-client-base.ts", ); const COMMENT_HEADER = "/* @generated by codegen. DO NOT EDIT BY HAND */"; @@ -130,11 +130,11 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const imports = []; imports.push( - 'import type { operations, definitions } from "../__inputs__/public_api.types";' + 'import type { operations, definitions } from "../__inputs__/public_api.types";', ); imports.push( - 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";' + 'import type { queryOverrideParams, commandOverrideParams } from "../__types__/base";', ); const latestVersions = extractLatestVersions(swaggerSpec.definitions); @@ -146,7 +146,7 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "" + "", ); const methodName = `${ @@ -226,20 +226,20 @@ const generateApiTypesFromSwagger = async (swaggerSpec, targetPath) => { codeBuffer.push( ...[queryTypeBinding, substitutionTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `type ${binding.name} = ${binding.value};`) + .map((binding) => `type ${binding.name} = ${binding.value};`), ); // exported type aliases codeBuffer.push( ...[responseTypeBinding, inputTypeBinding, bodyTypeBinding] .filter((binding) => binding.isBound) - .map((binding) => `export type ${binding.name} = ${binding.value};`) + .map((binding) => `export type ${binding.name} = ${binding.value};`), ); } await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), ); }; @@ -252,15 +252,15 @@ const generateSDKClientFromSwagger = async (swaggerSpec, targetPath) => { /** @type {Array} */ const imports = []; imports.push( - 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";' + 'import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http";', ); imports.push( - 'import type { definitions } from "../__inputs__/public_api.types";' + 'import type { definitions } from "../__inputs__/public_api.types";', ); imports.push( - 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";' + 'import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base";', ); imports.push('import { VERSION } from "../__generated__/version";'); @@ -384,7 +384,7 @@ export class TurnkeySDKClientBase { const operationNameWithoutNamespace = operationId.replace( new RegExp(`${namespace}_`), - "" + "", ); if (operationNameWithoutNamespace === "NOOPCodegenAnchor") { @@ -411,7 +411,7 @@ export class TurnkeySDKClientBase { ...input, organizationId: input.organizationId ?? this.config.organizationId }); - }` + }`, ); } else if (methodType === "command") { const unversionedActivityType = `ACTIVITY_TYPE_${operationNameWithoutNamespace @@ -432,7 +432,7 @@ export class TurnkeySDKClientBase { timestampMs: timestampMs ?? String(Date.now()), type: "${versionedActivityType ?? unversionedActivityType}" }, "${versionedMethodName}"); - }` + }`, ); } else if (methodType === "activityDecision") { codeBuffer.push( @@ -447,7 +447,7 @@ export class TurnkeySDKClientBase { .replace(/([a-z])([A-Z])/g, "$1_$2") .toUpperCase()}" }); - }` + }`, ); } // generate a stamping method for each method @@ -464,7 +464,7 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - }` + }`, ); } @@ -473,7 +473,7 @@ export class TurnkeySDKClientBase { await fs.promises.writeFile( targetPath, - [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n") + [COMMENT_HEADER].concat(imports).concat(codeBuffer).join("\n\n"), ); }; @@ -486,7 +486,7 @@ main().catch((error) => { async function main() { const swaggerSpecFile = await fs.promises.readFile( PUBLIC_API_SWAGGER_PATH, - "utf-8" + "utf-8", ); const swaggerSpec = JSON.parse(swaggerSpecFile); diff --git a/packages/sdk-server/src/__generated__/sdk-client-base.ts b/packages/sdk-server/src/__generated__/sdk-client-base.ts index 974376052..333ede42e 100644 --- a/packages/sdk-server/src/__generated__/sdk-client-base.ts +++ b/packages/sdk-server/src/__generated__/sdk-client-base.ts @@ -1,16 +1,25 @@ /* @generated by codegen. DO NOT EDIT BY HAND */ -import { TERMINAL_ACTIVITY_STATUSES, type TActivityResponse, type TActivityStatus, type TSignedRequest } from "@turnkey/http"; +import { + TERMINAL_ACTIVITY_STATUSES, + type TActivityResponse, + type TActivityStatus, + type TSignedRequest, +} from "@turnkey/http"; import type { definitions } from "../__inputs__/public_api.types"; -import { type GrpcStatus, type TStamper, TurnkeyRequestError, type TurnkeySDKClientConfig } from "../__types__/base"; +import { + type GrpcStatus, + type TStamper, + TurnkeyRequestError, + type TurnkeySDKClientConfig, +} from "../__types__/base"; import { VERSION } from "../__generated__/version"; import type * as SdkApiTypes from "./sdk_api_types"; - export class TurnkeySDKClientBase { config: TurnkeySDKClientConfig; @@ -23,7 +32,7 @@ export class TurnkeySDKClientBase { async request( url: string, - body: TBodyType + body: TBodyType, ): Promise { const fullUrl = this.config.apiBaseUrl + url; const stringifiedBody = JSON.stringify(body); @@ -33,10 +42,10 @@ export class TurnkeySDKClientBase { method: "POST", headers: { [stamp.stampHeaderName]: stamp.stampHeaderValue, - "X-Client-Version": VERSION + "X-Client-Version": VERSION, }, body: stringifiedBody, - redirect: "follow" + redirect: "follow", }); if (!response.ok) { @@ -57,12 +66,13 @@ export class TurnkeySDKClientBase { async command( url: string, body: TBodyType, - resultKey: string + resultKey: string, ): Promise { const pollingDuration = this.config.activityPoller?.intervalMs ?? 1000; const maxRetries = this.config.activityPoller?.numRetries ?? 3; - const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); + const sleep = (ms: number) => + new Promise((resolve) => setTimeout(resolve, ms)); const handleResponse = (activityData: TActivityResponse): TResponseType => { const { result, status } = activityData.activity; @@ -70,7 +80,7 @@ export class TurnkeySDKClientBase { if (status === "ACTIVITY_STATUS_COMPLETED") { return { ...result[`${resultKey}` as keyof definitions["v1Result"]], - ...activityData + ...activityData, } as TResponseType; } @@ -81,15 +91,19 @@ export class TurnkeySDKClientBase { const pollStatus = async (activityId: string): Promise => { const pollBody = { activityId }; - const pollData = await this.getActivity(pollBody) as TActivityResponse; + const pollData = (await this.getActivity(pollBody)) as TActivityResponse; if (attempts > maxRetries) { return handleResponse(pollData); } attempts += 1; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(pollData.activity.status as TActivityStatus)) { + + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + pollData.activity.status as TActivityStatus, + ) + ) { await sleep(pollingDuration); return pollStatus(activityId); } @@ -97,9 +111,16 @@ export class TurnkeySDKClientBase { return handleResponse(pollData); }; - const responseData = await this.request(url, body) as TActivityResponse; - - if (!TERMINAL_ACTIVITY_STATUSES.includes(responseData.activity.status as TActivityStatus)) { + const responseData = (await this.request( + url, + body, + )) as TActivityResponse; + + if ( + !TERMINAL_ACTIVITY_STATUSES.includes( + responseData.activity.status as TActivityStatus, + ) + ) { return pollStatus(responseData.activity.id); } @@ -108,26 +129,28 @@ export class TurnkeySDKClientBase { async activityDecision( url: string, - body: TBodyType + body: TBodyType, ): Promise { - const activityData = await this.request(url, body) as TActivityResponse; + const activityData = (await this.request(url, body)) as TActivityResponse; return { ...activityData["activity"]["result"], - ...activityData + ...activityData, } as TResponseType; } - - getActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { + getActivity = async ( + input: SdkApiTypes.TGetActivityBody, + ): Promise => { return this.request("/public/v1/query/get_activity", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetActivity = async (input: SdkApiTypes.TGetActivityBody): Promise => { + stampGetActivity = async ( + input: SdkApiTypes.TGetActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -139,18 +162,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { + getApiKey = async ( + input: SdkApiTypes.TGetApiKeyBody, + ): Promise => { return this.request("/public/v1/query/get_api_key", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetApiKey = async (input: SdkApiTypes.TGetApiKeyBody): Promise => { + stampGetApiKey = async ( + input: SdkApiTypes.TGetApiKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -162,18 +187,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getApiKeys = async (input: SdkApiTypes.TGetApiKeysBody = {}): Promise => { + getApiKeys = async ( + input: SdkApiTypes.TGetApiKeysBody = {}, + ): Promise => { return this.request("/public/v1/query/get_api_keys", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetApiKeys = async (input: SdkApiTypes.TGetApiKeysBody): Promise => { + stampGetApiKeys = async ( + input: SdkApiTypes.TGetApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -185,18 +212,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { + getAttestationDocument = async ( + input: SdkApiTypes.TGetAttestationDocumentBody, + ): Promise => { return this.request("/public/v1/query/get_attestation", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetAttestationDocument = async (input: SdkApiTypes.TGetAttestationDocumentBody): Promise => { + stampGetAttestationDocument = async ( + input: SdkApiTypes.TGetAttestationDocumentBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -208,22 +237,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { + getAuthenticator = async ( + input: SdkApiTypes.TGetAuthenticatorBody, + ): Promise => { return this.request("/public/v1/query/get_authenticator", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetAuthenticator = async (input: SdkApiTypes.TGetAuthenticatorBody): Promise => { + stampGetAuthenticator = async ( + input: SdkApiTypes.TGetAuthenticatorBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticator"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -231,22 +263,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { + getAuthenticators = async ( + input: SdkApiTypes.TGetAuthenticatorsBody, + ): Promise => { return this.request("/public/v1/query/get_authenticators", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetAuthenticators = async (input: SdkApiTypes.TGetAuthenticatorsBody): Promise => { + stampGetAuthenticators = async ( + input: SdkApiTypes.TGetAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -254,18 +289,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { + getBootProof = async ( + input: SdkApiTypes.TGetBootProofBody, + ): Promise => { return this.request("/public/v1/query/get_boot_proof", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetBootProof = async (input: SdkApiTypes.TGetBootProofBody): Promise => { + stampGetBootProof = async ( + input: SdkApiTypes.TGetBootProofBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -277,22 +314,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { + getLatestBootProof = async ( + input: SdkApiTypes.TGetLatestBootProofBody, + ): Promise => { return this.request("/public/v1/query/get_latest_boot_proof", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetLatestBootProof = async (input: SdkApiTypes.TGetLatestBootProofBody): Promise => { + stampGetLatestBootProof = async ( + input: SdkApiTypes.TGetLatestBootProofBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -300,22 +340,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { + getOauth2Credential = async ( + input: SdkApiTypes.TGetOauth2CredentialBody, + ): Promise => { return this.request("/public/v1/query/get_oauth2_credential", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetOauth2Credential = async (input: SdkApiTypes.TGetOauth2CredentialBody): Promise => { + stampGetOauth2Credential = async ( + input: SdkApiTypes.TGetOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -323,22 +366,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { + getOauthProviders = async ( + input: SdkApiTypes.TGetOauthProvidersBody, + ): Promise => { return this.request("/public/v1/query/get_oauth_providers", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetOauthProviders = async (input: SdkApiTypes.TGetOauthProvidersBody): Promise => { + stampGetOauthProviders = async ( + input: SdkApiTypes.TGetOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -346,22 +392,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOrganization = async (input: SdkApiTypes.TGetOrganizationBody = {}): Promise => { + getOrganization = async ( + input: SdkApiTypes.TGetOrganizationBody = {}, + ): Promise => { return this.request("/public/v1/query/get_organization", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetOrganization = async (input: SdkApiTypes.TGetOrganizationBody): Promise => { + stampGetOrganization = async ( + input: SdkApiTypes.TGetOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -369,22 +418,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { + getOrganizationConfigs = async ( + input: SdkApiTypes.TGetOrganizationConfigsBody, + ): Promise => { return this.request("/public/v1/query/get_organization_configs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetOrganizationConfigs = async (input: SdkApiTypes.TGetOrganizationConfigsBody): Promise => { + stampGetOrganizationConfigs = async ( + input: SdkApiTypes.TGetOrganizationConfigsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_organization_configs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -392,18 +444,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { + getPolicy = async ( + input: SdkApiTypes.TGetPolicyBody, + ): Promise => { return this.request("/public/v1/query/get_policy", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetPolicy = async (input: SdkApiTypes.TGetPolicyBody): Promise => { + stampGetPolicy = async ( + input: SdkApiTypes.TGetPolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -415,22 +469,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { + getPolicyEvaluations = async ( + input: SdkApiTypes.TGetPolicyEvaluationsBody, + ): Promise => { return this.request("/public/v1/query/get_policy_evaluations", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetPolicyEvaluations = async (input: SdkApiTypes.TGetPolicyEvaluationsBody): Promise => { + stampGetPolicyEvaluations = async ( + input: SdkApiTypes.TGetPolicyEvaluationsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_policy_evaluations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -438,18 +495,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { + getPrivateKey = async ( + input: SdkApiTypes.TGetPrivateKeyBody, + ): Promise => { return this.request("/public/v1/query/get_private_key", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetPrivateKey = async (input: SdkApiTypes.TGetPrivateKeyBody): Promise => { + stampGetPrivateKey = async ( + input: SdkApiTypes.TGetPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -461,22 +520,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { + getSmartContractInterface = async ( + input: SdkApiTypes.TGetSmartContractInterfaceBody, + ): Promise => { return this.request("/public/v1/query/get_smart_contract_interface", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetSmartContractInterface = async (input: SdkApiTypes.TGetSmartContractInterfaceBody): Promise => { + stampGetSmartContractInterface = async ( + input: SdkApiTypes.TGetSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -484,18 +546,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getUser = async (input: SdkApiTypes.TGetUserBody): Promise => { + getUser = async ( + input: SdkApiTypes.TGetUserBody, + ): Promise => { return this.request("/public/v1/query/get_user", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetUser = async (input: SdkApiTypes.TGetUserBody): Promise => { + stampGetUser = async ( + input: SdkApiTypes.TGetUserBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -507,18 +571,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { + getWallet = async ( + input: SdkApiTypes.TGetWalletBody, + ): Promise => { return this.request("/public/v1/query/get_wallet", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetWallet = async (input: SdkApiTypes.TGetWalletBody): Promise => { + stampGetWallet = async ( + input: SdkApiTypes.TGetWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -530,22 +596,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { + getWalletAccount = async ( + input: SdkApiTypes.TGetWalletAccountBody, + ): Promise => { return this.request("/public/v1/query/get_wallet_account", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetWalletAccount = async (input: SdkApiTypes.TGetWalletAccountBody): Promise => { + stampGetWalletAccount = async ( + input: SdkApiTypes.TGetWalletAccountBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/get_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -553,18 +622,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getActivities = async (input: SdkApiTypes.TGetActivitiesBody = {}): Promise => { + getActivities = async ( + input: SdkApiTypes.TGetActivitiesBody = {}, + ): Promise => { return this.request("/public/v1/query/list_activities", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetActivities = async (input: SdkApiTypes.TGetActivitiesBody): Promise => { + stampGetActivities = async ( + input: SdkApiTypes.TGetActivitiesBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -576,22 +647,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { + listOauth2Credentials = async ( + input: SdkApiTypes.TListOauth2CredentialsBody, + ): Promise => { return this.request("/public/v1/query/list_oauth2_credentials", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampListOauth2Credentials = async (input: SdkApiTypes.TListOauth2CredentialsBody): Promise => { + stampListOauth2Credentials = async ( + input: SdkApiTypes.TListOauth2CredentialsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -599,18 +673,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPolicies = async (input: SdkApiTypes.TGetPoliciesBody = {}): Promise => { + getPolicies = async ( + input: SdkApiTypes.TGetPoliciesBody = {}, + ): Promise => { return this.request("/public/v1/query/list_policies", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetPolicies = async (input: SdkApiTypes.TGetPoliciesBody): Promise => { + stampGetPolicies = async ( + input: SdkApiTypes.TGetPoliciesBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -622,22 +698,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { + listPrivateKeyTags = async ( + input: SdkApiTypes.TListPrivateKeyTagsBody, + ): Promise => { return this.request("/public/v1/query/list_private_key_tags", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampListPrivateKeyTags = async (input: SdkApiTypes.TListPrivateKeyTagsBody): Promise => { + stampListPrivateKeyTags = async ( + input: SdkApiTypes.TListPrivateKeyTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -645,22 +724,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody = {}): Promise => { + getPrivateKeys = async ( + input: SdkApiTypes.TGetPrivateKeysBody = {}, + ): Promise => { return this.request("/public/v1/query/list_private_keys", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetPrivateKeys = async (input: SdkApiTypes.TGetPrivateKeysBody): Promise => { + stampGetPrivateKeys = async ( + input: SdkApiTypes.TGetPrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -668,22 +750,26 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { + getSmartContractInterfaces = async ( + input: SdkApiTypes.TGetSmartContractInterfacesBody, + ): Promise => { return this.request("/public/v1/query/list_smart_contract_interfaces", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetSmartContractInterfaces = async (input: SdkApiTypes.TGetSmartContractInterfacesBody): Promise => { + stampGetSmartContractInterfaces = async ( + input: SdkApiTypes.TGetSmartContractInterfacesBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_smart_contract_interfaces"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/query/list_smart_contract_interfaces"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -691,18 +777,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody = {}): Promise => { + getSubOrgIds = async ( + input: SdkApiTypes.TGetSubOrgIdsBody = {}, + ): Promise => { return this.request("/public/v1/query/list_suborgs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetSubOrgIds = async (input: SdkApiTypes.TGetSubOrgIdsBody): Promise => { + stampGetSubOrgIds = async ( + input: SdkApiTypes.TGetSubOrgIdsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -714,18 +802,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - listUserTags = async (input: SdkApiTypes.TListUserTagsBody = {}): Promise => { + listUserTags = async ( + input: SdkApiTypes.TListUserTagsBody = {}, + ): Promise => { return this.request("/public/v1/query/list_user_tags", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampListUserTags = async (input: SdkApiTypes.TListUserTagsBody): Promise => { + stampListUserTags = async ( + input: SdkApiTypes.TListUserTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -737,18 +827,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getUsers = async (input: SdkApiTypes.TGetUsersBody = {}): Promise => { + getUsers = async ( + input: SdkApiTypes.TGetUsersBody = {}, + ): Promise => { return this.request("/public/v1/query/list_users", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetUsers = async (input: SdkApiTypes.TGetUsersBody): Promise => { + stampGetUsers = async ( + input: SdkApiTypes.TGetUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -760,22 +852,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { + getVerifiedSubOrgIds = async ( + input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, + ): Promise => { return this.request("/public/v1/query/list_verified_suborgs", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetVerifiedSubOrgIds = async (input: SdkApiTypes.TGetVerifiedSubOrgIdsBody): Promise => { + stampGetVerifiedSubOrgIds = async ( + input: SdkApiTypes.TGetVerifiedSubOrgIdsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_verified_suborgs"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -783,22 +878,25 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { + getWalletAccounts = async ( + input: SdkApiTypes.TGetWalletAccountsBody, + ): Promise => { return this.request("/public/v1/query/list_wallet_accounts", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetWalletAccounts = async (input: SdkApiTypes.TGetWalletAccountsBody): Promise => { + stampGetWalletAccounts = async ( + input: SdkApiTypes.TGetWalletAccountsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/query/list_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -806,18 +904,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWallets = async (input: SdkApiTypes.TGetWalletsBody = {}): Promise => { + getWallets = async ( + input: SdkApiTypes.TGetWalletsBody = {}, + ): Promise => { return this.request("/public/v1/query/list_wallets", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetWallets = async (input: SdkApiTypes.TGetWalletsBody): Promise => { + stampGetWallets = async ( + input: SdkApiTypes.TGetWalletsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -829,18 +929,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - getWhoami = async (input: SdkApiTypes.TGetWhoamiBody = {}): Promise => { + getWhoami = async ( + input: SdkApiTypes.TGetWhoamiBody = {}, + ): Promise => { return this.request("/public/v1/query/whoami", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampGetWhoami = async (input: SdkApiTypes.TGetWhoamiBody): Promise => { + stampGetWhoami = async ( + input: SdkApiTypes.TGetWhoamiBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -852,26 +954,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - approveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { + approveActivity = async ( + input: SdkApiTypes.TApproveActivityBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.activityDecision("/public/v1/submit/approve_activity", - { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_APPROVE_ACTIVITY" - }); - } - + return this.activityDecision("/public/v1/submit/approve_activity", { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_APPROVE_ACTIVITY", + }); + }; - stampApproveActivity = async (input: SdkApiTypes.TApproveActivityBody): Promise => { + stampApproveActivity = async ( + input: SdkApiTypes.TApproveActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/approve_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -879,25 +983,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { + createApiKeys = async ( + input: SdkApiTypes.TCreateApiKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_api_keys", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" - }, "createApiKeysResult"); - } - + return this.command( + "/public/v1/submit/create_api_keys", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2", + }, + "createApiKeysResult", + ); + }; - stampCreateApiKeys = async (input: SdkApiTypes.TCreateApiKeysBody): Promise => { + stampCreateApiKeys = async ( + input: SdkApiTypes.TCreateApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -905,25 +1016,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { + createApiOnlyUsers = async ( + input: SdkApiTypes.TCreateApiOnlyUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_api_only_users", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" - }, "createApiOnlyUsersResult"); - } - + return this.command( + "/public/v1/submit/create_api_only_users", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS", + }, + "createApiOnlyUsersResult", + ); + }; - stampCreateApiOnlyUsers = async (input: SdkApiTypes.TCreateApiOnlyUsersBody): Promise => { + stampCreateApiOnlyUsers = async ( + input: SdkApiTypes.TCreateApiOnlyUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_api_only_users"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -931,25 +1049,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { + createAuthenticators = async ( + input: SdkApiTypes.TCreateAuthenticatorsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_authenticators", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" - }, "createAuthenticatorsResult"); - } - + return this.command( + "/public/v1/submit/create_authenticators", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2", + }, + "createAuthenticatorsResult", + ); + }; - stampCreateAuthenticators = async (input: SdkApiTypes.TCreateAuthenticatorsBody): Promise => { + stampCreateAuthenticators = async ( + input: SdkApiTypes.TCreateAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -957,25 +1082,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { + createInvitations = async ( + input: SdkApiTypes.TCreateInvitationsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_invitations", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_INVITATIONS" - }, "createInvitationsResult"); - } - + return this.command( + "/public/v1/submit/create_invitations", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_INVITATIONS", + }, + "createInvitationsResult", + ); + }; - stampCreateInvitations = async (input: SdkApiTypes.TCreateInvitationsBody): Promise => { + stampCreateInvitations = async ( + input: SdkApiTypes.TCreateInvitationsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_invitations"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -983,25 +1115,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { + createOauth2Credential = async ( + input: SdkApiTypes.TCreateOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" - }, "createOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/create_oauth2_credential", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL", + }, + "createOauth2CredentialResult", + ); + }; - stampCreateOauth2Credential = async (input: SdkApiTypes.TCreateOauth2CredentialBody): Promise => { + stampCreateOauth2Credential = async ( + input: SdkApiTypes.TCreateOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1009,25 +1148,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { + createOauthProviders = async ( + input: SdkApiTypes.TCreateOauthProvidersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_oauth_providers", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" - }, "createOauthProvidersResult"); - } - + return this.command( + "/public/v1/submit/create_oauth_providers", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS", + }, + "createOauthProvidersResult", + ); + }; - stampCreateOauthProviders = async (input: SdkApiTypes.TCreateOauthProvidersBody): Promise => { + stampCreateOauthProviders = async ( + input: SdkApiTypes.TCreateOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1035,25 +1181,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { + createPolicies = async ( + input: SdkApiTypes.TCreatePoliciesBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_policies", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICIES" - }, "createPoliciesResult"); - } - + return this.command( + "/public/v1/submit/create_policies", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICIES", + }, + "createPoliciesResult", + ); + }; - stampCreatePolicies = async (input: SdkApiTypes.TCreatePoliciesBody): Promise => { + stampCreatePolicies = async ( + input: SdkApiTypes.TCreatePoliciesBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_policies"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_policies"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1061,21 +1214,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { + createPolicy = async ( + input: SdkApiTypes.TCreatePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_policy", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_POLICY_V3" - }, "createPolicyResult"); - } - + return this.command( + "/public/v1/submit/create_policy", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_POLICY_V3", + }, + "createPolicyResult", + ); + }; - stampCreatePolicy = async (input: SdkApiTypes.TCreatePolicyBody): Promise => { + stampCreatePolicy = async ( + input: SdkApiTypes.TCreatePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1087,25 +1246,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { + createPrivateKeyTag = async ( + input: SdkApiTypes.TCreatePrivateKeyTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_private_key_tag", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" - }, "createPrivateKeyTagResult"); - } - + return this.command( + "/public/v1/submit/create_private_key_tag", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG", + }, + "createPrivateKeyTagResult", + ); + }; - stampCreatePrivateKeyTag = async (input: SdkApiTypes.TCreatePrivateKeyTagBody): Promise => { + stampCreatePrivateKeyTag = async ( + input: SdkApiTypes.TCreatePrivateKeyTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1113,25 +1279,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createPrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { + createPrivateKeys = async ( + input: SdkApiTypes.TCreatePrivateKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_private_keys", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" - }, "createPrivateKeysResultV2"); - } - + return this.command( + "/public/v1/submit/create_private_keys", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2", + }, + "createPrivateKeysResultV2", + ); + }; - stampCreatePrivateKeys = async (input: SdkApiTypes.TCreatePrivateKeysBody): Promise => { + stampCreatePrivateKeys = async ( + input: SdkApiTypes.TCreatePrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1139,25 +1312,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { + createReadOnlySession = async ( + input: SdkApiTypes.TCreateReadOnlySessionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_read_only_session", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" - }, "createReadOnlySessionResult"); - } - + return this.command( + "/public/v1/submit/create_read_only_session", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION", + }, + "createReadOnlySessionResult", + ); + }; - stampCreateReadOnlySession = async (input: SdkApiTypes.TCreateReadOnlySessionBody): Promise => { + stampCreateReadOnlySession = async ( + input: SdkApiTypes.TCreateReadOnlySessionBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_only_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1165,25 +1345,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { + createReadWriteSession = async ( + input: SdkApiTypes.TCreateReadWriteSessionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_read_write_session", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" - }, "createReadWriteSessionResultV2"); - } - + return this.command( + "/public/v1/submit/create_read_write_session", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2", + }, + "createReadWriteSessionResultV2", + ); + }; - stampCreateReadWriteSession = async (input: SdkApiTypes.TCreateReadWriteSessionBody): Promise => { + stampCreateReadWriteSession = async ( + input: SdkApiTypes.TCreateReadWriteSessionBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_read_write_session"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1191,25 +1378,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - createSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { + createSmartContractInterface = async ( + input: SdkApiTypes.TCreateSmartContractInterfaceBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_smart_contract_interface", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" - }, "createSmartContractInterfaceResult"); - } - + return this.command( + "/public/v1/submit/create_smart_contract_interface", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE", + }, + "createSmartContractInterfaceResult", + ); + }; - stampCreateSmartContractInterface = async (input: SdkApiTypes.TCreateSmartContractInterfaceBody): Promise => { + stampCreateSmartContractInterface = async ( + input: SdkApiTypes.TCreateSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/create_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1217,25 +1412,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { + createSubOrganization = async ( + input: SdkApiTypes.TCreateSubOrganizationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_sub_organization", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" - }, "createSubOrganizationResultV7"); - } - + return this.command( + "/public/v1/submit/create_sub_organization", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7", + }, + "createSubOrganizationResultV7", + ); + }; - stampCreateSubOrganization = async (input: SdkApiTypes.TCreateSubOrganizationBody): Promise => { + stampCreateSubOrganization = async ( + input: SdkApiTypes.TCreateSubOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1243,25 +1445,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { + createUserTag = async ( + input: SdkApiTypes.TCreateUserTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_user_tag", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USER_TAG" - }, "createUserTagResult"); - } - + return this.command( + "/public/v1/submit/create_user_tag", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USER_TAG", + }, + "createUserTagResult", + ); + }; - stampCreateUserTag = async (input: SdkApiTypes.TCreateUserTagBody): Promise => { + stampCreateUserTag = async ( + input: SdkApiTypes.TCreateUserTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1269,21 +1478,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { + createUsers = async ( + input: SdkApiTypes.TCreateUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_users", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_USERS_V3" - }, "createUsersResult"); - } - + return this.command( + "/public/v1/submit/create_users", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_USERS_V3", + }, + "createUsersResult", + ); + }; - stampCreateUsers = async (input: SdkApiTypes.TCreateUsersBody): Promise => { + stampCreateUsers = async ( + input: SdkApiTypes.TCreateUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1295,21 +1510,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { + createWallet = async ( + input: SdkApiTypes.TCreateWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_wallet", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET" - }, "createWalletResult"); - } - + return this.command( + "/public/v1/submit/create_wallet", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET", + }, + "createWalletResult", + ); + }; - stampCreateWallet = async (input: SdkApiTypes.TCreateWalletBody): Promise => { + stampCreateWallet = async ( + input: SdkApiTypes.TCreateWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1321,25 +1542,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - createWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { + createWalletAccounts = async ( + input: SdkApiTypes.TCreateWalletAccountsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/create_wallet_accounts", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" - }, "createWalletAccountsResult"); - } - + return this.command( + "/public/v1/submit/create_wallet_accounts", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS", + }, + "createWalletAccountsResult", + ); + }; - stampCreateWalletAccounts = async (input: SdkApiTypes.TCreateWalletAccountsBody): Promise => { + stampCreateWalletAccounts = async ( + input: SdkApiTypes.TCreateWalletAccountsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/create_wallet_accounts"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1347,25 +1575,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { + deleteApiKeys = async ( + input: SdkApiTypes.TDeleteApiKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_api_keys", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_API_KEYS" - }, "deleteApiKeysResult"); - } - + return this.command( + "/public/v1/submit/delete_api_keys", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_API_KEYS", + }, + "deleteApiKeysResult", + ); + }; - stampDeleteApiKeys = async (input: SdkApiTypes.TDeleteApiKeysBody): Promise => { + stampDeleteApiKeys = async ( + input: SdkApiTypes.TDeleteApiKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_api_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1373,25 +1608,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { + deleteAuthenticators = async ( + input: SdkApiTypes.TDeleteAuthenticatorsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_authenticators", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" - }, "deleteAuthenticatorsResult"); - } - + return this.command( + "/public/v1/submit/delete_authenticators", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS", + }, + "deleteAuthenticatorsResult", + ); + }; - stampDeleteAuthenticators = async (input: SdkApiTypes.TDeleteAuthenticatorsBody): Promise => { + stampDeleteAuthenticators = async ( + input: SdkApiTypes.TDeleteAuthenticatorsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_authenticators"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1399,25 +1641,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { + deleteInvitation = async ( + input: SdkApiTypes.TDeleteInvitationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_invitation", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_INVITATION" - }, "deleteInvitationResult"); - } - + return this.command( + "/public/v1/submit/delete_invitation", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_INVITATION", + }, + "deleteInvitationResult", + ); + }; - stampDeleteInvitation = async (input: SdkApiTypes.TDeleteInvitationBody): Promise => { + stampDeleteInvitation = async ( + input: SdkApiTypes.TDeleteInvitationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_invitation"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1425,25 +1674,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { + deleteOauth2Credential = async ( + input: SdkApiTypes.TDeleteOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" - }, "deleteOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/delete_oauth2_credential", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL", + }, + "deleteOauth2CredentialResult", + ); + }; - stampDeleteOauth2Credential = async (input: SdkApiTypes.TDeleteOauth2CredentialBody): Promise => { + stampDeleteOauth2Credential = async ( + input: SdkApiTypes.TDeleteOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1451,25 +1707,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { + deleteOauthProviders = async ( + input: SdkApiTypes.TDeleteOauthProvidersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_oauth_providers", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" - }, "deleteOauthProvidersResult"); - } - + return this.command( + "/public/v1/submit/delete_oauth_providers", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS", + }, + "deleteOauthProvidersResult", + ); + }; - stampDeleteOauthProviders = async (input: SdkApiTypes.TDeleteOauthProvidersBody): Promise => { + stampDeleteOauthProviders = async ( + input: SdkApiTypes.TDeleteOauthProvidersBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_oauth_providers"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1477,21 +1740,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { + deletePolicy = async ( + input: SdkApiTypes.TDeletePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_policy", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_POLICY" - }, "deletePolicyResult"); - } - + return this.command( + "/public/v1/submit/delete_policy", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_POLICY", + }, + "deletePolicyResult", + ); + }; - stampDeletePolicy = async (input: SdkApiTypes.TDeletePolicyBody): Promise => { + stampDeletePolicy = async ( + input: SdkApiTypes.TDeletePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1503,25 +1772,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { + deletePrivateKeyTags = async ( + input: SdkApiTypes.TDeletePrivateKeyTagsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_private_key_tags", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" - }, "deletePrivateKeyTagsResult"); - } - + return this.command( + "/public/v1/submit/delete_private_key_tags", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS", + }, + "deletePrivateKeyTagsResult", + ); + }; - stampDeletePrivateKeyTags = async (input: SdkApiTypes.TDeletePrivateKeyTagsBody): Promise => { + stampDeletePrivateKeyTags = async ( + input: SdkApiTypes.TDeletePrivateKeyTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_key_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1529,25 +1805,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { + deletePrivateKeys = async ( + input: SdkApiTypes.TDeletePrivateKeysBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_private_keys", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" - }, "deletePrivateKeysResult"); - } - + return this.command( + "/public/v1/submit/delete_private_keys", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS", + }, + "deletePrivateKeysResult", + ); + }; - stampDeletePrivateKeys = async (input: SdkApiTypes.TDeletePrivateKeysBody): Promise => { + stampDeletePrivateKeys = async ( + input: SdkApiTypes.TDeletePrivateKeysBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_private_keys"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1555,25 +1838,33 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { + deleteSmartContractInterface = async ( + input: SdkApiTypes.TDeleteSmartContractInterfaceBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_smart_contract_interface", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" - }, "deleteSmartContractInterfaceResult"); - } - + return this.command( + "/public/v1/submit/delete_smart_contract_interface", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE", + }, + "deleteSmartContractInterfaceResult", + ); + }; - stampDeleteSmartContractInterface = async (input: SdkApiTypes.TDeleteSmartContractInterfaceBody): Promise => { + stampDeleteSmartContractInterface = async ( + input: SdkApiTypes.TDeleteSmartContractInterfaceBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_smart_contract_interface"; + const fullUrl = + this.config.apiBaseUrl + + "/public/v1/submit/delete_smart_contract_interface"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1581,25 +1872,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { + deleteSubOrganization = async ( + input: SdkApiTypes.TDeleteSubOrganizationBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_sub_organization", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" - }, "deleteSubOrganizationResult"); - } - + return this.command( + "/public/v1/submit/delete_sub_organization", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION", + }, + "deleteSubOrganizationResult", + ); + }; - stampDeleteSubOrganization = async (input: SdkApiTypes.TDeleteSubOrganizationBody): Promise => { + stampDeleteSubOrganization = async ( + input: SdkApiTypes.TDeleteSubOrganizationBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_sub_organization"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1607,25 +1905,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { + deleteUserTags = async ( + input: SdkApiTypes.TDeleteUserTagsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_user_tags", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USER_TAGS" - }, "deleteUserTagsResult"); - } - + return this.command( + "/public/v1/submit/delete_user_tags", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USER_TAGS", + }, + "deleteUserTagsResult", + ); + }; - stampDeleteUserTags = async (input: SdkApiTypes.TDeleteUserTagsBody): Promise => { + stampDeleteUserTags = async ( + input: SdkApiTypes.TDeleteUserTagsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/delete_user_tags"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1633,21 +1938,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - deleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { + deleteUsers = async ( + input: SdkApiTypes.TDeleteUsersBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_users", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_USERS" - }, "deleteUsersResult"); - } - + return this.command( + "/public/v1/submit/delete_users", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_USERS", + }, + "deleteUsersResult", + ); + }; - stampDeleteUsers = async (input: SdkApiTypes.TDeleteUsersBody): Promise => { + stampDeleteUsers = async ( + input: SdkApiTypes.TDeleteUsersBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1659,21 +1970,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - deleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { + deleteWallets = async ( + input: SdkApiTypes.TDeleteWalletsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/delete_wallets", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_DELETE_WALLETS" - }, "deleteWalletsResult"); - } - + return this.command( + "/public/v1/submit/delete_wallets", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_DELETE_WALLETS", + }, + "deleteWalletsResult", + ); + }; - stampDeleteWallets = async (input: SdkApiTypes.TDeleteWalletsBody): Promise => { + stampDeleteWallets = async ( + input: SdkApiTypes.TDeleteWalletsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1685,21 +2002,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - emailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { + emailAuth = async ( + input: SdkApiTypes.TEmailAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/email_auth", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EMAIL_AUTH_V2" - }, "emailAuthResult"); - } - + return this.command( + "/public/v1/submit/email_auth", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EMAIL_AUTH_V2", + }, + "emailAuthResult", + ); + }; - stampEmailAuth = async (input: SdkApiTypes.TEmailAuthBody): Promise => { + stampEmailAuth = async ( + input: SdkApiTypes.TEmailAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1711,25 +2034,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - exportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { + exportPrivateKey = async ( + input: SdkApiTypes.TExportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/export_private_key", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" - }, "exportPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/export_private_key", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY", + }, + "exportPrivateKeyResult", + ); + }; - stampExportPrivateKey = async (input: SdkApiTypes.TExportPrivateKeyBody): Promise => { + stampExportPrivateKey = async ( + input: SdkApiTypes.TExportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1737,21 +2067,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - exportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { + exportWallet = async ( + input: SdkApiTypes.TExportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/export_wallet", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET" - }, "exportWalletResult"); - } - + return this.command( + "/public/v1/submit/export_wallet", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET", + }, + "exportWalletResult", + ); + }; - stampExportWallet = async (input: SdkApiTypes.TExportWalletBody): Promise => { + stampExportWallet = async ( + input: SdkApiTypes.TExportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1763,25 +2099,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - exportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { + exportWalletAccount = async ( + input: SdkApiTypes.TExportWalletAccountBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/export_wallet_account", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" - }, "exportWalletAccountResult"); - } - + return this.command( + "/public/v1/submit/export_wallet_account", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT", + }, + "exportWalletAccountResult", + ); + }; - stampExportWalletAccount = async (input: SdkApiTypes.TExportWalletAccountBody): Promise => { + stampExportWalletAccount = async ( + input: SdkApiTypes.TExportWalletAccountBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/export_wallet_account"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1789,25 +2132,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - importPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { + importPrivateKey = async ( + input: SdkApiTypes.TImportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/import_private_key", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" - }, "importPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/import_private_key", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY", + }, + "importPrivateKeyResult", + ); + }; - stampImportPrivateKey = async (input: SdkApiTypes.TImportPrivateKeyBody): Promise => { + stampImportPrivateKey = async ( + input: SdkApiTypes.TImportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1815,21 +2165,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - importWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { + importWallet = async ( + input: SdkApiTypes.TImportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/import_wallet", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_IMPORT_WALLET" - }, "importWalletResult"); - } - + return this.command( + "/public/v1/submit/import_wallet", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_IMPORT_WALLET", + }, + "importWalletResult", + ); + }; - stampImportWallet = async (input: SdkApiTypes.TImportWalletBody): Promise => { + stampImportWallet = async ( + input: SdkApiTypes.TImportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1841,25 +2197,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { + initFiatOnRamp = async ( + input: SdkApiTypes.TInitFiatOnRampBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_fiat_on_ramp", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" - }, "initFiatOnRampResult"); - } - + return this.command( + "/public/v1/submit/init_fiat_on_ramp", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP", + }, + "initFiatOnRampResult", + ); + }; - stampInitFiatOnRamp = async (input: SdkApiTypes.TInitFiatOnRampBody): Promise => { + stampInitFiatOnRamp = async ( + input: SdkApiTypes.TInitFiatOnRampBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_fiat_on_ramp"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1867,25 +2230,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { + initImportPrivateKey = async ( + input: SdkApiTypes.TInitImportPrivateKeyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_import_private_key", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" - }, "initImportPrivateKeyResult"); - } - + return this.command( + "/public/v1/submit/init_import_private_key", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY", + }, + "initImportPrivateKeyResult", + ); + }; - stampInitImportPrivateKey = async (input: SdkApiTypes.TInitImportPrivateKeyBody): Promise => { + stampInitImportPrivateKey = async ( + input: SdkApiTypes.TInitImportPrivateKeyBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_private_key"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1893,25 +2263,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { + initImportWallet = async ( + input: SdkApiTypes.TInitImportWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_import_wallet", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" - }, "initImportWalletResult"); - } - + return this.command( + "/public/v1/submit/init_import_wallet", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET", + }, + "initImportWalletResult", + ); + }; - stampInitImportWallet = async (input: SdkApiTypes.TInitImportWalletBody): Promise => { + stampInitImportWallet = async ( + input: SdkApiTypes.TInitImportWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_import_wallet"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1919,21 +2296,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { + initOtp = async ( + input: SdkApiTypes.TInitOtpBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_otp", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP" - }, "initOtpResult"); - } - + return this.command( + "/public/v1/submit/init_otp", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP", + }, + "initOtpResult", + ); + }; - stampInitOtp = async (input: SdkApiTypes.TInitOtpBody): Promise => { + stampInitOtp = async ( + input: SdkApiTypes.TInitOtpBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1945,21 +2328,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - initOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { + initOtpAuth = async ( + input: SdkApiTypes.TInitOtpAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_otp_auth", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" - }, "initOtpAuthResultV2"); - } - + return this.command( + "/public/v1/submit/init_otp_auth", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2", + }, + "initOtpAuthResultV2", + ); + }; - stampInitOtpAuth = async (input: SdkApiTypes.TInitOtpAuthBody): Promise => { + stampInitOtpAuth = async ( + input: SdkApiTypes.TInitOtpAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -1971,25 +2360,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - initUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { + initUserEmailRecovery = async ( + input: SdkApiTypes.TInitUserEmailRecoveryBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/init_user_email_recovery", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" - }, "initUserEmailRecoveryResult"); - } - + return this.command( + "/public/v1/submit/init_user_email_recovery", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY", + }, + "initUserEmailRecoveryResult", + ); + }; - stampInitUserEmailRecovery = async (input: SdkApiTypes.TInitUserEmailRecoveryBody): Promise => { + stampInitUserEmailRecovery = async ( + input: SdkApiTypes.TInitUserEmailRecoveryBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/init_user_email_recovery"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -1997,21 +2393,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - oauth = async (input: SdkApiTypes.TOauthBody): Promise => { + oauth = async ( + input: SdkApiTypes.TOauthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/oauth", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH" - }, "oauthResult"); - } - + return this.command( + "/public/v1/submit/oauth", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH", + }, + "oauthResult", + ); + }; - stampOauth = async (input: SdkApiTypes.TOauthBody): Promise => { + stampOauth = async ( + input: SdkApiTypes.TOauthBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2023,51 +2425,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - oauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { + oauth2Authenticate = async ( + input: SdkApiTypes.TOauth2AuthenticateBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/oauth2_authenticate", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" - }, "oauth2AuthenticateResult"); - } - - - stampOauth2Authenticate = async (input: SdkApiTypes.TOauth2AuthenticateBody): Promise => { - if (!this.stamper) { - return undefined; - } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; - const body = JSON.stringify(input); - const stamp = await this.stamper.stamp(body); - return { - body: body, - stamp: stamp, - url: fullUrl, - }; - } - - - oauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { - const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/oauth_login", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OAUTH_LOGIN" - }, "oauthLoginResult"); - } - + return this.command( + "/public/v1/submit/oauth2_authenticate", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE", + }, + "oauth2AuthenticateResult", + ); + }; - stampOauthLogin = async (input: SdkApiTypes.TOauthLoginBody): Promise => { + stampOauth2Authenticate = async ( + input: SdkApiTypes.TOauth2AuthenticateBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth_login"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2075,25 +2458,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - otpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { + oauthLogin = async ( + input: SdkApiTypes.TOauthLoginBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/otp_auth", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_AUTH" - }, "otpAuthResult"); - } - + return this.command( + "/public/v1/submit/oauth_login", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OAUTH_LOGIN", + }, + "oauthLoginResult", + ); + }; - stampOtpAuth = async (input: SdkApiTypes.TOtpAuthBody): Promise => { + stampOauthLogin = async ( + input: SdkApiTypes.TOauthLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_auth"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth_login"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2101,25 +2490,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - otpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { + otpAuth = async ( + input: SdkApiTypes.TOtpAuthBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/otp_login", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_OTP_LOGIN" - }, "otpLoginResult"); - } - + return this.command( + "/public/v1/submit/otp_auth", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_AUTH", + }, + "otpAuthResult", + ); + }; - stampOtpLogin = async (input: SdkApiTypes.TOtpLoginBody): Promise => { + stampOtpAuth = async ( + input: SdkApiTypes.TOtpAuthBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_login"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_auth"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2127,25 +2522,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - recoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { + otpLogin = async ( + input: SdkApiTypes.TOtpLoginBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/recover_user", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_RECOVER_USER" - }, "recoverUserResult"); - } - + return this.command( + "/public/v1/submit/otp_login", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_OTP_LOGIN", + }, + "otpLoginResult", + ); + }; - stampRecoverUser = async (input: SdkApiTypes.TRecoverUserBody): Promise => { + stampOtpLogin = async ( + input: SdkApiTypes.TOtpLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/recover_user"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/otp_login"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2153,26 +2554,31 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - rejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { + recoverUser = async ( + input: SdkApiTypes.TRecoverUserBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.activityDecision("/public/v1/submit/reject_activity", + return this.command( + "/public/v1/submit/recover_user", { parameters: rest, organizationId: organizationId ?? this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REJECT_ACTIVITY" - }); - } - + type: "ACTIVITY_TYPE_RECOVER_USER", + }, + "recoverUserResult", + ); + }; - stampRejectActivity = async (input: SdkApiTypes.TRejectActivityBody): Promise => { + stampRecoverUser = async ( + input: SdkApiTypes.TRecoverUserBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; + const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/recover_user"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2180,25 +2586,28 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } + }; - - removeOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { + rejectActivity = async ( + input: SdkApiTypes.TRejectActivityBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/remove_organization_feature", { + return this.activityDecision("/public/v1/submit/reject_activity", { parameters: rest, organizationId: organizationId ?? this.config.organizationId, timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" - }, "removeOrganizationFeatureResult"); - } - + type: "ACTIVITY_TYPE_REJECT_ACTIVITY", + }); + }; - stampRemoveOrganizationFeature = async (input: SdkApiTypes.TRemoveOrganizationFeatureBody): Promise => { + stampRejectActivity = async ( + input: SdkApiTypes.TRejectActivityBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/reject_activity"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2206,25 +2615,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - setOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { + removeOrganizationFeature = async ( + input: SdkApiTypes.TRemoveOrganizationFeatureBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/set_organization_feature", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" - }, "setOrganizationFeatureResult"); - } - + return this.command( + "/public/v1/submit/remove_organization_feature", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE", + }, + "removeOrganizationFeatureResult", + ); + }; - stampSetOrganizationFeature = async (input: SdkApiTypes.TSetOrganizationFeatureBody): Promise => { + stampRemoveOrganizationFeature = async ( + input: SdkApiTypes.TRemoveOrganizationFeatureBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/remove_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2232,25 +2648,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - signRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { + setOrganizationFeature = async ( + input: SdkApiTypes.TSetOrganizationFeatureBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/sign_raw_payload", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" - }, "signRawPayloadResult"); - } - + return this.command( + "/public/v1/submit/set_organization_feature", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE", + }, + "setOrganizationFeatureResult", + ); + }; - stampSignRawPayload = async (input: SdkApiTypes.TSignRawPayloadBody): Promise => { + stampSetOrganizationFeature = async ( + input: SdkApiTypes.TSetOrganizationFeatureBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/set_organization_feature"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2258,25 +2681,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - signRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { + signRawPayload = async ( + input: SdkApiTypes.TSignRawPayloadBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/sign_raw_payloads", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" - }, "signRawPayloadsResult"); - } - + return this.command( + "/public/v1/submit/sign_raw_payload", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2", + }, + "signRawPayloadResult", + ); + }; - stampSignRawPayloads = async (input: SdkApiTypes.TSignRawPayloadsBody): Promise => { + stampSignRawPayload = async ( + input: SdkApiTypes.TSignRawPayloadBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payload"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2284,25 +2714,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - signTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { + signRawPayloads = async ( + input: SdkApiTypes.TSignRawPayloadsBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/sign_transaction", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" - }, "signTransactionResult"); - } - + return this.command( + "/public/v1/submit/sign_raw_payloads", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS", + }, + "signRawPayloadsResult", + ); + }; - stampSignTransaction = async (input: SdkApiTypes.TSignTransactionBody): Promise => { + stampSignRawPayloads = async ( + input: SdkApiTypes.TSignRawPayloadsBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_raw_payloads"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2310,21 +2747,60 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - stampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { + signTransaction = async ( + input: SdkApiTypes.TSignTransactionBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/stamp_login", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_STAMP_LOGIN" - }, "stampLoginResult"); - } + return this.command( + "/public/v1/submit/sign_transaction", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2", + }, + "signTransactionResult", + ); + }; + + stampSignTransaction = async ( + input: SdkApiTypes.TSignTransactionBody, + ): Promise => { + if (!this.stamper) { + return undefined; + } + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/sign_transaction"; + const body = JSON.stringify(input); + const stamp = await this.stamper.stamp(body); + return { + body: body, + stamp: stamp, + url: fullUrl, + }; + }; + stampLogin = async ( + input: SdkApiTypes.TStampLoginBody, + ): Promise => { + const { organizationId, timestampMs, ...rest } = input; + return this.command( + "/public/v1/submit/stamp_login", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_STAMP_LOGIN", + }, + "stampLoginResult", + ); + }; - stampStampLogin = async (input: SdkApiTypes.TStampLoginBody): Promise => { + stampStampLogin = async ( + input: SdkApiTypes.TStampLoginBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2336,25 +2812,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { + updateOauth2Credential = async ( + input: SdkApiTypes.TUpdateOauth2CredentialBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_oauth2_credential", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" - }, "updateOauth2CredentialResult"); - } - + return this.command( + "/public/v1/submit/update_oauth2_credential", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL", + }, + "updateOauth2CredentialResult", + ); + }; - stampUpdateOauth2Credential = async (input: SdkApiTypes.TUpdateOauth2CredentialBody): Promise => { + stampUpdateOauth2Credential = async ( + input: SdkApiTypes.TUpdateOauth2CredentialBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2362,21 +2845,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { + updatePolicy = async ( + input: SdkApiTypes.TUpdatePolicyBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_policy", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_POLICY_V2" - }, "updatePolicyResultV2"); - } - + return this.command( + "/public/v1/submit/update_policy", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_POLICY_V2", + }, + "updatePolicyResultV2", + ); + }; - stampUpdatePolicy = async (input: SdkApiTypes.TUpdatePolicyBody): Promise => { + stampUpdatePolicy = async ( + input: SdkApiTypes.TUpdatePolicyBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2388,25 +2877,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { + updatePrivateKeyTag = async ( + input: SdkApiTypes.TUpdatePrivateKeyTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_private_key_tag", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" - }, "updatePrivateKeyTagResult"); - } - + return this.command( + "/public/v1/submit/update_private_key_tag", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG", + }, + "updatePrivateKeyTagResult", + ); + }; - stampUpdatePrivateKeyTag = async (input: SdkApiTypes.TUpdatePrivateKeyTagBody): Promise => { + stampUpdatePrivateKeyTag = async ( + input: SdkApiTypes.TUpdatePrivateKeyTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_private_key_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2414,25 +2910,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { + updateRootQuorum = async ( + input: SdkApiTypes.TUpdateRootQuorumBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_root_quorum", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" - }, "updateRootQuorumResult"); - } - + return this.command( + "/public/v1/submit/update_root_quorum", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM", + }, + "updateRootQuorumResult", + ); + }; - stampUpdateRootQuorum = async (input: SdkApiTypes.TUpdateRootQuorumBody): Promise => { + stampUpdateRootQuorum = async ( + input: SdkApiTypes.TUpdateRootQuorumBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_root_quorum"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2440,21 +2943,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { + updateUser = async ( + input: SdkApiTypes.TUpdateUserBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_user", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER" - }, "updateUserResult"); - } - + return this.command( + "/public/v1/submit/update_user", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER", + }, + "updateUserResult", + ); + }; - stampUpdateUser = async (input: SdkApiTypes.TUpdateUserBody): Promise => { + stampUpdateUser = async ( + input: SdkApiTypes.TUpdateUserBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2466,25 +2975,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { + updateUserEmail = async ( + input: SdkApiTypes.TUpdateUserEmailBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_user_email", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL" - }, "updateUserEmailResult"); - } - + return this.command( + "/public/v1/submit/update_user_email", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL", + }, + "updateUserEmailResult", + ); + }; - stampUpdateUserEmail = async (input: SdkApiTypes.TUpdateUserEmailBody): Promise => { + stampUpdateUserEmail = async ( + input: SdkApiTypes.TUpdateUserEmailBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_email"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2492,25 +3008,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { + updateUserName = async ( + input: SdkApiTypes.TUpdateUserNameBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_user_name", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_NAME" - }, "updateUserNameResult"); - } - + return this.command( + "/public/v1/submit/update_user_name", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_NAME", + }, + "updateUserNameResult", + ); + }; - stampUpdateUserName = async (input: SdkApiTypes.TUpdateUserNameBody): Promise => { + stampUpdateUserName = async ( + input: SdkApiTypes.TUpdateUserNameBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_name"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2518,25 +3041,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { + updateUserPhoneNumber = async ( + input: SdkApiTypes.TUpdateUserPhoneNumberBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_user_phone_number", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" - }, "updateUserPhoneNumberResult"); - } - + return this.command( + "/public/v1/submit/update_user_phone_number", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER", + }, + "updateUserPhoneNumberResult", + ); + }; - stampUpdateUserPhoneNumber = async (input: SdkApiTypes.TUpdateUserPhoneNumberBody): Promise => { + stampUpdateUserPhoneNumber = async ( + input: SdkApiTypes.TUpdateUserPhoneNumberBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_phone_number"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2544,25 +3074,32 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { + updateUserTag = async ( + input: SdkApiTypes.TUpdateUserTagBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_user_tag", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_USER_TAG" - }, "updateUserTagResult"); - } - + return this.command( + "/public/v1/submit/update_user_tag", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_USER_TAG", + }, + "updateUserTagResult", + ); + }; - stampUpdateUserTag = async (input: SdkApiTypes.TUpdateUserTagBody): Promise => { + stampUpdateUserTag = async ( + input: SdkApiTypes.TUpdateUserTagBody, + ): Promise => { if (!this.stamper) { return undefined; } - const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; + const fullUrl = + this.config.apiBaseUrl + "/public/v1/submit/update_user_tag"; const body = JSON.stringify(input); const stamp = await this.stamper.stamp(body); return { @@ -2570,21 +3107,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - updateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { + updateWallet = async ( + input: SdkApiTypes.TUpdateWalletBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/update_wallet", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_UPDATE_WALLET" - }, "updateWalletResult"); - } - + return this.command( + "/public/v1/submit/update_wallet", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_UPDATE_WALLET", + }, + "updateWalletResult", + ); + }; - stampUpdateWallet = async (input: SdkApiTypes.TUpdateWalletBody): Promise => { + stampUpdateWallet = async ( + input: SdkApiTypes.TUpdateWalletBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2596,21 +3139,27 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - verifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { + verifyOtp = async ( + input: SdkApiTypes.TVerifyOtpBody, + ): Promise => { const { organizationId, timestampMs, ...rest } = input; - return this.command("/public/v1/submit/verify_otp", { - parameters: rest, - organizationId: organizationId ?? this.config.organizationId, - timestampMs: timestampMs ?? String(Date.now()), - type: "ACTIVITY_TYPE_VERIFY_OTP" - }, "verifyOtpResult"); - } - + return this.command( + "/public/v1/submit/verify_otp", + { + parameters: rest, + organizationId: organizationId ?? this.config.organizationId, + timestampMs: timestampMs ?? String(Date.now()), + type: "ACTIVITY_TYPE_VERIFY_OTP", + }, + "verifyOtpResult", + ); + }; - stampVerifyOtp = async (input: SdkApiTypes.TVerifyOtpBody): Promise => { + stampVerifyOtp = async ( + input: SdkApiTypes.TVerifyOtpBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2622,18 +3171,20 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - + }; - testRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { + testRateLimits = async ( + input: SdkApiTypes.TTestRateLimitsBody, + ): Promise => { return this.request("/tkhq/api/v1/test_rate_limits", { ...input, - organizationId: input.organizationId ?? this.config.organizationId + organizationId: input.organizationId ?? this.config.organizationId, }); - } - + }; - stampTestRateLimits = async (input: SdkApiTypes.TTestRateLimitsBody): Promise => { + stampTestRateLimits = async ( + input: SdkApiTypes.TTestRateLimitsBody, + ): Promise => { if (!this.stamper) { return undefined; } @@ -2645,6 +3196,5 @@ export class TurnkeySDKClientBase { stamp: stamp, url: fullUrl, }; - } - -} \ No newline at end of file + }; +} diff --git a/packages/sdk-server/src/__generated__/sdk_api_types.ts b/packages/sdk-server/src/__generated__/sdk_api_types.ts index a3879980d..fe09a4b79 100644 --- a/packages/sdk-server/src/__generated__/sdk_api_types.ts +++ b/packages/sdk-server/src/__generated__/sdk_api_types.ts @@ -2,612 +2,1077 @@ import type { operations, definitions } from "../__inputs__/public_api.types"; -import type { queryOverrideParams, commandOverrideParams } from "../__types__/base"; +import type { + queryOverrideParams, + commandOverrideParams, +} from "../__types__/base"; -export type TGetActivityResponse = operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; +export type TGetActivityResponse = + operations["PublicApiService_GetActivity"]["responses"]["200"]["schema"]; export type TGetActivityInput = { body: TGetActivityBody }; -export type TGetActivityBody = Omit & queryOverrideParams; +export type TGetActivityBody = Omit< + operations["PublicApiService_GetActivity"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetApiKeyResponse = operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; +export type TGetApiKeyResponse = + operations["PublicApiService_GetApiKey"]["responses"]["200"]["schema"]; export type TGetApiKeyInput = { body: TGetApiKeyBody }; -export type TGetApiKeyBody = Omit & queryOverrideParams; +export type TGetApiKeyBody = Omit< + operations["PublicApiService_GetApiKey"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetApiKeysResponse = operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; +export type TGetApiKeysResponse = + operations["PublicApiService_GetApiKeys"]["responses"]["200"]["schema"]; export type TGetApiKeysInput = { body: TGetApiKeysBody }; -export type TGetApiKeysBody = Omit & queryOverrideParams; +export type TGetApiKeysBody = Omit< + operations["PublicApiService_GetApiKeys"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAttestationDocumentResponse = operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; +export type TGetAttestationDocumentResponse = + operations["PublicApiService_GetAttestationDocument"]["responses"]["200"]["schema"]; -export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; +export type TGetAttestationDocumentInput = { + body: TGetAttestationDocumentBody; +}; -export type TGetAttestationDocumentBody = Omit & queryOverrideParams; +export type TGetAttestationDocumentBody = Omit< + operations["PublicApiService_GetAttestationDocument"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAuthenticatorResponse = operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorResponse = + operations["PublicApiService_GetAuthenticator"]["responses"]["200"]["schema"]; export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; -export type TGetAuthenticatorBody = Omit & queryOverrideParams; +export type TGetAuthenticatorBody = Omit< + operations["PublicApiService_GetAuthenticator"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetAuthenticatorsResponse = operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; +export type TGetAuthenticatorsResponse = + operations["PublicApiService_GetAuthenticators"]["responses"]["200"]["schema"]; export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; -export type TGetAuthenticatorsBody = Omit & queryOverrideParams; +export type TGetAuthenticatorsBody = Omit< + operations["PublicApiService_GetAuthenticators"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetBootProofResponse = operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; +export type TGetBootProofResponse = + operations["PublicApiService_GetBootProof"]["responses"]["200"]["schema"]; export type TGetBootProofInput = { body: TGetBootProofBody }; -export type TGetBootProofBody = Omit & queryOverrideParams; +export type TGetBootProofBody = Omit< + operations["PublicApiService_GetBootProof"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetLatestBootProofResponse = operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; +export type TGetLatestBootProofResponse = + operations["PublicApiService_GetLatestBootProof"]["responses"]["200"]["schema"]; export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; -export type TGetLatestBootProofBody = Omit & queryOverrideParams; +export type TGetLatestBootProofBody = Omit< + operations["PublicApiService_GetLatestBootProof"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOauth2CredentialResponse = operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; +export type TGetOauth2CredentialResponse = + operations["PublicApiService_GetOauth2Credential"]["responses"]["200"]["schema"]; export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; -export type TGetOauth2CredentialBody = Omit & queryOverrideParams; +export type TGetOauth2CredentialBody = Omit< + operations["PublicApiService_GetOauth2Credential"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOauthProvidersResponse = operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; +export type TGetOauthProvidersResponse = + operations["PublicApiService_GetOauthProviders"]["responses"]["200"]["schema"]; export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; -export type TGetOauthProvidersBody = Omit & queryOverrideParams; +export type TGetOauthProvidersBody = Omit< + operations["PublicApiService_GetOauthProviders"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOrganizationResponse = operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; +export type TGetOrganizationResponse = + operations["PublicApiService_GetOrganization"]["responses"]["200"]["schema"]; export type TGetOrganizationInput = { body: TGetOrganizationBody }; -export type TGetOrganizationBody = Omit & queryOverrideParams; +export type TGetOrganizationBody = Omit< + operations["PublicApiService_GetOrganization"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetOrganizationConfigsResponse = operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; +export type TGetOrganizationConfigsResponse = + operations["PublicApiService_GetOrganizationConfigs"]["responses"]["200"]["schema"]; -export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; +export type TGetOrganizationConfigsInput = { + body: TGetOrganizationConfigsBody; +}; -export type TGetOrganizationConfigsBody = Omit & queryOverrideParams; +export type TGetOrganizationConfigsBody = Omit< + operations["PublicApiService_GetOrganizationConfigs"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPolicyResponse = operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; +export type TGetPolicyResponse = + operations["PublicApiService_GetPolicy"]["responses"]["200"]["schema"]; export type TGetPolicyInput = { body: TGetPolicyBody }; -export type TGetPolicyBody = Omit & queryOverrideParams; +export type TGetPolicyBody = Omit< + operations["PublicApiService_GetPolicy"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPolicyEvaluationsResponse = operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; +export type TGetPolicyEvaluationsResponse = + operations["PublicApiService_GetPolicyEvaluations"]["responses"]["200"]["schema"]; export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; -export type TGetPolicyEvaluationsBody = Omit & queryOverrideParams; +export type TGetPolicyEvaluationsBody = Omit< + operations["PublicApiService_GetPolicyEvaluations"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPrivateKeyResponse = operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; +export type TGetPrivateKeyResponse = + operations["PublicApiService_GetPrivateKey"]["responses"]["200"]["schema"]; export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; -export type TGetPrivateKeyBody = Omit & queryOverrideParams; +export type TGetPrivateKeyBody = Omit< + operations["PublicApiService_GetPrivateKey"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSmartContractInterfaceResponse = operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfaceResponse = + operations["PublicApiService_GetSmartContractInterface"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; +export type TGetSmartContractInterfaceInput = { + body: TGetSmartContractInterfaceBody; +}; -export type TGetSmartContractInterfaceBody = Omit & queryOverrideParams; +export type TGetSmartContractInterfaceBody = Omit< + operations["PublicApiService_GetSmartContractInterface"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetUserResponse = operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; +export type TGetUserResponse = + operations["PublicApiService_GetUser"]["responses"]["200"]["schema"]; export type TGetUserInput = { body: TGetUserBody }; -export type TGetUserBody = Omit & queryOverrideParams; +export type TGetUserBody = Omit< + operations["PublicApiService_GetUser"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletResponse = operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; +export type TGetWalletResponse = + operations["PublicApiService_GetWallet"]["responses"]["200"]["schema"]; export type TGetWalletInput = { body: TGetWalletBody }; -export type TGetWalletBody = Omit & queryOverrideParams; +export type TGetWalletBody = Omit< + operations["PublicApiService_GetWallet"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletAccountResponse = operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; +export type TGetWalletAccountResponse = + operations["PublicApiService_GetWalletAccount"]["responses"]["200"]["schema"]; export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; -export type TGetWalletAccountBody = Omit & queryOverrideParams; +export type TGetWalletAccountBody = Omit< + operations["PublicApiService_GetWalletAccount"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetActivitiesResponse = operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; +export type TGetActivitiesResponse = + operations["PublicApiService_GetActivities"]["responses"]["200"]["schema"]; export type TGetActivitiesInput = { body: TGetActivitiesBody }; -export type TGetActivitiesBody = Omit & queryOverrideParams; +export type TGetActivitiesBody = Omit< + operations["PublicApiService_GetActivities"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListOauth2CredentialsResponse = operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; +export type TListOauth2CredentialsResponse = + operations["PublicApiService_ListOauth2Credentials"]["responses"]["200"]["schema"]; export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; -export type TListOauth2CredentialsBody = Omit & queryOverrideParams; +export type TListOauth2CredentialsBody = Omit< + operations["PublicApiService_ListOauth2Credentials"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPoliciesResponse = operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; +export type TGetPoliciesResponse = + operations["PublicApiService_GetPolicies"]["responses"]["200"]["schema"]; export type TGetPoliciesInput = { body: TGetPoliciesBody }; -export type TGetPoliciesBody = Omit & queryOverrideParams; +export type TGetPoliciesBody = Omit< + operations["PublicApiService_GetPolicies"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListPrivateKeyTagsResponse = operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; +export type TListPrivateKeyTagsResponse = + operations["PublicApiService_ListPrivateKeyTags"]["responses"]["200"]["schema"]; export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; -export type TListPrivateKeyTagsBody = Omit & queryOverrideParams; +export type TListPrivateKeyTagsBody = Omit< + operations["PublicApiService_ListPrivateKeyTags"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetPrivateKeysResponse = operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; +export type TGetPrivateKeysResponse = + operations["PublicApiService_GetPrivateKeys"]["responses"]["200"]["schema"]; export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; -export type TGetPrivateKeysBody = Omit & queryOverrideParams; +export type TGetPrivateKeysBody = Omit< + operations["PublicApiService_GetPrivateKeys"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSmartContractInterfacesResponse = operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; +export type TGetSmartContractInterfacesResponse = + operations["PublicApiService_GetSmartContractInterfaces"]["responses"]["200"]["schema"]; -export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; +export type TGetSmartContractInterfacesInput = { + body: TGetSmartContractInterfacesBody; +}; -export type TGetSmartContractInterfacesBody = Omit & queryOverrideParams; +export type TGetSmartContractInterfacesBody = Omit< + operations["PublicApiService_GetSmartContractInterfaces"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetSubOrgIdsResponse = operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetSubOrgIdsResponse = + operations["PublicApiService_GetSubOrgIds"]["responses"]["200"]["schema"]; export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; -export type TGetSubOrgIdsBody = Omit & queryOverrideParams; +export type TGetSubOrgIdsBody = Omit< + operations["PublicApiService_GetSubOrgIds"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TListUserTagsResponse = operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; +export type TListUserTagsResponse = + operations["PublicApiService_ListUserTags"]["responses"]["200"]["schema"]; export type TListUserTagsInput = { body: TListUserTagsBody }; -export type TListUserTagsBody = Omit & queryOverrideParams; +export type TListUserTagsBody = Omit< + operations["PublicApiService_ListUserTags"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetUsersResponse = operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; +export type TGetUsersResponse = + operations["PublicApiService_GetUsers"]["responses"]["200"]["schema"]; export type TGetUsersInput = { body: TGetUsersBody }; -export type TGetUsersBody = Omit & queryOverrideParams; +export type TGetUsersBody = Omit< + operations["PublicApiService_GetUsers"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetVerifiedSubOrgIdsResponse = operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; +export type TGetVerifiedSubOrgIdsResponse = + operations["PublicApiService_GetVerifiedSubOrgIds"]["responses"]["200"]["schema"]; export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; -export type TGetVerifiedSubOrgIdsBody = Omit & queryOverrideParams; +export type TGetVerifiedSubOrgIdsBody = Omit< + operations["PublicApiService_GetVerifiedSubOrgIds"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletAccountsResponse = operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; +export type TGetWalletAccountsResponse = + operations["PublicApiService_GetWalletAccounts"]["responses"]["200"]["schema"]; export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; -export type TGetWalletAccountsBody = Omit & queryOverrideParams; +export type TGetWalletAccountsBody = Omit< + operations["PublicApiService_GetWalletAccounts"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWalletsResponse = operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; +export type TGetWalletsResponse = + operations["PublicApiService_GetWallets"]["responses"]["200"]["schema"]; export type TGetWalletsInput = { body: TGetWalletsBody }; -export type TGetWalletsBody = Omit & queryOverrideParams; +export type TGetWalletsBody = Omit< + operations["PublicApiService_GetWallets"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TGetWhoamiResponse = operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; +export type TGetWhoamiResponse = + operations["PublicApiService_GetWhoami"]["responses"]["200"]["schema"]; export type TGetWhoamiInput = { body: TGetWhoamiBody }; -export type TGetWhoamiBody = Omit & queryOverrideParams; +export type TGetWhoamiBody = Omit< + operations["PublicApiService_GetWhoami"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; -export type TApproveActivityResponse = operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; +export type TApproveActivityResponse = + operations["PublicApiService_ApproveActivity"]["responses"]["200"]["schema"]["activity"]["result"] & + definitions["v1ActivityResponse"]; export type TApproveActivityInput = { body: TApproveActivityBody }; -export type TApproveActivityBody = operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TApproveActivityBody = + operations["PublicApiService_ApproveActivity"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateApiKeysResponse = operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & definitions["v1ActivityResponse"]; +export type TCreateApiKeysResponse = + operations["PublicApiService_CreateApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createApiKeysResult"] & + definitions["v1ActivityResponse"]; export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; -export type TCreateApiKeysBody = operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateApiKeysBody = + operations["PublicApiService_CreateApiKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateApiOnlyUsersResponse = operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & definitions["v1ActivityResponse"]; +export type TCreateApiOnlyUsersResponse = + operations["PublicApiService_CreateApiOnlyUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createApiOnlyUsersResult"] & + definitions["v1ActivityResponse"]; export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; -export type TCreateApiOnlyUsersBody = operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateApiOnlyUsersBody = + operations["PublicApiService_CreateApiOnlyUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateAuthenticatorsResponse = operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & definitions["v1ActivityResponse"]; +export type TCreateAuthenticatorsResponse = + operations["PublicApiService_CreateAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["createAuthenticatorsResult"] & + definitions["v1ActivityResponse"]; export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; -export type TCreateAuthenticatorsBody = operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateAuthenticatorsBody = + operations["PublicApiService_CreateAuthenticators"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateInvitationsResponse = operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & definitions["v1ActivityResponse"]; +export type TCreateInvitationsResponse = + operations["PublicApiService_CreateInvitations"]["responses"]["200"]["schema"]["activity"]["result"]["createInvitationsResult"] & + definitions["v1ActivityResponse"]; export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; -export type TCreateInvitationsBody = operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateInvitationsBody = + operations["PublicApiService_CreateInvitations"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateOauth2CredentialResponse = operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TCreateOauth2CredentialResponse = + operations["PublicApiService_CreateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["createOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; +export type TCreateOauth2CredentialInput = { + body: TCreateOauth2CredentialBody; +}; -export type TCreateOauth2CredentialBody = operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateOauth2CredentialBody = + operations["PublicApiService_CreateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateOauthProvidersResponse = operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & definitions["v1ActivityResponse"]; +export type TCreateOauthProvidersResponse = + operations["PublicApiService_CreateOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["createOauthProvidersResult"] & + definitions["v1ActivityResponse"]; export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; -export type TCreateOauthProvidersBody = operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateOauthProvidersBody = + operations["PublicApiService_CreateOauthProviders"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePoliciesResponse = operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & definitions["v1ActivityResponse"]; +export type TCreatePoliciesResponse = + operations["PublicApiService_CreatePolicies"]["responses"]["200"]["schema"]["activity"]["result"]["createPoliciesResult"] & + definitions["v1ActivityResponse"]; export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; -export type TCreatePoliciesBody = operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePoliciesBody = + operations["PublicApiService_CreatePolicies"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePolicyResponse = operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & definitions["v1ActivityResponse"]; +export type TCreatePolicyResponse = + operations["PublicApiService_CreatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["createPolicyResult"] & + definitions["v1ActivityResponse"]; export type TCreatePolicyInput = { body: TCreatePolicyBody }; -export type TCreatePolicyBody = operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePolicyBody = + operations["PublicApiService_CreatePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePrivateKeyTagResponse = operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & definitions["v1ActivityResponse"]; +export type TCreatePrivateKeyTagResponse = + operations["PublicApiService_CreatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeyTagResult"] & + definitions["v1ActivityResponse"]; export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; -export type TCreatePrivateKeyTagBody = operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePrivateKeyTagBody = + operations["PublicApiService_CreatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreatePrivateKeysResponse = operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & definitions["v1ActivityResponse"]; +export type TCreatePrivateKeysResponse = + operations["PublicApiService_CreatePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["createPrivateKeysResultV2"] & + definitions["v1ActivityResponse"]; export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; -export type TCreatePrivateKeysBody = operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreatePrivateKeysBody = + operations["PublicApiService_CreatePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateReadOnlySessionResponse = operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & definitions["v1ActivityResponse"]; +export type TCreateReadOnlySessionResponse = + operations["PublicApiService_CreateReadOnlySession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadOnlySessionResult"] & + definitions["v1ActivityResponse"]; export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; -export type TCreateReadOnlySessionBody = operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateReadOnlySessionBody = + operations["PublicApiService_CreateReadOnlySession"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateReadWriteSessionResponse = operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & definitions["v1ActivityResponse"]; +export type TCreateReadWriteSessionResponse = + operations["PublicApiService_CreateReadWriteSession"]["responses"]["200"]["schema"]["activity"]["result"]["createReadWriteSessionResultV2"] & + definitions["v1ActivityResponse"]; -export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; +export type TCreateReadWriteSessionInput = { + body: TCreateReadWriteSessionBody; +}; -export type TCreateReadWriteSessionBody = operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateReadWriteSessionBody = + operations["PublicApiService_CreateReadWriteSession"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateSmartContractInterfaceResponse = operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; +export type TCreateSmartContractInterfaceResponse = + operations["PublicApiService_CreateSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["createSmartContractInterfaceResult"] & + definitions["v1ActivityResponse"]; -export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; +export type TCreateSmartContractInterfaceInput = { + body: TCreateSmartContractInterfaceBody; +}; -export type TCreateSmartContractInterfaceBody = operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateSmartContractInterfaceBody = + operations["PublicApiService_CreateSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateSubOrganizationResponse = operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & definitions["v1ActivityResponse"]; +export type TCreateSubOrganizationResponse = + operations["PublicApiService_CreateSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["createSubOrganizationResultV7"] & + definitions["v1ActivityResponse"]; export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; -export type TCreateSubOrganizationBody = operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateSubOrganizationBody = + operations["PublicApiService_CreateSubOrganization"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateUserTagResponse = operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & definitions["v1ActivityResponse"]; +export type TCreateUserTagResponse = + operations["PublicApiService_CreateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["createUserTagResult"] & + definitions["v1ActivityResponse"]; export type TCreateUserTagInput = { body: TCreateUserTagBody }; -export type TCreateUserTagBody = operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateUserTagBody = + operations["PublicApiService_CreateUserTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateUsersResponse = operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & definitions["v1ActivityResponse"]; +export type TCreateUsersResponse = + operations["PublicApiService_CreateUsers"]["responses"]["200"]["schema"]["activity"]["result"]["createUsersResult"] & + definitions["v1ActivityResponse"]; export type TCreateUsersInput = { body: TCreateUsersBody }; -export type TCreateUsersBody = operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateUsersBody = + operations["PublicApiService_CreateUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateWalletResponse = operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & definitions["v1ActivityResponse"]; +export type TCreateWalletResponse = + operations["PublicApiService_CreateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletResult"] & + definitions["v1ActivityResponse"]; export type TCreateWalletInput = { body: TCreateWalletBody }; -export type TCreateWalletBody = operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateWalletBody = + operations["PublicApiService_CreateWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TCreateWalletAccountsResponse = operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & definitions["v1ActivityResponse"]; +export type TCreateWalletAccountsResponse = + operations["PublicApiService_CreateWalletAccounts"]["responses"]["200"]["schema"]["activity"]["result"]["createWalletAccountsResult"] & + definitions["v1ActivityResponse"]; export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; -export type TCreateWalletAccountsBody = operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TCreateWalletAccountsBody = + operations["PublicApiService_CreateWalletAccounts"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteApiKeysResponse = operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & definitions["v1ActivityResponse"]; +export type TDeleteApiKeysResponse = + operations["PublicApiService_DeleteApiKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deleteApiKeysResult"] & + definitions["v1ActivityResponse"]; export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; -export type TDeleteApiKeysBody = operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteApiKeysBody = + operations["PublicApiService_DeleteApiKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteAuthenticatorsResponse = operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteAuthenticatorsResponse = + operations["PublicApiService_DeleteAuthenticators"]["responses"]["200"]["schema"]["activity"]["result"]["deleteAuthenticatorsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; -export type TDeleteAuthenticatorsBody = operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteAuthenticatorsBody = + operations["PublicApiService_DeleteAuthenticators"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteInvitationResponse = operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & definitions["v1ActivityResponse"]; +export type TDeleteInvitationResponse = + operations["PublicApiService_DeleteInvitation"]["responses"]["200"]["schema"]["activity"]["result"]["deleteInvitationResult"] & + definitions["v1ActivityResponse"]; export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; -export type TDeleteInvitationBody = operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteInvitationBody = + operations["PublicApiService_DeleteInvitation"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteOauth2CredentialResponse = operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TDeleteOauth2CredentialResponse = + operations["PublicApiService_DeleteOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; +export type TDeleteOauth2CredentialInput = { + body: TDeleteOauth2CredentialBody; +}; -export type TDeleteOauth2CredentialBody = operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteOauth2CredentialBody = + operations["PublicApiService_DeleteOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteOauthProvidersResponse = operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & definitions["v1ActivityResponse"]; +export type TDeleteOauthProvidersResponse = + operations["PublicApiService_DeleteOauthProviders"]["responses"]["200"]["schema"]["activity"]["result"]["deleteOauthProvidersResult"] & + definitions["v1ActivityResponse"]; export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; -export type TDeleteOauthProvidersBody = operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteOauthProvidersBody = + operations["PublicApiService_DeleteOauthProviders"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePolicyResponse = operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & definitions["v1ActivityResponse"]; +export type TDeletePolicyResponse = + operations["PublicApiService_DeletePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["deletePolicyResult"] & + definitions["v1ActivityResponse"]; export type TDeletePolicyInput = { body: TDeletePolicyBody }; -export type TDeletePolicyBody = operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePolicyBody = + operations["PublicApiService_DeletePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePrivateKeyTagsResponse = operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & definitions["v1ActivityResponse"]; +export type TDeletePrivateKeyTagsResponse = + operations["PublicApiService_DeletePrivateKeyTags"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeyTagsResult"] & + definitions["v1ActivityResponse"]; export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; -export type TDeletePrivateKeyTagsBody = operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePrivateKeyTagsBody = + operations["PublicApiService_DeletePrivateKeyTags"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeletePrivateKeysResponse = operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & definitions["v1ActivityResponse"]; +export type TDeletePrivateKeysResponse = + operations["PublicApiService_DeletePrivateKeys"]["responses"]["200"]["schema"]["activity"]["result"]["deletePrivateKeysResult"] & + definitions["v1ActivityResponse"]; export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; -export type TDeletePrivateKeysBody = operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeletePrivateKeysBody = + operations["PublicApiService_DeletePrivateKeys"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteSmartContractInterfaceResponse = operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & definitions["v1ActivityResponse"]; +export type TDeleteSmartContractInterfaceResponse = + operations["PublicApiService_DeleteSmartContractInterface"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSmartContractInterfaceResult"] & + definitions["v1ActivityResponse"]; -export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; +export type TDeleteSmartContractInterfaceInput = { + body: TDeleteSmartContractInterfaceBody; +}; -export type TDeleteSmartContractInterfaceBody = operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteSmartContractInterfaceBody = + operations["PublicApiService_DeleteSmartContractInterface"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteSubOrganizationResponse = operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & definitions["v1ActivityResponse"]; +export type TDeleteSubOrganizationResponse = + operations["PublicApiService_DeleteSubOrganization"]["responses"]["200"]["schema"]["activity"]["result"]["deleteSubOrganizationResult"] & + definitions["v1ActivityResponse"]; export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; -export type TDeleteSubOrganizationBody = operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteSubOrganizationBody = + operations["PublicApiService_DeleteSubOrganization"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteUserTagsResponse = operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteUserTagsResponse = + operations["PublicApiService_DeleteUserTags"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUserTagsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; -export type TDeleteUserTagsBody = operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteUserTagsBody = + operations["PublicApiService_DeleteUserTags"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteUsersResponse = operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & definitions["v1ActivityResponse"]; +export type TDeleteUsersResponse = + operations["PublicApiService_DeleteUsers"]["responses"]["200"]["schema"]["activity"]["result"]["deleteUsersResult"] & + definitions["v1ActivityResponse"]; export type TDeleteUsersInput = { body: TDeleteUsersBody }; -export type TDeleteUsersBody = operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteUsersBody = + operations["PublicApiService_DeleteUsers"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TDeleteWalletsResponse = operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & definitions["v1ActivityResponse"]; +export type TDeleteWalletsResponse = + operations["PublicApiService_DeleteWallets"]["responses"]["200"]["schema"]["activity"]["result"]["deleteWalletsResult"] & + definitions["v1ActivityResponse"]; export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; -export type TDeleteWalletsBody = operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TDeleteWalletsBody = + operations["PublicApiService_DeleteWallets"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TEmailAuthResponse = operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & definitions["v1ActivityResponse"]; +export type TEmailAuthResponse = + operations["PublicApiService_EmailAuth"]["responses"]["200"]["schema"]["activity"]["result"]["emailAuthResult"] & + definitions["v1ActivityResponse"]; export type TEmailAuthInput = { body: TEmailAuthBody }; -export type TEmailAuthBody = operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TEmailAuthBody = + operations["PublicApiService_EmailAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportPrivateKeyResponse = operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TExportPrivateKeyResponse = + operations["PublicApiService_ExportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["exportPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; -export type TExportPrivateKeyBody = operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportPrivateKeyBody = + operations["PublicApiService_ExportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportWalletResponse = operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & definitions["v1ActivityResponse"]; +export type TExportWalletResponse = + operations["PublicApiService_ExportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletResult"] & + definitions["v1ActivityResponse"]; export type TExportWalletInput = { body: TExportWalletBody }; -export type TExportWalletBody = operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportWalletBody = + operations["PublicApiService_ExportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TExportWalletAccountResponse = operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & definitions["v1ActivityResponse"]; +export type TExportWalletAccountResponse = + operations["PublicApiService_ExportWalletAccount"]["responses"]["200"]["schema"]["activity"]["result"]["exportWalletAccountResult"] & + definitions["v1ActivityResponse"]; export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; -export type TExportWalletAccountBody = operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TExportWalletAccountBody = + operations["PublicApiService_ExportWalletAccount"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TImportPrivateKeyResponse = operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TImportPrivateKeyResponse = + operations["PublicApiService_ImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["importPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; -export type TImportPrivateKeyBody = operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TImportPrivateKeyBody = + operations["PublicApiService_ImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TImportWalletResponse = operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & definitions["v1ActivityResponse"]; +export type TImportWalletResponse = + operations["PublicApiService_ImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["importWalletResult"] & + definitions["v1ActivityResponse"]; export type TImportWalletInput = { body: TImportWalletBody }; -export type TImportWalletBody = operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TImportWalletBody = + operations["PublicApiService_ImportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitFiatOnRampResponse = operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & definitions["v1ActivityResponse"]; +export type TInitFiatOnRampResponse = + operations["PublicApiService_InitFiatOnRamp"]["responses"]["200"]["schema"]["activity"]["result"]["initFiatOnRampResult"] & + definitions["v1ActivityResponse"]; export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; -export type TInitFiatOnRampBody = operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitFiatOnRampBody = + operations["PublicApiService_InitFiatOnRamp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitImportPrivateKeyResponse = operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & definitions["v1ActivityResponse"]; +export type TInitImportPrivateKeyResponse = + operations["PublicApiService_InitImportPrivateKey"]["responses"]["200"]["schema"]["activity"]["result"]["initImportPrivateKeyResult"] & + definitions["v1ActivityResponse"]; export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; -export type TInitImportPrivateKeyBody = operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitImportPrivateKeyBody = + operations["PublicApiService_InitImportPrivateKey"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitImportWalletResponse = operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & definitions["v1ActivityResponse"]; +export type TInitImportWalletResponse = + operations["PublicApiService_InitImportWallet"]["responses"]["200"]["schema"]["activity"]["result"]["initImportWalletResult"] & + definitions["v1ActivityResponse"]; export type TInitImportWalletInput = { body: TInitImportWalletBody }; -export type TInitImportWalletBody = operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitImportWalletBody = + operations["PublicApiService_InitImportWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitOtpResponse = operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & definitions["v1ActivityResponse"]; +export type TInitOtpResponse = + operations["PublicApiService_InitOtp"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpResult"] & + definitions["v1ActivityResponse"]; export type TInitOtpInput = { body: TInitOtpBody }; -export type TInitOtpBody = operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitOtpBody = + operations["PublicApiService_InitOtp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitOtpAuthResponse = operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & definitions["v1ActivityResponse"]; +export type TInitOtpAuthResponse = + operations["PublicApiService_InitOtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["initOtpAuthResultV2"] & + definitions["v1ActivityResponse"]; export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; -export type TInitOtpAuthBody = operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitOtpAuthBody = + operations["PublicApiService_InitOtpAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TInitUserEmailRecoveryResponse = operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & definitions["v1ActivityResponse"]; +export type TInitUserEmailRecoveryResponse = + operations["PublicApiService_InitUserEmailRecovery"]["responses"]["200"]["schema"]["activity"]["result"]["initUserEmailRecoveryResult"] & + definitions["v1ActivityResponse"]; export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; -export type TInitUserEmailRecoveryBody = operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TInitUserEmailRecoveryBody = + operations["PublicApiService_InitUserEmailRecovery"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauthResponse = operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & definitions["v1ActivityResponse"]; +export type TOauthResponse = + operations["PublicApiService_Oauth"]["responses"]["200"]["schema"]["activity"]["result"]["oauthResult"] & + definitions["v1ActivityResponse"]; export type TOauthInput = { body: TOauthBody }; -export type TOauthBody = operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauthBody = + operations["PublicApiService_Oauth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauth2AuthenticateResponse = operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & definitions["v1ActivityResponse"]; +export type TOauth2AuthenticateResponse = + operations["PublicApiService_Oauth2Authenticate"]["responses"]["200"]["schema"]["activity"]["result"]["oauth2AuthenticateResult"] & + definitions["v1ActivityResponse"]; export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; -export type TOauth2AuthenticateBody = operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauth2AuthenticateBody = + operations["PublicApiService_Oauth2Authenticate"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOauthLoginResponse = operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & definitions["v1ActivityResponse"]; +export type TOauthLoginResponse = + operations["PublicApiService_OauthLogin"]["responses"]["200"]["schema"]["activity"]["result"]["oauthLoginResult"] & + definitions["v1ActivityResponse"]; export type TOauthLoginInput = { body: TOauthLoginBody }; -export type TOauthLoginBody = operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOauthLoginBody = + operations["PublicApiService_OauthLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOtpAuthResponse = operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & definitions["v1ActivityResponse"]; +export type TOtpAuthResponse = + operations["PublicApiService_OtpAuth"]["responses"]["200"]["schema"]["activity"]["result"]["otpAuthResult"] & + definitions["v1ActivityResponse"]; export type TOtpAuthInput = { body: TOtpAuthBody }; -export type TOtpAuthBody = operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOtpAuthBody = + operations["PublicApiService_OtpAuth"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TOtpLoginResponse = operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & definitions["v1ActivityResponse"]; +export type TOtpLoginResponse = + operations["PublicApiService_OtpLogin"]["responses"]["200"]["schema"]["activity"]["result"]["otpLoginResult"] & + definitions["v1ActivityResponse"]; export type TOtpLoginInput = { body: TOtpLoginBody }; -export type TOtpLoginBody = operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TOtpLoginBody = + operations["PublicApiService_OtpLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRecoverUserResponse = operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & definitions["v1ActivityResponse"]; +export type TRecoverUserResponse = + operations["PublicApiService_RecoverUser"]["responses"]["200"]["schema"]["activity"]["result"]["recoverUserResult"] & + definitions["v1ActivityResponse"]; export type TRecoverUserInput = { body: TRecoverUserBody }; -export type TRecoverUserBody = operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRecoverUserBody = + operations["PublicApiService_RecoverUser"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRejectActivityResponse = operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & definitions["v1ActivityResponse"]; +export type TRejectActivityResponse = + operations["PublicApiService_RejectActivity"]["responses"]["200"]["schema"]["activity"]["result"] & + definitions["v1ActivityResponse"]; export type TRejectActivityInput = { body: TRejectActivityBody }; -export type TRejectActivityBody = operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRejectActivityBody = + operations["PublicApiService_RejectActivity"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TRemoveOrganizationFeatureResponse = operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; +export type TRemoveOrganizationFeatureResponse = + operations["PublicApiService_RemoveOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["removeOrganizationFeatureResult"] & + definitions["v1ActivityResponse"]; -export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; +export type TRemoveOrganizationFeatureInput = { + body: TRemoveOrganizationFeatureBody; +}; -export type TRemoveOrganizationFeatureBody = operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TRemoveOrganizationFeatureBody = + operations["PublicApiService_RemoveOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSetOrganizationFeatureResponse = operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & definitions["v1ActivityResponse"]; +export type TSetOrganizationFeatureResponse = + operations["PublicApiService_SetOrganizationFeature"]["responses"]["200"]["schema"]["activity"]["result"]["setOrganizationFeatureResult"] & + definitions["v1ActivityResponse"]; -export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; +export type TSetOrganizationFeatureInput = { + body: TSetOrganizationFeatureBody; +}; -export type TSetOrganizationFeatureBody = operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSetOrganizationFeatureBody = + operations["PublicApiService_SetOrganizationFeature"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignRawPayloadResponse = operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & definitions["v1ActivityResponse"]; +export type TSignRawPayloadResponse = + operations["PublicApiService_SignRawPayload"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadResult"] & + definitions["v1ActivityResponse"]; export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; -export type TSignRawPayloadBody = operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignRawPayloadBody = + operations["PublicApiService_SignRawPayload"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignRawPayloadsResponse = operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & definitions["v1ActivityResponse"]; +export type TSignRawPayloadsResponse = + operations["PublicApiService_SignRawPayloads"]["responses"]["200"]["schema"]["activity"]["result"]["signRawPayloadsResult"] & + definitions["v1ActivityResponse"]; export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; -export type TSignRawPayloadsBody = operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignRawPayloadsBody = + operations["PublicApiService_SignRawPayloads"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TSignTransactionResponse = operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & definitions["v1ActivityResponse"]; +export type TSignTransactionResponse = + operations["PublicApiService_SignTransaction"]["responses"]["200"]["schema"]["activity"]["result"]["signTransactionResult"] & + definitions["v1ActivityResponse"]; export type TSignTransactionInput = { body: TSignTransactionBody }; -export type TSignTransactionBody = operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TSignTransactionBody = + operations["PublicApiService_SignTransaction"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TStampLoginResponse = operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & definitions["v1ActivityResponse"]; +export type TStampLoginResponse = + operations["PublicApiService_StampLogin"]["responses"]["200"]["schema"]["activity"]["result"]["stampLoginResult"] & + definitions["v1ActivityResponse"]; export type TStampLoginInput = { body: TStampLoginBody }; -export type TStampLoginBody = operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TStampLoginBody = + operations["PublicApiService_StampLogin"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateOauth2CredentialResponse = operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & definitions["v1ActivityResponse"]; +export type TUpdateOauth2CredentialResponse = + operations["PublicApiService_UpdateOauth2Credential"]["responses"]["200"]["schema"]["activity"]["result"]["updateOauth2CredentialResult"] & + definitions["v1ActivityResponse"]; -export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; +export type TUpdateOauth2CredentialInput = { + body: TUpdateOauth2CredentialBody; +}; -export type TUpdateOauth2CredentialBody = operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateOauth2CredentialBody = + operations["PublicApiService_UpdateOauth2Credential"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdatePolicyResponse = operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & definitions["v1ActivityResponse"]; +export type TUpdatePolicyResponse = + operations["PublicApiService_UpdatePolicy"]["responses"]["200"]["schema"]["activity"]["result"]["updatePolicyResultV2"] & + definitions["v1ActivityResponse"]; export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; -export type TUpdatePolicyBody = operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdatePolicyBody = + operations["PublicApiService_UpdatePolicy"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdatePrivateKeyTagResponse = operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & definitions["v1ActivityResponse"]; +export type TUpdatePrivateKeyTagResponse = + operations["PublicApiService_UpdatePrivateKeyTag"]["responses"]["200"]["schema"]["activity"]["result"]["updatePrivateKeyTagResult"] & + definitions["v1ActivityResponse"]; export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; -export type TUpdatePrivateKeyTagBody = operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdatePrivateKeyTagBody = + operations["PublicApiService_UpdatePrivateKeyTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateRootQuorumResponse = operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & definitions["v1ActivityResponse"]; +export type TUpdateRootQuorumResponse = + operations["PublicApiService_UpdateRootQuorum"]["responses"]["200"]["schema"]["activity"]["result"]["updateRootQuorumResult"] & + definitions["v1ActivityResponse"]; export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; -export type TUpdateRootQuorumBody = operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateRootQuorumBody = + operations["PublicApiService_UpdateRootQuorum"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserResponse = operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserResponse = + operations["PublicApiService_UpdateUser"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserInput = { body: TUpdateUserBody }; -export type TUpdateUserBody = operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserBody = + operations["PublicApiService_UpdateUser"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserEmailResponse = operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserEmailResponse = + operations["PublicApiService_UpdateUserEmail"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserEmailResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; -export type TUpdateUserEmailBody = operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserEmailBody = + operations["PublicApiService_UpdateUserEmail"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserNameResponse = operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserNameResponse = + operations["PublicApiService_UpdateUserName"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserNameResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; -export type TUpdateUserNameBody = operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserNameBody = + operations["PublicApiService_UpdateUserName"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserPhoneNumberResponse = operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserPhoneNumberResponse = + operations["PublicApiService_UpdateUserPhoneNumber"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserPhoneNumberResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; -export type TUpdateUserPhoneNumberBody = operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserPhoneNumberBody = + operations["PublicApiService_UpdateUserPhoneNumber"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateUserTagResponse = operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & definitions["v1ActivityResponse"]; +export type TUpdateUserTagResponse = + operations["PublicApiService_UpdateUserTag"]["responses"]["200"]["schema"]["activity"]["result"]["updateUserTagResult"] & + definitions["v1ActivityResponse"]; export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; -export type TUpdateUserTagBody = operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateUserTagBody = + operations["PublicApiService_UpdateUserTag"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TUpdateWalletResponse = operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & definitions["v1ActivityResponse"]; +export type TUpdateWalletResponse = + operations["PublicApiService_UpdateWallet"]["responses"]["200"]["schema"]["activity"]["result"]["updateWalletResult"] & + definitions["v1ActivityResponse"]; export type TUpdateWalletInput = { body: TUpdateWalletBody }; -export type TUpdateWalletBody = operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TUpdateWalletBody = + operations["PublicApiService_UpdateWallet"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TVerifyOtpResponse = operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & definitions["v1ActivityResponse"]; +export type TVerifyOtpResponse = + operations["PublicApiService_VerifyOtp"]["responses"]["200"]["schema"]["activity"]["result"]["verifyOtpResult"] & + definitions["v1ActivityResponse"]; export type TVerifyOtpInput = { body: TVerifyOtpBody }; -export type TVerifyOtpBody = operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & commandOverrideParams; +export type TVerifyOtpBody = + operations["PublicApiService_VerifyOtp"]["parameters"]["body"]["body"]["parameters"] & + commandOverrideParams; -export type TNOOPCodegenAnchorResponse = operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; +export type TNOOPCodegenAnchorResponse = + operations["PublicApiService_NOOPCodegenAnchor"]["responses"]["200"]["schema"]; -export type TTestRateLimitsResponse = operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; +export type TTestRateLimitsResponse = + operations["PublicApiService_TestRateLimits"]["responses"]["200"]["schema"]; export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; -export type TTestRateLimitsBody = Omit & queryOverrideParams; \ No newline at end of file +export type TTestRateLimitsBody = Omit< + operations["PublicApiService_TestRateLimits"]["parameters"]["body"]["body"], + "organizationId" +> & + queryOverrideParams; diff --git a/packages/sdk-server/src/actions.ts b/packages/sdk-server/src/actions.ts index 16861ac75..b4dacb68a 100644 --- a/packages/sdk-server/src/actions.ts +++ b/packages/sdk-server/src/actions.ts @@ -1,26 +1,26 @@ "use server"; import { - CreateOauthProvidersRequest, - CreateOauthProvidersResponse, - OauthLoginRequest, - OauthLoginResponse, - OtpLoginRequest, - OtpLoginResponse, - CreateSuborgRequest, - CreateSuborgResponse, + type CreateOauthProvidersRequest, + type CreateOauthProvidersResponse, + type OauthLoginRequest, + type OauthLoginResponse, + type OtpLoginRequest, + type OtpLoginResponse, + type CreateSuborgRequest, + type CreateSuborgResponse, FilterType, - GetOrCreateSuborgRequest, - GetOrCreateSuborgResponse, - GetSuborgsRequest, - GetSuborgsResponse, - GetUsersRequest, - GetUsersResponse, - InitEmailAuthRequest, - SendOtpRequest, - SendOtpResponse, - VerifyOtpRequest, - VerifyOtpResponse, + type GetOrCreateSuborgRequest, + type GetOrCreateSuborgResponse, + type GetSuborgsRequest, + type GetSuborgsResponse, + type GetUsersRequest, + type GetUsersResponse, + type InitEmailAuthRequest, + type SendOtpRequest, + type SendOtpResponse, + type VerifyOtpRequest, + type VerifyOtpResponse, } from "./__types__/base"; import { TurnkeyServerSDK } from "./sdk-client"; import { diff --git a/packages/sdk-types/src/__generated__/types.ts b/packages/sdk-types/src/__generated__/types.ts index 20d83ffe5..b85982bf1 100644 --- a/packages/sdk-types/src/__generated__/types.ts +++ b/packages/sdk-types/src/__generated__/types.ts @@ -157,9 +157,9 @@ export type v1AcceptInvitationResult = { }; export type v1AccessType = - "ACCESS_TYPE_WEB" | - "ACCESS_TYPE_API" | - "ACCESS_TYPE_ALL"; + | "ACCESS_TYPE_WEB" + | "ACCESS_TYPE_API" + | "ACCESS_TYPE_ALL"; export type v1Activity = { /** Unique identifier for a given Activity object. */ @@ -192,153 +192,153 @@ export type v1ActivityResponse = { }; export type v1ActivityStatus = - "ACTIVITY_STATUS_CREATED" | - "ACTIVITY_STATUS_PENDING" | - "ACTIVITY_STATUS_COMPLETED" | - "ACTIVITY_STATUS_FAILED" | - "ACTIVITY_STATUS_CONSENSUS_NEEDED" | - "ACTIVITY_STATUS_REJECTED"; + | "ACTIVITY_STATUS_CREATED" + | "ACTIVITY_STATUS_PENDING" + | "ACTIVITY_STATUS_COMPLETED" + | "ACTIVITY_STATUS_FAILED" + | "ACTIVITY_STATUS_CONSENSUS_NEEDED" + | "ACTIVITY_STATUS_REJECTED"; export type v1ActivityType = - "ACTIVITY_TYPE_CREATE_API_KEYS" | - "ACTIVITY_TYPE_CREATE_USERS" | - "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | - "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | - "ACTIVITY_TYPE_CREATE_INVITATIONS" | - "ACTIVITY_TYPE_ACCEPT_INVITATION" | - "ACTIVITY_TYPE_CREATE_POLICY" | - "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | - "ACTIVITY_TYPE_DELETE_USERS" | - "ACTIVITY_TYPE_DELETE_API_KEYS" | - "ACTIVITY_TYPE_DELETE_INVITATION" | - "ACTIVITY_TYPE_DELETE_ORGANIZATION" | - "ACTIVITY_TYPE_DELETE_POLICY" | - "ACTIVITY_TYPE_CREATE_USER_TAG" | - "ACTIVITY_TYPE_DELETE_USER_TAGS" | - "ACTIVITY_TYPE_CREATE_ORGANIZATION" | - "ACTIVITY_TYPE_SIGN_TRANSACTION" | - "ACTIVITY_TYPE_APPROVE_ACTIVITY" | - "ACTIVITY_TYPE_REJECT_ACTIVITY" | - "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | - "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | - "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | - "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | - "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | - "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | - "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | - "ACTIVITY_TYPE_CREATE_POLICY_V2" | - "ACTIVITY_TYPE_CREATE_POLICY_V3" | - "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | - "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | - "ACTIVITY_TYPE_UPDATE_USER_TAG" | - "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | - "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | - "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | - "ACTIVITY_TYPE_CREATE_USERS_V2" | - "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | - "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | - "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | - "ACTIVITY_TYPE_UPDATE_USER" | - "ACTIVITY_TYPE_UPDATE_POLICY" | - "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | - "ACTIVITY_TYPE_CREATE_WALLET" | - "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | - "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | - "ACTIVITY_TYPE_RECOVER_USER" | - "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | - "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | - "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | - "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | - "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | - "ACTIVITY_TYPE_EXPORT_WALLET" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | - "ACTIVITY_TYPE_EMAIL_AUTH" | - "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | - "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | - "ACTIVITY_TYPE_IMPORT_WALLET" | - "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | - "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | - "ACTIVITY_TYPE_CREATE_POLICIES" | - "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | - "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | - "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | - "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | - "ACTIVITY_TYPE_OAUTH" | - "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | - "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | - "ACTIVITY_TYPE_EMAIL_AUTH_V2" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | - "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | - "ACTIVITY_TYPE_DELETE_WALLETS" | - "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | - "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | - "ACTIVITY_TYPE_INIT_OTP_AUTH" | - "ACTIVITY_TYPE_OTP_AUTH" | - "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | - "ACTIVITY_TYPE_UPDATE_WALLET" | - "ACTIVITY_TYPE_UPDATE_POLICY_V2" | - "ACTIVITY_TYPE_CREATE_USERS_V3" | - "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | - "ACTIVITY_TYPE_INIT_OTP" | - "ACTIVITY_TYPE_VERIFY_OTP" | - "ACTIVITY_TYPE_OTP_LOGIN" | - "ACTIVITY_TYPE_STAMP_LOGIN" | - "ACTIVITY_TYPE_OAUTH_LOGIN" | - "ACTIVITY_TYPE_UPDATE_USER_NAME" | - "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | - "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | - "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | - "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | - "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | - "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | - "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | - "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | - "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | - "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | - "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | - "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"; + | "ACTIVITY_TYPE_CREATE_API_KEYS" + | "ACTIVITY_TYPE_CREATE_USERS" + | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" + | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" + | "ACTIVITY_TYPE_CREATE_INVITATIONS" + | "ACTIVITY_TYPE_ACCEPT_INVITATION" + | "ACTIVITY_TYPE_CREATE_POLICY" + | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" + | "ACTIVITY_TYPE_DELETE_USERS" + | "ACTIVITY_TYPE_DELETE_API_KEYS" + | "ACTIVITY_TYPE_DELETE_INVITATION" + | "ACTIVITY_TYPE_DELETE_ORGANIZATION" + | "ACTIVITY_TYPE_DELETE_POLICY" + | "ACTIVITY_TYPE_CREATE_USER_TAG" + | "ACTIVITY_TYPE_DELETE_USER_TAGS" + | "ACTIVITY_TYPE_CREATE_ORGANIZATION" + | "ACTIVITY_TYPE_SIGN_TRANSACTION" + | "ACTIVITY_TYPE_APPROVE_ACTIVITY" + | "ACTIVITY_TYPE_REJECT_ACTIVITY" + | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" + | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" + | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" + | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" + | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" + | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" + | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" + | "ACTIVITY_TYPE_CREATE_POLICY_V2" + | "ACTIVITY_TYPE_CREATE_POLICY_V3" + | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" + | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" + | "ACTIVITY_TYPE_UPDATE_USER_TAG" + | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" + | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" + | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" + | "ACTIVITY_TYPE_CREATE_USERS_V2" + | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" + | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" + | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" + | "ACTIVITY_TYPE_UPDATE_USER" + | "ACTIVITY_TYPE_UPDATE_POLICY" + | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" + | "ACTIVITY_TYPE_CREATE_WALLET" + | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" + | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" + | "ACTIVITY_TYPE_RECOVER_USER" + | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" + | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" + | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" + | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" + | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" + | "ACTIVITY_TYPE_EXPORT_WALLET" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" + | "ACTIVITY_TYPE_EMAIL_AUTH" + | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" + | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" + | "ACTIVITY_TYPE_IMPORT_WALLET" + | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" + | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" + | "ACTIVITY_TYPE_CREATE_POLICIES" + | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" + | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" + | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" + | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" + | "ACTIVITY_TYPE_OAUTH" + | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" + | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" + | "ACTIVITY_TYPE_EMAIL_AUTH_V2" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" + | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" + | "ACTIVITY_TYPE_DELETE_WALLETS" + | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" + | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" + | "ACTIVITY_TYPE_INIT_OTP_AUTH" + | "ACTIVITY_TYPE_OTP_AUTH" + | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" + | "ACTIVITY_TYPE_UPDATE_WALLET" + | "ACTIVITY_TYPE_UPDATE_POLICY_V2" + | "ACTIVITY_TYPE_CREATE_USERS_V3" + | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" + | "ACTIVITY_TYPE_INIT_OTP" + | "ACTIVITY_TYPE_VERIFY_OTP" + | "ACTIVITY_TYPE_OTP_LOGIN" + | "ACTIVITY_TYPE_STAMP_LOGIN" + | "ACTIVITY_TYPE_OAUTH_LOGIN" + | "ACTIVITY_TYPE_UPDATE_USER_NAME" + | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" + | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" + | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" + | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" + | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" + | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" + | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" + | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" + | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" + | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" + | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" + | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"; export type v1AddressFormat = - "ADDRESS_FORMAT_UNCOMPRESSED" | - "ADDRESS_FORMAT_COMPRESSED" | - "ADDRESS_FORMAT_ETHEREUM" | - "ADDRESS_FORMAT_SOLANA" | - "ADDRESS_FORMAT_COSMOS" | - "ADDRESS_FORMAT_TRON" | - "ADDRESS_FORMAT_SUI" | - "ADDRESS_FORMAT_APTOS" | - "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | - "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | - "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | - "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | - "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | - "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | - "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | - "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | - "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | - "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | - "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | - "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | - "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | - "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | - "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | - "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | - "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | - "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | - "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | - "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | - "ADDRESS_FORMAT_SEI" | - "ADDRESS_FORMAT_XLM" | - "ADDRESS_FORMAT_DOGE_MAINNET" | - "ADDRESS_FORMAT_DOGE_TESTNET" | - "ADDRESS_FORMAT_TON_V3R2" | - "ADDRESS_FORMAT_TON_V4R2" | - "ADDRESS_FORMAT_TON_V5R1" | - "ADDRESS_FORMAT_XRP"; + | "ADDRESS_FORMAT_UNCOMPRESSED" + | "ADDRESS_FORMAT_COMPRESSED" + | "ADDRESS_FORMAT_ETHEREUM" + | "ADDRESS_FORMAT_SOLANA" + | "ADDRESS_FORMAT_COSMOS" + | "ADDRESS_FORMAT_TRON" + | "ADDRESS_FORMAT_SUI" + | "ADDRESS_FORMAT_APTOS" + | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" + | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" + | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" + | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" + | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" + | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" + | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" + | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" + | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" + | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" + | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" + | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" + | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" + | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" + | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" + | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" + | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" + | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" + | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" + | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" + | "ADDRESS_FORMAT_SEI" + | "ADDRESS_FORMAT_XLM" + | "ADDRESS_FORMAT_DOGE_MAINNET" + | "ADDRESS_FORMAT_DOGE_TESTNET" + | "ADDRESS_FORMAT_TON_V3R2" + | "ADDRESS_FORMAT_TON_V4R2" + | "ADDRESS_FORMAT_TON_V5R1" + | "ADDRESS_FORMAT_XRP"; export type v1ApiKey = { /** A User credential that can be used to authenticate to Turnkey. */ @@ -354,9 +354,9 @@ export type v1ApiKey = { }; export type v1ApiKeyCurve = - "API_KEY_CURVE_P256" | - "API_KEY_CURVE_SECP256K1" | - "API_KEY_CURVE_ED25519"; + | "API_KEY_CURVE_P256" + | "API_KEY_CURVE_SECP256K1" + | "API_KEY_CURVE_ED25519"; export type v1ApiKeyParamsV2 = { /** Human-readable name for an API Key. */ @@ -452,11 +452,11 @@ export type v1AuthenticatorParamsV2 = { }; export type v1AuthenticatorTransport = - "AUTHENTICATOR_TRANSPORT_BLE" | - "AUTHENTICATOR_TRANSPORT_INTERNAL" | - "AUTHENTICATOR_TRANSPORT_NFC" | - "AUTHENTICATOR_TRANSPORT_USB" | - "AUTHENTICATOR_TRANSPORT_HYBRID"; + | "AUTHENTICATOR_TRANSPORT_BLE" + | "AUTHENTICATOR_TRANSPORT_INTERNAL" + | "AUTHENTICATOR_TRANSPORT_NFC" + | "AUTHENTICATOR_TRANSPORT_USB" + | "AUTHENTICATOR_TRANSPORT_HYBRID"; export type v1BootProof = { /** The hex encoded Ephemeral Public Key. */ @@ -1122,20 +1122,18 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = { }; export type v1CredentialType = - "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | - "CREDENTIAL_TYPE_API_KEY_P256" | - "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | - "CREDENTIAL_TYPE_API_KEY_SECP256K1" | - "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" | - "CREDENTIAL_TYPE_API_KEY_ED25519" | - "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" | - "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" | - "CREDENTIAL_TYPE_OAUTH_KEY_P256" | - "CREDENTIAL_TYPE_LOGIN"; - -export type v1Curve = - "CURVE_SECP256K1" | - "CURVE_ED25519"; + | "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" + | "CREDENTIAL_TYPE_API_KEY_P256" + | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" + | "CREDENTIAL_TYPE_API_KEY_SECP256K1" + | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" + | "CREDENTIAL_TYPE_API_KEY_ED25519" + | "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" + | "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" + | "CREDENTIAL_TYPE_OAUTH_KEY_P256" + | "CREDENTIAL_TYPE_LOGIN"; + +export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519"; export type v1DeleteApiKeysIntent = { /** Unique identifier for a given User. */ @@ -1420,9 +1418,7 @@ export type v1DisablePrivateKeyResult = { privateKeyId: string; }; -export type v1Effect = - "EFFECT_ALLOW" | - "EFFECT_DENY"; +export type v1Effect = "EFFECT_ALLOW" | "EFFECT_DENY"; export type v1EmailAuthIntent = { /** Email of the authenticating user. */ @@ -1578,81 +1574,81 @@ export type v1Feature = { }; export type v1FeatureName = - "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | - "FEATURE_NAME_WEBAUTHN_ORIGINS" | - "FEATURE_NAME_EMAIL_AUTH" | - "FEATURE_NAME_EMAIL_RECOVERY" | - "FEATURE_NAME_WEBHOOK" | - "FEATURE_NAME_SMS_AUTH" | - "FEATURE_NAME_OTP_EMAIL_AUTH" | - "FEATURE_NAME_AUTH_PROXY"; + | "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" + | "FEATURE_NAME_WEBAUTHN_ORIGINS" + | "FEATURE_NAME_EMAIL_AUTH" + | "FEATURE_NAME_EMAIL_RECOVERY" + | "FEATURE_NAME_WEBHOOK" + | "FEATURE_NAME_SMS_AUTH" + | "FEATURE_NAME_OTP_EMAIL_AUTH" + | "FEATURE_NAME_AUTH_PROXY"; export type v1FiatOnRampBlockchainNetwork = - "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | - "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | - "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | - "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"; + | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" + | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" + | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" + | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"; export type v1FiatOnRampCryptoCurrency = - "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" | - "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH" | - "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL" | - "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"; + | "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" + | "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH" + | "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL" + | "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"; export type v1FiatOnRampCurrency = - "FIAT_ON_RAMP_CURRENCY_AUD" | - "FIAT_ON_RAMP_CURRENCY_BGN" | - "FIAT_ON_RAMP_CURRENCY_BRL" | - "FIAT_ON_RAMP_CURRENCY_CAD" | - "FIAT_ON_RAMP_CURRENCY_CHF" | - "FIAT_ON_RAMP_CURRENCY_COP" | - "FIAT_ON_RAMP_CURRENCY_CZK" | - "FIAT_ON_RAMP_CURRENCY_DKK" | - "FIAT_ON_RAMP_CURRENCY_DOP" | - "FIAT_ON_RAMP_CURRENCY_EGP" | - "FIAT_ON_RAMP_CURRENCY_EUR" | - "FIAT_ON_RAMP_CURRENCY_GBP" | - "FIAT_ON_RAMP_CURRENCY_HKD" | - "FIAT_ON_RAMP_CURRENCY_IDR" | - "FIAT_ON_RAMP_CURRENCY_ILS" | - "FIAT_ON_RAMP_CURRENCY_JOD" | - "FIAT_ON_RAMP_CURRENCY_KES" | - "FIAT_ON_RAMP_CURRENCY_KWD" | - "FIAT_ON_RAMP_CURRENCY_LKR" | - "FIAT_ON_RAMP_CURRENCY_MXN" | - "FIAT_ON_RAMP_CURRENCY_NGN" | - "FIAT_ON_RAMP_CURRENCY_NOK" | - "FIAT_ON_RAMP_CURRENCY_NZD" | - "FIAT_ON_RAMP_CURRENCY_OMR" | - "FIAT_ON_RAMP_CURRENCY_PEN" | - "FIAT_ON_RAMP_CURRENCY_PLN" | - "FIAT_ON_RAMP_CURRENCY_RON" | - "FIAT_ON_RAMP_CURRENCY_SEK" | - "FIAT_ON_RAMP_CURRENCY_THB" | - "FIAT_ON_RAMP_CURRENCY_TRY" | - "FIAT_ON_RAMP_CURRENCY_TWD" | - "FIAT_ON_RAMP_CURRENCY_USD" | - "FIAT_ON_RAMP_CURRENCY_VND" | - "FIAT_ON_RAMP_CURRENCY_ZAR"; + | "FIAT_ON_RAMP_CURRENCY_AUD" + | "FIAT_ON_RAMP_CURRENCY_BGN" + | "FIAT_ON_RAMP_CURRENCY_BRL" + | "FIAT_ON_RAMP_CURRENCY_CAD" + | "FIAT_ON_RAMP_CURRENCY_CHF" + | "FIAT_ON_RAMP_CURRENCY_COP" + | "FIAT_ON_RAMP_CURRENCY_CZK" + | "FIAT_ON_RAMP_CURRENCY_DKK" + | "FIAT_ON_RAMP_CURRENCY_DOP" + | "FIAT_ON_RAMP_CURRENCY_EGP" + | "FIAT_ON_RAMP_CURRENCY_EUR" + | "FIAT_ON_RAMP_CURRENCY_GBP" + | "FIAT_ON_RAMP_CURRENCY_HKD" + | "FIAT_ON_RAMP_CURRENCY_IDR" + | "FIAT_ON_RAMP_CURRENCY_ILS" + | "FIAT_ON_RAMP_CURRENCY_JOD" + | "FIAT_ON_RAMP_CURRENCY_KES" + | "FIAT_ON_RAMP_CURRENCY_KWD" + | "FIAT_ON_RAMP_CURRENCY_LKR" + | "FIAT_ON_RAMP_CURRENCY_MXN" + | "FIAT_ON_RAMP_CURRENCY_NGN" + | "FIAT_ON_RAMP_CURRENCY_NOK" + | "FIAT_ON_RAMP_CURRENCY_NZD" + | "FIAT_ON_RAMP_CURRENCY_OMR" + | "FIAT_ON_RAMP_CURRENCY_PEN" + | "FIAT_ON_RAMP_CURRENCY_PLN" + | "FIAT_ON_RAMP_CURRENCY_RON" + | "FIAT_ON_RAMP_CURRENCY_SEK" + | "FIAT_ON_RAMP_CURRENCY_THB" + | "FIAT_ON_RAMP_CURRENCY_TRY" + | "FIAT_ON_RAMP_CURRENCY_TWD" + | "FIAT_ON_RAMP_CURRENCY_USD" + | "FIAT_ON_RAMP_CURRENCY_VND" + | "FIAT_ON_RAMP_CURRENCY_ZAR"; export type v1FiatOnRampPaymentMethod = - "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | - "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | - "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | - "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | - "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | - "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | - "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | - "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | - "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | - "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | - "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | - "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | - "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"; + | "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" + | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" + | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" + | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" + | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" + | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" + | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" + | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" + | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" + | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" + | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" + | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" + | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"; export type v1FiatOnRampProvider = - "FIAT_ON_RAMP_PROVIDER_COINBASE" | - "FIAT_ON_RAMP_PROVIDER_MOONPAY"; + | "FIAT_ON_RAMP_PROVIDER_COINBASE" + | "FIAT_ON_RAMP_PROVIDER_MOONPAY"; export type v1GetActivitiesRequest = { /** Unique identifier for a given organization. */ @@ -1996,10 +1992,10 @@ export type v1GetWhoamiResponse = { }; export type v1HashFunction = - "HASH_FUNCTION_NO_OP" | - "HASH_FUNCTION_SHA256" | - "HASH_FUNCTION_KECCAK256" | - "HASH_FUNCTION_NOT_APPLICABLE"; + | "HASH_FUNCTION_NO_OP" + | "HASH_FUNCTION_SHA256" + | "HASH_FUNCTION_KECCAK256" + | "HASH_FUNCTION_NOT_APPLICABLE"; export type v1ImportPrivateKeyIntent = { /** The ID of the User importing a Private Key. */ @@ -2400,9 +2396,9 @@ export type v1InvitationParams = { }; export type v1InvitationStatus = - "INVITATION_STATUS_CREATED" | - "INVITATION_STATUS_ACCEPTED" | - "INVITATION_STATUS_REVOKED"; + | "INVITATION_STATUS_CREATED" + | "INVITATION_STATUS_ACCEPTED" + | "INVITATION_STATUS_REVOKED"; export type v1ListOauth2CredentialsRequest = { /** Unique identifier for a given Organization. */ @@ -2434,15 +2430,15 @@ export type v1ListUserTagsResponse = { }; export type v1MnemonicLanguage = - "MNEMONIC_LANGUAGE_ENGLISH" | - "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | - "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | - "MNEMONIC_LANGUAGE_CZECH" | - "MNEMONIC_LANGUAGE_FRENCH" | - "MNEMONIC_LANGUAGE_ITALIAN" | - "MNEMONIC_LANGUAGE_JAPANESE" | - "MNEMONIC_LANGUAGE_KOREAN" | - "MNEMONIC_LANGUAGE_SPANISH"; + | "MNEMONIC_LANGUAGE_ENGLISH" + | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" + | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" + | "MNEMONIC_LANGUAGE_CZECH" + | "MNEMONIC_LANGUAGE_FRENCH" + | "MNEMONIC_LANGUAGE_ITALIAN" + | "MNEMONIC_LANGUAGE_JAPANESE" + | "MNEMONIC_LANGUAGE_KOREAN" + | "MNEMONIC_LANGUAGE_SPANISH"; export type v1NOOPCodegenAnchorResponse = { stamp: v1WebAuthnStamp; @@ -2490,9 +2486,7 @@ export type v1Oauth2Credential = { updatedAt: externaldatav1Timestamp; }; -export type v1Oauth2Provider = - "OAUTH2_PROVIDER_X" | - "OAUTH2_PROVIDER_DISCORD"; +export type v1Oauth2Provider = "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD"; export type v1OauthIntent = { /** Base64 encoded OIDC token */ @@ -2573,17 +2567,17 @@ export type v1OauthResult = { }; export type v1Operator = - "OPERATOR_EQUAL" | - "OPERATOR_MORE_THAN" | - "OPERATOR_MORE_THAN_OR_EQUAL" | - "OPERATOR_LESS_THAN" | - "OPERATOR_LESS_THAN_OR_EQUAL" | - "OPERATOR_CONTAINS" | - "OPERATOR_NOT_EQUAL" | - "OPERATOR_IN" | - "OPERATOR_NOT_IN" | - "OPERATOR_CONTAINS_ONE" | - "OPERATOR_CONTAINS_ALL"; + | "OPERATOR_EQUAL" + | "OPERATOR_MORE_THAN" + | "OPERATOR_MORE_THAN_OR_EQUAL" + | "OPERATOR_LESS_THAN" + | "OPERATOR_LESS_THAN_OR_EQUAL" + | "OPERATOR_CONTAINS" + | "OPERATOR_NOT_EQUAL" + | "OPERATOR_IN" + | "OPERATOR_NOT_IN" + | "OPERATOR_CONTAINS_ONE" + | "OPERATOR_CONTAINS_ALL"; export type v1OrganizationData = { organizationId?: string; @@ -2658,12 +2652,12 @@ export type v1OtpLoginResult = { }; export type v1Outcome = - "OUTCOME_ALLOW" | - "OUTCOME_DENY_EXPLICIT" | - "OUTCOME_DENY_IMPLICIT" | - "OUTCOME_REQUIRES_CONSENSUS" | - "OUTCOME_REJECTED" | - "OUTCOME_ERROR"; + | "OUTCOME_ALLOW" + | "OUTCOME_DENY_EXPLICIT" + | "OUTCOME_DENY_IMPLICIT" + | "OUTCOME_REQUIRES_CONSENSUS" + | "OUTCOME_REJECTED" + | "OUTCOME_ERROR"; export type v1Pagination = { /** A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */ @@ -2674,14 +2668,13 @@ export type v1Pagination = { after?: string; }; -export type v1PathFormat = - "PATH_FORMAT_BIP32"; +export type v1PathFormat = "PATH_FORMAT_BIP32"; export type v1PayloadEncoding = - "PAYLOAD_ENCODING_HEXADECIMAL" | - "PAYLOAD_ENCODING_TEXT_UTF8" | - "PAYLOAD_ENCODING_EIP712" | - "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"; + | "PAYLOAD_ENCODING_HEXADECIMAL" + | "PAYLOAD_ENCODING_TEXT_UTF8" + | "PAYLOAD_ENCODING_EIP712" + | "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"; export type v1Policy = { /** Unique identifier for a given Policy. */ @@ -3099,8 +3092,8 @@ export type v1SmartContractInterfaceReference = { }; export type v1SmartContractInterfaceType = - "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | - "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"; + | "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" + | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"; export type v1SmsCustomizationParams = { /** Template containing references to .OtpCode i.e Your OTP is {{.OtpCode}} */ @@ -3130,9 +3123,7 @@ export type v1StampLoginResult = { session: string; }; -export type v1TagType = - "TAG_TYPE_USER" | - "TAG_TYPE_PRIVATE_KEY"; +export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY"; export type v1TestRateLimitsRequest = { /** Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons. */ @@ -3145,9 +3136,9 @@ export type v1TestRateLimitsRequest = { export type v1TestRateLimitsResponse = {}; export type v1TransactionType = - "TRANSACTION_TYPE_ETHEREUM" | - "TRANSACTION_TYPE_SOLANA" | - "TRANSACTION_TYPE_TRON"; + | "TRANSACTION_TYPE_ETHEREUM" + | "TRANSACTION_TYPE_SOLANA" + | "TRANSACTION_TYPE_TRON"; export type v1UpdateAllowedOriginsIntent = { /** Additional origins requests are allowed from besides Turnkey origins */ @@ -3639,238 +3630,243 @@ export type v1WebAuthnStamp = { signature: string; }; - // --- API Types from Swagger Paths --- export type TGetActivityResponse = { /** An action that can be taken within the Turnkey infrastructure. */ activity: v1Activity; -} +}; export type TGetActivityBody = { organizationId?: string; /** Unique identifier for a given activity object. */ activityId: string; -} +}; export type TGetActivityInput = { body: TGetActivityBody }; export type TGetApiKeyResponse = { /** An API key. */ apiKey: v1ApiKey; -} +}; export type TGetApiKeyBody = { organizationId?: string; /** Unique identifier for a given API key. */ apiKeyId: string; -} +}; export type TGetApiKeyInput = { body: TGetApiKeyBody }; export type TGetApiKeysResponse = { /** A list of API keys. */ apiKeys: v1ApiKey[]; -} +}; export type TGetApiKeysBody = { organizationId?: string; /** Unique identifier for a given user. */ userId?: string; -} +}; export type TGetApiKeysInput = { body: TGetApiKeysBody }; export type TGetAttestationDocumentResponse = { /** Raw (CBOR-encoded) attestation document. */ attestationDocument: string; -} +}; export type TGetAttestationDocumentBody = { organizationId?: string; /** The enclave type, one of: ump, notarizer, signer, evm-parser. */ enclaveType: string; -} +}; -export type TGetAttestationDocumentInput = { body: TGetAttestationDocumentBody }; +export type TGetAttestationDocumentInput = { + body: TGetAttestationDocumentBody; +}; export type TGetAuthenticatorResponse = { /** An authenticator. */ authenticator: v1Authenticator; -} +}; export type TGetAuthenticatorBody = { organizationId?: string; /** Unique identifier for a given authenticator. */ authenticatorId: string; -} +}; export type TGetAuthenticatorInput = { body: TGetAuthenticatorBody }; export type TGetAuthenticatorsResponse = { /** A list of authenticators. */ authenticators: v1Authenticator[]; -} +}; export type TGetAuthenticatorsBody = { organizationId?: string; /** Unique identifier for a given user. */ userId: string; -} +}; export type TGetAuthenticatorsInput = { body: TGetAuthenticatorsBody }; export type TGetBootProofResponse = { bootProof: v1BootProof; -} +}; export type TGetBootProofBody = { organizationId?: string; /** Hex encoded ephemeral public key. */ ephemeralKey: string; -} +}; export type TGetBootProofInput = { body: TGetBootProofBody }; export type TGetLatestBootProofResponse = { bootProof: v1BootProof; -} +}; export type TGetLatestBootProofBody = { organizationId?: string; /** Name of enclave app. */ appName: string; -} +}; export type TGetLatestBootProofInput = { body: TGetLatestBootProofBody }; export type TGetOauth2CredentialResponse = { oauth2Credential: v1Oauth2Credential; -} +}; export type TGetOauth2CredentialBody = { organizationId?: string; /** Unique identifier for a given OAuth 2.0 Credential. */ oauth2CredentialId: string; -} +}; export type TGetOauth2CredentialInput = { body: TGetOauth2CredentialBody }; export type TGetOauthProvidersResponse = { /** A list of Oauth providers. */ oauthProviders: v1OauthProvider[]; -} +}; export type TGetOauthProvidersBody = { organizationId?: string; /** Unique identifier for a given user. */ userId?: string; -} +}; export type TGetOauthProvidersInput = { body: TGetOauthProvidersBody }; export type TGetOrganizationResponse = { /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */ organizationData: v1OrganizationData; -} +}; export type TGetOrganizationBody = { organizationId?: string; -} +}; export type TGetOrganizationInput = { body: TGetOrganizationBody }; export type TGetOrganizationConfigsResponse = { /** Organization configs including quorum settings and organization features. */ configs: v1Config; -} +}; export type TGetOrganizationConfigsBody = { organizationId?: string; -} +}; -export type TGetOrganizationConfigsInput = { body: TGetOrganizationConfigsBody }; +export type TGetOrganizationConfigsInput = { + body: TGetOrganizationConfigsBody; +}; export type TGetPolicyResponse = { /** Object that codifies rules defining the actions that are permissible within an organization. */ policy: v1Policy; -} +}; export type TGetPolicyBody = { organizationId?: string; /** Unique identifier for a given policy. */ policyId: string; -} +}; export type TGetPolicyInput = { body: TGetPolicyBody }; export type TGetPolicyEvaluationsResponse = { policyEvaluations: externalactivityv1PolicyEvaluation[]; -} +}; export type TGetPolicyEvaluationsBody = { organizationId?: string; /** Unique identifier for a given activity. */ activityId: string; -} +}; export type TGetPolicyEvaluationsInput = { body: TGetPolicyEvaluationsBody }; export type TGetPrivateKeyResponse = { /** Cryptographic public/private key pair that can be used for cryptocurrency needs or more generalized encryption. */ privateKey: v1PrivateKey; -} +}; export type TGetPrivateKeyBody = { organizationId?: string; /** Unique identifier for a given private key. */ privateKeyId: string; -} +}; export type TGetPrivateKeyInput = { body: TGetPrivateKeyBody }; export type TGetSmartContractInterfaceResponse = { /** Object to be used in conjunction with policies to guard transaction signing. */ smartContractInterface: v1SmartContractInterface; -} +}; export type TGetSmartContractInterfaceBody = { organizationId?: string; /** Unique identifier for a given smart contract interface. */ smartContractInterfaceId: string; -} +}; -export type TGetSmartContractInterfaceInput = { body: TGetSmartContractInterfaceBody }; +export type TGetSmartContractInterfaceInput = { + body: TGetSmartContractInterfaceBody; +}; export type TGetUserResponse = { /** Web and/or API user within your organization. */ user: v1User; -} +}; export type TGetUserBody = { organizationId?: string; /** Unique identifier for a given user. */ userId: string; -} +}; export type TGetUserInput = { body: TGetUserBody }; export type TGetWalletResponse = { /** A collection of deterministically generated cryptographic public / private key pairs that share a common seed. */ wallet: v1Wallet; -} +}; export type TGetWalletBody = { organizationId?: string; /** Unique identifier for a given wallet. */ walletId: string; -} +}; export type TGetWalletInput = { body: TGetWalletBody }; export type TGetWalletAccountResponse = { /** The resulting wallet account. */ account: v1WalletAccount; -} +}; export type TGetWalletAccountBody = { organizationId?: string; @@ -3880,14 +3876,14 @@ export type TGetWalletAccountBody = { address?: string; /** Path corresponding to a wallet account. */ path?: string; -} +}; export type TGetWalletAccountInput = { body: TGetWalletAccountBody }; export type TGetActivitiesResponse = { /** A list of activities. */ activities: v1Activity[]; -} +}; export type TGetActivitiesBody = { organizationId?: string; @@ -3897,68 +3893,70 @@ export type TGetActivitiesBody = { paginationOptions?: v1Pagination; /** Array of activity types filtering which activities will be listed in the response. */ filterByType?: v1ActivityType[]; -} +}; export type TGetActivitiesInput = { body: TGetActivitiesBody }; export type TListOauth2CredentialsResponse = { oauth2Credentials: v1Oauth2Credential[]; -} +}; export type TListOauth2CredentialsBody = { organizationId?: string; -} +}; export type TListOauth2CredentialsInput = { body: TListOauth2CredentialsBody }; export type TGetPoliciesResponse = { /** A list of policies. */ policies: v1Policy[]; -} +}; export type TGetPoliciesBody = { organizationId?: string; -} +}; export type TGetPoliciesInput = { body: TGetPoliciesBody }; export type TListPrivateKeyTagsResponse = { /** A list of private key tags. */ privateKeyTags: datav1Tag[]; -} +}; export type TListPrivateKeyTagsBody = { organizationId?: string; -} +}; export type TListPrivateKeyTagsInput = { body: TListPrivateKeyTagsBody }; export type TGetPrivateKeysResponse = { /** A list of private keys. */ privateKeys: v1PrivateKey[]; -} +}; export type TGetPrivateKeysBody = { organizationId?: string; -} +}; export type TGetPrivateKeysInput = { body: TGetPrivateKeysBody }; export type TGetSmartContractInterfacesResponse = { /** A list of smart contract interfaces. */ smartContractInterfaces: v1SmartContractInterface[]; -} +}; export type TGetSmartContractInterfacesBody = { organizationId?: string; -} +}; -export type TGetSmartContractInterfacesInput = { body: TGetSmartContractInterfacesBody }; +export type TGetSmartContractInterfacesInput = { + body: TGetSmartContractInterfacesBody; +}; export type TGetSubOrgIdsResponse = { /** List of unique identifiers for the matching sub-organizations. */ organizationIds: string[]; -} +}; export type TGetSubOrgIdsBody = { organizationId?: string; @@ -3968,36 +3966,36 @@ export type TGetSubOrgIdsBody = { filterValue?: string; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -} +}; export type TGetSubOrgIdsInput = { body: TGetSubOrgIdsBody }; export type TListUserTagsResponse = { /** A list of user tags. */ userTags: datav1Tag[]; -} +}; export type TListUserTagsBody = { organizationId?: string; -} +}; export type TListUserTagsInput = { body: TListUserTagsBody }; export type TGetUsersResponse = { /** A list of users. */ users: v1User[]; -} +}; export type TGetUsersBody = { organizationId?: string; -} +}; export type TGetUsersInput = { body: TGetUsersBody }; export type TGetVerifiedSubOrgIdsResponse = { /** List of unique identifiers for the matching sub-organizations. */ organizationIds: string[]; -} +}; export type TGetVerifiedSubOrgIdsBody = { organizationId?: string; @@ -4007,14 +4005,14 @@ export type TGetVerifiedSubOrgIdsBody = { filterValue?: string; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -} +}; export type TGetVerifiedSubOrgIdsInput = { body: TGetVerifiedSubOrgIdsBody }; export type TGetWalletAccountsResponse = { /** A list of accounts generated from a wallet that share a common seed. */ accounts: v1WalletAccount[]; -} +}; export type TGetWalletAccountsBody = { organizationId?: string; @@ -4024,18 +4022,18 @@ export type TGetWalletAccountsBody = { includeWalletDetails?: boolean; /** Parameters used for cursor-based pagination. */ paginationOptions?: v1Pagination; -} +}; export type TGetWalletAccountsInput = { body: TGetWalletAccountsBody }; export type TGetWalletsResponse = { /** A list of wallets. */ wallets: v1Wallet[]; -} +}; export type TGetWalletsBody = { organizationId?: string; -} +}; export type TGetWalletsInput = { body: TGetWalletsBody }; @@ -4048,24 +4046,24 @@ export type TGetWhoamiResponse = { userId: string; /** Human-readable name for a user. */ username: string; -} +}; export type TGetWhoamiBody = { organizationId?: string; -} +}; export type TGetWhoamiInput = { body: TGetWhoamiBody }; export type TApproveActivityResponse = { activity: v1Activity; -} +}; export type TApproveActivityBody = { timestampMs?: string; organizationId?: string; /** An artifact verifying a User's action. */ fingerprint: string; -} +}; export type TApproveActivityInput = { body: TApproveActivityBody }; @@ -4073,7 +4071,7 @@ export type TCreateApiKeysResponse = { activity: v1Activity; /** A list of API Key IDs. */ apiKeyIds: string[]; -} +}; export type TCreateApiKeysBody = { timestampMs?: string; @@ -4082,7 +4080,7 @@ export type TCreateApiKeysBody = { apiKeys: v1ApiKeyParamsV2[]; /** Unique identifier for a given User. */ userId: string; -} +}; export type TCreateApiKeysInput = { body: TCreateApiKeysBody }; @@ -4090,14 +4088,14 @@ export type TCreateApiOnlyUsersResponse = { activity: v1Activity; /** A list of API-only User IDs. */ userIds: string[]; -} +}; export type TCreateApiOnlyUsersBody = { timestampMs?: string; organizationId?: string; /** A list of API-only Users to create. */ apiOnlyUsers: v1ApiOnlyUserParams[]; -} +}; export type TCreateApiOnlyUsersInput = { body: TCreateApiOnlyUsersBody }; @@ -4105,7 +4103,7 @@ export type TCreateAuthenticatorsResponse = { activity: v1Activity; /** A list of Authenticator IDs. */ authenticatorIds: string[]; -} +}; export type TCreateAuthenticatorsBody = { timestampMs?: string; @@ -4114,7 +4112,7 @@ export type TCreateAuthenticatorsBody = { authenticators: v1AuthenticatorParamsV2[]; /** Unique identifier for a given User. */ userId: string; -} +}; export type TCreateAuthenticatorsInput = { body: TCreateAuthenticatorsBody }; @@ -4122,14 +4120,14 @@ export type TCreateInvitationsResponse = { activity: v1Activity; /** A list of Invitation IDs */ invitationIds: string[]; -} +}; export type TCreateInvitationsBody = { timestampMs?: string; organizationId?: string; /** A list of Invitations. */ invitations: v1InvitationParams[]; -} +}; export type TCreateInvitationsInput = { body: TCreateInvitationsBody }; @@ -4137,7 +4135,7 @@ export type TCreateOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was created */ oauth2CredentialId: string; -} +}; export type TCreateOauth2CredentialBody = { timestampMs?: string; @@ -4148,15 +4146,17 @@ export type TCreateOauth2CredentialBody = { clientId: string; /** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */ encryptedClientSecret: string; -} +}; -export type TCreateOauth2CredentialInput = { body: TCreateOauth2CredentialBody }; +export type TCreateOauth2CredentialInput = { + body: TCreateOauth2CredentialBody; +}; export type TCreateOauthProvidersResponse = { activity: v1Activity; /** A list of unique identifiers for Oauth Providers */ providerIds: string[]; -} +}; export type TCreateOauthProvidersBody = { timestampMs?: string; @@ -4165,7 +4165,7 @@ export type TCreateOauthProvidersBody = { userId: string; /** A list of Oauth providers. */ oauthProviders: v1OauthProviderParams[]; -} +}; export type TCreateOauthProvidersInput = { body: TCreateOauthProvidersBody }; @@ -4173,14 +4173,14 @@ export type TCreatePoliciesResponse = { activity: v1Activity; /** A list of unique identifiers for the created policies. */ policyIds: string[]; -} +}; export type TCreatePoliciesBody = { timestampMs?: string; organizationId?: string; /** An array of policy intents to be created. */ policies: v1CreatePolicyIntentV3[]; -} +}; export type TCreatePoliciesInput = { body: TCreatePoliciesBody }; @@ -4188,7 +4188,7 @@ export type TCreatePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -} +}; export type TCreatePolicyBody = { timestampMs?: string; @@ -4202,7 +4202,7 @@ export type TCreatePolicyBody = { /** The consensus expression that triggers the Effect */ consensus?: string; notes?: string; -} +}; export type TCreatePolicyInput = { body: TCreatePolicyBody }; @@ -4212,7 +4212,7 @@ export type TCreatePrivateKeyTagResponse = { privateKeyTagId: string; /** A list of Private Key IDs. */ privateKeyIds: string[]; -} +}; export type TCreatePrivateKeyTagBody = { timestampMs?: string; @@ -4221,7 +4221,7 @@ export type TCreatePrivateKeyTagBody = { privateKeyTagName: string; /** A list of Private Key IDs. */ privateKeyIds: string[]; -} +}; export type TCreatePrivateKeyTagInput = { body: TCreatePrivateKeyTagBody }; @@ -4229,14 +4229,14 @@ export type TCreatePrivateKeysResponse = { activity: v1Activity; /** A list of Private Key IDs and addresses. */ privateKeys: v1PrivateKeyResult[]; -} +}; export type TCreatePrivateKeysBody = { timestampMs?: string; organizationId?: string; /** A list of Private Keys. */ privateKeys: v1PrivateKeyParams[]; -} +}; export type TCreatePrivateKeysInput = { body: TCreatePrivateKeysBody }; @@ -4254,12 +4254,12 @@ export type TCreateReadOnlySessionResponse = { session: string; /** UTC timestamp in seconds representing the expiry time for the read only session. */ sessionExpiry: string; -} +}; export type TCreateReadOnlySessionBody = { timestampMs?: string; organizationId?: string; -} +}; export type TCreateReadOnlySessionInput = { body: TCreateReadOnlySessionBody }; @@ -4277,7 +4277,7 @@ export type TCreateReadWriteSessionResponse = { apiKeyId: string; /** HPKE encrypted credential bundle */ credentialBundle: string; -} +}; export type TCreateReadWriteSessionBody = { timestampMs?: string; @@ -4292,15 +4292,17 @@ export type TCreateReadWriteSessionBody = { expirationSeconds?: string; /** Invalidate all other previously generated ReadWriteSession API keys */ invalidateExisting?: boolean; -} +}; -export type TCreateReadWriteSessionInput = { body: TCreateReadWriteSessionBody }; +export type TCreateReadWriteSessionInput = { + body: TCreateReadWriteSessionBody; +}; export type TCreateSmartContractInterfaceResponse = { activity: v1Activity; /** The ID of the created Smart Contract Interface. */ smartContractInterfaceId: string; -} +}; export type TCreateSmartContractInterfaceBody = { timestampMs?: string; @@ -4314,16 +4316,18 @@ export type TCreateSmartContractInterfaceBody = { label: string; /** Notes for a Smart Contract Interface. */ notes?: string; -} +}; -export type TCreateSmartContractInterfaceInput = { body: TCreateSmartContractInterfaceBody }; +export type TCreateSmartContractInterfaceInput = { + body: TCreateSmartContractInterfaceBody; +}; export type TCreateSubOrganizationResponse = { activity: v1Activity; subOrganizationId: string; wallet?: v1WalletResult; rootUserIds?: string[]; -} +}; export type TCreateSubOrganizationBody = { timestampMs?: string; @@ -4346,7 +4350,7 @@ export type TCreateSubOrganizationBody = { disableOtpEmailAuth?: boolean; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -} +}; export type TCreateSubOrganizationInput = { body: TCreateSubOrganizationBody }; @@ -4356,7 +4360,7 @@ export type TCreateUserTagResponse = { userTagId: string; /** A list of User IDs. */ userIds: string[]; -} +}; export type TCreateUserTagBody = { timestampMs?: string; @@ -4365,7 +4369,7 @@ export type TCreateUserTagBody = { userTagName: string; /** A list of User IDs. */ userIds: string[]; -} +}; export type TCreateUserTagInput = { body: TCreateUserTagBody }; @@ -4373,14 +4377,14 @@ export type TCreateUsersResponse = { activity: v1Activity; /** A list of User IDs. */ userIds: string[]; -} +}; export type TCreateUsersBody = { timestampMs?: string; organizationId?: string; /** A list of Users. */ users: v1UserParamsV3[]; -} +}; export type TCreateUsersInput = { body: TCreateUsersBody }; @@ -4390,7 +4394,7 @@ export type TCreateWalletResponse = { walletId: string; /** A list of account addresses. */ addresses: string[]; -} +}; export type TCreateWalletBody = { timestampMs?: string; @@ -4401,7 +4405,7 @@ export type TCreateWalletBody = { accounts: v1WalletAccountParams[]; /** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */ mnemonicLength?: number; -} +}; export type TCreateWalletInput = { body: TCreateWalletBody }; @@ -4409,7 +4413,7 @@ export type TCreateWalletAccountsResponse = { activity: v1Activity; /** A list of derived addresses. */ addresses: string[]; -} +}; export type TCreateWalletAccountsBody = { timestampMs?: string; @@ -4418,7 +4422,7 @@ export type TCreateWalletAccountsBody = { walletId: string; /** A list of wallet Accounts. */ accounts: v1WalletAccountParams[]; -} +}; export type TCreateWalletAccountsInput = { body: TCreateWalletAccountsBody }; @@ -4426,7 +4430,7 @@ export type TDeleteApiKeysResponse = { activity: v1Activity; /** A list of API Key IDs. */ apiKeyIds: string[]; -} +}; export type TDeleteApiKeysBody = { timestampMs?: string; @@ -4435,7 +4439,7 @@ export type TDeleteApiKeysBody = { userId: string; /** A list of API Key IDs. */ apiKeyIds: string[]; -} +}; export type TDeleteApiKeysInput = { body: TDeleteApiKeysBody }; @@ -4443,7 +4447,7 @@ export type TDeleteAuthenticatorsResponse = { activity: v1Activity; /** Unique identifier for a given Authenticator. */ authenticatorIds: string[]; -} +}; export type TDeleteAuthenticatorsBody = { timestampMs?: string; @@ -4452,7 +4456,7 @@ export type TDeleteAuthenticatorsBody = { userId: string; /** A list of Authenticator IDs. */ authenticatorIds: string[]; -} +}; export type TDeleteAuthenticatorsInput = { body: TDeleteAuthenticatorsBody }; @@ -4460,14 +4464,14 @@ export type TDeleteInvitationResponse = { activity: v1Activity; /** Unique identifier for a given Invitation. */ invitationId: string; -} +}; export type TDeleteInvitationBody = { timestampMs?: string; organizationId?: string; /** Unique identifier for a given Invitation object. */ invitationId: string; -} +}; export type TDeleteInvitationInput = { body: TDeleteInvitationBody }; @@ -4475,22 +4479,24 @@ export type TDeleteOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was deleted */ oauth2CredentialId: string; -} +}; export type TDeleteOauth2CredentialBody = { timestampMs?: string; organizationId?: string; /** The ID of the OAuth 2.0 credential to delete */ oauth2CredentialId: string; -} +}; -export type TDeleteOauth2CredentialInput = { body: TDeleteOauth2CredentialBody }; +export type TDeleteOauth2CredentialInput = { + body: TDeleteOauth2CredentialBody; +}; export type TDeleteOauthProvidersResponse = { activity: v1Activity; /** A list of unique identifiers for Oauth Providers */ providerIds: string[]; -} +}; export type TDeleteOauthProvidersBody = { timestampMs?: string; @@ -4499,7 +4505,7 @@ export type TDeleteOauthProvidersBody = { userId: string; /** Unique identifier for a given Provider. */ providerIds: string[]; -} +}; export type TDeleteOauthProvidersInput = { body: TDeleteOauthProvidersBody }; @@ -4507,14 +4513,14 @@ export type TDeletePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -} +}; export type TDeletePolicyBody = { timestampMs?: string; organizationId?: string; /** Unique identifier for a given Policy. */ policyId: string; -} +}; export type TDeletePolicyInput = { body: TDeletePolicyBody }; @@ -4524,14 +4530,14 @@ export type TDeletePrivateKeyTagsResponse = { privateKeyTagIds: string[]; /** A list of Private Key IDs. */ privateKeyIds: string[]; -} +}; export type TDeletePrivateKeyTagsBody = { timestampMs?: string; organizationId?: string; /** A list of Private Key Tag IDs. */ privateKeyTagIds: string[]; -} +}; export type TDeletePrivateKeyTagsInput = { body: TDeletePrivateKeyTagsBody }; @@ -4539,7 +4545,7 @@ export type TDeletePrivateKeysResponse = { activity: v1Activity; /** A list of private key unique identifiers that were removed */ privateKeyIds: string[]; -} +}; export type TDeletePrivateKeysBody = { timestampMs?: string; @@ -4548,7 +4554,7 @@ export type TDeletePrivateKeysBody = { privateKeyIds: string[]; /** Optional parameter for deleting the private keys, even if any have not been previously exported. If they have been exported, this field is ignored. */ deleteWithoutExport?: boolean; -} +}; export type TDeletePrivateKeysInput = { body: TDeletePrivateKeysBody }; @@ -4556,29 +4562,31 @@ export type TDeleteSmartContractInterfaceResponse = { activity: v1Activity; /** The ID of the deleted Smart Contract Interface. */ smartContractInterfaceId: string; -} +}; export type TDeleteSmartContractInterfaceBody = { timestampMs?: string; organizationId?: string; /** The ID of a Smart Contract Interface intended for deletion. */ smartContractInterfaceId: string; -} +}; -export type TDeleteSmartContractInterfaceInput = { body: TDeleteSmartContractInterfaceBody }; +export type TDeleteSmartContractInterfaceInput = { + body: TDeleteSmartContractInterfaceBody; +}; export type TDeleteSubOrganizationResponse = { activity: v1Activity; /** Unique identifier of the sub organization that was removed */ subOrganizationUuid: string; -} +}; export type TDeleteSubOrganizationBody = { timestampMs?: string; organizationId?: string; /** Sub-organization deletion, by default, requires associated wallets and private keys to be exported for security reasons. Set this boolean to true to force sub-organization deletion even if some wallets or private keys within it have not been exported yet. Default: false. */ deleteWithoutExport?: boolean; -} +}; export type TDeleteSubOrganizationInput = { body: TDeleteSubOrganizationBody }; @@ -4588,14 +4596,14 @@ export type TDeleteUserTagsResponse = { userTagIds: string[]; /** A list of User IDs. */ userIds: string[]; -} +}; export type TDeleteUserTagsBody = { timestampMs?: string; organizationId?: string; /** A list of User Tag IDs. */ userTagIds: string[]; -} +}; export type TDeleteUserTagsInput = { body: TDeleteUserTagsBody }; @@ -4603,14 +4611,14 @@ export type TDeleteUsersResponse = { activity: v1Activity; /** A list of User IDs. */ userIds: string[]; -} +}; export type TDeleteUsersBody = { timestampMs?: string; organizationId?: string; /** A list of User IDs. */ userIds: string[]; -} +}; export type TDeleteUsersInput = { body: TDeleteUsersBody }; @@ -4618,7 +4626,7 @@ export type TDeleteWalletsResponse = { activity: v1Activity; /** A list of wallet unique identifiers that were removed */ walletIds: string[]; -} +}; export type TDeleteWalletsBody = { timestampMs?: string; @@ -4627,7 +4635,7 @@ export type TDeleteWalletsBody = { walletIds: string[]; /** Optional parameter for deleting the wallets, even if any have not been previously exported. If they have been exported, this field is ignored. */ deleteWithoutExport?: boolean; -} +}; export type TDeleteWalletsInput = { body: TDeleteWalletsBody }; @@ -4637,7 +4645,7 @@ export type TEmailAuthResponse = { userId: string; /** Unique identifier for the created API key. */ apiKeyId: string; -} +}; export type TEmailAuthBody = { timestampMs?: string; @@ -4660,7 +4668,7 @@ export type TEmailAuthBody = { sendFromEmailSenderName?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -} +}; export type TEmailAuthInput = { body: TEmailAuthBody }; @@ -4670,7 +4678,7 @@ export type TExportPrivateKeyResponse = { privateKeyId: string; /** Export bundle containing a private key encrypted to the client's target public key. */ exportBundle: string; -} +}; export type TExportPrivateKeyBody = { timestampMs?: string; @@ -4679,7 +4687,7 @@ export type TExportPrivateKeyBody = { privateKeyId: string; /** Client-side public key generated by the user, to which the export bundle will be encrypted. */ targetPublicKey: string; -} +}; export type TExportPrivateKeyInput = { body: TExportPrivateKeyBody }; @@ -4689,7 +4697,7 @@ export type TExportWalletResponse = { walletId: string; /** Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key. */ exportBundle: string; -} +}; export type TExportWalletBody = { timestampMs?: string; @@ -4700,7 +4708,7 @@ export type TExportWalletBody = { targetPublicKey: string; /** The language of the mnemonic to export. Defaults to English. */ language?: v1MnemonicLanguage; -} +}; export type TExportWalletInput = { body: TExportWalletBody }; @@ -4710,7 +4718,7 @@ export type TExportWalletAccountResponse = { address: string; /** Export bundle containing a private key encrypted by the client's target public key. */ exportBundle: string; -} +}; export type TExportWalletAccountBody = { timestampMs?: string; @@ -4719,7 +4727,7 @@ export type TExportWalletAccountBody = { address: string; /** Client-side public key generated by the user, to which the export bundle will be encrypted. */ targetPublicKey: string; -} +}; export type TExportWalletAccountInput = { body: TExportWalletAccountBody }; @@ -4729,7 +4737,7 @@ export type TImportPrivateKeyResponse = { privateKeyId: string; /** A list of addresses. */ addresses: immutableactivityv1Address[]; -} +}; export type TImportPrivateKeyBody = { timestampMs?: string; @@ -4744,7 +4752,7 @@ export type TImportPrivateKeyBody = { curve: v1Curve; /** Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */ addressFormats: v1AddressFormat[]; -} +}; export type TImportPrivateKeyInput = { body: TImportPrivateKeyBody }; @@ -4754,7 +4762,7 @@ export type TImportWalletResponse = { walletId: string; /** A list of account addresses. */ addresses: string[]; -} +}; export type TImportWalletBody = { timestampMs?: string; @@ -4767,7 +4775,7 @@ export type TImportWalletBody = { encryptedBundle: string; /** A list of wallet Accounts. */ accounts: v1WalletAccountParams[]; -} +}; export type TImportWalletInput = { body: TImportWalletBody }; @@ -4779,7 +4787,7 @@ export type TInitFiatOnRampResponse = { onRampTransactionId: string; /** Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project. */ onRampUrlSignature?: string; -} +}; export type TInitFiatOnRampBody = { timestampMs?: string; @@ -4806,7 +4814,7 @@ export type TInitFiatOnRampBody = { sandboxMode?: boolean; /** Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */ urlForSignature?: string; -} +}; export type TInitFiatOnRampInput = { body: TInitFiatOnRampBody }; @@ -4814,14 +4822,14 @@ export type TInitImportPrivateKeyResponse = { activity: v1Activity; /** Import bundle containing a public key and signature to use for importing client data. */ importBundle: string; -} +}; export type TInitImportPrivateKeyBody = { timestampMs?: string; organizationId?: string; /** The ID of the User importing a Private Key. */ userId: string; -} +}; export type TInitImportPrivateKeyInput = { body: TInitImportPrivateKeyBody }; @@ -4829,14 +4837,14 @@ export type TInitImportWalletResponse = { activity: v1Activity; /** Import bundle containing a public key and signature to use for importing client data. */ importBundle: string; -} +}; export type TInitImportWalletBody = { timestampMs?: string; organizationId?: string; /** The ID of the User importing a Wallet. */ userId: string; -} +}; export type TInitImportWalletInput = { body: TInitImportWalletBody }; @@ -4844,7 +4852,7 @@ export type TInitOtpResponse = { activity: v1Activity; /** Unique identifier for an OTP authentication */ otpId: string; -} +}; export type TInitOtpBody = { timestampMs?: string; @@ -4871,7 +4879,7 @@ export type TInitOtpBody = { expirationSeconds?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -} +}; export type TInitOtpInput = { body: TInitOtpBody }; @@ -4879,7 +4887,7 @@ export type TInitOtpAuthResponse = { activity: v1Activity; /** Unique identifier for an OTP authentication */ otpId: string; -} +}; export type TInitOtpAuthBody = { timestampMs?: string; @@ -4904,7 +4912,7 @@ export type TInitOtpAuthBody = { sendFromEmailSenderName?: string; /** Optional custom email address to use as reply-to */ replyToEmailAddress?: string; -} +}; export type TInitOtpAuthInput = { body: TInitOtpAuthBody }; @@ -4912,7 +4920,7 @@ export type TInitUserEmailRecoveryResponse = { activity: v1Activity; /** Unique identifier for the user being recovered. */ userId: string; -} +}; export type TInitUserEmailRecoveryBody = { timestampMs?: string; @@ -4925,7 +4933,7 @@ export type TInitUserEmailRecoveryBody = { expirationSeconds?: string; /** Optional parameters for customizing emails. If not provided, the default email will be used. */ emailCustomization?: v1EmailCustomizationParams; -} +}; export type TInitUserEmailRecoveryInput = { body: TInitUserEmailRecoveryBody }; @@ -4937,7 +4945,7 @@ export type TOauthResponse = { apiKeyId: string; /** HPKE encrypted credential bundle */ credentialBundle: string; -} +}; export type TOauthBody = { timestampMs?: string; @@ -4952,7 +4960,7 @@ export type TOauthBody = { expirationSeconds?: string; /** Invalidate all other previously generated Oauth API keys */ invalidateExisting?: boolean; -} +}; export type TOauthInput = { body: TOauthBody }; @@ -4960,7 +4968,7 @@ export type TOauth2AuthenticateResponse = { activity: v1Activity; /** Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity */ oidcToken: string; -} +}; export type TOauth2AuthenticateBody = { timestampMs?: string; @@ -4975,7 +4983,7 @@ export type TOauth2AuthenticateBody = { codeVerifier: string; /** An optional nonce used by the client to prevent replay/substitution of an ID token */ nonce?: string; -} +}; export type TOauth2AuthenticateInput = { body: TOauth2AuthenticateBody }; @@ -4983,7 +4991,7 @@ export type TOauthLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -} +}; export type TOauthLoginBody = { timestampMs?: string; @@ -4996,7 +5004,7 @@ export type TOauthLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -} +}; export type TOauthLoginInput = { body: TOauthLoginBody }; @@ -5008,7 +5016,7 @@ export type TOtpAuthResponse = { apiKeyId?: string; /** HPKE encrypted credential bundle */ credentialBundle?: string; -} +}; export type TOtpAuthBody = { timestampMs?: string; @@ -5025,7 +5033,7 @@ export type TOtpAuthBody = { expirationSeconds?: string; /** Invalidate all other previously generated OTP Auth API keys */ invalidateExisting?: boolean; -} +}; export type TOtpAuthInput = { body: TOtpAuthBody }; @@ -5033,7 +5041,7 @@ export type TOtpLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -} +}; export type TOtpLoginBody = { timestampMs?: string; @@ -5046,7 +5054,7 @@ export type TOtpLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -} +}; export type TOtpLoginInput = { body: TOtpLoginBody }; @@ -5054,7 +5062,7 @@ export type TRecoverUserResponse = { activity: v1Activity; /** ID of the authenticator created. */ authenticatorId: string[]; -} +}; export type TRecoverUserBody = { timestampMs?: string; @@ -5063,20 +5071,20 @@ export type TRecoverUserBody = { authenticator: v1AuthenticatorParamsV2; /** Unique identifier for the user performing recovery. */ userId: string; -} +}; export type TRecoverUserInput = { body: TRecoverUserBody }; export type TRejectActivityResponse = { activity: v1Activity; -} +}; export type TRejectActivityBody = { timestampMs?: string; organizationId?: string; /** An artifact verifying a User's action. */ fingerprint: string; -} +}; export type TRejectActivityInput = { body: TRejectActivityBody }; @@ -5084,22 +5092,24 @@ export type TRemoveOrganizationFeatureResponse = { activity: v1Activity; /** Resulting list of organization features. */ features: v1Feature[]; -} +}; export type TRemoveOrganizationFeatureBody = { timestampMs?: string; organizationId?: string; /** Name of the feature to remove */ name: v1FeatureName; -} +}; -export type TRemoveOrganizationFeatureInput = { body: TRemoveOrganizationFeatureBody }; +export type TRemoveOrganizationFeatureInput = { + body: TRemoveOrganizationFeatureBody; +}; export type TSetOrganizationFeatureResponse = { activity: v1Activity; /** Resulting list of organization features. */ features: v1Feature[]; -} +}; export type TSetOrganizationFeatureBody = { timestampMs?: string; @@ -5108,9 +5118,11 @@ export type TSetOrganizationFeatureBody = { name: v1FeatureName; /** Optional value for the feature. Will override existing values if feature is already set. */ value: string; -} +}; -export type TSetOrganizationFeatureInput = { body: TSetOrganizationFeatureBody }; +export type TSetOrganizationFeatureInput = { + body: TSetOrganizationFeatureBody; +}; export type TSignRawPayloadResponse = { activity: v1Activity; @@ -5120,7 +5132,7 @@ export type TSignRawPayloadResponse = { s: string; /** Component of an ECSDA signature. */ v: string; -} +}; export type TSignRawPayloadBody = { timestampMs?: string; @@ -5133,14 +5145,14 @@ export type TSignRawPayloadBody = { encoding: v1PayloadEncoding; /** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */ hashFunction: v1HashFunction; -} +}; export type TSignRawPayloadInput = { body: TSignRawPayloadBody }; export type TSignRawPayloadsResponse = { activity: v1Activity; signatures?: v1SignRawPayloadResult[]; -} +}; export type TSignRawPayloadsBody = { timestampMs?: string; @@ -5153,14 +5165,14 @@ export type TSignRawPayloadsBody = { encoding: v1PayloadEncoding; /** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */ hashFunction: v1HashFunction; -} +}; export type TSignRawPayloadsInput = { body: TSignRawPayloadsBody }; export type TSignTransactionResponse = { activity: v1Activity; signedTransaction: string; -} +}; export type TSignTransactionBody = { timestampMs?: string; @@ -5170,7 +5182,7 @@ export type TSignTransactionBody = { /** Raw unsigned transaction to be signed */ unsignedTransaction: string; type: v1TransactionType; -} +}; export type TSignTransactionInput = { body: TSignTransactionBody }; @@ -5178,7 +5190,7 @@ export type TStampLoginResponse = { activity: v1Activity; /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -} +}; export type TStampLoginBody = { timestampMs?: string; @@ -5189,7 +5201,7 @@ export type TStampLoginBody = { expirationSeconds?: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -} +}; export type TStampLoginInput = { body: TStampLoginBody }; @@ -5197,7 +5209,7 @@ export type TUpdateOauth2CredentialResponse = { activity: v1Activity; /** Unique identifier of the OAuth 2.0 credential that was updated */ oauth2CredentialId: string; -} +}; export type TUpdateOauth2CredentialBody = { timestampMs?: string; @@ -5210,15 +5222,17 @@ export type TUpdateOauth2CredentialBody = { clientId: string; /** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */ encryptedClientSecret: string; -} +}; -export type TUpdateOauth2CredentialInput = { body: TUpdateOauth2CredentialBody }; +export type TUpdateOauth2CredentialInput = { + body: TUpdateOauth2CredentialBody; +}; export type TUpdatePolicyResponse = { activity: v1Activity; /** Unique identifier for a given Policy. */ policyId: string; -} +}; export type TUpdatePolicyBody = { timestampMs?: string; @@ -5235,7 +5249,7 @@ export type TUpdatePolicyBody = { policyConsensus?: string; /** Accompanying notes for a Policy (optional). */ policyNotes?: string; -} +}; export type TUpdatePolicyInput = { body: TUpdatePolicyBody }; @@ -5243,7 +5257,7 @@ export type TUpdatePrivateKeyTagResponse = { activity: v1Activity; /** Unique identifier for a given Private Key Tag. */ privateKeyTagId: string; -} +}; export type TUpdatePrivateKeyTagBody = { timestampMs?: string; @@ -5256,13 +5270,13 @@ export type TUpdatePrivateKeyTagBody = { addPrivateKeyIds: string[]; /** A list of Private Key IDs to remove this tag from. */ removePrivateKeyIds: string[]; -} +}; export type TUpdatePrivateKeyTagInput = { body: TUpdatePrivateKeyTagBody }; export type TUpdateRootQuorumResponse = { activity: v1Activity; -} +}; export type TUpdateRootQuorumBody = { timestampMs?: string; @@ -5271,7 +5285,7 @@ export type TUpdateRootQuorumBody = { threshold: number; /** The unique identifiers of users who comprise the quorum set. */ userIds: string[]; -} +}; export type TUpdateRootQuorumInput = { body: TUpdateRootQuorumBody }; @@ -5279,7 +5293,7 @@ export type TUpdateUserResponse = { activity: v1Activity; /** A User ID. */ userId: string; -} +}; export type TUpdateUserBody = { timestampMs?: string; @@ -5294,7 +5308,7 @@ export type TUpdateUserBody = { userTagIds?: string[]; /** The user's phone number in E.164 format e.g. +13214567890 */ userPhoneNumber?: string; -} +}; export type TUpdateUserInput = { body: TUpdateUserBody }; @@ -5302,7 +5316,7 @@ export type TUpdateUserEmailResponse = { activity: v1Activity; /** Unique identifier of the User whose email was updated. */ userId: string; -} +}; export type TUpdateUserEmailBody = { timestampMs?: string; @@ -5313,7 +5327,7 @@ export type TUpdateUserEmailBody = { userEmail: string; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -} +}; export type TUpdateUserEmailInput = { body: TUpdateUserEmailBody }; @@ -5321,7 +5335,7 @@ export type TUpdateUserNameResponse = { activity: v1Activity; /** Unique identifier of the User whose name was updated. */ userId: string; -} +}; export type TUpdateUserNameBody = { timestampMs?: string; @@ -5330,7 +5344,7 @@ export type TUpdateUserNameBody = { userId: string; /** Human-readable name for a User. */ userName: string; -} +}; export type TUpdateUserNameInput = { body: TUpdateUserNameBody }; @@ -5338,7 +5352,7 @@ export type TUpdateUserPhoneNumberResponse = { activity: v1Activity; /** Unique identifier of the User whose phone number was updated. */ userId: string; -} +}; export type TUpdateUserPhoneNumberBody = { timestampMs?: string; @@ -5349,7 +5363,7 @@ export type TUpdateUserPhoneNumberBody = { userPhoneNumber: string; /** Signed JWT containing a unique id, expiry, verification type, contact */ verificationToken?: string; -} +}; export type TUpdateUserPhoneNumberInput = { body: TUpdateUserPhoneNumberBody }; @@ -5357,7 +5371,7 @@ export type TUpdateUserTagResponse = { activity: v1Activity; /** Unique identifier for a given User Tag. */ userTagId: string; -} +}; export type TUpdateUserTagBody = { timestampMs?: string; @@ -5370,7 +5384,7 @@ export type TUpdateUserTagBody = { addUserIds: string[]; /** A list of User IDs to remove this tag from. */ removeUserIds: string[]; -} +}; export type TUpdateUserTagInput = { body: TUpdateUserTagBody }; @@ -5378,7 +5392,7 @@ export type TUpdateWalletResponse = { activity: v1Activity; /** A Wallet ID. */ walletId: string; -} +}; export type TUpdateWalletBody = { timestampMs?: string; @@ -5387,7 +5401,7 @@ export type TUpdateWalletBody = { walletId: string; /** Human-readable name for a Wallet. */ walletName?: string; -} +}; export type TUpdateWalletInput = { body: TUpdateWalletBody }; @@ -5395,7 +5409,7 @@ export type TVerifyOtpResponse = { activity: v1Activity; /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ verificationToken: string; -} +}; export type TVerifyOtpBody = { timestampMs?: string; @@ -5406,13 +5420,13 @@ export type TVerifyOtpBody = { otpCode: string; /** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */ expirationSeconds?: string; -} +}; export type TVerifyOtpInput = { body: TVerifyOtpBody }; export type TNOOPCodegenAnchorResponse = { activity: v1Activity; -} +}; export type TTestRateLimitsResponse = {}; @@ -5422,27 +5436,27 @@ export type TTestRateLimitsBody = { isSetLimit: boolean; /** Rate limit to set for org, if is_set_limit is set to true. */ limit: number; -} +}; export type TTestRateLimitsInput = { body: TTestRateLimitsBody }; export type ProxyTGetAccountResponse = { organizationId: string; -} +}; export type ProxyTGetAccountBody = { /** Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN' or 'PUBLIC_KEY' */ filterType: string; /** The value of the filter to apply for the specified type. For example, a specific email or name string. */ filterValue: string; -} +}; export type ProxyTGetAccountInput = { body: ProxyTGetAccountBody }; export type ProxyTOAuth2AuthenticateResponse = { /** A Turnkey issued OIDC token to be used with the LoginWithOAuth activity */ oidcToken: string; -} +}; export type ProxyTOAuth2AuthenticateBody = { /** The OAuth 2.0 provider to authenticate with */ @@ -5455,14 +5469,16 @@ export type ProxyTOAuth2AuthenticateBody = { codeVerifier: string; /** An optional nonce used by the client to prevent replay/substitution of an ID token */ nonce?: string; -} +}; -export type ProxyTOAuth2AuthenticateInput = { body: ProxyTOAuth2AuthenticateBody }; +export type ProxyTOAuth2AuthenticateInput = { + body: ProxyTOAuth2AuthenticateBody; +}; export type ProxyTOAuthLoginResponse = { /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -} +}; export type ProxyTOAuthLoginBody = { /** Base64 encoded OIDC token */ @@ -5471,28 +5487,28 @@ export type ProxyTOAuthLoginBody = { publicKey: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -} +}; export type ProxyTOAuthLoginInput = { body: ProxyTOAuthLoginBody }; export type ProxyTInitOtpResponse = { /** Unique identifier for an OTP authentication */ otpId: string; -} +}; export type ProxyTInitOtpBody = { /** Enum to specifiy whether to send OTP via SMS or email */ otpType: string; /** Email or phone number to send the OTP code to */ contact: string; -} +}; export type ProxyTInitOtpInput = { body: ProxyTInitOtpBody }; export type ProxyTOtpLoginResponse = { /** Signed JWT containing an expiry, public key, session type, user id, and organization id */ session: string; -} +}; export type ProxyTOtpLoginBody = { /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ @@ -5501,27 +5517,27 @@ export type ProxyTOtpLoginBody = { publicKey: string; /** Invalidate all other previously generated Login API keys */ invalidateExisting?: boolean; -} +}; export type ProxyTOtpLoginInput = { body: ProxyTOtpLoginBody }; export type ProxyTVerifyOtpResponse = { /** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */ verificationToken: string; -} +}; export type ProxyTVerifyOtpBody = { /** ID representing the result of an init OTP activity. */ otpId: string; /** OTP sent out to a user's contact (email or SMS) */ otpCode: string; -} +}; export type ProxyTVerifyOtpInput = { body: ProxyTVerifyOtpBody }; export type ProxyTSignupResponse = { organizationId: string; -} +}; export type ProxyTSignupBody = { userEmail?: string; @@ -5538,7 +5554,7 @@ export type ProxyTSignupBody = { oauthProviders: v1OauthProviderParams[]; /** The wallet to create for the sub-organization */ wallet?: v1WalletParams; -} +}; export type ProxyTSignupInput = { body: ProxyTSignupBody }; @@ -5549,10 +5565,10 @@ export type ProxyTGetWalletKitConfigResponse = { sessionExpirationSeconds: string; /** The organization ID this configuration applies to */ organizationId: string; -} - -export type ProxyTGetWalletKitConfigBody = { -} +}; -export type ProxyTGetWalletKitConfigInput = { body: ProxyTGetWalletKitConfigBody }; +export type ProxyTGetWalletKitConfigBody = {}; +export type ProxyTGetWalletKitConfigInput = { + body: ProxyTGetWalletKitConfigBody; +}; diff --git a/packages/viem/src/index.ts b/packages/viem/src/index.ts index 2e55a939e..870a91b22 100644 --- a/packages/viem/src/index.ts +++ b/packages/viem/src/index.ts @@ -158,7 +158,7 @@ export function createAccountWithAddress(input: { serializer?: | SerializeTransactionFn | undefined; - } + }, ): Promise { const serializer: SerializeTransactionFn = options?.serializer ?? @@ -168,16 +168,16 @@ export function createAccountWithAddress(input: { transaction, serializer, organizationId, - signWith + signWith, ); }, signTypedData: function ( - typedData: TypedData | { [key: string]: unknown } + typedData: TypedData | { [key: string]: unknown }, ): Promise { return signTypedData(client, typedData, organizationId, signWith); }, signAuthorization: function ( - parameters: TSignAuthorizationParameters + parameters: TSignAuthorizationParameters, ): Promise { return signAuthorization(client, parameters, organizationId, signWith); }, @@ -219,7 +219,7 @@ export async function createAccount(input: { }); ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -269,7 +269,7 @@ type TApiKeyAccountConfig = { * @deprecated use {@link createAccount} instead. */ export async function createApiKeyAccount( - config: TApiKeyAccountConfig + config: TApiKeyAccountConfig, ): Promise { const { apiPublicKey, apiPrivateKey, baseUrl, organizationId, privateKeyId } = config; @@ -283,7 +283,7 @@ export async function createApiKeyAccount( { baseUrl: baseUrl, }, - stamper + stamper, ); const data = await client.getPrivateKey({ @@ -292,7 +292,7 @@ export async function createApiKeyAccount( }); const ethereumAddress = data.privateKey.addresses.find( - (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM" + (item: any) => item.format === "ADDRESS_FORMAT_ETHEREUM", )?.address; if (typeof ethereumAddress !== "string" || !ethereumAddress) { @@ -322,7 +322,7 @@ export async function createApiKeyAccount( serializer?: | SerializeTransactionFn | undefined; - } + }, ): Promise { const serializer: SerializeTransactionFn = options?.serializer ?? @@ -332,22 +332,22 @@ export async function createApiKeyAccount( transaction, serializer, organizationId, - privateKeyId + privateKeyId, ); }, signTypedData: function ( - typedData: TypedData | { [key: string]: unknown } + typedData: TypedData | { [key: string]: unknown }, ): Promise { return signTypedData(client, typedData, organizationId, privateKeyId); }, signAuthorization: function ( - parameters: TSignAuthorizationParameters + parameters: TSignAuthorizationParameters, ): Promise { return signAuthorization( client, parameters, organizationId, - privateKeyId + privateKeyId, ); }, }); @@ -361,7 +361,7 @@ export async function signAuthorization( | TurnkeySDKClientBase, parameters: TSignAuthorizationParameters, organizationId: string, - signWith: string + signWith: string, ): Promise { const { chainId, nonce, to = "object" } = parameters; const address = parameters.contractAddress ?? parameters.address; @@ -382,7 +382,7 @@ export async function signAuthorization( organizationId, signWith, "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION", - to + to, ); if (to === "object") @@ -405,13 +405,13 @@ export async function signMessage( | TurnkeySDKClientBase, message: SignableMessage, organizationId: string, - signWith: string + signWith: string, ): Promise { const signedMessage = await signMessageWithErrorWrapping( client, message as Hex, organizationId, - signWith + signWith, ); return `${signedMessage}` as Hex; } @@ -427,7 +427,7 @@ export async function signTransaction< transaction: TTransactionSerializable, serializer: SerializeTransactionFn, organizationId: string, - signWith: string + signWith: string, ): Promise { // Note: for Type 3 transactions, we are specifically handling parsing for payloads containing only the transaction payload body, without any wrappers around blobs, commitments, or proofs. // See more: https://github.com/wevm/viem/blob/3ef19eac4963014fb20124d1e46d1715bed5509f/src/accounts/utils/signTransaction.ts#L54-L55 @@ -442,7 +442,7 @@ export async function signTransaction< client, nonHexPrefixedSerializedTx, organizationId, - signWith + signWith, ); if (transaction.type === "eip4844") { @@ -468,7 +468,7 @@ export async function signTypedData( | TurnkeySDKClientBase, data: TypedData | { [key: string]: unknown }, organizationId: string, - signWith: string + signWith: string, ): Promise { return (await signMessageWithErrorWrapping( client, @@ -476,7 +476,7 @@ export async function signTypedData( organizationId, signWith, "PAYLOAD_ENCODING_EIP712", - "hex" + "hex", )) as Hex; } @@ -488,7 +488,7 @@ async function signTransactionWithErrorWrapping( | TurnkeySDKClientBase, unsignedTransaction: string, organizationId: string, - signWith: string + signWith: string, ): Promise { let signedTx: string; try { @@ -496,7 +496,7 @@ async function signTransactionWithErrorWrapping( client, unsignedTransaction, organizationId, - signWith + signWith, ); } catch (error: any) { // Wrap Turnkey error in Viem-specific error @@ -532,7 +532,7 @@ async function signTransactionImpl( | TurnkeySDKClientBase, unsignedTransaction: string, organizationId: string, - signWith: string + signWith: string, ): Promise { if (isHttpClient(client)) { const { activity } = await client.signTransaction({ @@ -549,7 +549,7 @@ async function signTransactionImpl( assertActivityCompleted(activity); return assertNonNull( - activity?.result?.signTransactionResult?.signedTransaction + activity?.result?.signTransactionResult?.signedTransaction, ); } else { const { activity, signedTransaction } = await client.signTransaction({ @@ -560,7 +560,7 @@ async function signTransactionImpl( }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, ); return assertNonNull(signedTransaction); @@ -577,7 +577,7 @@ async function signMessageWithErrorWrapping( organizationId: string, signWith: string, payloadEncoding: TPayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL", - to: TSignatureFormat = "hex" + to: TSignatureFormat = "hex", ): Promise { let signedMessage: TSignMessageResult; @@ -588,7 +588,7 @@ async function signMessageWithErrorWrapping( organizationId, signWith, payloadEncoding, - to + to, ); } catch (error: any) { // Wrap Turnkey error in Viem-specific error @@ -626,7 +626,7 @@ async function signMessageImpl( organizationId: string, signWith: string, payloadEncoding: TPayloadEncoding, - to: TSignatureFormat + to: TSignatureFormat, ): Promise { let result: TSignature; @@ -656,7 +656,7 @@ async function signMessageImpl( }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, ); result = { @@ -681,7 +681,7 @@ async function signMessageImpl( // https://github.com/wevm/viem/blob/c8378d22f692f48edde100693159874702f36330/src/utils/signature/serializeSignature.ts#L38-L39 export function serializeSignature( sig: TSignature, - to: TSignatureFormat = "hex" + to: TSignatureFormat = "hex", ) { const { r: rString, s: sString, v: vString } = sig; @@ -694,7 +694,7 @@ export function serializeSignature( const signature = `0x${new secp256k1.Signature( hexToBigInt(r), - hexToBigInt(s) + hexToBigInt(s), ).toCompactHex()}${yParity_ === 0n ? "1b" : "1c"}` as const; if (to === "hex") return signature; diff --git a/packages/wallet-stamper/src/ethereum.ts b/packages/wallet-stamper/src/ethereum.ts index c4f2aae6c..213cd5723 100644 --- a/packages/wallet-stamper/src/ethereum.ts +++ b/packages/wallet-stamper/src/ethereum.ts @@ -116,7 +116,7 @@ export class EthereumWallet extends BaseEthereumWallet { export const getCompressedPublicKey = async ( signature: Hex, - message: string + message: string, ) => { const secp256k1PublicKey = await recoverPublicKey({ hash: hashMessage(message), From b33309964ec1e923adbab472db98b319d79a005b Mon Sep 17 00:00:00 2001 From: Brian Cleary Date: Wed, 10 Sep 2025 12:08:53 -0400 Subject: [PATCH 3/3] update types --- .../src/__inputs__/auth_proxy.swagger.json | 25 ++++++- .../src/__inputs__/public_api.swagger.json | 20 ++++-- .../core/src/__inputs__/public_api.types.ts | 12 +++- .../public/v1/public_api.swagger.json | 20 ++++-- .../coordinator/public/v1/public_api.types.ts | 12 +++- .../src/__inputs__/public_api.swagger.json | 20 ++++-- .../src/__inputs__/public_api.types.ts | 12 +++- .../src/__inputs__/public_api.swagger.json | 20 ++++-- .../src/__inputs__/public_api.types.ts | 12 +++- packages/sdk-types/src/__generated__/types.ts | 12 +++- .../src/__inputs__/auth_proxy.swagger.json | 25 ++++++- .../src/__inputs__/public_api.swagger.json | 20 ++++-- .../src/__inputs__/public_api.types.ts | 12 +++- packages/solana/src/index.ts | 67 +++++++++++++------ .../src/__tests__/stamp-test.ts | 8 +-- 15 files changed, 222 insertions(+), 75 deletions(-) diff --git a/packages/core/src/__inputs__/auth_proxy.swagger.json b/packages/core/src/__inputs__/auth_proxy.swagger.json index 5bdadb819..c8c471d51 100644 --- a/packages/core/src/__inputs__/auth_proxy.swagger.json +++ b/packages/core/src/__inputs__/auth_proxy.swagger.json @@ -477,6 +477,19 @@ "type": "string", "description": "The organization ID this configuration applies to", "title": "Organization ID" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their OAuth client IDs.", + "title": "OAuth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "OAuth redirect URL to be used for social login flows.", + "title": "OAuth Redirect URL" } }, "required": [ @@ -531,9 +544,19 @@ "nonce": { "type": "string", "description": "An optional nonce used by the client to prevent replay/substitution of an ID token" + }, + "clientId": { + "type": "string", + "description": "The client ID registered with the OAuth 2.0 provider" } }, - "required": ["provider", "authCode", "redirectUri", "codeVerifier"] + "required": [ + "provider", + "authCode", + "redirectUri", + "codeVerifier", + "clientId" + ] }, "v1OAuth2AuthenticateResponse": { "type": "object", diff --git a/packages/core/src/__inputs__/public_api.swagger.json b/packages/core/src/__inputs__/public_api.swagger.json index 82ebe4110..54b8cc154 100644 --- a/packages/core/src/__inputs__/public_api.swagger.json +++ b/packages/core/src/__inputs__/public_api.swagger.json @@ -10528,13 +10528,6 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." - }, - "oauth2ProviderCredentialIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11556,6 +11549,19 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their Oauth client IDs.", + "title": "Oauth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "Oauth redirect URL to be used for social login flows.", + "title": "Oauth Redirect URL" } } }, diff --git a/packages/core/src/__inputs__/public_api.types.ts b/packages/core/src/__inputs__/public_api.types.ts index c76e40578..d9e50642a 100644 --- a/packages/core/src/__inputs__/public_api.types.ts +++ b/packages/core/src/__inputs__/public_api.types.ts @@ -3372,8 +3372,6 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; - /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3773,6 +3771,16 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** + * Oauth Client IDs + * @description Mapping of social login providers to their Oauth client IDs. + */ + oauthClientIds?: { [key: string]: string }; + /** + * Oauth Redirect URL + * @description Oauth redirect URL to be used for social login flows. + */ + oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json index 82ebe4110..54b8cc154 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.swagger.json @@ -10528,13 +10528,6 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." - }, - "oauth2ProviderCredentialIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11556,6 +11549,19 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their Oauth client IDs.", + "title": "Oauth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "Oauth redirect URL to be used for social login flows.", + "title": "Oauth Redirect URL" } } }, diff --git a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts index c76e40578..d9e50642a 100644 --- a/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts +++ b/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts @@ -3372,8 +3372,6 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; - /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3773,6 +3771,16 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** + * Oauth Client IDs + * @description Mapping of social login providers to their Oauth client IDs. + */ + oauthClientIds?: { [key: string]: string }; + /** + * Oauth Redirect URL + * @description Oauth redirect URL to be used for social login flows. + */ + oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/sdk-browser/src/__inputs__/public_api.swagger.json b/packages/sdk-browser/src/__inputs__/public_api.swagger.json index 82ebe4110..54b8cc154 100644 --- a/packages/sdk-browser/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-browser/src/__inputs__/public_api.swagger.json @@ -10528,13 +10528,6 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." - }, - "oauth2ProviderCredentialIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11556,6 +11549,19 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their Oauth client IDs.", + "title": "Oauth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "Oauth redirect URL to be used for social login flows.", + "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-browser/src/__inputs__/public_api.types.ts b/packages/sdk-browser/src/__inputs__/public_api.types.ts index c76e40578..d9e50642a 100644 --- a/packages/sdk-browser/src/__inputs__/public_api.types.ts +++ b/packages/sdk-browser/src/__inputs__/public_api.types.ts @@ -3372,8 +3372,6 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; - /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3773,6 +3771,16 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** + * Oauth Client IDs + * @description Mapping of social login providers to their Oauth client IDs. + */ + oauthClientIds?: { [key: string]: string }; + /** + * Oauth Redirect URL + * @description Oauth redirect URL to be used for social login flows. + */ + oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/sdk-server/src/__inputs__/public_api.swagger.json b/packages/sdk-server/src/__inputs__/public_api.swagger.json index 82ebe4110..54b8cc154 100644 --- a/packages/sdk-server/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-server/src/__inputs__/public_api.swagger.json @@ -10528,13 +10528,6 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." - }, - "oauth2ProviderCredentialIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11556,6 +11549,19 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their Oauth client IDs.", + "title": "Oauth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "Oauth redirect URL to be used for social login flows.", + "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-server/src/__inputs__/public_api.types.ts b/packages/sdk-server/src/__inputs__/public_api.types.ts index c76e40578..d9e50642a 100644 --- a/packages/sdk-server/src/__inputs__/public_api.types.ts +++ b/packages/sdk-server/src/__inputs__/public_api.types.ts @@ -3372,8 +3372,6 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; - /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3773,6 +3771,16 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** + * Oauth Client IDs + * @description Mapping of social login providers to their Oauth client IDs. + */ + oauthClientIds?: { [key: string]: string }; + /** + * Oauth Redirect URL + * @description Oauth redirect URL to be used for social login flows. + */ + oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/sdk-types/src/__generated__/types.ts b/packages/sdk-types/src/__generated__/types.ts index b85982bf1..58e2fc091 100644 --- a/packages/sdk-types/src/__generated__/types.ts +++ b/packages/sdk-types/src/__generated__/types.ts @@ -3175,8 +3175,6 @@ export type v1UpdateAuthProxyConfigIntent = { otpAlphanumeric?: boolean; /** Desired OTP code length (6–9). */ otpLength?: number; - /** A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: Record; }; export type v1UpdateAuthProxyConfigResult = { @@ -3602,6 +3600,10 @@ export type v1WalletAccountParams = { export type v1WalletKitSettingsParams = { /** List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** Mapping of social login providers to their Oauth client IDs. */ + oauthClientIds?: Record; + /** Oauth redirect URL to be used for social login flows. */ + oauthRedirectUrl?: string; }; export type v1WalletParams = { @@ -5469,6 +5471,8 @@ export type ProxyTOAuth2AuthenticateBody = { codeVerifier: string; /** An optional nonce used by the client to prevent replay/substitution of an ID token */ nonce?: string; + /** The client ID registered with the OAuth 2.0 provider */ + clientId: string; }; export type ProxyTOAuth2AuthenticateInput = { @@ -5565,6 +5569,10 @@ export type ProxyTGetWalletKitConfigResponse = { sessionExpirationSeconds: string; /** The organization ID this configuration applies to */ organizationId: string; + /** Mapping of social login providers to their OAuth client IDs. */ + oauthClientIds?: Record; + /** OAuth redirect URL to be used for social login flows. */ + oauthRedirectUrl?: string; }; export type ProxyTGetWalletKitConfigBody = {}; diff --git a/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json b/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json index 5bdadb819..c8c471d51 100644 --- a/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json +++ b/packages/sdk-types/src/__inputs__/auth_proxy.swagger.json @@ -477,6 +477,19 @@ "type": "string", "description": "The organization ID this configuration applies to", "title": "Organization ID" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their OAuth client IDs.", + "title": "OAuth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "OAuth redirect URL to be used for social login flows.", + "title": "OAuth Redirect URL" } }, "required": [ @@ -531,9 +544,19 @@ "nonce": { "type": "string", "description": "An optional nonce used by the client to prevent replay/substitution of an ID token" + }, + "clientId": { + "type": "string", + "description": "The client ID registered with the OAuth 2.0 provider" } }, - "required": ["provider", "authCode", "redirectUri", "codeVerifier"] + "required": [ + "provider", + "authCode", + "redirectUri", + "codeVerifier", + "clientId" + ] }, "v1OAuth2AuthenticateResponse": { "type": "object", diff --git a/packages/sdk-types/src/__inputs__/public_api.swagger.json b/packages/sdk-types/src/__inputs__/public_api.swagger.json index 82ebe4110..54b8cc154 100644 --- a/packages/sdk-types/src/__inputs__/public_api.swagger.json +++ b/packages/sdk-types/src/__inputs__/public_api.swagger.json @@ -10528,13 +10528,6 @@ "type": "integer", "format": "int32", "description": "Desired OTP code length (6–9)." - }, - "oauth2ProviderCredentialIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow." } } }, @@ -11556,6 +11549,19 @@ }, "description": "List of enabled social login providers (e.g., 'apple', 'google', 'facebook')", "title": "Enabled Social Providers" + }, + "oauthClientIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Mapping of social login providers to their Oauth client IDs.", + "title": "Oauth Client IDs" + }, + "oauthRedirectUrl": { + "type": "string", + "description": "Oauth redirect URL to be used for social login flows.", + "title": "Oauth Redirect URL" } } }, diff --git a/packages/sdk-types/src/__inputs__/public_api.types.ts b/packages/sdk-types/src/__inputs__/public_api.types.ts index c76e40578..d9e50642a 100644 --- a/packages/sdk-types/src/__inputs__/public_api.types.ts +++ b/packages/sdk-types/src/__inputs__/public_api.types.ts @@ -3372,8 +3372,6 @@ export type definitions = { * @description Desired OTP code length (6–9). */ otpLength?: number; - /** @description A map of OAuth 2.0 provider and their respective credential ID to use for the OAuth 2.0 authentication flow. */ - oauth2ProviderCredentialIds?: { [key: string]: string }; }; v1UpdateAuthProxyConfigResult: { /** @description Unique identifier for a given User. (representing the turnkey signer user id) */ @@ -3773,6 +3771,16 @@ export type definitions = { * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */ enabledSocialProviders?: string[]; + /** + * Oauth Client IDs + * @description Mapping of social login providers to their Oauth client IDs. + */ + oauthClientIds?: { [key: string]: string }; + /** + * Oauth Redirect URL + * @description Oauth redirect URL to be used for social login flows. + */ + oauthRedirectUrl?: string; }; v1WalletParams: { /** @description Human-readable name for a Wallet. */ diff --git a/packages/solana/src/index.ts b/packages/solana/src/index.ts index bf7809cfb..c11244bcc 100644 --- a/packages/solana/src/index.ts +++ b/packages/solana/src/index.ts @@ -1,4 +1,5 @@ import { PublicKey, Transaction, VersionedTransaction } from "@solana/web3.js"; +import { Buffer as NodeBuffer } from "buffer"; import type { TurnkeySDKClientBase } from "@turnkey/core"; import { assertNonNull, @@ -10,6 +11,19 @@ import { import type { TurnkeyBrowserClient } from "@turnkey/sdk-browser"; import type { TurnkeyServerClient, TurnkeyApiTypes } from "@turnkey/sdk-server"; +function hexToU8a(hex: string): Uint8Array { + if (hex.startsWith("0x")) hex = hex.slice(2); + const out = new Uint8Array(hex.length / 2); + for (let i = 0; i < out.length; i++) + out[i] = parseInt(hex.substr(i * 2, 2), 16); + return out; +} + +function u8aToBuffer(u8: Uint8Array): Buffer { + // Creates a Node Buffer that satisfies the intersection type + return NodeBuffer.from(u8.buffer, u8.byteOffset, u8.byteLength); +} + type TClient = | TurnkeyClient | TurnkeyBrowserClient @@ -34,7 +48,7 @@ export class TurnkeySigner { public async signAllTransactions( txs: (Transaction | VersionedTransaction)[], fromAddress: string, - organizationId?: string, + organizationId?: string ): Promise<(Transaction | VersionedTransaction)[]> { const fromKey = new PublicKey(fromAddress); @@ -43,11 +57,11 @@ export class TurnkeySigner { const signRawPayloadsResult = await this.signRawPayloads( messages, fromAddress, - organizationId, + organizationId ); const signatures = signRawPayloadsResult?.signatures?.map( - (sig: TSignature) => `${sig?.r}${sig?.s}`, + (sig: TSignature) => `${sig?.r}${sig?.s}` ); for (let i in txs) { @@ -66,18 +80,27 @@ export class TurnkeySigner { public async addSignature( tx: Transaction | VersionedTransaction, fromAddress: string, - organizationId?: string, + organizationId?: string ) { const fromKey = new PublicKey(fromAddress); const messageToSign: Buffer = this.getMessageToSign(tx); const signRawPayloadResult = await this.signRawPayload( messageToSign.toString("hex"), fromAddress, - organizationId ?? this.organizationId, + organizationId ?? this.organizationId ); - const signature = `${signRawPayloadResult?.r}${signRawPayloadResult?.s}`; - tx.addSignature(fromKey, Buffer.from(signature, "hex")); + const sigHex = `${signRawPayloadResult.r}${signRawPayloadResult.s}`; + + const sigU8 = hexToU8a(sigHex); + + if ("version" in tx) { + // VersionedTransaction expects Uint8Array + tx.addSignature(fromKey, sigU8); + } else { + // Legacy Transaction expects Buffer & Uint8Array + tx.addSignature(fromKey, u8aToBuffer(sigU8)); + } } /** @@ -89,16 +112,16 @@ export class TurnkeySigner { public async signMessage( message: Uint8Array, fromAddress: string, - organizationId?: string, + organizationId?: string ): Promise { const signRawPayloadResult = await this.signRawPayload( Buffer.from(message).toString("hex"), fromAddress, - organizationId, + organizationId ); return Buffer.from( `${signRawPayloadResult?.r}${signRawPayloadResult?.s}`, - "hex", + "hex" ); } @@ -112,19 +135,19 @@ export class TurnkeySigner { public async signTransaction( tx: Transaction | VersionedTransaction, fromAddress: string, - organizationId?: string, + organizationId?: string ): Promise { const payloadToSign = Buffer.from( tx.serialize({ requireAllSignatures: false, verifySignatures: false, - }), + }) ).toString("hex"); const signedTransaction = await this.signTransactionImpl( payloadToSign, fromAddress, - organizationId, + organizationId ); const decodedTransaction = Buffer.from(signedTransaction, "hex"); @@ -140,7 +163,7 @@ export class TurnkeySigner { private async signTransactionImpl( unsignedTransaction: string, signWith: string, - organizationId?: string, + organizationId?: string ) { if (isHttpClient(this.client)) { const response = await this.client.signTransaction({ @@ -159,7 +182,7 @@ export class TurnkeySigner { assertActivityCompleted(activity); return assertNonNull( - activity?.result?.signTransactionResult?.signedTransaction, + activity?.result?.signTransactionResult?.signedTransaction ); } else { const { activity, signedTransaction } = await this.client.signTransaction( @@ -168,11 +191,11 @@ export class TurnkeySigner { signWith, unsignedTransaction, type: "TRANSACTION_TYPE_SOLANA", - }, + } ); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); return assertNonNull(signedTransaction); @@ -182,7 +205,7 @@ export class TurnkeySigner { private async signRawPayload( payload: string, signWith: string, - organizationId?: string, + organizationId?: string ) { if (isHttpClient(this.client)) { const response = await this.client.signRawPayload({ @@ -216,7 +239,7 @@ export class TurnkeySigner { }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); return assertNonNull({ @@ -230,7 +253,7 @@ export class TurnkeySigner { private async signRawPayloads( payloads: string[], signWith: string, - organizationId?: string, + organizationId?: string ) { if (isHttpClient(this.client)) { const response = await this.client.signRawPayloads({ @@ -264,7 +287,7 @@ export class TurnkeySigner { }); assertActivityCompleted( - activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */, + activity as any /* Type casting is ok here. The invalid types are both actually strings. TS is too strict here! */ ); return assertNonNull({ @@ -284,7 +307,7 @@ export class TurnkeySigner { messageToSign = (tx as Transaction).serializeMessage(); } else { messageToSign = Buffer.from( - (tx as VersionedTransaction).message.serialize(), + (tx as VersionedTransaction).message.serialize() ); } diff --git a/packages/telegram-cloud-storage-stamper/src/__tests__/stamp-test.ts b/packages/telegram-cloud-storage-stamper/src/__tests__/stamp-test.ts index c97eaa858..68213d734 100644 --- a/packages/telegram-cloud-storage-stamper/src/__tests__/stamp-test.ts +++ b/packages/telegram-cloud-storage-stamper/src/__tests__/stamp-test.ts @@ -1,5 +1,5 @@ import { test, expect } from "@jest/globals"; -import { TelegramCloudStorageStamper, CloudStorageAPIKey } from "../index"; +import { TelegramCloudStorageStamper, type CloudStorageAPIKey } from "../index"; import { readFixture } from "../__fixtures__/shared"; import { assertValidSignature } from "./shared"; import { fail } from "assert"; @@ -9,7 +9,7 @@ window.Telegram.WebApp.CloudStorage = { async setItem( key: string, value: string, - callback: (error: any, stored: boolean) => void, + callback: (error: any, stored: boolean) => void ) { localStorage.setItem(key, value); callback(null, true); @@ -23,7 +23,7 @@ window.Telegram.WebApp.CloudStorage = { }, async removeItem( key: string, - callback: (error: any, cleared: boolean) => void, + callback: (error: any, cleared: boolean) => void ) { localStorage.removeItem(key); callback(null, true); @@ -50,7 +50,7 @@ test("uses provided signature to make stamp", async function () { // We expect the stamp to be base64url encoded const decodedStamp = JSON.parse( - Buffer.from(stamp.stampHeaderValue, "base64url").toString(), + Buffer.from(stamp.stampHeaderValue, "base64url").toString() ); // ...with 3 keys. expect(Object.keys(decodedStamp)).toEqual([