@bulletxyz/bullet-sdk 0.21.0-rc.6 → 0.21.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import type { Address, TokenId } from "./types";
2
2
  export declare class BaseConnection {
3
3
  endpoint: string;
4
4
  constructor(rawEndpoint?: string);
5
- protected fetchApiResource<T>(path: string, params?: Record<string, string>): Promise<T>;
5
+ protected fetchApiResource<T>(path: string, params?: Record<string, string | undefined>): Promise<T>;
6
6
  protected fetchBulkApiResource<T>(path: string, body: Record<string, unknown>, params?: Record<string, string>): Promise<T>;
7
7
  }
8
8
  export declare class Connection extends BaseConnection {
@@ -1340,15 +1340,15 @@ export declare const Schemas: {
1340
1340
  readonly AccountAddresses: z.ZodObject<{
1341
1341
  addresses: z.ZodArray<z.ZodString, "many">;
1342
1342
  total: z.ZodNumber;
1343
- next_offset: z.ZodOptional<z.ZodNumber>;
1343
+ next_offset: z.ZodNullable<z.ZodNumber>;
1344
1344
  }, "strip", z.ZodTypeAny, {
1345
1345
  addresses: string[];
1346
1346
  total: number;
1347
- next_offset?: number | undefined;
1347
+ next_offset: number | null;
1348
1348
  }, {
1349
1349
  addresses: string[];
1350
1350
  total: number;
1351
- next_offset?: number | undefined;
1351
+ next_offset: number | null;
1352
1352
  }>;
1353
1353
  };
1354
1354
  export declare const ResponseSchemas: {
@@ -4591,29 +4591,29 @@ export declare const ResponseSchemas: {
4591
4591
  data: z.ZodObject<{
4592
4592
  addresses: z.ZodArray<z.ZodString, "many">;
4593
4593
  total: z.ZodNumber;
4594
- next_offset: z.ZodOptional<z.ZodNumber>;
4594
+ next_offset: z.ZodNullable<z.ZodNumber>;
4595
4595
  }, "strip", z.ZodTypeAny, {
4596
4596
  addresses: string[];
4597
4597
  total: number;
4598
- next_offset?: number | undefined;
4598
+ next_offset: number | null;
4599
4599
  }, {
4600
4600
  addresses: string[];
4601
4601
  total: number;
4602
- next_offset?: number | undefined;
4602
+ next_offset: number | null;
4603
4603
  }>;
4604
4604
  meta: z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Map<unknown, unknown>, Record<string, unknown>>>;
4605
4605
  }, "strip", z.ZodTypeAny, {
4606
4606
  data: {
4607
4607
  addresses: string[];
4608
4608
  total: number;
4609
- next_offset?: number | undefined;
4609
+ next_offset: number | null;
4610
4610
  };
4611
4611
  meta: Map<unknown, unknown> | null;
4612
4612
  }, {
4613
4613
  data: {
4614
4614
  addresses: string[];
4615
4615
  total: number;
4616
- next_offset?: number | undefined;
4616
+ next_offset: number | null;
4617
4617
  };
4618
4618
  meta: Record<string, unknown> | null;
4619
4619
  }>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/zetamarkets/bullet-sdk.git"
6
6
  },
7
- "version": "0.21.0-rc.6",
7
+ "version": "0.21.0-rc.7",
8
8
  "description": "Bullet SDK",
9
9
  "author": "@bulletxyz",
10
10
  "license": "Apache-2.0",