@valtrix/sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@ import { mkdir, readFile, writeFile } from 'node:fs/promises';
2
2
  import path from 'node:path';
3
3
  import { emitClientSource } from './codegen.js';
4
4
  const DEFAULT_OUT = path.join('valtrix', 'client.ts');
5
- const DEFAULT_BASE_URL = 'https://api.valtrix.com';
5
+ const DEFAULT_BASE_URL = 'https://api.valtrix.vojtadrmota.com';
6
6
  function parseArgs(argv) {
7
7
  const flags = new Map();
8
8
  let command = null;
package/dist/client.js CHANGED
@@ -196,7 +196,7 @@ export class ConnectApi {
196
196
  return { connectUrl: response.connect_url, expiresAt: response.expires_at };
197
197
  }
198
198
  }
199
- const DEFAULT_BASE_URL = 'https://api.valtrix.com';
199
+ const DEFAULT_BASE_URL = 'https://api.valtrix.vojtadrmota.com';
200
200
  function resolveEnv(name) {
201
201
  if (typeof process === 'undefined')
202
202
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valtrix/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Typed client and codegen CLI for the Valtrix Tables API. Run valtrix generate to get a client typed against your published tables.",
5
5
  "license": "MIT",
6
6
  "type": "module",