Skip to content

Commit b5a6296

Browse files
authored
Transaction batching + new History endpoint (#843)
1 parent 07c698e commit b5a6296

File tree

84 files changed

+3720
-3133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3720
-3133
lines changed

.github/workflows/pr_push_qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
DEFI_SDK_TESTNET_API_URL: ${{ github.event.inputs.DEFI_SDK_TESTNET_API_URL || 'wss://api-testnet.zerion.io/' }}
6868
ZERION_API_URL: ${{ github.event.inputs.ZERION_API_URL || 'https://zpi.zerion.io/' }}
6969
ZERION_TESTNET_API_URL: ${{ github.event.inputs.ZERION_TESTNET_API_URL || 'https://zpi-testnet.zerion.io/' }}
70-
BACKEND_ENV: ${{ github.event.inputs.BACKEND_ENV || '' }}
70+
BACKEND_ENV: ${{ github.event.inputs.BACKEND_ENV || 'actions' }}
7171
PROXY_URL: ${{ github.event.inputs.PROXY_URL || 'https://proxy.zerion.io/' }}
7272
DEFI_SDK_TRANSACTIONS_API_URL: ${{ github.event.inputs.DEFI_SDK_TRANSACTIONS_API_URL || 'https://transactions.zerion.io' }}
7373
DEFI_SDK_API_TOKEN: Zerion.0JOY6zZTTw6yl5Cvz9sdmXc7d5AhzVMG

src/modules/ethereum/message-signing/prepareTypedData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export function isPermit({ message }: TypedData) {
1212
export function toTypedData(data: string | Partial<TypedData>): TypedData {
1313
if (typeof data === 'string') {
1414
try {
15-
const typedData = JSON.parse(data);
16-
return typedData as TypedData;
15+
const typedData = JSON.parse(data) as TypedData;
16+
return typedData;
1717
} catch (e) {
1818
throw new Error('Failed to parse typedData input');
1919
}

0 commit comments

Comments
 (0)