@hypercerts-org/marketplace-sdk 0.3.7 → 0.3.8

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.
@@ -260,6 +260,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
260
260
  endTime: number;
261
261
  globalNonce: string;
262
262
  id: string;
263
+ invalidated: boolean;
263
264
  itemIds: string[];
264
265
  orderNonce: string;
265
266
  price: string;
@@ -269,6 +270,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
269
270
  startTime: number;
270
271
  strategyId: number;
271
272
  subsetNonce: number;
273
+ validator_codes: number[] | null;
272
274
  };
273
275
  Insert: {
274
276
  additionalParameters: string;
@@ -281,6 +283,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
281
283
  endTime: number;
282
284
  globalNonce: string;
283
285
  id?: string | undefined;
286
+ invalidated?: boolean | undefined;
284
287
  itemIds: string[];
285
288
  orderNonce: string;
286
289
  price: string;
@@ -290,6 +293,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
290
293
  startTime: number;
291
294
  strategyId: number;
292
295
  subsetNonce: number;
296
+ validator_codes?: number[] | null | undefined;
293
297
  };
294
298
  Update: {
295
299
  additionalParameters?: string | undefined;
@@ -302,6 +306,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
302
306
  endTime?: number | undefined;
303
307
  globalNonce?: string | undefined;
304
308
  id?: string | undefined;
309
+ invalidated?: boolean | undefined;
305
310
  itemIds?: string[] | undefined;
306
311
  orderNonce?: string | undefined;
307
312
  price?: string | undefined;
@@ -311,6 +316,7 @@ export declare const supabaseHypercerts: import("@supabase/supabase-js").Supabas
311
316
  startTime?: number | undefined;
312
317
  strategyId?: number | undefined;
313
318
  subsetNonce?: number | undefined;
319
+ validator_codes?: number[] | null | undefined;
314
320
  };
315
321
  Relationships: [];
316
322
  };
