Skip to content

Commit d6f1770

Browse files
committed
fix: change time parameter types from text to number
- startTimeMs and endTimeMs now use number type instead of text - added numeric examples to placeholders for clarity
1 parent 2677ede commit d6f1770

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

packages/wasm-sdk/AI_REFERENCE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,10 @@ const result = await sdk.getContestedResourceIdentityVotes("identityId");
427427
*Get vote polls within a time range*
428428

429429
Parameters:
430-
- `startTimeMs` (text, optional) - Start Time (ms)
431-
- Example: `Timestamp in milliseconds as string`
432-
- `endTimeMs` (text, optional) - End Time (ms)
433-
- Example: `Timestamp in milliseconds as string`
430+
- `startTimeMs` (number, optional) - Start Time (ms)
431+
- Example: `Timestamp in milliseconds as string (e.g., 1650000000000)`
432+
- `endTimeMs` (number, optional) - End Time (ms)
433+
- Example: `Timestamp in milliseconds as string (e.g., 1650086400000)`
434434
- `limit` (number, optional) - Limit
435435
- `offset` (number, optional) - Offset
436436
- `orderAscending` (checkbox, optional) - Order Ascending

packages/wasm-sdk/api-definitions.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -726,17 +726,17 @@
726726
"inputs": [
727727
{
728728
"name": "startTimeMs",
729-
"type": "text",
729+
"type": "number",
730730
"label": "Start Time (ms)",
731731
"required": false,
732-
"placeholder": "Timestamp in milliseconds as string"
732+
"placeholder": "Timestamp in milliseconds as string (e.g., 1650000000000)"
733733
},
734734
{
735735
"name": "endTimeMs",
736-
"type": "text",
736+
"type": "number",
737737
"label": "End Time (ms)",
738738
"required": false,
739-
"placeholder": "Timestamp in milliseconds as string"
739+
"placeholder": "Timestamp in milliseconds as string (e.g., 1650086400000)"
740740
},
741741
{
742742
"name": "limit",

packages/wasm-sdk/docs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,15 +1347,15 @@ <h4 id="query-getVotePollsByEndDate">Get Vote Polls by End Date</h4>
13471347
<h5>Parameters:</h5>
13481348
<div class="parameter">
13491349
<span class="param-name">Start Time (ms)</span>
1350-
<span class="param-type">text</span>
1350+
<span class="param-type">number</span>
13511351
<span class="param-optional">(optional)</span>
1352-
<br><small>Example: Timestamp in milliseconds as string</small>
1352+
<br><small>Example: Timestamp in milliseconds as string (e.g., 1650000000000)</small>
13531353
</div>
13541354
<div class="parameter">
13551355
<span class="param-name">End Time (ms)</span>
1356-
<span class="param-type">text</span>
1356+
<span class="param-type">number</span>
13571357
<span class="param-optional">(optional)</span>
1358-
<br><small>Example: Timestamp in milliseconds as string</small>
1358+
<br><small>Example: Timestamp in milliseconds as string (e.g., 1650086400000)</small>
13591359
</div>
13601360
<div class="parameter">
13611361
<span class="param-name">Limit</span>

packages/wasm-sdk/docs_manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"generated_at": "2025-08-14T17:28:01.856354+00:00",
2+
"generated_at": "2025-08-14T18:48:19.291132+00:00",
33
"queries": {
44
"getIdentity": {
55
"category": "identity",

0 commit comments

Comments
 (0)