@use-tusk/drift-node-sdk 0.1.0 → 0.1.2

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/hook.mjs ADDED
@@ -0,0 +1,11 @@
1
+ // ESM loader hooks for drift-node-sdk instrumentation
2
+ // This file enables ESM module interception by delegating to import-in-the-middle
3
+ import {
4
+ initialize,
5
+ load,
6
+ resolve,
7
+ getFormat,
8
+ getSource,
9
+ } from 'import-in-the-middle/hook.mjs';
10
+
11
+ export { initialize, load, resolve, getFormat, getSource };
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "@use-tusk/drift-node-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Node.js SDK for Tusk Drift instrumentation and replay",
5
+ "homepage": "https://github.com/Use-Tusk/drift-node-sdk",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Use-Tusk/drift-node-sdk.git"
9
+ },
5
10
  "type": "module",
6
11
  "files": [
7
- "dist/**"
12
+ "dist/**",
13
+ "hook.mjs"
8
14
  ],
9
15
  "publishConfig": {
10
16
  "access": "public",
@@ -70,6 +76,7 @@
70
76
  "@use-tusk/drift-schemas": "^0.1.10",
71
77
  "express": "^5.1.0",
72
78
  "google-protobuf": "^4.0.0",
79
+ "import-in-the-middle": "^1.14.4",
73
80
  "install": "^0.13.0",
74
81
  "js-yaml": "^4.1.0",
75
82
  "jsonpath": "^1.1.1",