Skip to content

Commit 256e169

Browse files
committed
Make version export a static property so it's accessible before construction
1 parent 1a84edc commit 256e169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api-client-core/src/GadgetConnection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export enum AuthenticationMode {
6767
* Manages transactions and the connection to a Gadget API
6868
*/
6969
export class GadgetConnection {
70-
version = "<prerelease>" as const;
70+
static version = "<prerelease>" as const;
7171

7272
// Options used when generating new GraphQL clients for the base connection and for for transactions
7373
private endpoint: string;

0 commit comments

Comments
 (0)