Skip to content

Commit e3769d2

Browse files
committed
Made the app more robust and updated the quickstart docs
1 parent 5eaa1e7 commit e3769d2

6 files changed

Lines changed: 652 additions & 271 deletions

File tree

crates/bindings-typescript/src/lib/identity.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,11 @@ export class Identity {
5555
static fromString(str: string): Identity {
5656
return new Identity(str);
5757
}
58+
59+
/**
60+
* Zero identity (0x0000000000000000000000000000000000000000000000000000000000000000)
61+
*/
62+
static zero(): Identity {
63+
return new Identity(0n);
64+
}
5865
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export * from './SpacetimeDBProvider.ts';
22
export { useSpacetimeDB } from './useSpacetimeDB.ts';
3-
export { useTable } from './useTable.ts';
3+
export { useTable, where, eq } from './useTable.ts';

0 commit comments

Comments
 (0)