@relayfile/sdk 0.8.17 → 0.8.19

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.
@@ -3,9 +3,11 @@ import { createHash } from 'node:crypto';
3
3
  import { accessSync, chmodSync, constants, createWriteStream, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync, } from 'node:fs';
4
4
  import { mkdtemp, rm } from 'node:fs/promises';
5
5
  import https from 'node:https';
6
+ import { createRequire } from 'node:module';
6
7
  import os from 'node:os';
7
8
  import path from 'node:path';
8
- const RELAYFILE_VERSION = '0.1.6';
9
+ const require = createRequire(import.meta.url);
10
+ const RELAYFILE_VERSION = String(require('../package.json').version);
9
11
  const RELEASE_BASE_URL = 'https://github.com/AgentWorkforce/relayfile/releases/download';
10
12
  const CHECKSUMS_FILE = 'checksums.txt';
11
13
  const CACHE_DIR = path.join(os.homedir(), '.agent-relay', 'bin');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayfile/sdk",
3
- "version": "0.8.17",
3
+ "version": "0.8.19",
4
4
  "description": "TypeScript SDK for relayfile — real-time filesystem for humans and agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,7 +55,7 @@
55
55
  "prepublishOnly": "npm run build"
56
56
  },
57
57
  "dependencies": {
58
- "@relayfile/core": "0.8.17",
58
+ "@relayfile/core": "0.8.19",
59
59
  "ignore": "^7.0.5",
60
60
  "tar": "^7.5.10"
61
61
  },