Skip to content

Commit

Permalink
Fix StepPayload.executionEffects annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Comp0te committed Dec 11, 2024
1 parent d41f539 commit 930f529
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/sse/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { jsonObject, jsonMember, jsonArrayMember, TypedJSON } from 'typedjson';

import {
Effect,
Effects,
ExecutionResult,
ExecutionResultV1,
Deploy,
Expand All @@ -17,7 +16,8 @@ import {
HexBytes,
Timestamp,
PublicKey,
Hash
Hash,
Transform
} from '../types';

export enum EventType {
Expand Down Expand Up @@ -758,8 +758,8 @@ export class StepPayload {
@jsonMember({ name: 'execution_effect', constructor: Effect })
executionEffect: Effect;

@jsonMember({ name: 'execution_effects', constructor: Effects })
executionEffects: Effects;
@jsonArrayMember(() => Transform, { name: 'execution_effects' })
executionEffects: Transform[];
}

@jsonObject
Expand Down
1 change: 0 additions & 1 deletion src/types/keypair/ed25519/PrivateKey.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as ed25519 from '@noble/ed25519';
import { Buffer } from 'buffer';

/**
* Interface representing the structure and methods of a private key, including
Expand Down

0 comments on commit 930f529

Please sign in to comment.