Skip to content

Commit 9148066

Browse files
authored
Merge pull request #21 from hypercerts-org/develop
Release to PRD
2 parents d9426c2 + ec1123b commit 9148066

File tree

7 files changed

+221
-213
lines changed

7 files changed

+221
-213
lines changed

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
],
2323
"dependencies": {
2424
"@graphql-typed-document-node/core": "^3.2.0",
25-
"@hypercerts-org/contracts": "2.0.0-alpha.9",
25+
"@hypercerts-org/contracts": "2.0.0-alpha.11",
2626
"@openzeppelin/merkle-tree": "^1.0.7",
2727
"@swc/core": "^1.6.3",
2828
"ajv": "^8.11.2",
29-
"axios": "^1.7.2",
29+
"axios": "^1.7.7",
3030
"dotenv": "^16.0.3",
3131
"rollup-plugin-swc3": "^0.11.2",
32-
"viem": "^2.15.1",
32+
"viem": "^2.21.35",
3333
"zod": "^3.23.8"
3434
},
3535
"devDependencies": {

pnpm-lock.yaml

Lines changed: 210 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/constants.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ const DEPLOYMENTS: { [key in SupportedChainIds]: Deployment } = {
5151
addresses: deployments[421614],
5252
isTestnet: true,
5353
} as const,
54+
314159: {
55+
chainId: 314159,
56+
addresses: deployments[314159],
57+
isTestnet: true,
58+
} as const,
5459
};
5560

5661
export { ENDPOINTS, DEPLOYMENTS };

src/types/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { HypercertMetadata } from "./metadata";
44
import { ByteArray, Hex, PublicClient, WalletClient } from "viem";
55
import { AxiosRequestConfig } from "axios";
66

7-
export type TestChainIds = 11155111 | 84532 | 421614;
7+
export type TestChainIds = 11155111 | 84532 | 421614 | 314159;
88
export type ProductionChainIds = 10 | 42220 | 8453 | 42161;
99

1010
/**

src/utils/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { createPublicClient, http } from "viem";
1919
* - 8453: Base Mainnet
2020
* - 42161: Arbitrum One
2121
* - 421614: Arbitrum Sepolia
22+
* - 314159: Filecoin Calibration
2223
*
2324
* @param config - An object containing any configuration values to override. This should be a partial HypercertClientConfig object.
2425
* @returns The final configuration object for the Hypercert client.

src/utils/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const formatHypercertData = ({
4848
external_url?: string;
4949
image: string;
5050
version: string;
51-
properties?: { trait_type: string; value: string }[];
51+
properties?: { trait_type: string; value?: string; [k: string]: unknown }[];
5252
impactScope: string[];
5353
excludedImpactScope: string[];
5454
workScope: string[];

0 commit comments

Comments
 (0)