@@ -553,6 +559,7 @@ export declare class ApiClient {
553
559
  endTime: number;
554
560
  globalNonce: string;
555
561
  id: string;
562
+ invalidated: boolean;
556
563
  itemIds: string[];
557
564
  orderNonce: string;
558
565
  price: string;
@@ -562,6 +569,7 @@ export declare class ApiClient {
562
569
  startTime: number;
563
570
  strategyId: number;
564
571
  subsetNonce: number;
572
+ validator_codes: number[] | null;
565
573
  }[]>>;
566
574
  /**
567
575
  * Fetches orders from api by hypercert ID
@@ -581,6 +589,7 @@ export declare class ApiClient {
581
589
  endTime: number;
582
590
  globalNonce: string;
583
591
  id: string;
592
+ invalidated: boolean;
584
593
  itemIds: string[];
585
594
  orderNonce: string;
586
595
  price: string;
@@ -590,6 +599,7 @@ export declare class ApiClient {
590
599
  startTime: number;
591
600
  strategyId: number;
592
601
  subsetNonce: number;
602
+ validator_codes: number[] | null;
593
603
  }[]>>;
594
604
  handleResponse: <T>(res: Response) => Promise<T>;
595
605
  }
@@ -3,7 +3,7 @@ export declare const urqlClient: Client;
3
3
  export declare const getFractionsById: (fractionId: string) => Promise<{
4
4
  units: unknown;
5
5
  owner_address: string | null;
6
- last_block_update_timestamp: unknown;
6
+ last_update_block_timestamp: unknown;
7
7
  fraction_id: string | null;
8
8
  creation_block_timestamp: unknown;
9
9
  }[] | null | undefined>;
@@ -270,6 +270,7 @@ export type Database = {
270
270
  endTime: number;
271
271
  globalNonce: string;
272
272
  id: string;
273
+ invalidated: boolean;
273
274
  itemIds: string[];
274
275
  orderNonce: string;
275
276
  price: string;
@@ -279,6 +280,7 @@ export type Database = {
279
280
  startTime: number;
280
281
  strategyId: number;
281
282
  subsetNonce: number;
283
+ validator_codes: number[] | null;
282
284
  };
283
285
  Insert: {
284
286
  additionalParameters: string;
@@ -291,6 +293,7 @@ export type Database = {
291
293
  endTime: number;
292
294
  globalNonce: string;
293
295
  id?: string;
296
+ invalidated?: boolean;
294
297
  itemIds: string[];
295
298
  orderNonce: string;
296
299
  price: string;
@@ -300,6 +303,7 @@ export type Database = {
300
303
  startTime: number;
301
304
  strategyId: number;
302
305
  subsetNonce: number;
306
+ validator_codes?: number[] | null;
303
307
  };
304
308
  Update: {
305
309
  additionalParameters?: string;
@@ -312,6 +316,7 @@ export type Database = {
312
316
  endTime?: number;
313
317
  globalNonce?: string;
314
318
  id?: string;
319
+ invalidated?: boolean;
315
320
  itemIds?: string[];
316
321
  orderNonce?: string;
317
322
  price?: string;
@@ -321,6 +326,7 @@ export type Database = {
321
326
  startTime?: number;
322
327
  strategyId?: number;
323
328
  subsetNonce?: number;
329
+ validator_codes?: number[] | null;
324
330
  };
325
331
  Relationships: [];
326
332
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -24,20 +24,6 @@
24
24
  "engines": {
25
25
  "node": ">= 16.15.1 <= 20.x"
26
26
  },
27
- "scripts": {
28
- "prebuild": "rm -rf ./src/typechain ./src/artifacts cache dist",
29
- "dev": "rollup -c --bundleConfigAsCjs -w",
30
- "build:ts": "rollup -c --bundleConfigAsCjs",
31
- "build:sc": "hardhat compile",
32
- "build": "yarn build:sc && yarn build:ts",
33
- "test": "nyc hardhat test",
34
- "doc": "typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.build.json",
35
- "lint": "eslint --max-warnings 0 'src/**/*.{js,ts}'",
36
- "format:check": "prettier --check 'src/**/*.{js,ts,json,yaml,yml,md}'",
37
- "format:write": "prettier --write 'src/**/*.{js,ts,json,yaml,yml,md}'",
38
- "release": "release-it --only-version --set-upstream",
39
- "supabase:types:hypercerts": "npx supabase gen types typescript --project-id zgvoyckkistexkfdmjqc --schema public > src/utils/hypercerts-database-types.ts"
40
- },
41
27
  "lint-staged": {
42
28
  "*.{js,jsx,ts,tsx,json,yaml,yml}": "yarn format:write"
43
29
  },
@@ -54,6 +40,7 @@
54
40
  "@looksrare/contracts-exchange-v2": "^0.1.2",
55
41
  "@nomicfoundation/hardhat-ethers": "^3.0.4",
56
42
  "@rollup/plugin-json": "^6.0.0",
43
+ "@rollup/plugin-node-resolve": "^15.2.3",
57
44
  "@rollup/plugin-typescript": "^11.0.0",
58
45
  "@typechain/ethers-v6": "^0.4.0",
59
46
  "@typechain/hardhat": "^8.0.0",
@@ -98,5 +85,19 @@
98
85
  "ethers": "^6.6.2",
99
86
  "gql.tada": "^1.7.6",
100
87
  "merkletreejs": "^0.3.9"
88
+ },
89
+ "scripts": {
90
+ "prebuild": "rm -rf ./src/typechain ./src/artifacts cache dist",
91
+ "dev": "rollup -c --bundleConfigAsCjs -w",
92
+ "build:ts": "rollup -c --bundleConfigAsCjs",
93
+ "build:sc": "hardhat compile",
94
+ "build": "yarn build:sc && yarn build:ts",
95
+ "test": "nyc hardhat test",
96
+ "doc": "typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.build.json",
97
+ "lint": "eslint --max-warnings 0 'src/**/*.{js,ts}'",
98
+ "format:check": "prettier --check 'src/**/*.{js,ts,json,yaml,yml,md}'",
99
+ "format:write": "prettier --write 'src/**/*.{js,ts,json,yaml,yml,md}'",
100
+ "release": "release-it --only-version --set-upstream",
101
+ "supabase:types:hypercerts": "npx supabase gen types typescript --project-id zgvoyckkistexkfdmjqc --schema public > src/utils/hypercerts-database-types.ts"
101
102
  }
102
- }
103
+ }