Skip to content

Add useAuthToken hook for in-app wallet authentication #22353

Add useAuthToken hook for in-app wallet authentication

Add useAuthToken hook for in-app wallet authentication #22353

Triggered via pull request May 22, 2025 04:33
Status Failure
Total duration 2m 21s
Artifacts

CI.yml

on: pull_request
optimize_ci
2s
optimize_ci
Matrix: E2E Tests
Fit to window
Zoom out
Zoom in

Annotations

52 errors and 5 warnings
Size
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
Size
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
Size
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
Size
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
Size
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Size
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Size
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
Size
Process completed with exit code 2.
Build Packages
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
Build Packages
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
Build Packages
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
Build Packages
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
Build Packages
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Build Packages
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Build Packages
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
Build Packages
Process completed with exit code 2.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, esbuild)
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
E2E Tests (pnpm, esbuild)
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
E2E Tests (pnpm, esbuild)
Process completed with exit code 2.
E2E Tests (pnpm, webpack)
The job was canceled because "pnpm_esbuild" failed.
E2E Tests (pnpm, webpack)
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, webpack)
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
E2E Tests (pnpm, webpack)
Process completed with exit code 2.
E2E Tests (pnpm, vite)
The job was canceled because "pnpm_esbuild" failed.
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
E2E Tests (pnpm, vite)
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
E2E Tests (pnpm, vite)
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
E2E Tests (pnpm, vite)
The operation was canceled.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: WalletId; subscribe: <K extends keyof WalletEmitterEvents<WalletId>>(event: K, cb: (data: WalletEmitterEvents<WalletId>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet'.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: "adapter"; subscribe: <K extends keyof WalletEmitterEvents<"adapter">>(event: K, cb: (data: WalletEmitterEvents<"adapter">[K]) => void) => () => void; ... 6 more ...; switchChain: (chain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"adapter">'.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: "com.coinbase.wallet"; subscribe: <K extends keyof WalletEmitterEvents<"com.coinbase.wallet">>(event: K, cb: (data: WalletEmitterEvents<"com.coinbase.wallet">[K]) => void) => () => void; ... 7 more ...; onConnectRequested: () => Promise<...>; }' but required in type 'Wallet<"com.coinbase.wallet">'.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: ID; subscribe: <K extends keyof WalletEmitterEvents<ID>>(event: K, cb: (data: WalletEmitterEvents<ID>[K]) => void) => () => void; ... 6 more ...; switchChain: (c: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<ID>'.
Unit Tests
Property 'getAuthToken' is missing in type '{ id: "smart"; subscribe: <K extends keyof WalletEmitterEvents<"smart">>(event: K, cb: (data: WalletEmitterEvents<"smart">[K]) => void) => () => void; ... 7 more ...; switchChain: (newChain: Readonly<...>) => Promise<...>; }' but required in type 'Wallet<"smart">'.
Unit Tests
***#build: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
Unit Tests
Process completed with exit code 2.
Lint Packages
***#lint: command (/home/runner/work/js/js/packages/***) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
Lint Packages
Process completed with exit code 1.
Size
Failed to restore: Cache service responded with 422
Build Packages
Failed to restore: Cache service responded with 422
E2E Tests (pnpm, esbuild)
Failed to restore: Cache service responded with 422
Unit Tests
Failed to restore: Cache service responded with 422
Lint Packages
Failed to restore: Cache service responded with 422