Skip to content

Commit 047a023

Browse files
more linting...
1 parent 740ae9b commit 047a023

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

clients/js/src/decorator.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ export const createDasApiDecorator = (
260260
getAssetSignatures: async (input: GetAssetSignaturesRpcInput) => {
261261
const signatures = await rpc.call<GetAssetSignaturesRpcResponse | null>(
262262
'getAssetSignaturesV2',
263-
[ input.assetId,
263+
[
264+
input.assetId,
264265
input.limit ?? null,
265266
input.page ?? null,
266267
input.before ?? null,

clients/js/src/types.ts

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import {
2-
Nullable,
3-
PublicKey,
4-
} from '@metaplex-foundation/umi';
1+
import { Nullable, PublicKey } from '@metaplex-foundation/umi';
52

63
// ---------------------------------------- //
74
// RPC input. //
@@ -459,7 +456,7 @@ export type GetAssetSignaturesRpcInput = {
459456
/**
460457
* The maximum number of assets to retrieve.
461458
*/
462-
limit?: Nullable<number>;
459+
limit?: Nullable<number>;
463460

464461
/**
465462
* The page number of the signatures.
@@ -487,7 +484,7 @@ export type GetAssetSignaturesRpcInput = {
487484
leaf_index?: Nullable<number>;
488485

489486
/**
490-
*
487+
*
491488
*/
492489
cursor?: Nullable<string>;
493490

@@ -516,8 +513,8 @@ export type GetAssetSignaturesRpcResponse = {
516513
*/
517514
limit: number;
518515

519-
before: string,
520-
after: string,
516+
before: string;
517+
after: string;
521518

522519
/**
523520
* The page number of the signatures.

clients/js/test/getAssetProof.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DAS_API_ENDPOINTS.forEach((endpoint) => {
2020
'8QoG5BnZH9RVz2qLsKPEQ5jnAaCBu3kdRd9Hf4PgSwx9',
2121
'DAbAU9srHpEUogXWuhy5VZ7g8UX9STymELtndcx1xgP1',
2222
'3HCYqQRcQSChEuAw1ybNYHibrTNNjzbYzm56cmEmivB6',
23-
'GSz87YKd3YoZWcEKhnjSsYJwv8o5aWGdBdGGYUphRfTh'
23+
'GSz87YKd3YoZWcEKhnjSsYJwv8o5aWGdBdGGYUphRfTh',
2424
],
2525
node_index: 32,
2626
leaf: 'FGWfA5v5SZnpe9r32NEvDyX9hLeVEoBf3GqEkHX6YK9w',

0 commit comments

Comments
 (0)