Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-number-property-parsing.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changeset/green-baths-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@graphprotocol/hypergraph": patch
"@graphprotocol/hypergraph-react": patch
---

fix date parsing

7 changes: 7 additions & 0 deletions apps/connect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# connect

## 0.3.3
### Patch Changes

- Updated dependencies [d7f578c]
- @graphprotocol/[email protected]
- @graphprotocol/[email protected]

## 0.3.2
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion apps/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "connect",
"private": true,
"version": "0.3.2",
"version": "0.3.3",
"type": "module",
"scripts": {
"dev": "vite --force",
Expand Down
3 changes: 3 additions & 0 deletions apps/events/test-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@ Config.setApiOrigin('https://testnet-api.geobrowser.io');

const BOUNTY_TYPE_ID = Id('327976dea5ad45769b83b7e7ec6337cf');
const REWARD_PROPERTY_ID = Id('e8e7301136354e84b46b767e7cd530a8');
const ACTIVE_UNTIL_PROPERTY_ID = Id('3e4679aaeaf94bddaad825dd5d96234c');

const Bounty = Entity.Schema(
{
name: Type.String,
description: Type.String,
reward: Type.Number,
activeUntil: Type.Date,
},
{
types: [BOUNTY_TYPE_ID],
properties: {
name: SystemIds.NAME_PROPERTY,
description: SystemIds.DESCRIPTION_PROPERTY,
reward: REWARD_PROPERTY_ID,
activeUntil: ACTIVE_UNTIL_PROPERTY_ID,
},
},
);
Expand Down
6 changes: 6 additions & 0 deletions apps/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# server

## 0.1.20
### Patch Changes

- Updated dependencies [d7f578c]
- @graphprotocol/[email protected]

## 0.1.19
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "0.1.19",
"version": "0.1.20",
"private": true,
"type": "module",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/hypergraph-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphprotocol/hypergraph-react

## 0.10.3
### Patch Changes

- Updated dependencies [d7f578c]
- @graphprotocol/[email protected]

## 0.10.2
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/hypergraph-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/hypergraph-react",
"version": "0.10.2",
"version": "0.10.3",
"description": "React implementation and additional functionality, components, and hooks for the hypergraph SDK framework",
"keywords": [
"Web3",
Expand Down
5 changes: 5 additions & 0 deletions packages/hypergraph/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @graphprotocol/hypergraph

## 0.10.3
### Patch Changes

- d7f578c: fix number, date, point and boolean property parsing when API returns value only on the string field

## 0.10.2
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/hypergraph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/hypergraph",
"version": "0.10.2",
"version": "0.10.3",
"description": "SDK for building performant, type-safe, local-first dapps on top of The Graph ecosystem knowledge graphs.",
"publishConfig": {
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hypergraph/src/utils/convert-property-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const convertPropertyValue = (
return property.time;
}
if (property.string != null) {
return property.time;
return property.string;
}
return undefined;
}
Expand Down
Loading